Archive
Embedded Documentation
-
The code contains too many functions, interfaces or classes with closing not commented
For better code maintainability, functions, interfaces and classes should end with a comment.
-
The code contains too many functions throwing exceptions that have inconsistencies in “@throws” tags
Every function that throws exceptions must have a throw tag.
-
Multiple JSP Comments can increase costs
Multiple JSP Comments can increase costs This code insight counts one violation each time too consécutive comment blocs are encountered. JSP comments <%– are…
-
Bad attribute names can increase costs
Bad attribute names can increase costs This code insight counts one violation each time the name do not complies with: [a-z_][a-z0-9_]*$ Why you should…
-
Bad method names can increase costs
Bad method names can increase costs This code insight counts one violation each time the name do not complies with: [a-z_][a-z0-9_]$ Why you should…
-
Bad function names can increase costs
Bad function names can increase costs This code insight counts one violation each time the name do not complies with: [a-z_][a-z0-9_]{2,}$ Why you should…
-
Bad class names can increase costs
Bad class names can increase costs This code insight counts one violation each time the name do not complies with: [A-Z_][a-zA-Z0-9]*$ Why you should…
-
Bad variable names can increase costs
Bad variable names can increase costs This code insight counts one violation each time the name do not complies with: Constants (([A-Z_][A-Z0-9_]*)|(__.*__)) Note :…
-
Short functions and identifiers increase costs
Why you should care Developers tend to shorten the text required for writing code to save time and get it running. However, using short,…
-
Suspicious Comments can increase costs due to their suspicious nature
Why you should care Avoid (in production code) comments that reveals that the code could not be finalized or not mature. Business Impacts It…