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

added shellmetrics numbers from shellspec/shellmetrics #39

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

EtomicBomb
Copy link
Contributor

No description provided.

@EtomicBomb
Copy link
Contributor Author

this pr is based on the bench-shell pr

@EtomicBomb
Copy link
Contributor Author

The PR adds an infrastructure/target/shellmetrics.csv with script name, lines of code and cyclometric complexitiy. However, I think it makes the most sense to delete the lines of code column, as cloc (which is already in the repo) is a more standard way of measuring this.

@EtomicBomb
Copy link
Contributor Author

The tool measures cyclomatic complexity of functions. We are interested in the properties of whole scripts. Not sure how to aggregate the numbers across the scripts (right now it uses a simple sum which is almost certainly wrong).

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

Successfully merging this pull request may close these issues.

1 participant