[GRASS-QA] GRASS QA: martinl | ./grass6/vector/v.edit/select.c |no
clones | 0 monsters | 0 warnings
grass-qa at proxy.soccerlab.polymtl.ca
grass-qa at proxy.soccerlab.polymtl.ca
Wed Mar 21 04:42:07 EDT 2007
Hello martinl,
here a report on your recent GRASS-CVS change:
ANALYSIS
your changes to files/functions:
vector/v.edit/select.c functions
select_lines (Begins at: 24 Ends at: 63)
--------------+---------+-------+---------+
Complexity: | 7 | | OK |
ParamNBR: | 1 | | OK |
CalledNBR: | 11 | | OK |
LOC: | 40 | | OK |
--------------+---------+-------+---------+
metrics are OK
do_print_selected (Begins at: 71 Ends at: 97)
--------------+---------+-------+---------+
Complexity: | 3 | | OK |
ParamNBR: | 1 | | OK |
CalledNBR: | 7 | | OK |
LOC: | 27 | | OK |
--------------+---------+-------+---------+
metrics are OK
sel_by_cat (Begins at: 104 Ends at: 139)
--------------+---------+-------+---------+
Complexity: | 2 | | OK |
ParamNBR: | 2 | | OK |
CalledNBR: | 10 | | OK |
LOC: | 36 | | OK |
--------------+---------+-------+---------+
metrics are OK
sel_by_coordinates (Begins at: 145 Ends at: 175)
--------------+---------+-------+---------+
Complexity: | 2 | | OK |
ParamNBR: | 1 | | OK |
CalledNBR: | 9 | | OK |
LOC: | 31 | | OK |
--------------+---------+-------+---------+
metrics are OK
sel_by_bbox (Begins at: 182 Ends at: 210)
--------------+---------+-------+---------+
Complexity: | 1 | | OK |
ParamNBR: | 1 | | OK |
CalledNBR: | 8 | | OK |
LOC: | 29 | | OK |
--------------+---------+-------+---------+
metrics are OK
sel_by_polygon (Begins at: 217 Ends at: 251)
--------------+---------+-------+---------+
Complexity: | 2 | | OK |
ParamNBR: | 1 | | OK |
CalledNBR: | 13 | | OK |
LOC: | 35 | | OK |
--------------+---------+-------+---------+
metrics are OK
sel_by_id (Begins at: 258 Ends at: 282)
--------------+---------+-------+---------+
Complexity: | 2 | | OK |
ParamNBR: | 1 | | OK |
CalledNBR: | 6 | | OK |
LOC: | 25 | | OK |
--------------+---------+-------+---------+
metrics are OK
sel_by_where (Begins at: 289 Ends at: 345)
--------------+---------+-------+---------+
Complexity: | 6 | | OK |
ParamNBR: | 1 | | OK |
CalledNBR: | 22 | | OK |
LOC: | 57 | | OK |
--------------+---------+-------+---------+
metrics are OK
Clone analysis:
This file does not contain cloned functions
__________________________________________
Threshold GRASS6 key metrics values at 2007-03-21 are:
---------------------------+-----------+---------+
median | upper | outlier |
| quartile | limit |
---------------------------+-----------+---------+
Complexity (Cyclo): 5 | 25 | 37 |
ParamNBR: 2 | 6 | 9 |
CalledNBR: 10 | 60 | 86 |
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