[GRASS-QA] GRASS QA: soeren | ./grass6/raster/r.le/r.le.patch/trace.c |no clones | 9 monsters | 1 warnings

grass-qa at proxy.soccerlab.polymtl.ca grass-qa at proxy.soccerlab.polymtl.ca
Mon Aug 14 14:49:24 EDT 2006



Hello soeren,

here a report on your recent GRASS-CVS change:

ANALYSIS

your changes to files/functions:


raster/r.le/r.le.patch/trace.c functions


cell_clip_drv (Begins at: 38 Ends at: 440)
--------------+---------+-------+---------+
Complexity:   |      45 |   *** | MONSTER |
ParamNBR:     |       7 |    ** | Warning |
CalledNBR:    |      90 |   *** | MONSTER |
LOC:          |     403 |   *** | MONSTER |
--------------+---------+-------+---------+
3 metric are OUT OF RANGE!

cell_clip (Begins at: 442 Ends at: 763)
--------------+---------+-------+---------+
Complexity:   |      47 |   *** | MONSTER |
ParamNBR:     |      10 |   *** | MONSTER |
CalledNBR:    |      55 |     * |         |
LOC:          |     322 |   *** | MONSTER |
--------------+---------+-------+---------+
3 metric are OUT OF RANGE!

trace (Begins at: 765 Ends at: 883)
--------------+---------+-------+---------+
Complexity:   |       8 |       |      OK |
ParamNBR:     |       6 |     * |         |
CalledNBR:    |       1 |       |      OK |
LOC:          |     119 |     * |         |
--------------+---------+-------+---------+
metrics are OK

get_bd (Begins at: 885 Ends at: 1641)
--------------+---------+-------+---------+
Complexity:   |     102 |   *** | MONSTER |
ParamNBR:     |      10 |   *** | MONSTER |
CalledNBR:    |      33 |     * |         |
LOC:          |     757 |   *** | MONSTER |
--------------+---------+-------+---------+
3 metric are OUT OF RANGE!

yes_nb (Begins at: 1643 Ends at: 1774)
--------------+---------+-------+---------+
Complexity:   |      15 |       |      OK |
ParamNBR:     |       8 |    ** | Warning |
CalledNBR:    |       2 |       |      OK |
LOC:          |     132 |     * |         |
--------------+---------+-------+---------+
at least 1 values are close to an outlier please consider revising code

clockwise (Begins at: 1776 Ends at: 1784)
--------------+---------+-------+---------+
Complexity:   |       2 |       |      OK |
ParamNBR:     |       2 |       |      OK |
CalledNBR:    |       0 |       |      OK |
LOC:          |       9 |       |      OK |
--------------+---------+-------+---------+
metrics are OK

Clone analysis:

This file does not contain  cloned functions

__________________________________________

Threshold GRASS6 key metrics values at 2006-08-14 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