[GRASS-QA] GRASS QA: markus | ./grass6/raster/r.li/r.li.daemon/daemon.c |no clones | 2 monsters | 0 warnings

grass-qa at proxy.soccerlab.polymtl.ca grass-qa at proxy.soccerlab.polymtl.ca
Sun Mar 11 19:21:17 EDT 2007



Hello markus,

here a report on your recent GRASS-CVS change:

ANALYSIS

your changes to files/functions:


raster/r.li/r.li.daemon/daemon.c functions


calculateIndex (Begins at: 37 Ends at: 270)
--------------+---------+-------+---------+
Complexity:   |      31 |    ** | Warning |
ParamNBR:     |       9 |   *** | MONSTER |
CalledNBR:    |      91 |   *** | MONSTER |
LOC:          |     234 |    ** | Warning |
--------------+---------+-------+---------+
1 metric are OUT OF RANGE!

parseSetup (Begins at: 272 Ends at: 451)
--------------+---------+-------+---------+
Complexity:   |      16 |     * |         |
ParamNBR:     |       4 |       |      OK |
CalledNBR:    |     106 |   *** | MONSTER |
LOC:          |     180 |     * |         |
--------------+---------+-------+---------+
1 metric are OUT OF RANGE!

disposeAreas (Begins at: 453 Ends at: 578)
--------------+---------+-------+---------+
Complexity:   |      15 |       |      OK |
ParamNBR:     |       3 |       |      OK |
CalledNBR:    |      42 |     * |         |
LOC:          |     126 |     * |         |
--------------+---------+-------+---------+
metrics are OK

next_Area (Begins at: 580 Ends at: 595)
--------------+---------+-------+---------+
Complexity:   |       3 |       |      OK |
ParamNBR:     |       4 |       |      OK |
CalledNBR:    |       3 |       |      OK |
LOC:          |      16 |       |      OK |
--------------+---------+-------+---------+
metrics are OK

print_Output (Begins at: 597 Ends at: 610)
--------------+---------+-------+---------+
Complexity:   |       3 |       |      OK |
ParamNBR:     |       2 |       |      OK |
CalledNBR:    |       3 |       |      OK |
LOC:          |      14 |       |      OK |
--------------+---------+-------+---------+
metrics are OK

error_Output (Begins at: 612 Ends at: 623)
--------------+---------+-------+---------+
Complexity:   |       3 |       |      OK |
ParamNBR:     |       2 |       |      OK |
CalledNBR:    |       4 |       |      OK |
LOC:          |      12 |       |      OK |
--------------+---------+-------+---------+
metrics are OK

raster_Output (Begins at: 625 Ends at: 636)
--------------+---------+-------+---------+
Complexity:   |       3 |       |      OK |
ParamNBR:     |       4 |       |      OK |
CalledNBR:    |       4 |       |      OK |
LOC:          |      12 |       |      OK |
--------------+---------+-------+---------+
metrics are OK

write_raster (Begins at: 637 Ends at: 667)
--------------+---------+-------+---------+
Complexity:   |       2 |       |      OK |
ParamNBR:     |       3 |       |      OK |
CalledNBR:    |      15 |       |      OK |
LOC:          |      31 |       |      OK |
--------------+---------+-------+---------+
metrics are OK

Clone analysis:

This file does not contain  cloned functions

__________________________________________

Threshold GRASS6 key metrics values at 2007-03-11 are:
---------------------------+-----------+---------+
                    median | upper     | outlier |
                           | quartile  | limit   |
---------------------------+-----------+---------+
Complexity (Cyclo):      5 |        25 |      37 |
ParamNBR:                2 |         6 |       9 |
CalledNBR:              10 |        60 |      86 |
LOC:                    43 |       195 |     271 |
---------------------------+-----------+---------+

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