Skip to content

refactor(report): Cleanup reports code

adec0e8
Select commit
Loading
Failed to load commit list.
Merged

refactor: Cleanup unused attributes in actor message types #615

refactor(report): Cleanup reports code
adec0e8
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded May 21, 2025 in 1s

68.64% (-0.11%) compared to 3ae78f7

View this Pull Request on Codecov

68.64% (-0.11%) compared to 3ae78f7

Details

Codecov Report

Attention: Patch coverage is 57.14286% with 15 lines in your changes missing coverage. Please review.

Project coverage is 68.64%. Comparing base (3ae78f7) to head (adec0e8).

Files with missing lines Patch % Lines
src/powerapi/puller/handlers.py 0.00% 5 Missing ⚠️
src/powerapi/report/control_report.py 25.00% 3 Missing ⚠️
src/powerapi/actor/actor.py 0.00% 2 Missing ⚠️
src/powerapi/handler/start_handler.py 0.00% 2 Missing ⚠️
src/powerapi/pusher/handlers.py 0.00% 1 Missing ⚠️
src/powerapi/report/hwpc_report.py 75.00% 1 Missing ⚠️
src/powerapi/report/power_report.py 66.66% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #615      +/-   ##
==========================================
- Coverage   68.75%   68.64%   -0.11%     
==========================================
  Files          72       72              
  Lines        2720     2682      -38     
==========================================
- Hits         1870     1841      -29     
+ Misses        850      841       -9     
Files with missing lines Coverage Δ
src/powerapi/actor/supervisor.py 65.95% <100.00%> (ø)
src/powerapi/message.py 100.00% <100.00%> (+16.21%) ⬆️
src/powerapi/report/formula_report.py 100.00% <100.00%> (+4.54%) ⬆️
src/powerapi/report/report.py 96.00% <100.00%> (+0.91%) ⬆️
src/powerapi/pusher/handlers.py 36.36% <0.00%> (ø)
src/powerapi/report/hwpc_report.py 93.50% <75.00%> (+1.29%) ⬆️
src/powerapi/report/power_report.py 81.33% <66.66%> (ø)
src/powerapi/actor/actor.py 53.12% <0.00%> (ø)
src/powerapi/handler/start_handler.py 35.71% <0.00%> (ø)
src/powerapi/report/control_report.py 56.00% <25.00%> (ø)
... and 1 more
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.