All files packages/core/src/utilities

50.58% Statements 432/854
47.16% Branches 183/388
60.15% Functions 77/128
51.66% Lines 372/720

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

File Statements Branches Functions Lines
actorCheck.ts
100% 3/3 100% 2/2 100% 2/2 100% 3/3
applyPreset.ts
0% 0/87 0% 0/2 0% 0/8 0% 0/65
calculateViewportsSpatialRegistration.ts
0% 0/17 0% 0/11 0% 0/1 0% 0/17
calibratedPixelSpacingMetadataProvider.ts
100% 7/7 100% 2/2 100% 2/2 100% 7/7
colormap.ts
25% 1/4 100% 0/0 0% 0/3 25% 1/4
createFloat32SharedArray.ts
66.66% 4/6 50% 2/4 100% 1/1 66.66% 4/6
createInt16SharedArray.ts
0% 0/6 0% 0/4 0% 0/1 0% 0/6
createLinearRGBTransferFunction.ts
100% 9/9 80% 4/5 100% 1/1 100% 9/9
createSigmoidRGBTransferFunction.ts
0% 0/16 0% 0/4 0% 0/5 0% 0/14
createUInt16SharedArray.ts
0% 0/6 0% 0/4 0% 0/1 0% 0/6
createUint8SharedArray.ts
66.66% 4/6 50% 2/4 100% 1/1 66.66% 4/6
deepFreeze.ts
100% 10/10 100% 4/4 100% 1/1 100% 8/8
deepMerge.ts
69.23% 27/39 60% 27/45 66.66% 6/9 66.66% 24/36
getClosestImageId.ts
22.72% 5/22 30% 3/10 100% 1/1 20% 4/20
getClosestStackImageIndexForPoint.ts
0% 0/45 0% 0/34 0% 0/4 0% 0/39
getImageLegacy.ts
0% 0/7 0% 0/4 0% 0/1 0% 0/7
getImageSliceDataForVolumeViewport.ts
88% 22/25 60% 6/10 100% 2/2 85.71% 18/21
getMinMax.ts
100% 8/8 100% 0/0 100% 1/1 100% 8/8
getRuntimeId.ts
84.21% 16/19 61.11% 11/18 100% 2/2 88.88% 16/18
getScalarDataType.ts
0% 0/10 0% 0/10 0% 0/1 0% 0/10
getScalingParameters.ts
100% 6/6 50% 4/8 100% 1/1 100% 6/6
getSliceRange.ts
76.47% 26/34 91.66% 11/12 83.33% 5/6 88% 22/25
getSpacingInNormalDirection.ts
100% 10/10 100% 0/0 100% 1/1 100% 9/9
getTargetVolumeAndSpacingInNormalDir.ts
91.42% 32/35 77.77% 14/18 100% 7/7 90.9% 30/33
getViewportImageCornersInWorld.ts
0% 0/33 0% 0/14 0% 0/3 0% 0/31
getViewportsWithImageURI.ts
84.61% 11/13 50% 1/2 75% 3/4 90.9% 10/11
getViewportsWithVolumeId.ts
90% 9/10 50% 1/2 100% 3/3 88.88% 8/9
getVoiFromSigmoidRGBTransferFunction.ts
0% 0/19 100% 0/0 0% 0/3 0% 0/15
getVolumeActorCorners.ts
100% 3/3 100% 0/0 100% 1/1 100% 3/3
getVolumeSliceRangeInfo.ts
80% 12/15 50% 2/4 100% 1/1 76.92% 10/13
getVolumeViewportScrollInfo.ts
100% 12/12 100% 0/0 100% 1/1 100% 8/8
getVolumeViewportsContainingSameVolumes.ts
0% 0/26 0% 0/8 0% 0/5 0% 0/17
hasNaNValues.ts
75% 3/4 50% 1/2 100% 2/2 66.66% 2/3
imageIdToURI.ts
100% 2/2 100% 0/0 100% 1/1 100% 2/2
imageToWorldCoords.ts
0% 0/12 0% 0/2 0% 0/1 0% 0/8
indexWithinDimensions.ts
66.66% 2/3 87.5% 7/8 100% 1/1 66.66% 2/3
invertRgbTransferFunction.ts
90% 9/10 50% 1/2 100% 1/1 90% 9/10
isEqual.ts
88.88% 16/18 88.88% 24/27 100% 5/5 88.88% 16/18
isOpposite.ts
100% 2/2 100% 7/7 100% 1/1 100% 2/2
isPTPrescaledWithSUV.ts
50% 1/2 0% 0/10 0% 0/1 50% 1/2
isTypedArray.ts
100% 1/1 88.88% 8/9 100% 1/1 100% 1/1
loadImageToCanvas.ts
88.46% 23/26 60% 12/20 75% 6/8 85% 17/20
planar.ts
78.12% 50/64 0% 0/6 75% 3/4 78.12% 25/32
renderToCanvasCPU.ts
0% 0/7 100% 0/0 0% 0/2 0% 0/7
renderToCanvasGPU.ts
94% 47/50 66.66% 16/24 100% 5/5 94% 47/50
scaleRgbTransferFunction.ts
0% 0/8 100% 0/0 0% 0/1 0% 0/8
snapFocalPointToSlice.ts
89.47% 17/19 50% 2/4 100% 1/1 88.23% 15/17
spatialRegistrationMetadataProvider.ts
23.8% 5/21 12.5% 1/8 50% 1/2 29.41% 5/17
transformWorldToIndex.ts
100% 3/3 100% 0/0 100% 1/1 100% 3/3
triggerEvent.ts
85.71% 6/7 66.66% 8/12 100% 1/1 85.71% 6/7
uuidv4.ts
100% 2/2 100% 0/0 100% 2/2 100% 1/1
windowLevel.ts
100% 6/6 100% 0/0 100% 2/2 100% 6/6
worldToImageCoords.ts
0% 0/19 0% 0/2 0% 0/1 0% 0/13