kisstkondoros / codemetrics

VSCode extension which shows the complexity information for TypeScript class members
Other
404 stars 20 forks source link

[Feature request] Generate cyclomatic complexity report #42

Closed GregOnNet closed 7 years ago

GregOnNet commented 7 years ago

Hey there,

thanks for the this awesome plugin. I use it every day. 👍 👍 👍

Now I am working on a bigger project. It has lots of huge methods and classes. It would save me lots of time if I could simply generate a report telling me which file has classes and methods containing a complexity higher than 6 , 8 or 10,

What do you think is it possible to add this feature?

Kind regards Greg

kisstkondoros commented 7 years ago

There was already a similar request in #32 . There I've linked a simple implementation for a webpack plugin. https://github.com/kisstkondoros/tsmetrics-webpack-plugin

Would that be sufficient?

(It would be very inefficient to implement this in vscode, because of the current structure of my extension)

GregOnNet commented 7 years ago

Hey,

thanks for the quick response. I defenetly will give it a shot.

I also see that my feature request would blow up the extension's code base. I close this issue for now.

Kinds Greg