All files extensions/cornerstone/src/utils

57.39% Statements 524/913
45.6% Branches 140/307
60.6% Functions 100/165
57.27% Lines 508/887

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
colormaps.js
100% 1/1 100% 0/0 100% 0/0 100% 1/1
dicomLoaderService.js
41.3% 38/92 27.08% 13/48 50% 10/20 41.11% 37/90
findNearbyToolData.ts
80% 4/5 0% 0/1 100% 1/1 80% 4/5
generateSegmentationCSVReport.ts
0% 0/61 0% 0/41 0% 0/6 0% 0/61
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
100% 10/10 100% 5/5 100% 1/1 100% 10/10
getCornerstoneViewportType.ts
83.33% 15/18 77.77% 7/9 100% 1/1 83.33% 15/18
getInterleavedFrames.ts
85.18% 23/27 63.63% 7/11 100% 1/1 85.18% 23/27
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
100% 12/12 50% 1/2 100% 3/3 100% 11/11
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
23.52% 4/17 80% 4/5 100% 1/1 26.66% 4/15
interleaveCenterLoader.ts
94.73% 54/57 62.5% 5/8 100% 14/14 94.54% 52/55
interleaveTopToBottom.ts
96% 48/50 60% 3/5 100% 11/11 95.91% 47/49
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
nthLoader.ts
93.33% 28/30 75% 3/4 100% 6/6 93.1% 27/29
promptHydrationDialog.ts
87.23% 41/47 78.26% 18/23 81.81% 9/11 87.23% 41/47
removeViewportSegmentationRepresentations.ts
0% 0/5 0% 0/4 0% 0/2 0% 0/5
segmentUtils.ts
5.88% 1/17 0% 0/4 0% 0/2 5.88% 1/17
segmentationHandlers.ts
78.94% 30/38 50% 5/10 69.23% 9/13 78.94% 30/38
setUpSegmentationEventHandlers.ts
100% 16/16 100% 1/1 100% 2/2 100% 16/16
toggleVOISliceSync.ts
5.12% 2/39 0% 0/8 0% 0/9 5.4% 2/37
transitions.ts
72.85% 51/70 50% 10/20 90.9% 10/11 72.72% 48/66
updateSegmentationStats.ts
42.1% 24/57 33.33% 11/33 83.33% 5/6 42.1% 24/57