All files extensions/cornerstone/src/utils

58.62% Statements 683/1165
45.39% Branches 212/467
62.98% Functions 131/208
58.69% Lines 665/1133

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
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
90.9% 30/33 50% 11/22 100% 5/5 90.9% 30/33
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
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
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.42% 27/28 80% 8/10 100% 3/3 96.42% 27/28
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