Skip to content

Refactor getNumberOfPassedChecks method #219

Description

@martinmladenov

The getNumberOfPassedChecks in CodeChecksResult method currently accepts a boolean.

One way to avoid this boolean would be to offer two methods weightedNumberOfPassedChecks.

See this blog post explaining this Clean Code rule: https://www.informit.com/articles/article.aspx?p=1392524

Originally posted by @mauricioaniche in #210 (comment)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions