All files tools/src/stateManagement/segmentation

56.2% Statements 444/790
46.63% Branches 173/371
63.1% Functions 130/206
56.28% Lines 443/787

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
95.45% 84/88 86.11% 31/36 100% 22/22 95.45% 84/88
SegmentationStateManager.ts
59.2% 164/277 54.13% 72/133 58.9% 43/73 59.2% 164/277
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
66.66% 10/15 62.5% 5/8 100% 2/2 66.66% 10/15
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
66.66% 4/6 100% 0/0 66.66% 2/3 66.66% 4/6
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
75% 24/32 53.84% 14/26 75% 3/4 74.19% 23/31
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
52% 13/25 30% 3/10 45.45% 5/11 52% 13/25
segmentIndex.ts
90% 18/20 75% 6/8 100% 5/5 90% 18/20
segmentLocking.ts
20.68% 6/29 7.69% 1/13 28.57% 2/7 21.42% 6/28
segmentationEventManager.ts
65.71% 23/35 50% 8/16 85.71% 6/7 65.71% 23/35
segmentationState.ts
0% 0/1 100% 0/0 0% 0/1 0% 0/1
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