matkoch / resharper-cognitivecomplexity

https://plugins.jetbrains.com/plugin/12024-cognitivecomplexity
MIT License
200 stars 7 forks source link

Add Whole Project/Sln Analysis #22

Closed patrykgz closed 3 years ago

patrykgz commented 3 years ago

I think it would be beneficial to introduce a screen in the plugin to view a breakdown of Cognitive Complexity across a whole project/solution :- this will help to identify key areas for refactoring.

matkoch commented 3 years ago

Sorry, but that's out of scope at least on my end. What you can do is running code analysis against this exact inspection, and then group the results by project. However, we can't provide a "solution or project value".

patrykgz commented 3 years ago

Sorry, but that's out of scope at least on my end. What you can do is running code analysis against this exact inspection, and then group the results by project. However, we can't provide a "solution or project value".

Thanks, where can I set the exact inspection when I run code inspection?

matkoch commented 3 years ago

At least in Rider you should be able to find “Run Inspection” from the actions menu. Then search for cognitive complexity.

On Wed 21. Apr 2021 at 14:12, Patrick @.***> wrote:

Sorry, but that's out of scope at least on my end. What you can do is running code analysis against this exact inspection, and then group the results by project. However, we can't provide a "solution or project value".

Thanks, where can I set the exact inspection when I run code inspection?

— You are receiving this because you modified the open/close state.

Reply to this email directly, view it on GitHub https://github.com/matkoch/resharper-cognitivecomplexity/issues/22#issuecomment-824011689, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABGGB7WF2VSOVHCE6EV4IODTJ26J3ANCNFSM43J7EUPA .