Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Percentage of units that exceed the max lines rule. #8509

Open
Sebastiaan127001 opened this issue Apr 16, 2024 · 1 comment
Open

Percentage of units that exceed the max lines rule. #8509

Sebastiaan127001 opened this issue Apr 16, 2024 · 1 comment
Labels
Feature New, enhanced, or removed feature
Projects

Comments

@Sebastiaan127001
Copy link
Contributor

Sebastiaan127001 commented Apr 16, 2024

To comply to SIG 4-stars benchmark of unit size, as described here, it would be great if Quality-time could measure the percentage of units that exceed 15 lines (numerator) compared to the complete codebase (denominator).

The rules are:
■ The percentage of lines of code residing in units with more than 15 lines of code should not exceed 44.5%.
■ percentage in units with more than 30 lines of code should not exceed 20.3%.
■ The percentage in units with more than 60 lines should not exceed 6.7%.

for inspiration during refinement of this FR, look into : https://github.com/ICTU/quality-time/issues?q=is%3Aissue+is%3Aopen+percentage

@Sebastiaan127001 Sebastiaan127001 added the Feature New, enhanced, or removed feature label Apr 16, 2024
@Sebastiaan127001 Sebastiaan127001 added this to Backlog in Backlog via automation Apr 16, 2024
@fniessink fniessink moved this from Backlog to Refinement agenda in Backlog Apr 17, 2024
@fniessink
Copy link
Member

Investigate whether the SonarQube API can return length of units, per unit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New, enhanced, or removed feature
Projects
Status: Refinement agenda
Backlog
Refinement agenda
Development

No branches or pull requests

2 participants