Skip to content

Add ability to create geotiffs with add_coastlines

CodeScene Delta Analysis / CodeScene Cloud Delta Analysis (main) succeeded Sep 12, 2023 in 36s

CodeScene PR Check

Quality Gates: OK

  • Declining Code Health: 0 findings(s) 🚩
  • Improving Code Health: 0 findings(s) ✅
  • Affected Hotspots: 1 files(s) 🔥

Recommended Review Level: Lightweight sanity check
View detailed results in CodeScene

Details

Annotations

Check notice on line 191 in polar2grid/tests/test_add_coastlines.py

See this annotation in the file changed.

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

ℹ Getting worse: Excess Number of Function Arguments

test_add_coastlines_basic increases from 6 to 7 arguments, threshold = 4. This function has too many arguments, indicating a lack of encapsulation. Avoid adding more arguments.