views:

179

answers:

1

Hello,

I'm having some trouble finding a tool for verifying if a code respects certain coding rules.

For example I want to make sure of things like the following:

  • class names start with a C
  • class member names start with m_
  • global variables should start with g_
  • static variables should start with s_
  • comments should follow the doxygen rules
  • ...

Is there a tool that can be customized to meet this requirements? (It doesn't matter if it's open source/free or commercial, though free would be nice ... ).

Even if parts of the requirements can be achieved it would be good.

Thanks for any pointers or ideas,

Iulian

PS: The customizing part is very important as the product may be used for other projects also, projects where the coding standards can be different

+4  A: 

Duplicate 1, duplicate 2.

KTC
Thanks, my search was lousy.
Iulian Şerbănoiu