[GRASS-QA] GRASS QA: martinl | ./grass6/db/drivers/dbf/dbfexe.c |no
clones | 3 monsters | 2 warnings
grass-qa at proxy.soccerlab.polymtl.ca
grass-qa at proxy.soccerlab.polymtl.ca
Fri Apr 6 05:51:20 EDT 2007
Hello martinl,
here a report on your recent GRASS-CVS change:
ANALYSIS
your changes to files/functions:
db/drivers/dbf/dbfexe.c functions
execute (Begins at: 42 Ends at: 309)
--------------+---------+-------+---------+
Complexity: | 31 | ** | Warning |
ParamNBR: | 2 | | OK |
CalledNBR: | 55 | * | |
LOC: | 268 | ** | Warning |
--------------+---------+-------+---------+
at least 2 values are close to an outlier please consider revising code
get_col_def (Begins at: 312 Ends at: 336)
--------------+---------+-------+---------+
Complexity: | 6 | | OK |
ParamNBR: | 5 | * | |
CalledNBR: | 0 | | OK |
LOC: | 25 | | OK |
--------------+---------+-------+---------+
metrics are OK
eval_val (Begins at: 338 Ends at: 396)
--------------+---------+-------+---------+
Complexity: | 10 | | OK |
ParamNBR: | 5 | * | |
CalledNBR: | 10 | | OK |
LOC: | 59 | | OK |
--------------+---------+-------+---------+
metrics are OK
set_val (Begins at: 398 Ends at: 454)
--------------+---------+-------+---------+
Complexity: | 11 | | OK |
ParamNBR: | 4 | | OK |
CalledNBR: | 3 | | OK |
LOC: | 57 | | OK |
--------------+---------+-------+---------+
metrics are OK
cmp_row_asc (Begins at: 459 Ends at: 492)
--------------+---------+-------+---------+
Complexity: | 9 | | OK |
ParamNBR: | 2 | | OK |
CalledNBR: | 1 | | OK |
LOC: | 34 | | OK |
--------------+---------+-------+---------+
metrics are OK
cmp_row_desc (Begins at: 494 Ends at: 499)
--------------+---------+-------+---------+
Complexity: | 1 | | OK |
ParamNBR: | 2 | | OK |
CalledNBR: | 1 | | OK |
LOC: | 6 | | OK |
--------------+---------+-------+---------+
metrics are OK
sel (Begins at: 503 Ends at: 617)
--------------+---------+-------+---------+
Complexity: | 15 | | OK |
ParamNBR: | 3 | | OK |
CalledNBR: | 21 | | OK |
LOC: | 115 | | OK |
--------------+---------+-------+---------+
metrics are OK
eval_node (Begins at: 619 Ends at: 938)
--------------+---------+-------+---------+
Complexity: | 72 | *** | MONSTER |
ParamNBR: | 4 | | OK |
CalledNBR: | 21 | | OK |
LOC: | 320 | *** | MONSTER |
--------------+---------+-------+---------+
2 metric are OUT OF RANGE!
eval_node_type (Begins at: 940 Ends at: 1075)
--------------+---------+-------+---------+
Complexity: | 44 | *** | MONSTER |
ParamNBR: | 2 | | OK |
CalledNBR: | 10 | | OK |
LOC: | 136 | * | |
--------------+---------+-------+---------+
1 metric are OUT OF RANGE!
Clone analysis:
This file does not contain cloned functions
__________________________________________
Threshold GRASS6 key metrics values at 2007-04-06 are:
---------------------------+-----------+---------+
median | upper | outlier |
| quartile | limit |
---------------------------+-----------+---------+
Complexity (Cyclo): 5 | 25 | 37 |
ParamNBR: 2 | 6 | 8 |
CalledNBR: 10 | 60 | 87 |
LOC: 43 | 195 | 272 |
---------------------------+-----------+---------+
Measures (see below Web page for details):
Complexity (Cyclo): a complexity index
ParamNBR: number of passed parameters
CalledNBR: number of called functions
LOC: Lines Of Code
Message interpretation:
OK : Nothing to say at all
* : above 75 % of value warning
** : this is getting close to be out of range, consider revising the code
***: this is a monster, definitely you should revise this function
__________________________________________
Brought to you by:
SOftware Cost-effective Change and Evolution Research (SOCCER) laboratory
http://web.soccerlab.polymtl.ca/grass-evolution/grass-browsers/grass-index-en.html
More information about the grass-qa
mailing list