Closed wahln closed 4 days ago
Attention: Patch coverage is 75.00000%
with 2 lines
in your changes missing coverage. Please review.
Project coverage is 51.26%. Comparing base (
c55fa64
) to head (3f50eb7
). Report is 3 commits behind head on dev.
:white_check_mark: All tests successful. No failed tests found.
Files with missing lines | Patch % | Lines |
---|---|---|
matRad/gui/widgets/matRad_DVHWidget.m | 71.42% | 2 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Package | Line Rate | Health |
---|---|---|
coverage Package 1 | 51% | ➖ |
Summary | 51% (9547 / 18636) | ➖ |
3 files ± 0 3 suites ±0 33m 57s ⏱️ +25s 274 tests +13 274 ✅ +13 0 💤 ±0 0 ❌ ±0 918 runs +39 913 ✅ +39 5 💤 ±0 0 ❌ ±0
Results for commit 3f50eb7b. ± Comparison against base commit c55fa648.
:recycle: This comment has been updated with latest results.
This pull request includes several changes to improve the functionality and testing of the
matRad
GUI widgets. The most important changes involve enhancing thematRad_DVHWidget
and itsshowDVH
function, updating thematRad_showDVH
function, and adding new test cases for various widgets.Enhancements to
showDVH
function:matRad/gui/widgets/matRad_DVHWidget.m
: Added logic to handle scenarios more robustly by introducing thect
variable and updating the scenario model creation and checks.Updates to
matRad_showDVH
function:matRad/planAnalysis/matRad_showDVH.m
: Modified thexlabel
function to include theaxesHandle
parameter for better plot labeling.Addition of new test cases:
test/gui/test_gui_DVHStatsWidget.m
: Added multiple test functions to constructDVHStatsWidget
with different plan types (Photon, Proton, Carbon, Helium) and verify their correct instantiation.test/gui/test_gui_PlanWidget.m
: Added test functions to constructPlanWidget
with different plan types (TG119, Photon, Proton, Carbon, Helium) and verify their correct instantiation. [1] [2]test/gui/test_gui_exportWidget.m
: Added a test function to constructexportWidget
with a Carbon plan and verify its correct instantiation.test/gui/test_gui_viewingWidget.m
: Added test functions to constructViewingWidget
with different plan types (TG119, Photon, Proton, Carbon, Helium) and verify their correct instantiation. [1] [2]