All files tools/src/stateManagement/segmentation

55.41% Statements 435/785
45.26% Branches 172/380
62.08% Functions 131/211
55.49% Lines 434/782

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

File Statements Branches Functions Lines
SegmentationRenderingEngine.ts
80.16% 97/121 67.85% 38/56 86.2% 25/29 80.16% 97/121
SegmentationRepresentationDisplayRegistry.ts
100% 3/3 100% 0/0 100% 2/2 100% 3/3
SegmentationStateManager.ts
61.16% 126/206 55.88% 57/102 58.2% 39/67 61.16% 126/206
SegmentationStyle.ts
28.57% 30/105 30.66% 23/75 46.15% 6/13 28.57% 30/105
activeSegmentation.ts
100% 2/2 100% 0/0 100% 2/2 100% 2/2
addColorLUT.ts
85% 17/20 62.5% 5/8 100% 2/2 85% 17/20
addSegmentationRepresentationsToViewport.ts
60% 12/20 100% 0/0 83.33% 10/12 60% 12/20
addSegmentations.ts
100% 6/6 50% 1/2 100% 2/2 100% 6/6
getActiveSegmentIndex.ts
83.33% 5/6 75% 3/4 100% 2/2 83.33% 5/6
getActiveSegmentation.ts
100% 2/2 100% 0/0 100% 1/1 100% 2/2
getColorLUT.ts
100% 2/2 100% 0/0 100% 1/1 100% 2/2
getCurrentLabelmapImageIdForViewport.ts
37.5% 6/16 20% 2/10 50% 2/4 37.5% 6/16
getGlobalStyle.ts
0% 0/1 100% 0/0 0% 0/1 0% 0/1
getLabelmapImageIds.ts
0% 0/3 100% 0/0 0% 0/1 0% 0/3
getNextColorLUTIndex.ts
100% 2/2 100% 0/0 100% 1/1 100% 2/2
getSegmentation.ts
100% 2/2 100% 0/0 100% 1/1 100% 2/2
getSegmentationRepresentation.ts
66.66% 6/9 80% 4/5 66.66% 2/3 66.66% 6/9
getSegmentationRepresentationVisibility.ts
100% 2/2 100% 0/0 100% 1/1 100% 2/2
getSegmentations.ts
100% 3/3 100% 0/0 100% 1/1 100% 3/3
getStackSegmentationImageIdsForViewport.ts
0% 0/2 100% 0/0 0% 0/1 0% 0/2
getViewportIdsWithSegmentation.ts
100% 8/8 100% 0/0 100% 4/4 100% 8/8
getViewportSegmentations.ts
91.66% 11/12 50% 2/4 100% 4/4 91.66% 11/12
index.ts
100% 1/1 100% 0/0 100% 0/0 100% 1/1
internalAddRepresentationData.ts
0% 0/16 0% 0/14 0% 0/1 0% 0/16
internalAddSegmentationRepresentation.ts
71.42% 25/35 53.57% 15/28 75% 3/4 70.58% 24/34
removeColorLUT.ts
0% 0/2 100% 0/0 0% 0/1 0% 0/2
removeSegment.ts
0% 0/26 0% 0/13 0% 0/4 0% 0/26
removeSegmentation.ts
0% 0/16 100% 0/0 0% 0/8 0% 0/15
removeSegmentationRepresentations.ts
60.86% 14/23 50% 3/6 45.45% 5/11 60.86% 14/23
segmentIndex.ts
61.76% 21/34 50% 10/20 100% 5/5 61.76% 21/34
segmentLocking.ts
20.68% 6/29 7.69% 1/13 28.57% 2/7 21.42% 6/28
segmentationEventManager.ts
64.7% 22/34 50% 8/16 85.71% 6/7 64.7% 22/34
segmentationState.ts
0% 0/2 100% 0/0 0% 0/2 0% 0/2
setActiveSegmentation.ts
100% 2/2 100% 0/0 100% 1/1 100% 2/2
setGlobalStyle.ts
0% 0/3 0% 0/2 0% 0/1 0% 0/3
setSegmentationRepresentationVisibility.ts
0% 0/2 100% 0/0 0% 0/1 0% 0/2
triggerSegmentationEvents.ts
0% 0/0 0% 0/0 0% 0/0 0% 0/0
updateLabelmapSegmentationImageReferences.ts
100% 2/2 100% 0/0 100% 1/1 100% 2/2
updateSegmentations.ts
0% 0/5 0% 0/2 0% 0/2 0% 0/5