GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||
GeezerVison is showing github.com — [apex] Cognitive complexity metrics by gwilymatgearset · Pull Request #2297 · pmd/pmd Conversation
|
Generated by 🚫 Danger |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Cool, looks promising!
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
@gwilymatgearset just skimmed through the comments from @adangel. Did all your open points get resolved? If you want some shitty classes that should have a high CC value let me know. And, will you add the "Whole file rule" before you submit this PR? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
It seems I did the whole class rule by accident without noticing I had done it :P. I've written a draft for the TODO which I've sent over to some of the wordsmiths at Gearset (the marketing team) to see if they can come up with something better.
Yes please, the more the merrier :) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@gwilymatgearset for testing with real classes I recommend famous open source libs which often have quite convoluted classes that should have high values in CC:
compared to a greenfield TDD project which should have low values: |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@gwilymatgearset If the Java experts @adangel dont have anything to comment please feel free to merge. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@adangel I just reread this and saw that Apex switch statement still not seem to be supported. I am sure we added such a contribution long ago. Can you recall if that's true and already released? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Thanks, looks good!
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
[apex] Cognitive Complexity rule
There was an error while loading. Please reload this page.