[GRASS-QA] GRASS QA: benjamin | ./grass6/gem/reg_entries.c |no clones | 0 monsters | 0 warnings

grass-qa at proxy.soccerlab.polymtl.ca grass-qa at proxy.soccerlab.polymtl.ca
Thu Mar 8 08:25:12 EST 2007



Hello benjamin,

here a report on your recent GRASS-CVS change:

ANALYSIS

your changes to files/functions:


gem/reg_entries.c functions


is_submenu (Begins at: 35 Ends at: 53)
--------------+---------+-------+---------+
Complexity:   |       4 |       |      OK |
ParamNBR:     |       1 |       |      OK |
CalledNBR:    |       4 |       |      OK |
LOC:          |      19 |       |      OK |
--------------+---------+-------+---------+
metrics are OK

check_ext_menu (Begins at: 55 Ends at: 84)
--------------+---------+-------+---------+
Complexity:   |       4 |       |      OK |
ParamNBR:     |       1 |       |      OK |
CalledNBR:    |       8 |       |      OK |
LOC:          |      30 |       |      OK |
--------------+---------+-------+---------+
metrics are OK

new_submenu (Begins at: 86 Ends at: 156)
--------------+---------+-------+---------+
Complexity:   |       6 |       |      OK |
ParamNBR:     |       3 |       |      OK |
CalledNBR:    |      24 |       |      OK |
LOC:          |      71 |       |      OK |
--------------+---------+-------+---------+
metrics are OK

new_item (Begins at: 164 Ends at: 217)
--------------+---------+-------+---------+
Complexity:   |       6 |       |      OK |
ParamNBR:     |       4 |       |      OK |
CalledNBR:    |      12 |       |      OK |
LOC:          |      54 |       |      OK |
--------------+---------+-------+---------+
metrics are OK

register_entries_gisman (Begins at: 219 Ends at: 391)
--------------+---------+-------+---------+
Complexity:   |      19 |     * |         |
ParamNBR:     |       2 |       |      OK |
CalledNBR:    |      54 |     * |         |
LOC:          |     173 |     * |         |
--------------+---------+-------+---------+
metrics are OK

register_entries_gisman2 (Begins at: 393 Ends at: 430)
--------------+---------+-------+---------+
Complexity:   |       4 |       |      OK |
ParamNBR:     |       2 |       |      OK |
CalledNBR:    |      10 |       |      OK |
LOC:          |      38 |       |      OK |
--------------+---------+-------+---------+
metrics are OK

deregister_entries_gisman (Begins at: 432 Ends at: 607)
--------------+---------+-------+---------+
Complexity:   |      17 |     * |         |
ParamNBR:     |       2 |       |      OK |
CalledNBR:    |      56 |     * |         |
LOC:          |     176 |     * |         |
--------------+---------+-------+---------+
metrics are OK

deregister_entries_gisman2 (Begins at: 614 Ends at: 643)
--------------+---------+-------+---------+
Complexity:   |       4 |       |      OK |
ParamNBR:     |       2 |       |      OK |
CalledNBR:    |      10 |       |      OK |
LOC:          |      30 |       |      OK |
--------------+---------+-------+---------+
metrics are OK

restore_entries_gisman (Begins at: 649 Ends at: 824)
--------------+---------+-------+---------+
Complexity:   |      21 |     * |         |
ParamNBR:     |       1 |       |      OK |
CalledNBR:    |      58 |     * |         |
LOC:          |     176 |     * |         |
--------------+---------+-------+---------+
metrics are OK

Clone analysis:

This file does not contain  cloned functions

__________________________________________

Threshold GRASS6 key metrics values at 2007-03-08 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