I use SonarQube. SonarQube Free & Open Source Community Build | Sonar for JAVA. There is a community plugin for C++ : GitHub - SonarOpenCommunity/sonar-cxx: SonarQube C++ Community plugin (cxx plugin): This plugin adds C++ support to SonarQube with the focus on integration of existing C++ tools.
manojroy123 Government.
If it is a government project it is automatically a multi-phase multi year contract starting with an environmental impact study and including inclusivity clauses for minority content. Each phase will include a study and report on how much more than the original budget the next phase is going to cost.
let c=number of components
b=base charge per hour (computed elsewhere)
h=hours of work
s=surcharge
** is the exponential operator (for FORTRAN fans)
Total = b*h + b**c + s
s=$1000*[number of objections client makes to this quite reasonable fee]
And don't forget, it's a "cost +" contract