All files packages/core/src/utilities

44.27% Statements 236/533
37.03% Branches 80/216
56.25% Functions 45/80
46.31% Lines 220/475

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/64 0% 0/2 0% 0/8 0% 0/59
calculateViewportsSpatialRegistration.ts
0% 0/17 0% 0/11 0% 0/1 0% 0/17
calibratedPixelSpacingMetadataProvider.ts
100% 9/9 75% 3/4 100% 2/2 100% 9/9
createFloat32SharedArray.ts
66.66% 4/6 50% 2/4 100% 1/1 66.66% 4/6
createUint8SharedArray.ts
66.66% 4/6 50% 2/4 100% 1/1 66.66% 4/6
deepFreeze.ts
100% 8/8 100% 4/4 100% 1/1 100% 7/7
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
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
getSliceRange.ts
100% 16/16 100% 4/4 100% 2/2 100% 15/15
getSpacingInNormalDirection.ts
100% 10/10 100% 0/0 100% 1/1 100% 9/9
getTargetVolumeAndSpacingInNormalDir.ts
91.3% 21/23 78.57% 11/14 100% 4/4 91.3% 21/23
getViewportImageCornersInWorld.ts
0% 0/33 0% 0/14 0% 0/3 0% 0/22
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
getVolumeActorCorners.ts
100% 3/3 100% 0/0 100% 1/1 100% 3/3
getVolumeViewportsContainingSameVolumes.ts
0% 0/21 0% 0/8 0% 0/5 0% 0/16
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
100% 8/8 100% 0/0 100% 1/1 100% 8/8
isEqual.ts
85.71% 6/7 87.5% 7/8 100% 1/1 85.71% 6/7
isOpposite.ts
100% 2/2 100% 7/7 100% 1/1 100% 2/2
loadImageToCanvas.ts
0% 0/16 0% 0/14 0% 0/7 0% 0/14
planar.ts
78.12% 25/32 0% 0/6 75% 3/4 78.12% 25/32
renderToCanvas.ts
0% 0/5 100% 0/0 0% 0/1 0% 0/5
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
29.41% 5/17 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 62.5% 5/8 100% 1/1 80% 4/5
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