[GRASS-QA] GRASS QA: markus | ./grass6/raster/r.to.rast3/main.c |1
clones ( alloc.c cats.c color_read.c find_cell.c get_row.c
opencell.c range.c ps_outline.c main.c main.c tinf.c main.c
main.c )| 0 monsters | 0 warnings
grass-qa at proxy.soccerlab.polymtl.ca
grass-qa at proxy.soccerlab.polymtl.ca
Wed Dec 13 10:37:34 EST 2006
Hello markus,
here a report on your recent GRASS-CVS change:
ANALYSIS
your changes to files/functions:
raster/r.to.rast3/main.c functions
fatal_error (Begins at: 49 Ends at: 68)
--------------+---------+-------+---------+
Complexity: | 4 | | OK |
ParamNBR: | 4 | | OK |
CalledNBR: | 6 | | OK |
LOC: | 20 | | OK |
--------------+---------+-------+---------+
metrics are OK
set_params (Begins at: 73 Ends at: 89)
--------------+---------+-------+---------+
Complexity: | 1 | | OK |
ParamNBR: | 0 | | OK |
CalledNBR: | 5 | | OK |
LOC: | 17 | | OK |
--------------+---------+-------+---------+
metrics are OK
raster_to_g3d (Begins at: 96 Ends at: 167)
--------------+---------+-------+---------+
Complexity: | 12 | | OK |
ParamNBR: | 3 | | OK |
CalledNBR: | 26 | | OK |
LOC: | 72 | | OK |
--------------+---------+-------+---------+
metrics are OK
main (Begins at: 173 Ends at: 345)
--------------+---------+-------+---------+
Complexity: | 22 | * | |
ParamNBR: | 2 | | OK |
CalledNBR: | 55 | * | |
LOC: | 173 | * | |
--------------+---------+-------+---------+
metrics are OK
open_input_raster_map (Begins at: 352 Ends at: 367)
--------------+---------+-------+---------+
Complexity: | 2 | | OK |
ParamNBR: | 2 | | OK |
CalledNBR: | 4 | | OK |
LOC: | 16 | | OK |
--------------+---------+-------+---------+
metrics are OK
close_input_raster_map (Begins at: 372 Ends at: 376)
--------------+---------+-------+---------+
Complexity: | 2 | | OK |
ParamNBR: | 1 | | OK |
CalledNBR: | 3 | | OK |
LOC: | 5 | | OK |
--------------+---------+-------+---------+
metrics are OK
Clone analysis:
This file has 1 potentially cloned functions:
open_input_raster_map
In raster/r.to.rast3/main.c clones of open_input_raster_map are:
raster3d/r3.out.vtk/main.c open_input_map
__________________________________________
Threshold GRASS6 key metrics values at 2006-12-13 are:
---------------------------+-----------+---------+
median | upper | outlier |
| quartile | limit |
---------------------------+-----------+---------+
Complexity (Cyclo): 5 | 25 | 37 |
ParamNBR: 2 | 6 | 8 |
CalledNBR: 10 | 60 | 86 |
LOC: 42 | 190 | 265 |
---------------------------+-----------+---------+
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