[GRASS-QA] GRASS QA: hamish | ./grass6/lib/gis/error.c |no clones |
0 monsters | 0 warnings
grass-qa at proxy.soccerlab.polymtl.ca
grass-qa at proxy.soccerlab.polymtl.ca
Sat Jun 2 03:20:07 EDT 2007
Hello hamish,
here a report on your recent GRASS-CVS change:
ANALYSIS
your changes to files/functions:
lib/gis/error.c functions
G_message (Begins at: 105 Ends at: 126)
--------------+---------+-------+---------+
Complexity: | 2 | | OK |
ParamNBR: | 1 | | OK |
CalledNBR: | 6 | | OK |
LOC: | 22 | | OK |
--------------+---------+-------+---------+
metrics are OK
G_verbose_message (Begins at: 128 Ends at: 152)
--------------+---------+-------+---------+
Complexity: | 2 | | OK |
ParamNBR: | 1 | | OK |
CalledNBR: | 6 | | OK |
LOC: | 25 | | OK |
--------------+---------+-------+---------+
metrics are OK
G_important_message (Begins at: 154 Ends at: 186)
--------------+---------+-------+---------+
Complexity: | 2 | | OK |
ParamNBR: | 1 | | OK |
CalledNBR: | 6 | | OK |
LOC: | 33 | | OK |
--------------+---------+-------+---------+
metrics are OK
G_fatal_error (Begins at: 188 Ends at: 211)
--------------+---------+-------+---------+
Complexity: | 1 | | OK |
ParamNBR: | 1 | | OK |
CalledNBR: | 5 | | OK |
LOC: | 24 | | OK |
--------------+---------+-------+---------+
metrics are OK
G_warning (Begins at: 213 Ends at: 234)
--------------+---------+-------+---------+
Complexity: | 2 | | OK |
ParamNBR: | 1 | | OK |
CalledNBR: | 4 | | OK |
LOC: | 22 | | OK |
--------------+---------+-------+---------+
metrics are OK
G_suppress_warnings (Begins at: 236 Ends at: 252)
--------------+---------+-------+---------+
Complexity: | 1 | | OK |
ParamNBR: | 1 | | OK |
CalledNBR: | 0 | | OK |
LOC: | 17 | | OK |
--------------+---------+-------+---------+
metrics are OK
G_sleep_on_error (Begins at: 254 Ends at: 272)
--------------+---------+-------+---------+
Complexity: | 1 | | OK |
ParamNBR: | 1 | | OK |
CalledNBR: | 0 | | OK |
LOC: | 19 | | OK |
--------------+---------+-------+---------+
metrics are OK
G_set_error_routine (Begins at: 274 Ends at: 288)
--------------+---------+-------+---------+
Complexity: | 1 | | OK |
ParamNBR: | 3 | | OK |
CalledNBR: | 0 | | OK |
LOC: | 15 | | OK |
--------------+---------+-------+---------+
metrics are OK
G_unset_error_routine (Begins at: 290 Ends at: 295)
--------------+---------+-------+---------+
Complexity: | 1 | | OK |
ParamNBR: | 1 | | OK |
CalledNBR: | 0 | | OK |
LOC: | 6 | | OK |
--------------+---------+-------+---------+
metrics are OK
print_error (Begins at: 298 Ends at: 349)
--------------+---------+-------+---------+
Complexity: | 10 | | OK |
ParamNBR: | 2 | | OK |
CalledNBR: | 17 | | OK |
LOC: | 52 | | OK |
--------------+---------+-------+---------+
metrics are OK
log_error (Begins at: 351 Ends at: 386)
--------------+---------+-------+---------+
Complexity: | 6 | | OK |
ParamNBR: | 2 | | OK |
CalledNBR: | 10 | | OK |
LOC: | 36 | | OK |
--------------+---------+-------+---------+
metrics are OK
write_error (Begins at: 389 Ends at: 421)
--------------+---------+-------+---------+
Complexity: | 4 | | OK |
ParamNBR: | 5 | * | |
CalledNBR: | 14 | | OK |
LOC: | 33 | | OK |
--------------+---------+-------+---------+
metrics are OK
mail_msg (Begins at: 424 Ends at: 442)
--------------+---------+-------+---------+
Complexity: | 3 | | OK |
ParamNBR: | 2 | | OK |
CalledNBR: | 6 | | OK |
LOC: | 19 | | OK |
--------------+---------+-------+---------+
metrics are OK
print_word (Begins at: 445 Ends at: 496)
--------------+---------+-------+---------+
Complexity: | 8 | | OK |
ParamNBR: | 4 | | OK |
CalledNBR: | 5 | | OK |
LOC: | 52 | | OK |
--------------+---------+-------+---------+
metrics are OK
print_sentence (Begins at: 499 Ends at: 548)
--------------+---------+-------+---------+
Complexity: | 8 | | OK |
ParamNBR: | 3 | | OK |
CalledNBR: | 12 | | OK |
LOC: | 50 | | OK |
--------------+---------+-------+---------+
metrics are OK
G_info_format (Begins at: 550 Ends at: 567)
--------------+---------+-------+---------+
Complexity: | 4 | | OK |
ParamNBR: | 1 | | OK |
CalledNBR: | 3 | | OK |
LOC: | 18 | | OK |
--------------+---------+-------+---------+
metrics are OK
Clone analysis:
This file does not contain cloned functions
__________________________________________
Threshold GRASS6 key metrics values at 2007-06-02 are:
---------------------------+-----------+---------+
median | upper | outlier |
| quartile | limit |
---------------------------+-----------+---------+
Complexity (Cyclo): 5 | 25 | 37 |
ParamNBR: 2 | 6 | 9 |
CalledNBR: 10 | 60 | 87 |
LOC: 43 | 195 | 273 |
---------------------------+-----------+---------+
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