[GRASS-QA] GRASS QA: markus | ./grass6/raster/r.flow/io.c |no
clones | 0 monsters | 2 warnings
grass-qa at proxy.soccerlab.polymtl.ca
grass-qa at proxy.soccerlab.polymtl.ca
Sat Aug 19 11:21:38 EDT 2006
Hello markus,
here a report on your recent GRASS-CVS change:
ANALYSIS
your changes to files/functions:
raster/r.flow/io.c functions
tmp_name (Begins at: 40 Ends at: 53)
--------------+---------+-------+---------+
Complexity: | 4 | | OK |
ParamNBR: | 1 | | OK |
CalledNBR: | 3 | | OK |
LOC: | 14 | | OK |
--------------+---------+-------+---------+
metrics are OK
parameter (Begins at: 58 Ends at: 74)
--------------+---------+-------+---------+
Complexity: | 2 | | OK |
ParamNBR: | 7 | ** | Warning |
CalledNBR: | 1 | | OK |
LOC: | 17 | | OK |
--------------+---------+-------+---------+
at least 1 values are close to an outlier please consider revising code
flag (Begins at: 77 Ends at: 86)
--------------+---------+-------+---------+
Complexity: | 1 | | OK |
ParamNBR: | 2 | | OK |
CalledNBR: | 1 | | OK |
LOC: | 10 | | OK |
--------------+---------+-------+---------+
metrics are OK
parse_command_line (Begins at: 89 Ends at: 225)
--------------+---------+-------+---------+
Complexity: | 7 | | OK |
ParamNBR: | 2 | | OK |
CalledNBR: | 80 | *** | MONSTER |
LOC: | 137 | * | |
--------------+---------+-------+---------+
at least 1 values are close to an outlier please consider revising code
diag (Begins at: 228 Ends at: 236)
--------------+---------+-------+---------+
Complexity: | 2 | | OK |
ParamNBR: | 1 | | OK |
CalledNBR: | 2 | | OK |
LOC: | 9 | | OK |
--------------+---------+-------+---------+
metrics are OK
open_existing_cell_file (Begins at: 239 Ends at: 251)
--------------+---------+-------+---------+
Complexity: | 3 | | OK |
ParamNBR: | 2 | | OK |
CalledNBR: | 7 | | OK |
LOC: | 13 | | OK |
--------------+---------+-------+---------+
metrics are OK
read_input_files (Begins at: 254 Ends at: 315)
--------------+---------+-------+---------+
Complexity: | 10 | | OK |
ParamNBR: | 0 | | OK |
CalledNBR: | 26 | | OK |
LOC: | 62 | | OK |
--------------+---------+-------+---------+
metrics are OK
open_segment_file (Begins at: 318 Ends at: 346)
--------------+---------+-------+---------+
Complexity: | 6 | | OK |
ParamNBR: | 3 | | OK |
CalledNBR: | 14 | | OK |
LOC: | 29 | | OK |
--------------+---------+-------+---------+
metrics are OK
open_output_files (Begins at: 349 Ends at: 370)
--------------+---------+-------+---------+
Complexity: | 5 | | OK |
ParamNBR: | 0 | | OK |
CalledNBR: | 13 | | OK |
LOC: | 22 | | OK |
--------------+---------+-------+---------+
metrics are OK
close_files (Begins at: 373 Ends at: 391)
--------------+---------+-------+---------+
Complexity: | 4 | | OK |
ParamNBR: | 0 | | OK |
CalledNBR: | 7 | | OK |
LOC: | 19 | | OK |
--------------+---------+-------+---------+
metrics are OK
write_density_file (Begins at: 394 Ends at: 433)
--------------+---------+-------+---------+
Complexity: | 5 | | OK |
ParamNBR: | 0 | | OK |
CalledNBR: | 26 | | OK |
LOC: | 40 | | OK |
--------------+---------+-------+---------+
metrics are OK
Clone analysis:
This file does not contain cloned functions
__________________________________________
Threshold GRASS6 key metrics values at 2006-08-19 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