KWStyle is a style checker for source code which is integrated in the software process to ensure that the code written by several users is consistent and can be viewed/printed as it was written by one person.
Among the fearures provided by KWStyle:
A complete list of the features is available here.
mkdir build
cd build
cmake ..
make
make install
or checkinstall
apt-get install kwstyle