All files tools/src/stateManagement/segmentation/helpers

40.27% Statements 149/370
32.13% Branches 98/305
55.07% Functions 38/69
40.1% Lines 148/369

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

File Statements Branches Functions Lines
clearSegmentValue.ts
4.54% 1/22 0% 0/20 0% 0/4 4.54% 1/22
computeStackLabelmapFromVolume.ts
0% 0/8 0% 0/2 0% 0/2 0% 0/8
computeVolumeLabelmapFromStack.ts
0% 0/1 100% 0/0 0% 0/1 0% 0/1
convertStackToVolumeLabelmap.ts
0% 0/3 100% 0/0 0% 0/1 0% 0/3
getSegmentationActor.ts
77.77% 21/27 78.94% 15/19 90% 9/10 77.77% 21/27
getViewportLabelmapRenderMode.ts
21.87% 7/32 13.15% 5/38 100% 1/1 21.87% 7/32
index.ts
0% 0/0 0% 0/0 0% 0/0 0% 0/0
internalGetHiddenSegmentIndices.ts
75% 6/8 50% 2/4 100% 2/2 75% 6/8
isSegmentationOverlayCompatible.ts
76.47% 39/51 55.55% 20/36 90% 9/10 76% 38/50
labelmapImageMapperSupport.ts
26.82% 33/123 17.54% 20/114 35% 7/20 26.82% 33/123
labelmapSegmentationState.ts
0% 0/0 0% 0/0 0% 0/0 0% 0/0
moveSegmentToPrivateLabelmap.ts
7.14% 1/14 0% 0/6 0% 0/3 7.14% 1/14
normalizeSegmentationInput.ts
97.61% 41/42 90% 36/40 100% 10/10 97.61% 41/42
removeSegmentAnnotations.ts
0% 0/20 0% 0/12 0% 0/1 0% 0/20
updateStackSegmentationState.ts
0% 0/10 0% 0/4 0% 0/2 0% 0/10
validateSegmentationInput.ts
0% 0/9 0% 0/10 0% 0/2 0% 0/9