[GRASS-QA] GRASS QA: hamish |
./grass6/raster/r.le/r.le.setup/sample.c |no clones | 10
monsters | 2 warnings
grass-qa at proxy.soccerlab.polymtl.ca
grass-qa at proxy.soccerlab.polymtl.ca
Thu Sep 28 05:28:15 EDT 2006
Hello hamish,
here a report on your recent GRASS-CVS change:
ANALYSIS
your changes to files/functions:
raster/r.le/r.le.setup/sample.c functions
sample (Begins at: 36 Ends at: 100)
--------------+---------+-------+---------+
Complexity: | 5 | | OK |
ParamNBR: | 8 | ** | Warning |
CalledNBR: | 16 | | OK |
LOC: | 65 | | OK |
--------------+---------+-------+---------+
at least 1 values are close to an outlier please consider revising code
man_unit (Begins at: 106 Ends at: 636)
--------------+---------+-------+---------+
Complexity: | 57 | *** | MONSTER |
ParamNBR: | 9 | *** | MONSTER |
CalledNBR: | 157 | *** | MONSTER |
LOC: | 531 | *** | MONSTER |
--------------+---------+-------+---------+
4 metric are OUT OF RANGE!
draw_grid (Begins at: 641 Ends at: 702)
--------------+---------+-------+---------+
Complexity: | 3 | | OK |
ParamNBR: | 10 | *** | MONSTER |
CalledNBR: | 8 | | OK |
LOC: | 62 | | OK |
--------------+---------+-------+---------+
1 metric are OUT OF RANGE!
calc_unit_loc (Begins at: 707 Ends at: 942)
--------------+---------+-------+---------+
Complexity: | 28 | ** | Warning |
ParamNBR: | 22 | *** | MONSTER |
CalledNBR: | 44 | * | |
LOC: | 236 | ** | Warning |
--------------+---------+-------+---------+
1 metric are OUT OF RANGE!
get_rd (Begins at: 947 Ends at: 959)
--------------+---------+-------+---------+
Complexity: | 2 | | OK |
ParamNBR: | 8 | ** | Warning |
CalledNBR: | 2 | | OK |
LOC: | 13 | | OK |
--------------+---------+-------+---------+
at least 1 values are close to an outlier please consider revising code
f (Begins at: 964 Ends at: 969)
--------------+---------+-------+---------+
Complexity: | 1 | | OK |
ParamNBR: | 0 | | OK |
CalledNBR: | 1 | | OK |
LOC: | 6 | | OK |
--------------+---------+-------+---------+
metrics are OK
overlap (Begins at: 974 Ends at: 980)
--------------+---------+-------+---------+
Complexity: | 2 | | OK |
ParamNBR: | 6 | * | |
CalledNBR: | 0 | | OK |
LOC: | 7 | | OK |
--------------+---------+-------+---------+
metrics are OK
calc_num (Begins at: 987 Ends at: 1022)
--------------+---------+-------+---------+
Complexity: | 4 | | OK |
ParamNBR: | 11 | *** | MONSTER |
CalledNBR: | 4 | | OK |
LOC: | 36 | | OK |
--------------+---------+-------+---------+
1 metric are OUT OF RANGE!
graph_unit (Begins at: 1024 Ends at: 1419)
--------------+---------+-------+---------+
Complexity: | 35 | ** | Warning |
ParamNBR: | 9 | *** | MONSTER |
CalledNBR: | 117 | *** | MONSTER |
LOC: | 396 | *** | MONSTER |
--------------+---------+-------+---------+
3 metric are OUT OF RANGE!
draw_box (Begins at: 1424 Ends at: 1453)
--------------+---------+-------+---------+
Complexity: | 1 | | OK |
ParamNBR: | 5 | * | |
CalledNBR: | 11 | | OK |
LOC: | 30 | | OK |
--------------+---------+-------+---------+
metrics are OK
draw_circle (Begins at: 1458 Ends at: 1498)
--------------+---------+-------+---------+
Complexity: | 1 | | OK |
ParamNBR: | 5 | * | |
CalledNBR: | 7 | | OK |
LOC: | 41 | | OK |
--------------+---------+-------+---------+
metrics are OK
numtrap (Begins at: 1503 Ends at: 1571)
--------------+---------+-------+---------+
Complexity: | 10 | | OK |
ParamNBR: | 2 | | OK |
CalledNBR: | 11 | | OK |
LOC: | 69 | | OK |
--------------+---------+-------+---------+
metrics are OK
Clone analysis:
This file does not contain cloned functions
__________________________________________
Threshold GRASS6 key metrics values at 2006-09-28 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