All files core/src/utilities

44.5% Statements 1457/3274
33.78% Branches 544/1610
48.19% Functions 253/525
44.45% Lines 1402/3154

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

File Statements Branches Functions Lines
ECGUtilities.ts
2.04% 3/147 0% 0/59 0% 0/20 2.15% 3/139
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 26.99% 44/163 29.16% 7/24 34.04% 80/235
VideoUtilities.ts
0% 0/50 0% 0/46 0% 0/6 0% 0/50
VoxelManager.ts
39.52% 247/625 36.88% 97/263 36.03% 40/111 39.16% 235/600
WSIUtilities.ts
1.81% 1/55 0% 0/28 0% 0/8 1.81% 1/55
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
0% 0/3 0% 0/2 0% 0/1 0% 0/3
autoLoad.ts
93.33% 14/15 50% 3/6 100% 5/5 93.33% 14/15
buildMetadata.ts
48.48% 16/33 55.55% 10/18 75% 3/4 48.48% 16/33
calculateNeighborhoodStats.ts
0% 0/33 0% 0/18 0% 0/1 0% 0/30
calculateSpacingBetweenImageIds.ts
40.62% 26/64 16.12% 5/31 80% 4/5 40.98% 25/61
calculateViewportsSpatialRegistration.ts
5.26% 1/19 0% 0/6 0% 0/2 5.26% 1/19
calibratedPixelSpacingMetadataProvider.ts
0% 0/0 0% 0/0 0% 0/0 0% 0/0
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
clonePoint3.ts
100% 1/1 50% 1/2 100% 1/1 100% 1/1
color.ts
0% 0/5 0% 0/4 0% 0/3 0% 0/5
colormap.ts
47.14% 66/140 44.04% 37/84 48% 12/25 45.92% 62/135
convertColorArrayToRgbString.ts
100% 2/2 50% 1/2 100% 2/2 100% 2/2
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
97.05% 33/34 87.5% 14/16 100% 6/6 97.05% 33/34
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
82% 41/50 56.66% 17/30 100% 9/9 81.63% 40/49
genericMetadataProvider.ts
90% 9/10 100% 2/2 75% 3/4 90% 9/10
genericViewportDisplaySetMetadataProvider.ts
60% 6/10 50% 1/2 25% 1/4 60% 6/10
getAcquisitionPlaneOrientation.ts
0% 0/4 100% 0/0 0% 0/3 0% 0/4
getBufferConfiguration.ts
43.75% 7/16 21.42% 3/14 100% 2/2 43.75% 7/16
getClosestImageId.ts
79.41% 27/34 66.66% 14/21 100% 1/1 78.78% 26/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
85% 17/20 60% 6/10 100% 2/2 85% 17/20
getMinMax.ts
0% 0/9 100% 0/0 0% 0/1 0% 0/8
getNormalizedAspectRatio.ts
55.55% 5/9 50% 1/2 100% 1/1 55.55% 5/9
getPixelSpacingInformation.ts
100% 1/1 100% 0/0 100% 0/0 100% 1/1
getPlaneCubeIntersectionDimensions.ts
100% 16/16 100% 2/2 100% 3/3 100% 15/15
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
getScalingDescriptor.ts
66.66% 12/18 50% 10/20 100% 2/2 66.66% 12/18
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
92.68% 38/41 80% 16/20 100% 8/8 92.5% 37/40
getVOIRangeFromWindowLevel.ts
55.55% 5/9 53.84% 7/13 100% 1/1 55.55% 5/9
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/4 0% 0/2 0% 0/1 0% 0/4
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
getVolumeViewReferenceId.ts
100% 5/5 50% 1/2 100% 2/2 100% 4/4
getVolumeViewportScrollInfo.ts
100% 8/8 42.85% 3/7 100% 1/1 100% 8/8
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
hasOwn.ts
0% 0/1 100% 0/0 0% 0/1 0% 0/1
imageIdToURI.ts
0% 0/0 0% 0/0 0% 0/0 0% 0/0
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
75% 3/4 100% 0/0 50% 1/2 75% 3/4
indexAlmostWithinDimensions.ts
100% 3/3 100% 8/8 100% 1/1 100% 3/3
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
0% 0/0 0% 0/0 0% 0/0 0% 0/0
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
59.09% 26/44 54.16% 13/24 100% 1/1 58.13% 25/43
isVideoTransferSyntax.ts
100% 1/1 100% 0/0 100% 0/0 100% 1/1
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% 2/2 100% 0/0 100% 0/0 100% 2/2
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
renderingCapabilities.ts
77.35% 41/53 40.47% 17/42 83.33% 5/6 77.35% 41/53
resolveGenericViewportVolumeId.ts
0% 0/6 0% 0/11 0% 0/3 0% 0/6
rotateToViewCoordinates.ts
100% 16/16 100% 0/0 100% 2/2 100% 16/16
roundNumber.ts
66.66% 8/12 77.27% 17/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
61.29% 19/31 38.46% 10/26 100% 2/2 63.33% 19/30
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
100% 1/1 100% 0/0 100% 0/0 100% 1/1
textureSupport.ts
85.52% 65/76 69.56% 16/23 73.33% 11/15 85.52% 65/76
toNumber.ts
0% 0/0 0% 0/0 0% 0/0 0% 0/0
transferFunctionUtils.ts
92.3% 12/13 50% 1/2 100% 3/3 91.66% 11/12
transformCanvasToIJK.ts
100% 3/3 100% 0/0 100% 1/1 100% 3/3
transformIJKToCanvas.ts
100% 3/3 100% 0/0 100% 1/1 100% 3/3
transformIndexToWorld.ts
100% 1/1 100% 0/0 100% 1/1 100% 1/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
viewportCapabilities.ts
57.14% 8/14 45.45% 10/22 53.84% 7/13 57.14% 8/14
viewportVoiIntensityMapping.ts
3.03% 1/33 0% 0/22 0% 0/6 3.12% 1/32
windowLevel.ts
62.5% 5/8 42.85% 3/7 100% 2/2 62.5% 5/8
worldToImageCoords.ts
0% 0/16 0% 0/2 0% 0/1 0% 0/16