[GRASS-QA] GRASS QA: markus | ./grass6/raster/r.sun/main.c |no
clones | 4 monsters | 3 warnings
grass-qa at proxy.soccerlab.polymtl.ca
grass-qa at proxy.soccerlab.polymtl.ca
Wed Aug 23 07:40:20 EDT 2006
Hello markus,
here a report on your recent GRASS-CVS change:
ANALYSIS
your changes to files/functions:
raster/r.sun/main.c functions
main (Begins at: 132 Ends at: 451)
--------------+---------+-------+---------+
Complexity: | 24 | * | |
ParamNBR: | 2 | | OK |
CalledNBR: | 95 | *** | MONSTER |
LOC: | 320 | *** | MONSTER |
--------------+---------+-------+---------+
2 metric are OUT OF RANGE!
INPUT (Begins at: 454 Ends at: 673)
--------------+---------+-------+---------+
Complexity: | 45 | *** | MONSTER |
ParamNBR: | 1 | | OK |
CalledNBR: | 81 | *** | MONSTER |
LOC: | 220 | ** | Warning |
--------------+---------+-------+---------+
2 metric are OUT OF RANGE!
OUTGR (Begins at: 675 Ends at: 805)
--------------+---------+-------+---------+
Complexity: | 29 | ** | Warning |
ParamNBR: | 1 | | OK |
CalledNBR: | 50 | * | |
LOC: | 131 | * | |
--------------+---------+-------+---------+
at least 1 values are close to an outlier please consider revising code
com_par_const (Begins at: 808 Ends at: 845)
--------------+---------+-------+---------+
Complexity: | 6 | | OK |
ParamNBR: | 1 | | OK |
CalledNBR: | 7 | | OK |
LOC: | 38 | | OK |
--------------+---------+-------+---------+
metrics are OK
com_par (Begins at: 848 Ends at: 919)
--------------+---------+-------+---------+
Complexity: | 8 | | OK |
ParamNBR: | 1 | | OK |
CalledNBR: | 13 | | OK |
LOC: | 72 | | OK |
--------------+---------+-------+---------+
metrics are OK
lumcline2 (Begins at: 923 Ends at: 961)
--------------+---------+-------+---------+
Complexity: | 7 | | OK |
ParamNBR: | 1 | | OK |
CalledNBR: | 2 | | OK |
LOC: | 39 | | OK |
--------------+---------+-------+---------+
metrics are OK
joules2 (Begins at: 963 Ends at: 1093)
--------------+---------+-------+---------+
Complexity: | 22 | * | |
ParamNBR: | 1 | | OK |
CalledNBR: | 11 | | OK |
LOC: | 131 | * | |
--------------+---------+-------+---------+
metrics are OK
new_point (Begins at: 1098 Ends at: 1107)
--------------+---------+-------+---------+
Complexity: | 2 | | OK |
ParamNBR: | 1 | | OK |
CalledNBR: | 0 | | OK |
LOC: | 10 | | OK |
--------------+---------+-------+---------+
metrics are OK
where_is_point (Begins at: 1109 Ends at: 1134)
--------------+---------+-------+---------+
Complexity: | 2 | | OK |
ParamNBR: | 1 | | OK |
CalledNBR: | 2 | | OK |
LOC: | 26 | | OK |
--------------+---------+-------+---------+
metrics are OK
cube (Begins at: 1136 Ends at: 1141)
--------------+---------+-------+---------+
Complexity: | 2 | | OK |
ParamNBR: | 2 | | OK |
CalledNBR: | 0 | | OK |
LOC: | 6 | | OK |
--------------+---------+-------+---------+
metrics are OK
searching (Begins at: 1143 Ends at: 1169)
--------------+---------+-------+---------+
Complexity: | 6 | | OK |
ParamNBR: | 1 | | OK |
CalledNBR: | 3 | | OK |
LOC: | 27 | | OK |
--------------+---------+-------+---------+
metrics are OK
calculate (Begins at: 1175 Ends at: 1412)
--------------+---------+-------+---------+
Complexity: | 29 | ** | Warning |
ParamNBR: | 1 | | OK |
CalledNBR: | 53 | * | |
LOC: | 238 | ** | Warning |
--------------+---------+-------+---------+
at least 2 values are close to an outlier please consider revising code
com_sol_const (Begins at: 1414 Ends at: 1423)
--------------+---------+-------+---------+
Complexity: | 1 | | OK |
ParamNBR: | 1 | | OK |
CalledNBR: | 1 | | OK |
LOC: | 10 | | OK |
--------------+---------+-------+---------+
metrics are OK
com_declin (Begins at: 1426 Ends at: 1436)
--------------+---------+-------+---------+
Complexity: | 1 | | OK |
ParamNBR: | 1 | | OK |
CalledNBR: | 3 | | OK |
LOC: | 11 | | OK |
--------------+---------+-------+---------+
metrics are OK
brad (Begins at: 1438 Ends at: 1465)
--------------+---------+-------+---------+
Complexity: | 3 | | OK |
ParamNBR: | 1 | | OK |
CalledNBR: | 4 | | OK |
LOC: | 28 | | OK |
--------------+---------+-------+---------+
metrics are OK
drad (Begins at: 1467 Ends at: 1521)
--------------+---------+-------+---------+
Complexity: | 8 | | OK |
ParamNBR: | 1 | | OK |
CalledNBR: | 7 | | OK |
LOC: | 55 | | OK |
--------------+---------+-------+---------+
metrics are OK
test (Begins at: 1523 Ends at: 1537)
--------------+---------+-------+---------+
Complexity: | 2 | | OK |
ParamNBR: | 1 | | OK |
CalledNBR: | 3 | | OK |
LOC: | 15 | | 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