Prepare for channel-specific SEVIRI calibration #2997
CodeScene Delta Analysis / CodeScene Cloud Delta Analysis (main)
failed
Nov 22, 2024 in 1m 11s
CodeScene PR Check
❌ Code Health Quality Gates: FAILED
Change in average Code Health of affected files: -0.00 (9.27 -> 9.27)
- Declining Code Health: 1 findings(s) 🚩
- Improving Code Health: 1 findings(s) ✅
Details
🚩 Declining Code Health (highest to lowest):
- Low Cohesion seviri_base.py
✅ Improving Code Health:
- Excess Number of Function Arguments seviri_base.py: SEVIRICalibrationHandler.init
Annotations
Check warning on line 1 in satpy/readers/seviri_base.py
codescene-delta-analysis / CodeScene Cloud Delta Analysis (main)
❌ Getting worse: Low Cohesion
The number of different responsibilities increases from 9 to 11, threshold = 4. Cohesion is calculated using the LCOM4 metric. Low cohesion means that the module/class has multiple unrelated responsibilities, doing too many things and breaking the Single Responsibility Principle.
Check notice on line 661 in satpy/readers/seviri_base.py
codescene-delta-analysis / CodeScene Cloud Delta Analysis (main)
✅ No longer an issue: Excess Number of Function Arguments
SEVIRICalibrationHandler.__init__ is no longer above the threshold for number of arguments
Loading