[GRASS-QA] GRASS QA: cho | ./grass6/raster/r.topmodel/topmodel.c |1
clones ( topmodel.c )| 0 monsters | 0 warnings
cvs at proxy.soccerlab.polymtl.ca
cvs at proxy.soccerlab.polymtl.ca
Tue Jul 18 15:51:59 EDT 2006
Hello cho,
here a report on your recent GRASS-CVS change:
ANALYSIS
your changes to files/functions:
raster/r.topmodel/topmodel.c functions
get_lambda (Begins at: 6 Ends at: 19)
--------------+---------+-------+---------+
Complexity: | 1 | | OK |
ParamNBR: | 1 | | OK |
CalledNBR: | 0 | | OK |
LOC: | 14 | | OK |
--------------+---------+-------+---------+
metrics are OK
initialize (Begins at: 23 Ends at: 108)
--------------+---------+-------+---------+
Complexity: | 4 | | OK |
ParamNBR: | 1 | | OK |
CalledNBR: | 12 | | OK |
LOC: | 86 | | OK |
--------------+---------+-------+---------+
metrics are OK
implement (Begins at: 112 Ends at: 259)
--------------+---------+-------+---------+
Complexity: | 16 | * | |
ParamNBR: | 1 | | OK |
CalledNBR: | 18 | | OK |
LOC: | 148 | * | |
--------------+---------+-------+---------+
metrics are OK
get_Em (Begins at: 264 Ends at: 292)
--------------+---------+-------+---------+
Complexity: | 2 | | OK |
ParamNBR: | 1 | | OK |
CalledNBR: | 4 | | OK |
LOC: | 29 | | OK |
--------------+---------+-------+---------+
metrics are OK
others (Begins at: 296 Ends at: 323)
--------------+---------+-------+---------+
Complexity: | 4 | | OK |
ParamNBR: | 1 | | OK |
CalledNBR: | 1 | | OK |
LOC: | 28 | | OK |
--------------+---------+-------+---------+
metrics are OK
topmodel (Begins at: 327 Ends at: 335)
--------------+---------+-------+---------+
Complexity: | 1 | | OK |
ParamNBR: | 1 | | OK |
CalledNBR: | 3 | | OK |
LOC: | 9 | | OK |
--------------+---------+-------+---------+
metrics are OK
Clone analysis:
This file has 1 potentially cloned functions:
get_lambda
In raster/r.topmodel/topmodel.c clones of get_lambda are:
raster/r.neighbors/bufs.c rotate_bufs
__________________________________________
Threshold GRASS6 key metrics values at 2006-07-18 are:
---------------------------+-----------+---------+
median | upper | outlier |
| quartile | limit |
---------------------------+-----------+---------+
Complexity (Cyclo): 5 | 25 | 37 |
ParamNBR: 2 | 6 | 8 |
CalledNBR: 9 | 55 | 80 |
LOC: 40 | 180 | 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