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

Complexity assessment #365

Open
yannfeat opened this issue Feb 21, 2025 · 0 comments
Open

Complexity assessment #365

yannfeat opened this issue Feb 21, 2025 · 0 comments

Comments

@yannfeat
Copy link

yannfeat commented Feb 21, 2025

I am grateful for the assess_size_codebase assessment. In addition to that, would it be possible to implement an assessment of cyclomatic complexity?

An implementation of the is already available in the codebase of the lintr package:
https://lintr.r-lib.org/reference/cyclocomp_linter.html

For me, the cyclomatic complexity of a package is as relevant as the volume of its codebase. For example, if I want to calculate the average of a metric between a package and its dependencies (see my recent work for the Validated R Repository Working Group, I might want some of these average calculations to be weighted by the cyclomatic complexity of each package.

@yannfeat yannfeat changed the title Cyclomatic complexity assessment Complexity assessment Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant