All files tools/src/utilities

36.28% Statements 295/813
25.35% Branches 126/497
36.17% Functions 51/141
36.2% Lines 290/801

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

File Statements Branches Functions Lines
AnnotationMultiSlice.ts
0% 0/30 0% 0/25 0% 0/7 0% 0/30
BucketQueue.ts
0% 0/44 0% 0/14 0% 0/9 0% 0/44
annotationHydration.ts
33.33% 13/39 18.75% 3/16 44.44% 4/9 31.57% 12/38
calibrateImageSpacing.ts
6.25% 1/16 0% 0/8 0% 0/5 6.25% 1/16
debounce.js
83.82% 57/68 69.56% 32/46 69.23% 9/13 83.82% 57/68
defaultGetTextLines.ts
12.12% 4/33 0% 0/16 14.28% 1/7 12.12% 4/33
genericViewportToolHelpers.ts
9.37% 3/32 3.57% 1/28 25% 1/4 9.37% 3/32
geometricSurfaceUtils.ts
0% 0/47 0% 0/15 0% 0/11 0% 0/42
getAnnotationNearPoint.ts
0% 0/26 0% 0/19 0% 0/3 0% 0/26
getCalibratedUnits.ts
30.66% 23/75 16.25% 13/80 14.28% 1/7 31.08% 23/74
getCenterAndRadiusInCanvas.ts
100% 14/14 50% 1/2 100% 2/2 100% 13/13
getEllipseWorldCoordinates.ts
100% 17/17 100% 0/0 100% 1/1 100% 16/16
getPixelValueUnits.ts
56.25% 9/16 41.66% 5/12 100% 3/3 56.25% 9/16
getSphereBoundsInfo.ts
77.5% 31/40 66.66% 4/6 80% 4/5 77.5% 31/40
getToolsWithModesForElement.ts
94.11% 16/17 83.33% 5/6 100% 1/1 93.75% 15/16
getVOIMultipliers.ts
11.11% 1/9 0% 0/11 0% 0/1 11.11% 1/9
getViewportForAnnotation.ts
0% 0/7 0% 0/4 0% 0/3 0% 0/7
getViewportICamera.ts
100% 6/6 50% 8/16 100% 1/1 100% 6/6
getViewportsForAnnotation.ts
81.81% 9/11 71.42% 5/7 100% 3/3 81.81% 9/11
index.ts
100% 1/1 100% 0/0 100% 0/0 100% 1/1
interactionDragCoordinator.ts
12.5% 1/8 0% 0/4 0% 0/3 12.5% 1/8
isObject.js
100% 2/2 100% 3/3 100% 1/1 100% 2/2
moveAnnotationToViewPlane.ts
0% 0/9 0% 0/2 0% 0/2 0% 0/9
normalizeViewportPlane.ts
23.52% 4/17 0% 0/10 0% 0/7 23.52% 4/17
pickIntensityPointInSlab.ts
4.83% 3/62 0% 0/47 0% 0/3 4.91% 3/61
pointInSurroundingSphereCallback.ts
2.7% 1/37 0% 0/6 0% 0/4 2.7% 1/37
pointToString.ts
0% 0/1 0% 0/1 0% 0/1 0% 0/1
registerComputeWorker.ts
100% 11/11 100% 4/4 100% 2/2 100% 11/11
safeStructuredClone.ts
92.85% 26/28 91.66% 22/24 100% 5/5 92.59% 25/27
setAnnotationLabel.ts
0% 0/2 100% 0/0 0% 0/1 0% 0/2
setViewportCamera.ts
9.09% 3/33 3.44% 1/29 25% 1/4 9.09% 3/33
throttle.js
87.5% 7/8 50% 4/8 100% 1/1 87.5% 7/8
triggerAnnotationRender.ts
100% 1/1 100% 0/0 100% 1/1 100% 1/1
triggerAnnotationRenderForToolGroupIds.ts
71.42% 10/14 50% 2/4 100% 3/3 71.42% 10/14
triggerAnnotationRenderForViewportIds.ts
69.23% 9/13 66.66% 4/6 100% 2/2 69.23% 9/13
viewportCapabilities.ts
50% 2/4 50% 4/8 50% 2/4 50% 2/4
viewportPresentation.ts
66.66% 10/15 50% 5/10 100% 2/2 66.66% 10/15