Skip to content

Function statistics #63

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

Open
jtrakk opened this issue Aug 7, 2021 · 1 comment
Open

Function statistics #63

jtrakk opened this issue Aug 7, 2021 · 1 comment

Comments

@jtrakk
Copy link

jtrakk commented Aug 7, 2021

What fraction of parameters have type annotations?

What fraction of parameters are documented?

@ericphanson
Copy link
Member

I think to do this one might need to add a pass with JuliaSyntax, to parse the code and count semantically-meaningful things. I think this would be really cool and it would not require actually loading/running any code, keeping it at a static analysis (which I think is the right fit for PackageAnalyzer at this stage). I think I spent an hour or two awhile ago giving this a try but did not get that far as I was mostly gaining familiarity with JuliaSyntax still.

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

2 participants