I have done this static code analysis with Code Analyzer. Is it a green signal or should I improve my coding standards?

|
I have done this static code analysis with Code Analyzer. Is it a green signal or should I improve my coding standards?
|
|||||
|
|
In short, that particular analysis you have run above isn't really telling you much. Comment ratios, white space ratios etc are pretty minor in the scheme of things. Assuming you're in Javaland I'd take a look at FindBugs, Checkstyle, PMD etc. More importantly, try to get another peer to give it a quick review! Sure, static code analysis tools help you pick up lots of issues, but none of them can take the holistic look at the design/approach like a human can. |
|||
|
|
|
your analysis isn't a red light but it isn't a green light either. I would say lengths and comment ratio's look fine. But that isn't enough. You need to look at way more (cyclomatic complexity/dependencies/dead code etc etc) Try Xdepend http://www.xdepend.com/ and show us or a peer reporting form that. Than you have a bit more insight but still that isn't the entire picture. For the last gaps ask a peer he will be able to tell you if your code is readable, shows intent, if you have adhered to company policies/reused code already present in your company and stuff like that. |
|||
|
|