[GRASS-QA] GRASS QA: soeren | ./grass6/raster/r.walk/btree.c |3
clones ( btree.c )| 0 monsters | 1 warnings
grass-qa at proxy.soccerlab.polymtl.ca
grass-qa at proxy.soccerlab.polymtl.ca
Mon Sep 25 09:28:11 EDT 2006
Hello soeren,
here a report on your recent GRASS-CVS change:
ANALYSIS
your changes to files/functions:
raster/r.walk/btree.c functions
insert (Begins at: 29 Ends at: 87)
--------------+---------+-------+---------+
Complexity: | 8 | | OK |
ParamNBR: | 3 | | OK |
CalledNBR: | 2 | | OK |
LOC: | 59 | | OK |
--------------+---------+-------+---------+
metrics are OK
find (Begins at: 92 Ends at: 132)
--------------+---------+-------+---------+
Complexity: | 5 | | OK |
ParamNBR: | 3 | | OK |
CalledNBR: | 4 | | OK |
LOC: | 41 | | OK |
--------------+---------+-------+---------+
metrics are OK
do_quit (Begins at: 137 Ends at: 142)
--------------+---------+-------+---------+
Complexity: | 1 | | OK |
ParamNBR: | 3 | | OK |
CalledNBR: | 3 | | OK |
LOC: | 6 | | OK |
--------------+---------+-------+---------+
metrics are OK
get_lowest (Begins at: 148 Ends at: 178)
--------------+---------+-------+---------+
Complexity: | 4 | | OK |
ParamNBR: | 1 | | OK |
CalledNBR: | 2 | | OK |
LOC: | 31 | | OK |
--------------+---------+-------+---------+
metrics are OK
delete (Begins at: 183 Ends at: 391)
--------------+---------+-------+---------+
Complexity: | 25 | * | |
ParamNBR: | 1 | | OK |
CalledNBR: | 18 | | OK |
LOC: | 209 | ** | Warning |
--------------+---------+-------+---------+
at least 1 values are close to an outlier please consider revising code
show_all (Begins at: 396 Ends at: 406)
--------------+---------+-------+---------+
Complexity: | 2 | | OK |
ParamNBR: | 1 | | OK |
CalledNBR: | 2 | | OK |
LOC: | 11 | | OK |
--------------+---------+-------+---------+
metrics are OK
show (Begins at: 411 Ends at: 430)
--------------+---------+-------+---------+
Complexity: | 2 | | OK |
ParamNBR: | 1 | | OK |
CalledNBR: | 3 | | OK |
LOC: | 20 | | OK |
--------------+---------+-------+---------+
metrics are OK
check_all (Begins at: 435 Ends at: 445)
--------------+---------+-------+---------+
Complexity: | 2 | | OK |
ParamNBR: | 1 | | OK |
CalledNBR: | 3 | | OK |
LOC: | 11 | | OK |
--------------+---------+-------+---------+
metrics are OK
check (Begins at: 450 Ends at: 491)
--------------+---------+-------+---------+
Complexity: | 8 | | OK |
ParamNBR: | 2 | | OK |
CalledNBR: | 14 | | OK |
LOC: | 42 | | OK |
--------------+---------+-------+---------+
metrics are OK
Clone analysis:
This file has 3 potentially cloned functions:
delete insert check
In raster/r.walk/btree.c clones of delete are:
raster/r.cost/btree.c delete
In raster/r.walk/btree.c clones of check are:
raster/r.cost/btree.c check
In raster/r.walk/btree.c clones of insert are:
raster/r.cost/btree.c insert
__________________________________________
Threshold GRASS6 key metrics values at 2006-09-25 are:
---------------------------+-----------+---------+
median | upper | outlier |
| quartile | limit |
---------------------------+-----------+---------+
Complexity (Cyclo): 5 | 25 | 36 |
ParamNBR: 2 | 6 | 8 |
CalledNBR: 9 | 55 | 80 |
LOC: 39 | 179 | 252 |
---------------------------+-----------+---------+
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