All files packages/core/src/utilities

65.51% Statements 228/348
53.19% Branches 75/141
69.64% Functions 39/56
67.94% Lines 212/312

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

File Statements Branches Functions Lines
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
getImageSliceDataForVolumeViewport.ts
83.33% 20/24 50% 4/8 100% 1/1 80% 16/20
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
95.45% 21/22 80% 8/10 100% 3/3 95.23% 20/21
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
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
isImageActor.ts
100% 5/5 100% 4/4 100% 1/1 100% 5/5
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
100% 25/25 100% 0/0 100% 3/3 100% 25/25
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
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/21 0% 0/8 0% 0/1 0% 0/15