All files core/src/utilities

47.1% Statements 1308/2777
37.42% Branches 494/1320
50.11% Functions 223/445
47.08% Lines 1254/2663

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

File Statements Branches Functions Lines
FrameRange.ts
4.76% 1/21 0% 0/16 0% 0/6 5% 1/20
PointsManager.ts
28.12% 27/96 20.58% 7/34 38.09% 8/21 29.06% 25/86
ProgressiveIterator.ts
58.9% 43/73 41.93% 13/31 66.66% 12/18 58.9% 43/73
RLEVoxelMap.ts
33.19% 81/244 27.6% 45/163 29.16% 7/24 34.04% 80/235
VoxelManager.ts
43.88% 226/515 43.3% 97/224 40% 40/100 43.67% 214/490
actorCheck.ts
80% 4/5 83.33% 5/6 100% 2/2 80% 4/5
adjustInitialViewUp.ts
100% 8/8 100% 4/4 100% 1/1 100% 8/8
applyPreset.ts
100% 67/67 50% 1/2 100% 8/8 100% 60/60
asArray.ts
66.66% 2/3 50% 1/2 100% 1/1 66.66% 2/3
autoLoad.ts
93.33% 14/15 50% 3/6 100% 5/5 93.33% 14/15
buildMetadata.ts
74.28% 26/35 65% 13/20 75% 3/4 74.28% 26/35
calculateNeighborhoodStats.ts
0% 0/33 0% 0/18 0% 0/1 0% 0/30
calculateSpacingBetweenImageIds.ts
55.81% 24/43 30.76% 4/13 100% 4/4 54.76% 23/42
calculateViewportsSpatialRegistration.ts
5.26% 1/19 0% 0/6 0% 0/2 5.26% 1/19
calibratedPixelSpacingMetadataProvider.ts
100% 7/7 100% 2/2 100% 2/2 100% 7/7
clamp.ts
0% 0/1 100% 0/0 0% 0/1 0% 0/1
clip.ts
33.33% 1/3 100% 0/0 50% 1/2 33.33% 1/3
color.ts
0% 0/5 0% 0/4 0% 0/3 0% 0/5
colormap.ts
58.13% 50/86 63.63% 28/44 53.84% 7/13 56.09% 46/82
convertStackToVolumeViewport.ts
0% 0/25 0% 0/7 0% 0/3 0% 0/25
convertToGrayscale.ts
0% 0/19 0% 0/6 0% 0/1 0% 0/17
convertVolumeToStackViewport.ts
0% 0/16 0% 0/4 0% 0/1 0% 0/16
createLinearRGBTransferFunction.ts
100% 9/9 75% 3/4 100% 1/1 100% 9/9
createPositionCallback.ts
100% 37/37 100% 1/1 100% 2/2 100% 34/34
createSigmoidRGBTransferFunction.ts
0% 0/9 0% 0/1 0% 0/3 0% 0/9
createSubVolume.ts
0% 0/27 0% 0/5 0% 0/1 0% 0/25
decimate.ts
100% 5/5 0% 0/1 100% 1/1 100% 4/4
deepClone.ts
30.76% 4/13 41.66% 5/12 100% 1/1 30.76% 4/13
deepEqual.ts
0% 0/8 0% 0/6 0% 0/1 0% 0/8
deepFreeze.ts
100% 6/6 100% 4/4 100% 1/1 100% 6/6
deepMerge.ts
83.33% 30/36 61.11% 22/36 88.88% 8/9 83.33% 30/36
fnv1aHash.ts
100% 6/6 100% 0/0 100% 1/1 100% 5/5
generateVolumePropsFromImageIds.ts
83.67% 41/49 58.62% 17/29 100% 9/9 83.33% 40/48
genericMetadataProvider.ts
90% 9/10 100% 2/2 75% 3/4 90% 9/10
getBufferConfiguration.ts
43.75% 7/16 21.42% 3/14 100% 2/2 43.75% 7/16
getClosestImageId.ts
82.35% 28/34 71.42% 15/21 100% 1/1 81.81% 27/33
getClosestStackImageIndexForPoint.ts
0% 0/45 0% 0/32 0% 0/4 0% 0/43
getCurrentVolumeViewportSlice.ts
0% 0/19 0% 0/4 0% 0/1 0% 0/19
getDynamicVolumeInfo.ts
0% 0/3 100% 0/0 0% 0/1 0% 0/3
getImageDataMetadata.ts
69.23% 18/26 42.85% 9/21 50% 1/2 69.23% 18/26
getImageLegacy.ts
0% 0/7 0% 0/4 0% 0/1 0% 0/7
getImageSliceDataForVolumeViewport.ts
90% 18/20 70% 7/10 100% 2/2 90% 18/20
getMinMax.ts
0% 0/9 100% 0/0 0% 0/1 0% 0/8
getPixelSpacingInformation.ts
62.5% 20/32 50% 11/22 75% 3/4 62.5% 20/32
getRandomSampleFromArray.ts
100% 10/10 100% 2/2 100% 2/2 100% 9/9
getRuntimeId.ts
19.04% 4/21 0% 0/18 0% 0/2 21.05% 4/19
getScalingParameters.ts
100% 6/6 78.57% 11/14 100% 1/1 100% 6/6
getSliceRange.ts
100% 31/31 100% 12/12 100% 6/6 100% 26/26
getSpacingInNormalDirection.ts
100% 9/9 100% 0/0 100% 1/1 100% 9/9
getTargetVolumeAndSpacingInNormalDir.ts
95.23% 40/42 75% 15/20 100% 8/8 95.12% 39/41
getViewportImageCornersInWorld.ts
0% 0/24 0% 0/20 0% 0/3 0% 0/24
getViewportImageIds.ts
0% 0/5 0% 0/4 0% 0/1 0% 0/5
getViewportModality.ts
0% 0/11 0% 0/12 0% 0/1 0% 0/11
getViewportsWithImageURI.ts
100% 8/8 50% 1/2 100% 3/3 100% 8/8
getViewportsWithVolumeId.ts
100% 8/8 100% 0/0 100% 3/3 100% 8/8
getViewportsWithVolumeURI.ts
0% 0/8 0% 0/2 0% 0/3 0% 0/8
getVoiFromSigmoidRGBTransferFunction.ts
0% 0/16 100% 0/0 0% 0/3 0% 0/15
getVolumeActorCorners.ts
100% 3/3 100% 0/0 100% 1/1 100% 3/3
getVolumeDirectionVectors.ts
0% 0/11 100% 0/0 0% 0/1 0% 0/11
getVolumeId.ts
100% 5/5 100% 4/4 100% 1/1 100% 5/5
getVolumeSliceRangeInfo.ts
75% 9/12 40% 2/5 100% 1/1 75% 9/12
getVolumeViewportScrollInfo.ts
100% 7/7 0% 0/1 100% 1/1 100% 7/7
getVolumeViewportsContainingSameVolumes.ts
0% 0/17 0% 0/6 0% 0/4 0% 0/16
hasFloatScalingParameters.ts
100% 4/4 100% 2/2 100% 2/2 100% 4/4
hasNaNValues.ts
0% 0/4 0% 0/2 0% 0/2 0% 0/3
imageIdToURI.ts
100% 2/2 100% 0/0 100% 1/1 100% 2/2
imageRetrieveMetadataProvider.ts
64.28% 9/14 100% 2/2 50% 4/8 64.28% 9/14
imageToWorldCoords.ts
0% 0/11 0% 0/2 0% 0/1 0% 0/11
index.ts
50% 1/2 100% 0/0 0% 0/1 50% 1/2
indexWithinDimensions.ts
100% 3/3 100% 8/8 100% 1/1 100% 3/3
invertRgbTransferFunction.ts
90.9% 10/11 50% 1/2 100% 1/1 90% 9/10
isEqual.ts
71.42% 20/28 64.1% 25/39 70% 7/10 70.37% 19/27
isOpposite.ts
100% 1/1 50% 2/4 100% 1/1 100% 1/1
isPTPrescaledWithSUV.ts
50% 1/2 0% 0/2 0% 0/1 50% 1/2
isValidVolume.ts
57.57% 19/33 50% 8/16 100% 1/1 56.25% 18/32
isVideoTransferSyntax.ts
16.66% 1/6 0% 0/4 0% 0/2 20% 1/5
jumpToSlice.ts
85.71% 12/14 28.57% 2/7 100% 3/3 85.71% 12/14
loadImageToCanvas.ts
0% 0/34 0% 0/40 0% 0/7 0% 0/34
logger.ts
100% 16/16 50% 1/2 100% 3/3 100% 16/16
logit.ts
50% 1/2 100% 0/0 0% 0/1 50% 1/2
makeVolumeMetadata.ts
100% 16/16 100% 4/4 100% 1/1 100% 15/15
planar.ts
42.85% 15/35 28.57% 2/7 40% 2/5 42.85% 15/35
pointInShapeCallback.ts
93.75% 60/64 65.21% 15/23 100% 3/3 93.1% 54/58
reflectVector.ts
100% 3/3 100% 0/0 100% 1/1 100% 3/3
renderToCanvasCPU.ts
0% 0/11 0% 0/2 0% 0/2 0% 0/11
renderToCanvasGPU.ts
0% 0/63 0% 0/33 0% 0/5 0% 0/63
roundNumber.ts
66.66% 8/12 63.63% 14/22 66.66% 2/3 72.72% 8/11
scaleArray.ts
0% 0/10 0% 0/4 0% 0/1 0% 0/8
scaleRgbTransferFunction.ts
0% 0/9 100% 0/0 0% 0/1 0% 0/8
scroll.ts
66.66% 18/27 45% 9/20 100% 2/2 66.66% 18/27
snapFocalPointToSlice.ts
88.23% 15/17 50% 2/4 100% 1/1 88.23% 15/17
sortImageIdsAndGetSpacing.ts
65.51% 19/29 33.33% 2/6 100% 5/5 62.96% 17/27
spatialRegistrationMetadataProvider.ts
31.25% 5/16 12.5% 1/8 50% 1/2 31.25% 5/16
splitImageIdsBy4DTags.ts
0.99% 1/101 0% 0/38 0% 0/22 1.06% 1/94
textureSupport.ts
89.09% 49/55 63.15% 12/19 100% 6/6 89.09% 49/55
transferFunctionUtils.ts
92.3% 12/13 50% 1/2 100% 3/3 91.66% 11/12
transformCanvasToIJK.ts
0% 0/3 100% 0/0 0% 0/1 0% 0/3
transformIJKToCanvas.ts
0% 0/3 100% 0/0 0% 0/1 0% 0/3
transformIndexToWorld.ts
0% 0/1 100% 0/0 0% 0/1 0% 0/1
transformWorldToIndex.ts
75% 3/4 100% 0/0 50% 1/2 75% 3/4
triggerEvent.ts
75% 3/4 25% 1/4 100% 1/1 75% 3/4
updatePlaneRestriction.ts
30.76% 8/26 33.33% 4/12 100% 1/1 32% 8/25
updateVTKImageDataWithCornerstoneImage.ts
35.29% 6/17 66.66% 4/6 50% 1/2 40% 6/15
uuidv4.ts
50% 2/4 50% 1/2 50% 1/2 50% 2/4
windowLevel.ts
41.66% 5/12 28.57% 2/7 100% 2/2 41.66% 5/12
worldToImageCoords.ts
0% 0/16 0% 0/2 0% 0/1 0% 0/16