Hi ,
Please tell me the differences with/without header files during the cppcheck's analysis.
Actually i am integrating cppcheck's report with sonar, will sonar's dashboard will contain any differences?
After including header files, it took 5 days(approx) complete the analysis, even though i used -j 4 and max-config to 2 options.
Please help.
thanks,
Dinesh
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
And confused that, the LOC has reduced after including header files for analysis. and i could see the functions , classes are reduced to few numbers.
Does cppcheck errors on header files? if yes, what rules are applied on it? where can i find this info, thw rules that are associated with header files?
thanks,
Dinesh
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
At best run cppcheck on a complete tree (directory) - see http://cppcheck.sourceforge.net/manual.html#idp258480. cppcheck will examine all .cpp/.c and included headers. The same rules apply for header and source files.
LOC, number of classes are not output of cppcheck, so I cannot tell anything about that.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi ,
Please tell me the differences with/without header files during the cppcheck's analysis.
Actually i am integrating cppcheck's report with sonar, will sonar's dashboard will contain any differences?
After including header files, it took 5 days(approx) complete the analysis, even though i used -j 4 and max-config to 2 options.
Please help.
thanks,
Dinesh
And confused that, the LOC has reduced after including header files for analysis. and i could see the functions , classes are reduced to few numbers.
Does cppcheck errors on header files? if yes, what rules are applied on it? where can i find this info, thw rules that are associated with header files?
thanks,
Dinesh
At best run cppcheck on a complete tree (directory) - see http://cppcheck.sourceforge.net/manual.html#idp258480. cppcheck will examine all .cpp/.c and included headers. The same rules apply for header and source files.
LOC, number of classes are not output of cppcheck, so I cannot tell anything about that.