to AboveSoft Analyzer Manual
& Quality Analyses
perform their Productivity/Quality Analyses on the following basis:
- The productivity is
calculated based on the complexity of the instructions found on the code.
A productivity template defines groups of instructions that are assigned the
same score for each occurrence, and also a score that is assigned if one occurrence
happens. In particular a template can assign a score of "1" for
any type of instruction, resulting in a template that measures Source Lines
Of Code (SLOC).
- Analyzing the quality
of the code is one of the most difficult tasks to perform, because there are
infinite ways to write the same program and more than one to do it fine. For
charts AboveSoft Analyzer focuses only on the SQL expressions, this is
because most of the time a program is running is accessing the database. There
is also the assumption that if a developer writes the SQL expressions observing
the performance, it is highly possible that this developer is also observing
the overall quality of the program. Additional metrics are provided which
also helps analyzing the quality of the code, but these metrics are not considered
for Productivity/Quality charts. To review the additional metrics click
rate depends on the selected template. The default template (Default_PRT.dat)
combines Source Lines Of Code (SLOC) with a scoring for each type of instruction
found in the code. As the instruction involves more complexity, a higher scoring
is assigned (this scoring can be assigned once or each time the instruction
appears). This default template is intended to measure the Productivity
of the developers based on how much and how complex the code they wrote is.
A second template is provided
which measures Source Lines Of Code (SLOC). It works by assigning a scoring
of 1 for each instruction found in the code. SLOC measuring is performed based
on a logical count of lines (i.e. two instructions found in the same line
are considered as two lines; comments are not counted).