[GRASS-QA] GRASS QA: soeren | ./grass6/lib/gpde/N_arrays_calc.c |no clones | 0 monsters | 0 warnings

grass-qa at proxy.soccerlab.polymtl.ca grass-qa at proxy.soccerlab.polymtl.ca
Mon Apr 9 19:48:52 EDT 2007



Hello soeren,

here a report on your recent GRASS-CVS change:

ANALYSIS

your changes to files/functions:


lib/gpde/N_arrays_calc.c functions


N_copy_array_2d (Begins at: 43 Ends at: 141)
--------------+---------+-------+---------+
Complexity:   |      24 |     * |         |
ParamNBR:     |       2 |       |      OK |
CalledNBR:    |      12 |       |      OK |
LOC:          |      99 |       |      OK |
--------------+---------+-------+---------+
metrics are OK

N_norm_array_2d (Begins at: 143 Ends at: 212)
--------------+---------+-------+---------+
Complexity:   |      18 |     * |         |
ParamNBR:     |       3 |       |      OK |
CalledNBR:    |      11 |       |      OK |
LOC:          |      70 |       |      OK |
--------------+---------+-------+---------+
metrics are OK

N_calc_array_2d_stats (Begins at: 214 Ends at: 297)
--------------+---------+-------+---------+
Complexity:   |       8 |       |      OK |
ParamNBR:     |       6 |     * |         |
CalledNBR:    |       9 |       |      OK |
LOC:          |      84 |       |      OK |
--------------+---------+-------+---------+
metrics are OK

N_math_array_2d (Begins at: 299 Ends at: 417)
--------------+---------+-------+---------+
Complexity:   |      23 |     * |         |
ParamNBR:     |       4 |       |      OK |
CalledNBR:    |      24 |       |      OK |
LOC:          |     119 |       |      OK |
--------------+---------+-------+---------+
metrics are OK

N_convert_array_2d_null_to_zero (Begins at: 419 Ends at: 483)
--------------+---------+-------+---------+
Complexity:   |      10 |       |      OK |
ParamNBR:     |       1 |       |      OK |
CalledNBR:    |       7 |       |      OK |
LOC:          |      65 |       |      OK |
--------------+---------+-------+---------+
metrics are OK

N_copy_array_3d (Begins at: 485 Ends at: 557)
--------------+---------+-------+---------+
Complexity:   |      14 |       |      OK |
ParamNBR:     |       2 |       |      OK |
CalledNBR:    |       8 |       |      OK |
LOC:          |      73 |       |      OK |
--------------+---------+-------+---------+
metrics are OK

N_norm_array_3d (Begins at: 559 Ends at: 623)
--------------+---------+-------+---------+
Complexity:   |      15 |       |      OK |
ParamNBR:     |       3 |       |      OK |
CalledNBR:    |      10 |       |      OK |
LOC:          |      65 |       |      OK |
--------------+---------+-------+---------+
metrics are OK

N_calc_array_3d_stats (Begins at: 625 Ends at: 718)
--------------+---------+-------+---------+
Complexity:   |       8 |       |      OK |
ParamNBR:     |       6 |     * |         |
CalledNBR:    |       9 |       |      OK |
LOC:          |      94 |       |      OK |
--------------+---------+-------+---------+
metrics are OK

N_math_array_3d (Begins at: 720 Ends at: 827)
--------------+---------+-------+---------+
Complexity:   |      22 |     * |         |
ParamNBR:     |       4 |       |      OK |
CalledNBR:    |      22 |       |      OK |
LOC:          |     108 |       |      OK |
--------------+---------+-------+---------+
metrics are OK

N_convert_array_3d_null_to_zero (Begins at: 829 Ends at: 864)
--------------+---------+-------+---------+
Complexity:   |       7 |       |      OK |
ParamNBR:     |       1 |       |      OK |
CalledNBR:    |       5 |       |      OK |
LOC:          |      36 |       |      OK |
--------------+---------+-------+---------+
metrics are OK

Clone analysis:

This file does not contain  cloned functions

__________________________________________

Threshold GRASS6 key metrics values at 2007-04-09 are:
---------------------------+-----------+---------+
                    median | upper     | outlier |
                           | quartile  | limit   |
---------------------------+-----------+---------+
Complexity (Cyclo):      5 |        25 |      37 |
ParamNBR:                2 |         6 |       8 |
CalledNBR:              10 |        60 |      87 |
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