Diapositiva 9 di 38
Note:
In order to evaluate C++ code it must be preprocessed in order to avoid problems with some particular classes of C++ construct (like defines), or non standard keyword sometimes used by GUI libraries.
Once preprocessed, the code is analyzed by a Lexical Grammatical analyzer that provides Low Level Metric evaluation for all the system classes, and class hierarchy that can be easily viewed in an integrated browser/editor.
The so obtained LLM can be managed in order to define high level, user defined metrics. The High Level Metric Values are obtained by the previously calculated low level once.
Once defined all the metrics, profiles (Kiviat, Table, etc.) and histograms can be viewed in order to analyze system, class, or method-level metrics.
The metrics can be validated by the means of the statistical analyzer, that correlates the real data collected with metric values, and optimal weights can be obtained.
The evaluated weights can be used for future evaluation of teh defined metrics.