Skip to content

Cleaning code removing debug statements.

GMV - Emmanuel Roche 837e844
CodeScene Delta Analysis / CodeScene Cloud Delta Analysis (main) succeeded Oct 2, 2024 in 54s

CodeScene PR Check

Code Health Quality Gates: OK

Code Health of new files: 9.89

  • Declining Code Health: 1 findings(s) 🚩

View detailed results in CodeScene

Details

🚩 Declining Code Health (highest to lowest):

  • Complex Method iasi_ng_l2_nc.py: IASINGL2NCFileHandler.register_available_datasets

Annotations

Check warning on line 232 in satpy/readers/iasi_ng_l2_nc.py

See this annotation in the file changed.

@codescene-delta-analysis codescene-delta-analysis / CodeScene Cloud Delta Analysis (main)

❌ New issue: Complex Method

IASINGL2NCFileHandler.register_available_datasets has a cyclomatic complexity of 10, threshold = 9. This function has many conditional statements (e.g. if, for, while), leading to lower code health. Avoid adding more conditionals and code to it without refactoring.