Kesha, do you think you could write a little script that runs cppcheck on all of BRL-CAD too? It would be interesting to see their report and perhaps compare their results with other static analyzer's we've run in the past. It'll need to scan include and src, but ignore all of src/other.Run the following :cd brlcadcppcheck -isrc/other/ include/ src/ --enable=all 2>cppcheck_brlcad.txt
Awesome! Love it when it's that simple.
It checks for issues in 1690 files under all src/ except src/other and all include/ .Also, by default,(i.e. without --enable=all ) , only error messages are shown.To get just Stylistic issues, change --enable=all to --enable=style
To get just unused function issues, change --enable=all to --enable=unusedFunction
Do you think you could add another section for this to our code cleanup page?
http://brlcad.org/wiki/Code_Cleanup
Cheers!
Sean
------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________ BRL-CAD Developer mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/brlcad-devel
