[cfe-dev] Info : Clang Static Analyzer Statistics
tom.care at uqconnect.edu.au
Fri Jun 1 08:08:41 PDT 2012
The -analyzer-stats option is a bit low level and is intended for debugging and development of the analyzer itself. The scan-build tool will however aggregate those stats in a basic way across a project using the '-stats' option if you are interested to see them for your project.
LOC stats have not been implemented probably because of the analyzer development focus, where we are more interested in other measures of size such as CFG blocks. There are plenty of tools available to do LOC analysis of a project but I'm not sure if there are any clang based ones; perhaps someone else knows a project.
On 01/06/2012, at 1:46 PM, Umesh Kalappa wrote:
> Hi Ted and All ,
> Have a question regrading the clang analyzer statistics that was echoed by clang when we use the switch "-analyze-stats"
> We see that the statistics was echoed for every module i.e for each transition unit or file , can we configure clang to echo the statistics to whole project ???
> Other thing can we have LOC information too in the statistics ???
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
More information about the cfe-dev