[GRASS-QA] GRASS QA: soeren | ./grass6/lib/g3d/g3dmask.c |no clones
| 0 monsters | 0 warnings
grass-qa at proxy.soccerlab.polymtl.ca
grass-qa at proxy.soccerlab.polymtl.ca
Thu Mar 1 19:38:39 EST 2007
Hello soeren,
here a report on your recent GRASS-CVS change:
ANALYSIS
your changes to files/functions:
lib/g3d/g3dmask.c functions
dummy (Begins at: 19 Ends at: 22)
--------------+---------+-------+---------+
Complexity: | 1 | | OK |
ParamNBR: | 1 | | OK |
CalledNBR: | 0 | | OK |
LOC: | 4 | | OK |
--------------+---------+-------+---------+
metrics are OK
G3d_maskClose (Begins at: 37 Ends at: 63)
--------------+---------+-------+---------+
Complexity: | 3 | | OK |
ParamNBR: | 0 | | OK |
CalledNBR: | 2 | | OK |
LOC: | 27 | | OK |
--------------+---------+-------+---------+
metrics are OK
G3d_maskFileExists (Begins at: 66 Ends at: 73)
--------------+---------+-------+---------+
Complexity: | 1 | | OK |
ParamNBR: | 0 | | OK |
CalledNBR: | 3 | | OK |
LOC: | 8 | | OK |
--------------+---------+-------+---------+
metrics are OK
G3d_maskOpenOld (Begins at: 80 Ends at: 105)
--------------+---------+-------+---------+
Complexity: | 4 | | OK |
ParamNBR: | 0 | | OK |
CalledNBR: | 6 | | OK |
LOC: | 26 | | OK |
--------------+---------+-------+---------+
metrics are OK
G3d_getMaskFloat (Begins at: 110 Ends at: 140)
--------------+---------+-------+---------+
Complexity: | 1 | | OK |
ParamNBR: | 4 | | OK |
CalledNBR: | 1 | | OK |
LOC: | 31 | | OK |
--------------+---------+-------+---------+
metrics are OK
G3d_maskReopen (Begins at: 143 Ends at: 181)
--------------+---------+-------+---------+
Complexity: | 4 | | OK |
ParamNBR: | 1 | | OK |
CalledNBR: | 4 | | OK |
LOC: | 39 | | OK |
--------------+---------+-------+---------+
metrics are OK
G3d_isMasked (Begins at: 184 Ends at: 209)
--------------+---------+-------+---------+
Complexity: | 2 | | OK |
ParamNBR: | 4 | | OK |
CalledNBR: | 2 | | OK |
LOC: | 26 | | OK |
--------------+---------+-------+---------+
metrics are OK
G3d_maskNum (Begins at: 212 Ends at: 232)
--------------+---------+-------+---------+
Complexity: | 2 | | OK |
ParamNBR: | 6 | * | |
CalledNBR: | 4 | | OK |
LOC: | 21 | | OK |
--------------+---------+-------+---------+
metrics are OK
G3d_maskFloat (Begins at: 235 Ends at: 255)
--------------+---------+-------+---------+
Complexity: | 2 | | OK |
ParamNBR: | 5 | * | |
CalledNBR: | 4 | | OK |
LOC: | 21 | | OK |
--------------+---------+-------+---------+
metrics are OK
G3d_maskDouble (Begins at: 258 Ends at: 283)
--------------+---------+-------+---------+
Complexity: | 2 | | OK |
ParamNBR: | 5 | * | |
CalledNBR: | 4 | | OK |
LOC: | 26 | | OK |
--------------+---------+-------+---------+
metrics are OK
G3d_maskTile (Begins at: 286 Ends at: 345)
--------------+---------+-------+---------+
Complexity: | 3 | | OK |
ParamNBR: | 4 | | OK |
CalledNBR: | 8 | | OK |
LOC: | 60 | | OK |
--------------+---------+-------+---------+
metrics are OK
G3d_maskOn (Begins at: 348 Ends at: 363)
--------------+---------+-------+---------+
Complexity: | 1 | | OK |
ParamNBR: | 1 | | OK |
CalledNBR: | 0 | | OK |
LOC: | 16 | | OK |
--------------+---------+-------+---------+
metrics are OK
G3d_maskOff (Begins at: 366 Ends at: 380)
--------------+---------+-------+---------+
Complexity: | 1 | | OK |
ParamNBR: | 1 | | OK |
CalledNBR: | 0 | | OK |
LOC: | 15 | | OK |
--------------+---------+-------+---------+
metrics are OK
G3d_maskIsOn (Begins at: 383 Ends at: 396)
--------------+---------+-------+---------+
Complexity: | 1 | | OK |
ParamNBR: | 1 | | OK |
CalledNBR: | 0 | | OK |
LOC: | 14 | | OK |
--------------+---------+-------+---------+
metrics are OK
G3d_maskIsOff (Begins at: 399 Ends at: 411)
--------------+---------+-------+---------+
Complexity: | 1 | | OK |
ParamNBR: | 1 | | OK |
CalledNBR: | 0 | | OK |
LOC: | 13 | | OK |
--------------+---------+-------+---------+
metrics are OK
G3d_maskFile (Begins at: 414 Ends at: 426)
--------------+---------+-------+---------+
Complexity: | 1 | | OK |
ParamNBR: | 1 | | OK |
CalledNBR: | 0 | | OK |
LOC: | 13 | | OK |
--------------+---------+-------+---------+
metrics are OK
G3d_maskMapExists (Begins at: 429 Ends at: 432)
--------------+---------+-------+---------+
Complexity: | 1 | | OK |
ParamNBR: | 1 | | OK |
CalledNBR: | 0 | | OK |
LOC: | 4 | | OK |
--------------+---------+-------+---------+
metrics are OK
Clone analysis:
This file does not contain cloned functions
__________________________________________
Threshold GRASS6 key metrics values at 2007-03-01 are:
---------------------------+-----------+---------+
median | upper | outlier |
| quartile | limit |
---------------------------+-----------+---------+
Complexity (Cyclo): 5 | 25 | 37 |
ParamNBR: 2 | 6 | 8 |
CalledNBR: 10 | 60 | 86 |
LOC: 42 | 190 | 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