Skip to content

Conversation

@ronzim
Copy link
Contributor

@ronzim ronzim commented Apr 4, 2025

Add github action to analize code with sonarqube (local deploy)

@ronzim ronzim requested review from akiross and daron1337 April 4, 2025 16:40
@ronzim ronzim self-assigned this Apr 4, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Apr 4, 2025

🧪 TypeScript Coverage Report

Total Coverage: 84.59% ⚠️
Total Lines: 44306
Covered: 37479
Uncovered: 6827

📄 File Coverage Details

File Coverage Total Covered Uncovered
decs.d.ts 100% ✅ 0 0 0
imaging/MetaDataReadable.d.ts 100% ✅ 42 42 0
imaging/MetaDataTypes.d.ts 100% ✅ 4256 4256 0
imaging/dataDictionary.json 100% ✅ 0 0 0
logger.ts 100% ✅ 50 50 0
imaging/types.d.ts 100% ✅ 378 378 0
imaging/imageAnonymization.ts 100% ✅ 191 191 0
imaging/imageColormaps.ts 90.25% ✅ 236 213 23
imaging/imageContours.ts 98.41% ✅ 189 186 3
imaging/imageCustomization.ts 99.62% ✅ 531 529 2
imaging/imageStore.ts 99.25% ✅ 533 529 4
imaging/loaders/commonLoader.ts 51.79% 🚨 112 58 54
imaging/loaders/nrrdLoader.ts 96.97% ✅ 925 897 28
imaging/loaders/resliceLoader.ts 95.39% ✅ 304 290 14
imaging/imageTags.ts 94.18% ✅ 722 680 42
imaging/monitors/memory.ts 89.8% ⚠️ 98 88 10
imaging/imageParsing.ts 94.16% ✅ 754 710 44
imaging/postProcessing/applyDSA.ts 98.91% ✅ 551 545 6
imaging/loaders/dsaImageLoader.ts 95.77% ✅ 260 249 11
imaging/loaders/multiframeLoader.ts 91.5% ✅ 659 603 56
imaging/loaders/singleFrameLoader.ts 96.85% ✅ 413 400 13
imaging/tools/custom/utils/watershedSegmentationToolUtils/WSUtils.ts 100% ✅ 118 118 0
imaging/tools/custom/thresholdsBrushTool.js 84.21% ⚠️ 361 304 57
imaging/tools/custom/WwwcRemoveRegionTool.js 44.88% 🚨 1299 583 716
imaging/tools/strategies/eraseFreehand.js 46.15% 🚨 78 36 42
imaging/tools/strategies/fillFreehand.js 46.15% 🚨 78 36 42
imaging/tools/strategies/index.js 100% ✅ 4 4 0
imaging/tools/custom/polygonSegmentationMixin.js 40.89% 🚨 291 119 172
imaging/tools/custom/polylineScissorsTool.js 55.56% 🚨 45 25 20
imaging/tools/custom/rectangleRoiOverlayTool.js 39.95% 🚨 791 316 475
imaging/tools/custom/ellipticalRoiOverlayTool.js 35.56% 🚨 762 271 491
imaging/tools/custom/BorderMagnifyTool.js 42.86% 🚨 168 72 96
imaging/tools/custom/utils/customMouseWheelScrollToolUtils/loadHandlerManager.js 57.69% 🚨 104 60 44
imaging/tools/custom/utils/customMouseWheelScrollToolUtils/customMouseWheelUtils.ts 84.09% ⚠️ 220 185 35
imaging/imageLayers.ts 100% ✅ 125 125 0
imaging/tools/custom/customMouseWheelScrollTool.ts 71.01% 🚨 445 316 129
imaging/tools/types.d.ts 99.78% ✅ 456 455 1
imaging/tools/custom/watershedSegmentationTool.ts 79.35% ⚠️ 1453 1153 300
imaging/tools/custom/LengthPlotTool.ts 87.29% ⚠️ 1338 1168 170
imaging/tools/custom/LengthUSTool.ts 77.23% ⚠️ 571 441 130
imaging/tools/custom/RectangleRoiUSTool.ts 83.72% ⚠️ 958 802 156
imaging/tools/custom/EllipticalRoiUSTool.ts 74.19% 🚨 922 684 238
imaging/tools/custom/FreehandRoiUSTool.ts 74.8% 🚨 3710 2775 935
imaging/tools/custom/ManualLengthPlotTool.ts 87.79% ⚠️ 688 604 84
imaging/tools/custom/OverlayTool.ts 88.24% ⚠️ 238 210 28
imaging/tools/custom/rotateTool.ts 88.52% ⚠️ 331 293 38
imaging/tools/custom/gspsUtils/types.d.ts 100% ✅ 168 168 0
imaging/tools/custom/gspsUtils/genericMathUtils.ts 100% ✅ 304 304 0
imaging/tools/custom/gspsUtils/genericDrawingUtils.ts 97.55% ✅ 1061 1035 26
imaging/tools/custom/gspsUtils/maskUtils.ts 95.52% ✅ 134 128 6
imaging/tools/custom/gspsUtils/LUTUtils.ts 100% ✅ 100 100 0
imaging/tools/custom/gspsUtils/spatialTransformationUtils.ts 100% ✅ 222 222 0
imaging/tools/custom/gspsUtils/annotationAndOverlayRetrievalUtils.ts 100% ✅ 661 661 0
imaging/tools/custom/gspsUtils/annotationAndOverlayRenderingUtils.ts 98.84% ✅ 1551 1533 18
imaging/tools/custom/gspsTool.ts 88.47% ⚠️ 477 422 55
imaging/tools/default.ts 99.04% ✅ 624 618 6
imaging/tools/custom/contourTool.js 63.66% 🚨 2559 1629 930
imaging/tools/custom/editMaskTool.js 59.28% 🚨 167 99 68
imaging/tools/custom/diameterTool.js 50.59% 🚨 170 86 84
imaging/imageTools.js 90.06% ✅ 775 698 77
imaging/imageLoading.ts 94.33% ✅ 476 449 27
imaging/loaders/fileLoader.ts 72% 🚨 25 18 7
imaging/imageManagers.ts 100% ✅ 364 364 0
imaging/tools/main.ts 81.63% ⚠️ 490 400 90
imaging/tools/interaction.ts 90.03% ✅ 361 325 36
imaging/parsers/pdf.ts 77.78% ⚠️ 153 119 34
imaging/imageRendering.ts 96.53% ✅ 2278 2199 79
imaging/loaders/dicomLoader.ts 100% ✅ 191 191 0
imaging/imageUtils.ts 94.94% ✅ 1344 1276 68
imaging/parsers/nrrd.js 76.32% ⚠️ 549 419 130
imaging/imageIo.ts 95.31% ✅ 533 508 25
imaging/imagePresets.ts 97.5% ✅ 160 156 4
imaging/imageReslice.ts 100% ✅ 114 114 0
imaging/monitors/performance.ts 100% ✅ 7 7 0
imaging/parsers/ecg.ts 100% ✅ 77 77 0
imaging/tools/custom/setLabelMap3D.ts 68.51% 🚨 181 124 57
imaging/tools/segmentation.ts 73.23% 🚨 691 506 185
imaging/tools/state.ts 67.5% 🚨 40 27 13
imaging/waveforms/ecg.ts 96.67% ✅ 360 348 12
imaging/tools/custom/4dSliceScrollTool.js 55.25% 🚨 181 100 81
imaging/tools/custom/seedTool.js 100% ✅ 0 0 0

@daron1337 daron1337 changed the title chore: add build and analyze with sonarqube feat: add build and analyze with sonarqube Apr 7, 2025
@github-actions
Copy link
Contributor

🧪 TypeScript Coverage Report

Total Coverage: 84.59% ⚠️
Total Lines: 44306
Covered: 37479
Uncovered: 6827

📄 File Coverage Details

File Coverage Total Covered Uncovered
decs.d.ts 100% ✅ 0 0 0
imaging/MetaDataReadable.d.ts 100% ✅ 42 42 0
imaging/MetaDataTypes.d.ts 100% ✅ 4256 4256 0
imaging/dataDictionary.json 100% ✅ 0 0 0
logger.ts 100% ✅ 50 50 0
imaging/types.d.ts 100% ✅ 378 378 0
imaging/imageAnonymization.ts 100% ✅ 191 191 0
imaging/imageColormaps.ts 90.25% ✅ 236 213 23
imaging/imageContours.ts 98.41% ✅ 189 186 3
imaging/imageCustomization.ts 99.62% ✅ 531 529 2
imaging/imageStore.ts 99.25% ✅ 533 529 4
imaging/loaders/commonLoader.ts 51.79% 🚨 112 58 54
imaging/loaders/nrrdLoader.ts 96.97% ✅ 925 897 28
imaging/loaders/resliceLoader.ts 95.39% ✅ 304 290 14
imaging/imageTags.ts 94.18% ✅ 722 680 42
imaging/monitors/memory.ts 89.8% ⚠️ 98 88 10
imaging/imageParsing.ts 94.16% ✅ 754 710 44
imaging/postProcessing/applyDSA.ts 98.91% ✅ 551 545 6
imaging/loaders/dsaImageLoader.ts 95.77% ✅ 260 249 11
imaging/loaders/multiframeLoader.ts 91.5% ✅ 659 603 56
imaging/loaders/singleFrameLoader.ts 96.85% ✅ 413 400 13
imaging/tools/custom/utils/watershedSegmentationToolUtils/WSUtils.ts 100% ✅ 118 118 0
imaging/tools/custom/thresholdsBrushTool.js 84.21% ⚠️ 361 304 57
imaging/tools/custom/WwwcRemoveRegionTool.js 44.88% 🚨 1299 583 716
imaging/tools/strategies/eraseFreehand.js 46.15% 🚨 78 36 42
imaging/tools/strategies/fillFreehand.js 46.15% 🚨 78 36 42
imaging/tools/strategies/index.js 100% ✅ 4 4 0
imaging/tools/custom/polygonSegmentationMixin.js 40.89% 🚨 291 119 172
imaging/tools/custom/polylineScissorsTool.js 55.56% 🚨 45 25 20
imaging/tools/custom/rectangleRoiOverlayTool.js 39.95% 🚨 791 316 475
imaging/tools/custom/ellipticalRoiOverlayTool.js 35.56% 🚨 762 271 491
imaging/tools/custom/BorderMagnifyTool.js 42.86% 🚨 168 72 96
imaging/tools/custom/utils/customMouseWheelScrollToolUtils/loadHandlerManager.js 57.69% 🚨 104 60 44
imaging/tools/custom/utils/customMouseWheelScrollToolUtils/customMouseWheelUtils.ts 84.09% ⚠️ 220 185 35
imaging/imageLayers.ts 100% ✅ 125 125 0
imaging/tools/custom/customMouseWheelScrollTool.ts 71.01% 🚨 445 316 129
imaging/tools/types.d.ts 99.78% ✅ 456 455 1
imaging/tools/custom/watershedSegmentationTool.ts 79.35% ⚠️ 1453 1153 300
imaging/tools/custom/LengthPlotTool.ts 87.29% ⚠️ 1338 1168 170
imaging/tools/custom/LengthUSTool.ts 77.23% ⚠️ 571 441 130
imaging/tools/custom/RectangleRoiUSTool.ts 83.72% ⚠️ 958 802 156
imaging/tools/custom/EllipticalRoiUSTool.ts 74.19% 🚨 922 684 238
imaging/tools/custom/FreehandRoiUSTool.ts 74.8% 🚨 3710 2775 935
imaging/tools/custom/ManualLengthPlotTool.ts 87.79% ⚠️ 688 604 84
imaging/tools/custom/OverlayTool.ts 88.24% ⚠️ 238 210 28
imaging/tools/custom/rotateTool.ts 88.52% ⚠️ 331 293 38
imaging/tools/custom/gspsUtils/types.d.ts 100% ✅ 168 168 0
imaging/tools/custom/gspsUtils/genericMathUtils.ts 100% ✅ 304 304 0
imaging/tools/custom/gspsUtils/genericDrawingUtils.ts 97.55% ✅ 1061 1035 26
imaging/tools/custom/gspsUtils/maskUtils.ts 95.52% ✅ 134 128 6
imaging/tools/custom/gspsUtils/LUTUtils.ts 100% ✅ 100 100 0
imaging/tools/custom/gspsUtils/spatialTransformationUtils.ts 100% ✅ 222 222 0
imaging/tools/custom/gspsUtils/annotationAndOverlayRetrievalUtils.ts 100% ✅ 661 661 0
imaging/tools/custom/gspsUtils/annotationAndOverlayRenderingUtils.ts 98.84% ✅ 1551 1533 18
imaging/tools/custom/gspsTool.ts 88.47% ⚠️ 477 422 55
imaging/tools/default.ts 99.04% ✅ 624 618 6
imaging/tools/custom/contourTool.js 63.66% 🚨 2559 1629 930
imaging/tools/custom/editMaskTool.js 59.28% 🚨 167 99 68
imaging/tools/custom/diameterTool.js 50.59% 🚨 170 86 84
imaging/imageTools.js 90.06% ✅ 775 698 77
imaging/imageLoading.ts 94.33% ✅ 476 449 27
imaging/loaders/fileLoader.ts 72% 🚨 25 18 7
imaging/imageManagers.ts 100% ✅ 364 364 0
imaging/tools/main.ts 81.63% ⚠️ 490 400 90
imaging/tools/interaction.ts 90.03% ✅ 361 325 36
imaging/parsers/pdf.ts 77.78% ⚠️ 153 119 34
imaging/imageRendering.ts 96.53% ✅ 2278 2199 79
imaging/loaders/dicomLoader.ts 100% ✅ 191 191 0
imaging/imageUtils.ts 94.94% ✅ 1344 1276 68
imaging/parsers/nrrd.js 76.32% ⚠️ 549 419 130
imaging/imageIo.ts 95.31% ✅ 533 508 25
imaging/imagePresets.ts 97.5% ✅ 160 156 4
imaging/imageReslice.ts 100% ✅ 114 114 0
imaging/monitors/performance.ts 100% ✅ 7 7 0
imaging/parsers/ecg.ts 100% ✅ 77 77 0
imaging/tools/custom/setLabelMap3D.ts 68.51% 🚨 181 124 57
imaging/tools/segmentation.ts 73.23% 🚨 691 506 185
imaging/tools/state.ts 67.5% 🚨 40 27 13
imaging/waveforms/ecg.ts 96.67% ✅ 360 348 12
imaging/tools/custom/4dSliceScrollTool.js 55.25% 🚨 181 100 81
imaging/tools/custom/seedTool.js 100% ✅ 0 0 0

@github-actions
Copy link
Contributor

🧪 TypeScript Coverage Report

Total Coverage: 84.59% ⚠️
Total Lines: 44306
Covered: 37479
Uncovered: 6827

📄 File Coverage Details

File Coverage Total Covered Uncovered
decs.d.ts 100% ✅ 0 0 0
imaging/MetaDataReadable.d.ts 100% ✅ 42 42 0
imaging/MetaDataTypes.d.ts 100% ✅ 4256 4256 0
imaging/dataDictionary.json 100% ✅ 0 0 0
logger.ts 100% ✅ 50 50 0
imaging/types.d.ts 100% ✅ 378 378 0
imaging/imageAnonymization.ts 100% ✅ 191 191 0
imaging/imageColormaps.ts 90.25% ✅ 236 213 23
imaging/imageContours.ts 98.41% ✅ 189 186 3
imaging/imageCustomization.ts 99.62% ✅ 531 529 2
imaging/imageStore.ts 99.25% ✅ 533 529 4
imaging/loaders/commonLoader.ts 51.79% 🚨 112 58 54
imaging/loaders/nrrdLoader.ts 96.97% ✅ 925 897 28
imaging/loaders/resliceLoader.ts 95.39% ✅ 304 290 14
imaging/imageTags.ts 94.18% ✅ 722 680 42
imaging/monitors/memory.ts 89.8% ⚠️ 98 88 10
imaging/imageParsing.ts 94.16% ✅ 754 710 44
imaging/postProcessing/applyDSA.ts 98.91% ✅ 551 545 6
imaging/loaders/dsaImageLoader.ts 95.77% ✅ 260 249 11
imaging/loaders/multiframeLoader.ts 91.5% ✅ 659 603 56
imaging/loaders/singleFrameLoader.ts 96.85% ✅ 413 400 13
imaging/tools/custom/utils/watershedSegmentationToolUtils/WSUtils.ts 100% ✅ 118 118 0
imaging/tools/custom/thresholdsBrushTool.js 84.21% ⚠️ 361 304 57
imaging/tools/custom/WwwcRemoveRegionTool.js 44.88% 🚨 1299 583 716
imaging/tools/strategies/eraseFreehand.js 46.15% 🚨 78 36 42
imaging/tools/strategies/fillFreehand.js 46.15% 🚨 78 36 42
imaging/tools/strategies/index.js 100% ✅ 4 4 0
imaging/tools/custom/polygonSegmentationMixin.js 40.89% 🚨 291 119 172
imaging/tools/custom/polylineScissorsTool.js 55.56% 🚨 45 25 20
imaging/tools/custom/rectangleRoiOverlayTool.js 39.95% 🚨 791 316 475
imaging/tools/custom/ellipticalRoiOverlayTool.js 35.56% 🚨 762 271 491
imaging/tools/custom/BorderMagnifyTool.js 42.86% 🚨 168 72 96
imaging/tools/custom/utils/customMouseWheelScrollToolUtils/loadHandlerManager.js 57.69% 🚨 104 60 44
imaging/tools/custom/utils/customMouseWheelScrollToolUtils/customMouseWheelUtils.ts 84.09% ⚠️ 220 185 35
imaging/imageLayers.ts 100% ✅ 125 125 0
imaging/tools/custom/customMouseWheelScrollTool.ts 71.01% 🚨 445 316 129
imaging/tools/types.d.ts 99.78% ✅ 456 455 1
imaging/tools/custom/watershedSegmentationTool.ts 79.35% ⚠️ 1453 1153 300
imaging/tools/custom/LengthPlotTool.ts 87.29% ⚠️ 1338 1168 170
imaging/tools/custom/LengthUSTool.ts 77.23% ⚠️ 571 441 130
imaging/tools/custom/RectangleRoiUSTool.ts 83.72% ⚠️ 958 802 156
imaging/tools/custom/EllipticalRoiUSTool.ts 74.19% 🚨 922 684 238
imaging/tools/custom/FreehandRoiUSTool.ts 74.8% 🚨 3710 2775 935
imaging/tools/custom/ManualLengthPlotTool.ts 87.79% ⚠️ 688 604 84
imaging/tools/custom/OverlayTool.ts 88.24% ⚠️ 238 210 28
imaging/tools/custom/rotateTool.ts 88.52% ⚠️ 331 293 38
imaging/tools/custom/gspsUtils/types.d.ts 100% ✅ 168 168 0
imaging/tools/custom/gspsUtils/genericMathUtils.ts 100% ✅ 304 304 0
imaging/tools/custom/gspsUtils/genericDrawingUtils.ts 97.55% ✅ 1061 1035 26
imaging/tools/custom/gspsUtils/maskUtils.ts 95.52% ✅ 134 128 6
imaging/tools/custom/gspsUtils/LUTUtils.ts 100% ✅ 100 100 0
imaging/tools/custom/gspsUtils/spatialTransformationUtils.ts 100% ✅ 222 222 0
imaging/tools/custom/gspsUtils/annotationAndOverlayRetrievalUtils.ts 100% ✅ 661 661 0
imaging/tools/custom/gspsUtils/annotationAndOverlayRenderingUtils.ts 98.84% ✅ 1551 1533 18
imaging/tools/custom/gspsTool.ts 88.47% ⚠️ 477 422 55
imaging/tools/default.ts 99.04% ✅ 624 618 6
imaging/tools/custom/contourTool.js 63.66% 🚨 2559 1629 930
imaging/tools/custom/editMaskTool.js 59.28% 🚨 167 99 68
imaging/tools/custom/diameterTool.js 50.59% 🚨 170 86 84
imaging/imageTools.js 90.06% ✅ 775 698 77
imaging/imageLoading.ts 94.33% ✅ 476 449 27
imaging/loaders/fileLoader.ts 72% 🚨 25 18 7
imaging/imageManagers.ts 100% ✅ 364 364 0
imaging/tools/main.ts 81.63% ⚠️ 490 400 90
imaging/tools/interaction.ts 90.03% ✅ 361 325 36
imaging/parsers/pdf.ts 77.78% ⚠️ 153 119 34
imaging/imageRendering.ts 96.53% ✅ 2278 2199 79
imaging/loaders/dicomLoader.ts 100% ✅ 191 191 0
imaging/imageUtils.ts 94.94% ✅ 1344 1276 68
imaging/parsers/nrrd.js 76.32% ⚠️ 549 419 130
imaging/imageIo.ts 95.31% ✅ 533 508 25
imaging/imagePresets.ts 97.5% ✅ 160 156 4
imaging/imageReslice.ts 100% ✅ 114 114 0
imaging/monitors/performance.ts 100% ✅ 7 7 0
imaging/parsers/ecg.ts 100% ✅ 77 77 0
imaging/tools/custom/setLabelMap3D.ts 68.51% 🚨 181 124 57
imaging/tools/segmentation.ts 73.23% 🚨 691 506 185
imaging/tools/state.ts 67.5% 🚨 40 27 13
imaging/waveforms/ecg.ts 96.67% ✅ 360 348 12
imaging/tools/custom/4dSliceScrollTool.js 55.25% 🚨 181 100 81
imaging/tools/custom/seedTool.js 100% ✅ 0 0 0

@daron1337 daron1337 marked this pull request as draft August 7, 2025 07:23
@daron1337 daron1337 closed this Sep 4, 2025
@daron1337 daron1337 deleted the sonarqube branch January 6, 2026 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants