Skip to content

SonarCloud quality gate is failing #101

@SarahAlidoost

Description

@SarahAlidoost

The sonarcloud quality gate is failing because some new codes are not covered by the tests, see details. Looking at the "Uncovered Lines on New Code", the scripts evapotranspiration.py and utils.py has the most number of lines. The evapotranspiration.py contains classes that are not used by wofost72 but by wofost81. So this issue should be fixed by itself later when we implement wofost81. The utils.py has helper functions. Those also will be removed over time. For now, I suggest excluding these two files from coverage in properties:

sonar.coverage.exclusions=src/diffwofost/physical_models/crop/evapotranspiration.py,src/diffwofost/physical_models/utils.py

Metadata

Metadata

Assignees

Labels

technicalThis needs attention!

Type

No type

Projects

Status

To Do

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions