kisstkondoros / codemetrics

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

Class complexity in TS files #30

Closed vharadkou closed 7 years ago

vharadkou commented 7 years ago

I want to see green complexity for classes which methods are green (4 methods with complexity 4 (green) = complexity 16 (green) for class. Not Red)

Actual: image

Expected: image

If any method has yellow complexity, the result for class should be yellow (the same for red)

kisstkondoros commented 7 years ago

Just published vscode-codemetrics@1.8.0, which takes the maximum complexity for class declarations (instead of sum).

I hope it's ok