All files extensions/cornerstone/src/utils

59.48% Statements 734/1234
47.77% Branches 247/517
63.59% Functions 138/217
59.58% Lines 715/1200

Press n or j to go to the next uncovered block, b, p or k for the previous block.

File Statements Branches Functions Lines
DicomFileUploader.ts
3.79% 3/79 0% 0/10 3.84% 1/26 2.66% 2/75
JumpPresets.ts
100% 2/2 100% 2/2 100% 1/1 100% 1/1
autoHydrateViewportTypes.ts
35.71% 5/14 20% 1/5 33.33% 1/3 38.46% 5/13
colormaps.js
100% 1/1 100% 0/0 100% 0/0 100% 1/1
createSegmentationForViewport.ts
93.75% 15/16 75% 9/12 100% 2/2 93.75% 15/16
dicomLoaderService.js
11.95% 11/92 0% 0/48 0% 0/20 12.22% 11/90
ecgMetadata.ts
0% 0/48 0% 0/25 0% 0/5 0% 0/44
findNearbyToolData.ts
80% 4/5 0% 0/1 100% 1/1 80% 4/5
generateSegmentationCSVReport.ts
1.85% 1/54 0% 0/41 0% 0/6 1.85% 1/54
getActiveViewportEnabledElement.ts
100% 2/2 100% 0/0 100% 1/1 100% 2/2
getCenterExtent.ts
82.35% 14/17 75% 3/4 100% 1/1 80% 12/15
getCornerstoneBlendMode.ts
58.33% 7/12 50% 2/4 100% 1/1 58.33% 7/12
getCornerstoneOrientation.ts
81.25% 13/16 62.5% 5/8 100% 1/1 81.25% 13/16
getCornerstoneViewportType.ts
65.71% 23/35 56% 14/25 100% 1/1 65.71% 23/35
getInterleavedFrames.ts
85.18% 23/27 63.63% 7/11 100% 1/1 85.18% 23/27
getLegacyViewportType.ts
100% 9/9 100% 6/6 100% 5/5 100% 9/9
getNthFrames.ts
100% 14/14 100% 10/10 100% 1/1 100% 13/13
getViewportEnabledElement.ts
100% 3/3 50% 1/2 100% 1/1 100% 3/3
getViewportOrientationFromImageOrientationPatient.ts
100% 14/14 100% 12/12 100% 1/1 100% 14/14
hydrationUtils.ts
85.71% 48/56 53.48% 23/43 100% 8/8 85.71% 48/56
index.ts
100% 1/1 100% 0/0 100% 0/0 100% 1/1
initViewTiming.ts
100% 20/20 100% 4/4 100% 3/3 100% 19/19
initWebWorkerProgressHandler.ts
75.67% 28/37 100% 10/10 100% 4/4 75.67% 28/37
interleave.ts
17.64% 3/17 60% 3/5 100% 1/1 20% 3/15
interleaveCenterLoader.ts
94.73% 54/57 60% 6/10 100% 14/14 94.54% 52/55
interleaveTopToBottom.ts
96% 48/50 57.14% 4/7 100% 11/11 95.91% 47/49
isAnyDisplaySetCommon.ts
100% 2/2 100% 0/0 100% 2/2 100% 1/1
isDisplaySetOverlayable.ts
90.9% 20/22 91.3% 21/23 100% 2/2 90.47% 19/21
isMeasurementWithinViewport.ts
100% 12/12 100% 3/3 100% 1/1 100% 11/11
isReferenceViewable.ts
6.45% 2/31 0% 0/4 0% 0/3 6.66% 2/30
loadDisplaySetData.ts
75% 6/8 100% 1/1 100% 1/1 75% 6/8
nextViewportPolicies.ts
100% 3/3 75% 3/4 100% 1/1 100% 3/3
nextViewports.ts
65.9% 29/44 39.13% 9/23 100% 8/8 65.9% 29/44
nthLoader.ts
93.33% 28/30 75% 3/4 100% 6/6 93.1% 27/29
promptHydrationDialog.ts
86.53% 45/52 82.6% 19/23 91.66% 11/12 86.53% 45/52
removeViewportSegmentationRepresentations.ts
0% 0/5 0% 0/4 0% 0/2 0% 0/5
segmentUtils.ts
100% 17/17 100% 4/4 100% 2/2 100% 17/17
segmentationExportUtils.ts
85.29% 29/34 45.45% 5/11 100% 3/3 84.84% 28/33
segmentationHandlers.ts
89.47% 51/57 68.75% 11/16 83.33% 15/18 89.28% 50/56
setUpAnnotationEventHandlers.ts
77.77% 7/9 100% 0/0 66.66% 2/3 77.77% 7/9
setUpSegmentationEventHandlers.ts
96.66% 29/30 80% 8/10 100% 3/3 96.66% 29/30
toggleVOISliceSync.ts
4.87% 2/41 0% 0/9 0% 0/9 5.12% 2/39
transitions.ts
74.28% 52/70 55% 11/20 90.9% 10/11 72.72% 48/66
updateSegmentationStats.ts
41.66% 25/60 32.35% 11/34 83.33% 5/6 41.66% 25/60
viewportDataShape.ts
100% 9/9 84.21% 16/19 100% 5/5 100% 9/9