Open
Description
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?