[GRASS-QA] GRASS QA: glynn |
./grass6/lib/vector/diglib/spindex_rw.c |no clones | 0
monsters | 0 warnings
grass-qa at proxy.soccerlab.polymtl.ca
grass-qa at proxy.soccerlab.polymtl.ca
Sun Apr 15 17:07:52 EDT 2007
Hello glynn,
here a report on your recent GRASS-CVS change:
ANALYSIS
your changes to files/functions:
lib/vector/diglib/spindex_rw.c functions
dig_Wr_spindx_head (Begins at: 26 Ends at: 68)
--------------+---------+-------+---------+
Complexity: | 12 | | OK |
ParamNBR: | 2 | | OK |
CalledNBR: | 16 | | OK |
LOC: | 43 | | OK |
--------------+---------+-------+---------+
metrics are OK
dig_Rd_spindx_head (Begins at: 72 Ends at: 140)
--------------+---------+-------+---------+
Complexity: | 14 | | OK |
ParamNBR: | 2 | | OK |
CalledNBR: | 22 | | OK |
LOC: | 69 | | OK |
--------------+---------+-------+---------+
metrics are OK
rtree_dump_branch (Begins at: 145 Ends at: 161)
--------------+---------+-------+---------+
Complexity: | 3 | | OK |
ParamNBR: | 4 | | OK |
CalledNBR: | 3 | | OK |
LOC: | 17 | | OK |
--------------+---------+-------+---------+
metrics are OK
rtree_dump_node (Begins at: 164 Ends at: 180)
--------------+---------+-------+---------+
Complexity: | 3 | | OK |
ParamNBR: | 3 | | OK |
CalledNBR: | 3 | | OK |
LOC: | 17 | | OK |
--------------+---------+-------+---------+
metrics are OK
rtree_write_branch (Begins at: 185 Ends at: 206)
--------------+---------+-------+---------+
Complexity: | 7 | | OK |
ParamNBR: | 4 | | OK |
CalledNBR: | 5 | | OK |
LOC: | 22 | | OK |
--------------+---------+-------+---------+
metrics are OK
rtree_write_node (Begins at: 209 Ends at: 227)
--------------+---------+-------+---------+
Complexity: | 5 | | OK |
ParamNBR: | 3 | | OK |
CalledNBR: | 3 | | OK |
LOC: | 19 | | OK |
--------------+---------+-------+---------+
metrics are OK
rtree_read_branch (Begins at: 232 Ends at: 260)
--------------+---------+-------+---------+
Complexity: | 7 | | OK |
ParamNBR: | 4 | | OK |
CalledNBR: | 7 | | OK |
LOC: | 29 | | OK |
--------------+---------+-------+---------+
metrics are OK
rtree_read_node (Begins at: 263 Ends at: 282)
--------------+---------+-------+---------+
Complexity: | 4 | | OK |
ParamNBR: | 3 | | OK |
CalledNBR: | 4 | | OK |
LOC: | 20 | | OK |
--------------+---------+-------+---------+
metrics are OK
dig_write_spidx (Begins at: 286 Ends at: 309)
--------------+---------+-------+---------+
Complexity: | 1 | | OK |
ParamNBR: | 2 | | OK |
CalledNBR: | 13 | | OK |
LOC: | 24 | | OK |
--------------+---------+-------+---------+
metrics are OK
dig_read_spidx (Begins at: 313 Ends at: 337)
--------------+---------+-------+---------+
Complexity: | 1 | | OK |
ParamNBR: | 2 | | OK |
CalledNBR: | 13 | | OK |
LOC: | 25 | | OK |
--------------+---------+-------+---------+
metrics are OK
dig_dump_spidx (Begins at: 341 Ends at: 357)
--------------+---------+-------+---------+
Complexity: | 1 | | OK |
ParamNBR: | 2 | | OK |
CalledNBR: | 8 | | OK |
LOC: | 17 | | OK |
--------------+---------+-------+---------+
metrics are OK
Clone analysis:
This file does not contain cloned functions
__________________________________________
Threshold GRASS6 key metrics values at 2007-04-15 are:
---------------------------+-----------+---------+
median | upper | outlier |
| quartile | limit |
---------------------------+-----------+---------+
Complexity (Cyclo): 5 | 25 | 37 |
ParamNBR: 2 | 6 | 9 |
CalledNBR: 10 | 60 | 87 |
LOC: 43 | 195 | 272 |
---------------------------+-----------+---------+
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