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

cvs at proxy.soccerlab.polymtl.ca cvs at proxy.soccerlab.polymtl.ca
Mon Jul 10 13:19:13 EDT 2006


Hello benjamin,

here a report on your recent GRASS-CVS change:

ANALYSIS

your changes to files/functions:


gem/actions.c functions


check_extension (Begins at: 27 Ends at: 73)
--------------+---------+-------+---------+
Complexity:   |       6 |       |      OK |
ParamNBR:     |       5 |     * |         |
CalledNBR:    |      23 |       |      OK |
LOC:          |      47 |       |      OK |
--------------+---------+-------+---------+
metrics are OK

unpack_extension (Begins at: 80 Ends at: 174)
--------------+---------+-------+---------+
Complexity:   |      18 |     * |         |
ParamNBR:     |       1 |       |      OK |
CalledNBR:    |      44 |     * |         |
LOC:          |      95 |       |      OK |
--------------+---------+-------+---------+
metrics are OK

query_extension (Begins at: 177 Ends at: 207)
--------------+---------+-------+---------+
Complexity:   |       2 |       |      OK |
ParamNBR:     |       8 |    ** | Warning |
CalledNBR:    |      20 |       |      OK |
LOC:          |      31 |       |      OK |
--------------+---------+-------+---------+
at least 1 values are close to an outlier please consider revising code

print_cfg (Begins at: 212 Ends at: 227)
--------------+---------+-------+---------+
Complexity:   |       3 |       |      OK |
ParamNBR:     |       1 |       |      OK |
CalledNBR:    |       6 |       |      OK |
LOC:          |      16 |       |      OK |
--------------+---------+-------+---------+
metrics are OK

source_install (Begins at: 232 Ends at: 385)
--------------+---------+-------+---------+
Complexity:   |      14 |       |      OK |
ParamNBR:     |       7 |    ** | Warning |
CalledNBR:    |      72 |    ** | Warning |
LOC:          |     154 |     * |         |
--------------+---------+-------+---------+
at least 2 values are close to an outlier please consider revising code

bin_install (Begins at: 391 Ends at: 501)
--------------+---------+-------+---------+
Complexity:   |       6 |       |      OK |
ParamNBR:     |       8 |    ** | Warning |
CalledNBR:    |      54 |     * |         |
LOC:          |     111 |     * |         |
--------------+---------+-------+---------+
at least 1 values are close to an outlier please consider revising code

test_install (Begins at: 504 Ends at: 627)
--------------+---------+-------+---------+
Complexity:   |      12 |       |      OK |
ParamNBR:     |       7 |    ** | Warning |
CalledNBR:    |      63 |    ** | Warning |
LOC:          |     124 |     * |         |
--------------+---------+-------+---------+
at least 2 values are close to an outlier please consider revising code

uninstall (Begins at: 634 Ends at: 708)
--------------+---------+-------+---------+
Complexity:   |       6 |       |      OK |
ParamNBR:     |       3 |       |      OK |
CalledNBR:    |      24 |       |      OK |
LOC:          |      75 |       |      OK |
--------------+---------+-------+---------+
metrics are OK

source_clean (Begins at: 711 Ends at: 743)
--------------+---------+-------+---------+
Complexity:   |       4 |       |      OK |
ParamNBR:     |       1 |       |      OK |
CalledNBR:    |      12 |       |      OK |
LOC:          |      33 |       |      OK |
--------------+---------+-------+---------+
metrics are OK

restore (Begins at: 749 Ends at: 788)
--------------+---------+-------+---------+
Complexity:   |       6 |       |      OK |
ParamNBR:     |       1 |       |      OK |
CalledNBR:    |      10 |       |      OK |
LOC:          |      40 |       |      OK |
--------------+---------+-------+---------+
metrics are OK

list_extensions (Begins at: 794 Ends at: 818)
--------------+---------+-------+---------+
Complexity:   |       3 |       |      OK |
ParamNBR:     |       1 |       |      OK |
CalledNBR:    |      13 |       |      OK |
LOC:          |      25 |       |      OK |
--------------+---------+-------+---------+
metrics are OK

run_post (Begins at: 825 Ends at: 873)
--------------+---------+-------+---------+
Complexity:   |      11 |       |      OK |
ParamNBR:     |       3 |       |      OK |
CalledNBR:    |      16 |       |      OK |
LOC:          |      49 |       |      OK |
--------------+---------+-------+---------+
metrics are OK

Clone analysis:

This file does not contain  cloned functions

__________________________________________

Threshold GRASS6 key metrics values at 2006-07-10 are:
---------------------------+-----------+---------+
                    median | upper     | outlier |
                           | quartile  | limit   |
---------------------------+-----------+---------+
Complexity (Cyclo):      5 |        25 |      37 |
ParamNBR:                2 |         6 |       8 |
CalledNBR:               9 |        55 |      79 |
LOC:                    40 |       180 |     252 |
---------------------------+-----------+---------+

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