All files packages/core/src/RenderingEngine/helpers/cpuFallback/rendering

40.79% Statements 277/679
30.67% Branches 96/313
54.92% Functions 39/71
41.44% Lines 276/666

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

File Statements Branches Functions Lines
calculateTransform.ts
60% 24/40 50% 13/26 100% 1/1 60% 24/40
canvasToPixel.ts
100% 3/3 100% 0/0 100% 1/1 100% 3/3
computeAutoVoi.ts
33.33% 4/12 50% 5/10 100% 2/2 33.33% 4/12
correctShift.ts
0% 0/14 0% 0/6 0% 0/1 0% 0/12
createViewport.ts
0% 0/4 100% 0/0 0% 0/2 0% 0/4
doesImageNeedToBeRendered.ts
100% 3/3 9.09% 1/11 100% 1/1 100% 3/3
fitToWindow.ts
0% 0/4 100% 0/0 0% 0/1 0% 0/4
generateColorLUT.ts
0% 0/15 0% 0/8 0% 0/1 0% 0/15
generateLut.ts
77.27% 17/22 50% 4/8 100% 1/1 77.27% 17/22
getDefaultViewport.ts
70% 7/10 54.54% 12/22 100% 1/1 70% 7/10
getImageFitScale.ts
92.85% 13/14 60% 6/10 100% 1/1 92.85% 13/14
getImageSize.ts
87.5% 7/8 70% 7/10 100% 2/2 87.5% 7/8
getLut.ts
90% 9/10 22.22% 2/9 100% 1/1 90% 9/10
getModalityLut.ts
28.57% 4/14 16.66% 1/6 60% 3/5 23.07% 3/13
getTransform.ts
100% 1/1 100% 0/0 100% 1/1 100% 1/1
getVOILut.ts
25% 4/16 16.66% 1/6 60% 3/5 25% 4/16
initializeRenderCanvas.ts
100% 9/9 100% 0/0 100% 1/1 100% 9/9
lutMatches.ts
0% 0/5 0% 0/8 0% 0/1 0% 0/5
now.ts
66.66% 2/3 50% 1/2 100% 1/1 66.66% 2/3
pixelToCanvas.ts
100% 2/2 100% 0/0 100% 1/1 100% 2/2
renderColorImage.ts
0% 0/48 0% 0/33 0% 0/3 0% 0/48
renderGrayscaleImage.ts
67.85% 38/56 50% 15/30 50% 2/4 73.07% 38/52
renderPseudoColorImage.ts
69.23% 45/65 47.36% 18/38 40% 2/5 71.42% 45/63
resetCamera.ts
0% 0/17 0% 0/10 0% 0/1 0% 0/14
resize.ts
0% 0/29 0% 0/20 0% 0/4 0% 0/28
saveLastRendered.ts
100% 7/7 100% 0/0 100% 1/1 100% 7/7
setDefaultViewport.ts
50% 1/2 0% 0/2 0% 0/1 50% 1/2
setToPixelCoordinateSystem.ts
71.42% 5/7 50% 2/4 100% 1/1 71.42% 5/7
storedColorPixelDataToCanvasImageData.ts
0% 0/22 0% 0/2 0% 0/1 0% 0/22
storedPixelDataToCanvasImageData.ts
53.57% 15/28 37.5% 3/8 100% 1/1 53.57% 15/28
storedPixelDataToCanvasImageDataPET.ts
0% 0/11 100% 0/0 0% 0/1 0% 0/11
storedPixelDataToCanvasImageDataPseudocolorLUT.ts
70.37% 19/27 50% 2/4 100% 1/1 70.37% 19/27
storedPixelDataToCanvasImageDataPseudocolorLUTPET.ts
0% 0/27 0% 0/4 0% 0/1 0% 0/27
storedPixelDataToCanvasImageDataRGBA.ts
0% 0/43 0% 0/8 0% 0/1 0% 0/43
storedRGBAPixelDataToCanvasImageData.ts
0% 0/20 0% 0/2 0% 0/1 0% 0/20
transform.ts
64.91% 37/57 100% 0/0 81.81% 9/11 64.91% 37/57
validator.ts
25% 1/4 50% 3/6 50% 1/2 25% 1/4