[GRASS-QA] GRASS QA: brad | ./grass6/lib/g3d/g3drange.c |no clones
| 1 monsters | 0 warnings
grass-qa at proxy.soccerlab.polymtl.ca
grass-qa at proxy.soccerlab.polymtl.ca
Tue Nov 7 04:40:58 EST 2006
Hello brad,
here a report on your recent GRASS-CVS change:
ANALYSIS
your changes to files/functions:
lib/g3d/g3drange.c functions
G3d_range_updateFromTile (Begins at: 13 Ends at: 46)
--------------+---------+-------+---------+
Complexity: | 5 | | OK |
ParamNBR: | 10 | *** | MONSTER |
CalledNBR: | 8 | | OK |
LOC: | 34 | | OK |
--------------+---------+-------+---------+
1 metric are OUT OF RANGE!
G3d_readRange (Begins at: 51 Ends at: 109)
--------------+---------+-------+---------+
Complexity: | 7 | | OK |
ParamNBR: | 3 | | OK |
CalledNBR: | 18 | | OK |
LOC: | 59 | | OK |
--------------+---------+-------+---------+
metrics are OK
G3d_range_load (Begins at: 112 Ends at: 135)
--------------+---------+-------+---------+
Complexity: | 3 | | OK |
ParamNBR: | 1 | | OK |
CalledNBR: | 1 | | OK |
LOC: | 24 | | OK |
--------------+---------+-------+---------+
metrics are OK
G3d_range_min_max (Begins at: 138 Ends at: 142)
--------------+---------+-------+---------+
Complexity: | 1 | | OK |
ParamNBR: | 3 | | OK |
CalledNBR: | 1 | | OK |
LOC: | 5 | | OK |
--------------+---------+-------+---------+
metrics are OK
writeRange (Begins at: 147 Ends at: 200)
--------------+---------+-------+---------+
Complexity: | 6 | | OK |
ParamNBR: | 2 | | OK |
CalledNBR: | 16 | | OK |
LOC: | 54 | | OK |
--------------+---------+-------+---------+
metrics are OK
G3d_range_write (Begins at: 203 Ends at: 217)
--------------+---------+-------+---------+
Complexity: | 2 | | OK |
ParamNBR: | 1 | | OK |
CalledNBR: | 4 | | OK |
LOC: | 15 | | OK |
--------------+---------+-------+---------+
metrics are OK
G3d_range_init (Begins at: 222 Ends at: 225)
--------------+---------+-------+---------+
Complexity: | 1 | | OK |
ParamNBR: | 1 | | OK |
CalledNBR: | 1 | | OK |
LOC: | 4 | | OK |
--------------+---------+-------+---------+
metrics are OK
Clone analysis:
This file does not contain cloned functions
__________________________________________
Threshold GRASS6 key metrics values at 2006-11-07 are:
---------------------------+-----------+---------+
median | upper | outlier |
| quartile | limit |
---------------------------+-----------+---------+
Complexity (Cyclo): 5 | 25 | 37 |
ParamNBR: 2 | 6 | 8 |
CalledNBR: 10 | 60 | 85 |
LOC: 41 | 189 | 265 |
---------------------------+-----------+---------+
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