eeidfn
04-17-2008, 08:07 PM
Hi,
We are trying to use/find a tool that can be run before code review that warns for some of these (there may be others):
· Naming conventions are violated.
· Not using get / set methods.
· Inline methods are used.
· Function does not fit in one page (for e.g. function is more than 60 lines)
· Not using blocks in if, else, for, ...
· Using literals instead of constant variables.
The basic purpose of the whole thing is to be able to simplify maintenance, minimize the risk of making commonly known errors, increase readability, and create a uniform appearance of code and classes.
Thanks,
/eeidfn
We are trying to use/find a tool that can be run before code review that warns for some of these (there may be others):
· Naming conventions are violated.
· Not using get / set methods.
· Inline methods are used.
· Function does not fit in one page (for e.g. function is more than 60 lines)
· Not using blocks in if, else, for, ...
· Using literals instead of constant variables.
The basic purpose of the whole thing is to be able to simplify maintenance, minimize the risk of making commonly known errors, increase readability, and create a uniform appearance of code and classes.
Thanks,
/eeidfn