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

Feature Request: Cohesion and Coupling metrics #210

Open
AlexandruBurlacu opened this issue Mar 2, 2021 · 1 comment
Open

Feature Request: Cohesion and Coupling metrics #210

AlexandruBurlacu opened this issue Mar 2, 2021 · 1 comment

Comments

@AlexandruBurlacu
Copy link

Hi,

I was wondering whenever adding a subset of Chidamber and Kemerer programming complexity metrics would be of interest to you and in the scope of radon tool?

While using radon I found it more effective in finding methods/functions that are complex, rather than tightly coupled, so I believe having a couple of metrics to estimate coupling and cohesion would be nice.

Some of the more popular metrics are LCOM and RFC, which are focused on estimating program coupling and cohesion. Here is a short Wikipedia description of these metrics, and here's the original paper.

P.S. I really like your project and use it sometimes, both for personal projects and work. It really helps when figuring out what refactoring to do next.

@rubik
Copy link
Owner

rubik commented May 17, 2021

Thanks Alexandru, much appreciated! Right now I don't have time on hand to implement new metrics, but if you open a new PR with some features and the corresponding test cases I'll be happy to review it!

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