[GRASS-QA] GRASS QA: markus | ./grass6/display/d.rast.arrow/arrow.c
|no clones | 3 monsters | 0 warnings
grass-qa at proxy.soccerlab.polymtl.ca
grass-qa at proxy.soccerlab.polymtl.ca
Wed Aug 23 07:40:08 EDT 2006
Hello markus,
here a report on your recent GRASS-CVS change:
ANALYSIS
your changes to files/functions:
display/d.rast.arrow/arrow.c functions
main (Begins at: 73 Ends at: 598)
--------------+---------+-------+---------+
Complexity: | 72 | *** | MONSTER |
ParamNBR: | 2 | | OK |
CalledNBR: | 173 | *** | MONSTER |
LOC: | 526 | *** | MONSTER |
--------------+---------+-------+---------+
3 metric are OUT OF RANGE!
arrow_mag (Begins at: 605 Ends at: 638)
--------------+---------+-------+---------+
Complexity: | 1 | | OK |
ParamNBR: | 2 | | OK |
CalledNBR: | 11 | | OK |
LOC: | 34 | | OK |
--------------+---------+-------+---------+
metrics are OK
arrow_360 (Begins at: 641 Ends at: 679)
--------------+---------+-------+---------+
Complexity: | 1 | | OK |
ParamNBR: | 1 | | OK |
CalledNBR: | 14 | | OK |
LOC: | 39 | | OK |
--------------+---------+-------+---------+
metrics are OK
arrow_se (Begins at: 681 Ends at: 696)
--------------+---------+-------+---------+
Complexity: | 1 | | OK |
ParamNBR: | 1 | | OK |
CalledNBR: | 6 | | OK |
LOC: | 16 | | OK |
--------------+---------+-------+---------+
metrics are OK
arrow_ne (Begins at: 698 Ends at: 713)
--------------+---------+-------+---------+
Complexity: | 1 | | OK |
ParamNBR: | 1 | | OK |
CalledNBR: | 6 | | OK |
LOC: | 16 | | OK |
--------------+---------+-------+---------+
metrics are OK
arrow_nw (Begins at: 715 Ends at: 730)
--------------+---------+-------+---------+
Complexity: | 1 | | OK |
ParamNBR: | 1 | | OK |
CalledNBR: | 6 | | OK |
LOC: | 16 | | OK |
--------------+---------+-------+---------+
metrics are OK
arrow_sw (Begins at: 732 Ends at: 747)
--------------+---------+-------+---------+
Complexity: | 1 | | OK |
ParamNBR: | 1 | | OK |
CalledNBR: | 6 | | OK |
LOC: | 16 | | OK |
--------------+---------+-------+---------+
metrics are OK
arrow_e (Begins at: 748 Ends at: 763)
--------------+---------+-------+---------+
Complexity: | 1 | | OK |
ParamNBR: | 1 | | OK |
CalledNBR: | 6 | | OK |
LOC: | 16 | | OK |
--------------+---------+-------+---------+
metrics are OK
arrow_w (Begins at: 764 Ends at: 779)
--------------+---------+-------+---------+
Complexity: | 1 | | OK |
ParamNBR: | 1 | | OK |
CalledNBR: | 6 | | OK |
LOC: | 16 | | OK |
--------------+---------+-------+---------+
metrics are OK
arrow_s (Begins at: 780 Ends at: 795)
--------------+---------+-------+---------+
Complexity: | 1 | | OK |
ParamNBR: | 1 | | OK |
CalledNBR: | 6 | | OK |
LOC: | 16 | | OK |
--------------+---------+-------+---------+
metrics are OK
arrow_n (Begins at: 796 Ends at: 811)
--------------+---------+-------+---------+
Complexity: | 1 | | OK |
ParamNBR: | 1 | | OK |
CalledNBR: | 6 | | OK |
LOC: | 16 | | OK |
--------------+---------+-------+---------+
metrics are OK
draw_x (Begins at: 812 Ends at: 825)
--------------+---------+-------+---------+
Complexity: | 1 | | OK |
ParamNBR: | 1 | | OK |
CalledNBR: | 4 | | OK |
LOC: | 14 | | OK |
--------------+---------+-------+---------+
metrics are OK
unknown_ (Begins at: 826 Ends at: 845)
--------------+---------+-------+---------+
Complexity: | 1 | | OK |
ParamNBR: | 1 | | OK |
CalledNBR: | 11 | | OK |
LOC: | 20 | | OK |
--------------+---------+-------+---------+
metrics are OK
Clone analysis:
This file does not contain cloned functions
__________________________________________
Threshold GRASS6 key metrics values at 2006-08-23 are:
---------------------------+-----------+---------+
median | upper | outlier |
| quartile | limit |
---------------------------+-----------+---------+
Complexity (Cyclo): 5 | 25 | 36 |
ParamNBR: 2 | 6 | 8 |
CalledNBR: 9 | 55 | 80 |
LOC: 39 | 179 | 251 |
---------------------------+-----------+---------+
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