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

New lint: API complexity #4524

Open
oli-obk opened this issue Sep 8, 2019 · 0 comments
Open

New lint: API complexity #4524

oli-obk opened this issue Sep 8, 2019 · 0 comments
Labels
A-lint Area: New lints C-an-interesting-project Category: Interesting projects, that usually are more involved design/code wise. L-complexity Lint: Belongs in the complexity lint group

Comments

@oli-obk
Copy link
Contributor

oli-obk commented Sep 8, 2019

We have lints about the complexity of functions. Off the top of my head I know

  • too many function arguments
  • too complex type

I recently found De Souza, C. R. B., & Bentolila, D. L. M. (2009). Automatic evaluation of API usability using complexity metrics and visualizations. 2009 31st International Conference on Software Engineering - Companion Volume. doi:10.1109/icse-companion.2009.5071006 which implements Bandi, R. K., Vaishnavi, V. K., & Turk, D. E. (2003). Predicting maintenance performance using object-oriented design complexity metrics. IEEE Transactions on Software Engineering, 29(1), 77–87. doi:10.1109/tse.2003.1166590.

Maybe we can unify these under a single metric for public functions and types?

@flip1995 flip1995 added L-complexity Lint: Belongs in the complexity lint group C-an-interesting-project Category: Interesting projects, that usually are more involved design/code wise. A-lint Area: New lints labels Sep 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-lint Area: New lints C-an-interesting-project Category: Interesting projects, that usually are more involved design/code wise. L-complexity Lint: Belongs in the complexity lint group
Projects
None yet
Development

No branches or pull requests

2 participants