All files tools/src/stateManagement/segmentation

56.51% Statements 412/729
47.28% Branches 157/332
62.75% Functions 123/196
56.61% Lines 411/726

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
96.51% 83/86 85.29% 29/34 100% 21/21 96.51% 83/86
SegmentationStateManager.ts
59.2% 164/277 54.13% 72/133 58.9% 43/73 59.2% 164/277
SegmentationStyle.ts
28.43% 29/102 30% 21/70 46.15% 6/13 28.43% 29/102
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
69.23% 18/26 50% 10/20 75% 3/4 68% 17/25
removeColorLUT.ts
0% 0/2 100% 0/0 0% 0/1 0% 0/2
removeSegment.ts
0% 0/22 0% 0/9 0% 0/4 0% 0/22
removeSegmentation.ts
0% 0/16 100% 0/0 0% 0/8 0% 0/15
removeSegmentationRepresentations.ts
50% 12/24 30% 3/10 45.45% 5/11 50% 12/24
segmentIndex.ts
90% 18/20 75% 6/8 100% 5/5 90% 18/20
segmentLocking.ts
31.57% 6/19 14.28% 1/7 40% 2/5 33.33% 6/18
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