[GRASS-QA] GRASS QA: carlos | ./grass6/raster/r.surf.idw/main.c |no
clones | 0 monsters | 3 warnings
grass-qa at proxy.soccerlab.polymtl.ca
grass-qa at proxy.soccerlab.polymtl.ca
Fri Jul 20 19:04:07 EDT 2007
Hello carlos,
here a report on your recent GRASS-CVS change:
ANALYSIS
your changes to files/functions:
raster/r.surf.idw/main.c functions
main (Begins at: 45 Ends at: 173)
--------------+---------+-------+---------+
Complexity: | 12 | | OK |
ParamNBR: | 2 | | OK |
CalledNBR: | 51 | * | |
LOC: | 129 | * | |
--------------+---------+-------+---------+
metrics are OK
lookup_and_function_ptrs (Begins at: 175 Ends at: 208)
--------------+---------+-------+---------+
Complexity: | 2 | | OK |
ParamNBR: | 2 | | OK |
CalledNBR: | 5 | | OK |
LOC: | 34 | | OK |
--------------+---------+-------+---------+
metrics are OK
interpolate (Begins at: 211 Ends at: 299)
--------------+---------+-------+---------+
Complexity: | 7 | | OK |
ParamNBR: | 7 | ** | Warning |
CalledNBR: | 11 | | OK |
LOC: | 89 | | OK |
--------------+---------+-------+---------+
at least 1 values are close to an outlier please consider revising code
make_neighbors_list (Begins at: 301 Ends at: 364)
--------------+---------+-------+---------+
Complexity: | 11 | | OK |
ParamNBR: | 7 | ** | Warning |
CalledNBR: | 10 | | OK |
LOC: | 64 | | OK |
--------------+---------+-------+---------+
at least 1 values are close to an outlier please consider revising code
search (Begins at: 369 Ends at: 415)
--------------+---------+-------+---------+
Complexity: | 7 | | OK |
ParamNBR: | 8 | ** | Warning |
CalledNBR: | 8 | | OK |
LOC: | 47 | | OK |
--------------+---------+-------+---------+
at least 1 values are close to an outlier please consider revising code
exhaust (Begins at: 418 Ends at: 444)
--------------+---------+-------+---------+
Complexity: | 5 | | OK |
ParamNBR: | 4 | | OK |
CalledNBR: | 4 | | OK |
LOC: | 27 | | OK |
--------------+---------+-------+---------+
metrics are OK
offset_distance (Begins at: 446 Ends at: 449)
--------------+---------+-------+---------+
Complexity: | 1 | | OK |
ParamNBR: | 1 | | OK |
CalledNBR: | 0 | | OK |
LOC: | 4 | | OK |
--------------+---------+-------+---------+
metrics are OK
completed_row (Begins at: 455 Ends at: 458)
--------------+---------+-------+---------+
Complexity: | 1 | | OK |
ParamNBR: | 1 | | OK |
CalledNBR: | 0 | | OK |
LOC: | 4 | | OK |
--------------+---------+-------+---------+
metrics are OK
next_row (Begins at: 461 Ends at: 476)
--------------+---------+-------+---------+
Complexity: | 4 | | OK |
ParamNBR: | 4 | | OK |
CalledNBR: | 0 | | OK |
LOC: | 16 | | OK |
--------------+---------+-------+---------+
metrics are OK
first_west (Begins at: 484 Ends at: 498)
--------------+---------+-------+---------+
Complexity: | 3 | | OK |
ParamNBR: | 2 | | OK |
CalledNBR: | 0 | | OK |
LOC: | 15 | | OK |
--------------+---------+-------+---------+
metrics are OK
find_neighbors (Begins at: 506 Ends at: 534)
--------------+---------+-------+---------+
Complexity: | 7 | | OK |
ParamNBR: | 6 | * | |
CalledNBR: | 3 | | OK |
LOC: | 29 | | OK |
--------------+---------+-------+---------+
metrics are OK
exhaust_search (Begins at: 541 Ends at: 563)
--------------+---------+-------+---------+
Complexity: | 5 | | OK |
ParamNBR: | 4 | | OK |
CalledNBR: | 4 | | OK |
LOC: | 23 | | OK |
--------------+---------+-------+---------+
metrics are OK
triangulate (Begins at: 570 Ends at: 578)
--------------+---------+-------+---------+
Complexity: | 1 | | OK |
ParamNBR: | 3 | | OK |
CalledNBR: | 2 | | OK |
LOC: | 9 | | OK |
--------------+---------+-------+---------+
metrics are OK
add_neighbor (Begins at: 581 Ends at: 596)
--------------+---------+-------+---------+
Complexity: | 2 | | OK |
ParamNBR: | 4 | | OK |
CalledNBR: | 0 | | OK |
LOC: | 16 | | OK |
--------------+---------+-------+---------+
metrics are OK
replace_neighbor (Begins at: 599 Ends at: 621)
--------------+---------+-------+---------+
Complexity: | 4 | | OK |
ParamNBR: | 3 | | OK |
CalledNBR: | 1 | | OK |
LOC: | 23 | | OK |
--------------+---------+-------+---------+
metrics are OK
sort_neighbors (Begins at: 624 Ends at: 637)
--------------+---------+-------+---------+
Complexity: | 2 | | OK |
ParamNBR: | 2 | | OK |
CalledNBR: | 0 | | OK |
LOC: | 14 | | OK |
--------------+---------+-------+---------+
metrics are OK
free_row_lists (Begins at: 641 Ends at: 658)
--------------+---------+-------+---------+
Complexity: | 3 | | OK |
ParamNBR: | 2 | | OK |
CalledNBR: | 2 | | OK |
LOC: | 18 | | OK |
--------------+---------+-------+---------+
metrics are OK
row_lists (Begins at: 661 Ends at: 721)
--------------+---------+-------+---------+
Complexity: | 5 | | OK |
ParamNBR: | 6 | * | |
CalledNBR: | 8 | | OK |
LOC: | 61 | | OK |
--------------+---------+-------+---------+
metrics are OK
lookup_tables (Begins at: 728 Ends at: 746)
--------------+---------+-------+---------+
Complexity: | 1 | | OK |
ParamNBR: | 2 | | OK |
CalledNBR: | 2 | | OK |
LOC: | 19 | | OK |
--------------+---------+-------+---------+
metrics are OK
Clone analysis:
This file does not contain cloned functions
__________________________________________
Threshold GRASS6 key metrics values at 2007-07-20 are:
---------------------------+-----------+---------+
median | upper | outlier |
| quartile | limit |
---------------------------+-----------+---------+
Complexity (Cyclo): 5 | 25 | 37 |
ParamNBR: 2 | 6 | 9 |
CalledNBR: 10 | 60 | 88 |
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