[GRASS-QA] GRASS QA: glynn |draw_scale.c main.c main.c extract.c ...|
74 clones | 0 monsters |0 warnings
soccerlab.info at gmail.com
soccerlab.info at gmail.com
Fri Sep 5 11:02:47 EDT 2008
Hello glynn,
here's a report on your recent GRASS-SVN change :
ANALYSIS
your changes to files/class/methods/functions :
*****************************************************************
File :grass/trunk/display/d.barscale/draw_scale.c
*****************************************************************
Function
draw_scale(Begins at: 62, Ends at:248)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 19 | ** | BABY-MONSTER | 19 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 57 | *** | MONSTER | 57 |
LOC: | 187 | *** | MONSTER | 187 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a MONSTER |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file does not contain cloned functions
*****************************************************************
File :grass/trunk/display/d.colorlist/main.c
*****************************************************************
Function
main(Begins at: 24, Ends at:62)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 5 | | OK | 5 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 11 | * | WARNING | 11 |
LOC: | 39 | | OK | 39 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file does not contain cloned functions
*****************************************************************
File :grass/trunk/display/d.colortable/main.c
*****************************************************************
Function
main(Begins at: 30, Ends at:270)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 25 | *** | MONSTER | 25 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 70 | *** | MONSTER | 70 |
LOC: | 241 | *** | MONSTER | 241 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a MONSTER |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file does not contain cloned functions
*****************************************************************
File :grass/trunk/display/d.extract/extract.c
*****************************************************************
Function
display(Begins at: 127, Ends at:159)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 4 | | OK | 4 |
ParamNBR: | 3 | * | WARNING | 3 |
CalledNBR: | 12 | * | WARNING | 12 |
LOC: | 33 | | OK | 33 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
extract(Begins at: 22, Ends at:125)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 14 | ** | BABY-MONSTER | 14 |
ParamNBR: | 5 | * | WARNING | 5 |
CalledNBR: | 33 | ** | BABY-MONSTER | 33 |
LOC: | 104 | ** | BABY-MONSTER | 104 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a BABY-MONSTER |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file has 1 potentially cloned functions:
In /var/project-manager/grass/grassSVN/grass/trunk/display/d.extract/extract.c clones of extract are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/display/d.extract/extract.c extract
*****************************************************************
File :grass/trunk/display/d.geodesic/main.c
*****************************************************************
Function
main(Begins at: 29, Ends at:124)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 13 | ** | BABY-MONSTER | 13 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 42 | *** | MONSTER | 42 |
LOC: | 96 | ** | BABY-MONSTER | 96 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a MONSTER |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file does not contain cloned functions
*****************************************************************
File :grass/trunk/display/d.geodesic/plot.c
*****************************************************************
Function
cont(Begins at: 80, Ends at:101)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 5 | | OK | 5 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 1 | | OK | 1 |
LOC: | 22 | | OK | 22 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
geodesic(Begins at: 110, Ends at:119)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 1 | | OK | 1 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 3 | | OK | 3 |
LOC: | 10 | | OK | 10 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
get_text_x(Begins at: 121, Ends at:141)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 4 | | OK | 4 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 0 | | OK | 0 |
LOC: | 21 | | OK | 21 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
move(Begins at: 103, Ends at:108)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 1 | | OK | 1 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 1 | | OK | 1 |
LOC: | 6 | | OK | 6 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
plot(Begins at: 39, Ends at:78)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 6 | * | WARNING | 6 |
ParamNBR: | 6 | ** | BABY-MONSTER | 6 |
CalledNBR: | 22 | * | WARNING | 22 |
LOC: | 40 | | OK | 40 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a BABY-MONSTER |
-----------------------------------------------------------+
metrics are OK
setup_plot(Begins at: 18, Ends at:37)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 1 | | OK | 1 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 10 | * | WARNING | 10 |
LOC: | 20 | | OK | 20 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file has 6 potentially cloned functions:
cont cont geodesic get_text_x plot
In /var/project-manager/grass/grassSVN/grass/trunk/display/d.geodesic/plot.c clones of cont are:
/var/project-manager/grass/grassSVN/grass/trunk/display/d.rhumbline/plot.c cont
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/display/d.geodesic/plot.c cont
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/display/d.rhumbline/plot.c cont
In /var/project-manager/grass/grassSVN/grass/trunk/display/d.geodesic/plot.c clones of geodesic are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/display/d.geodesic/plot.c geodesic
In /var/project-manager/grass/grassSVN/grass/trunk/display/d.geodesic/plot.c clones of get_text_x are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/display/d.geodesic/plot.c get_text_x
In /var/project-manager/grass/grassSVN/grass/trunk/display/d.geodesic/plot.c clones of plot are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/display/d.geodesic/plot.c plot
*****************************************************************
File :grass/trunk/display/d.graph/do_graph.c
*****************************************************************
Function
check_alloc(Begins at: 254, Ends at:277)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 4 | | OK | 4 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 8 | | OK | 8 |
LOC: | 24 | | OK | 24 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
do_color(Begins at: 97, Ends at:127)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 5 | | OK | 5 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 11 | * | WARNING | 11 |
LOC: | 31 | | OK | 31 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
do_draw(Begins at: 49, Ends at:75)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 4 | | OK | 4 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 6 | | OK | 6 |
LOC: | 27 | | OK | 27 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
do_icon(Begins at: 279, Ends at:328)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 9 | * | WARNING | 9 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 18 | * | WARNING | 18 |
LOC: | 50 | * | WARNING | 50 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
do_linewidth(Begins at: 129, Ends at:142)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 2 | | OK | 2 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 5 | | OK | 5 |
LOC: | 14 | | OK | 14 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
do_move(Begins at: 77, Ends at:95)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 4 | | OK | 4 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 6 | | OK | 6 |
LOC: | 19 | | OK | 19 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
do_poly(Begins at: 145, Ends at:200)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 10 | * | WARNING | 10 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 11 | * | WARNING | 11 |
LOC: | 56 | * | WARNING | 56 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
do_rotate(Begins at: 228, Ends at:239)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 2 | | OK | 2 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 5 | | OK | 5 |
LOC: | 12 | | OK | 12 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
do_size(Begins at: 202, Ends at:226)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 4 | | OK | 4 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 3 | | OK | 3 |
LOC: | 25 | | OK | 25 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
do_symbol(Begins at: 330, Ends at:433)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 11 | * | WARNING | 11 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 41 | *** | MONSTER | 41 |
LOC: | 104 | ** | BABY-MONSTER | 104 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a MONSTER |
-----------------------------------------------------------+
metrics are OK
do_text(Begins at: 241, Ends at:252)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 3 | | OK | 3 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 1 | | OK | 1 |
LOC: | 12 | | OK | 12 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
set_graph_stuff(Begins at: 25, Ends at:37)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 3 | | OK | 3 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 0 | | OK | 0 |
LOC: | 13 | | OK | 13 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
set_last_color(Begins at: 436, Ends at:449)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 3 | | OK | 3 |
ParamNBR: | 4 | * | WARNING | 4 |
CalledNBR: | 0 | | OK | 0 |
LOC: | 14 | | OK | 14 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
set_text_size(Begins at: 39, Ends at:47)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 2 | | OK | 2 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 0 | | OK | 0 |
LOC: | 9 | | OK | 9 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file has 6 potentially cloned functions:
do_rotate do_size do_text set_graph_stuff set_last_color
In /var/project-manager/grass/grassSVN/grass/trunk/display/d.graph/do_graph.c clones of do_color are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/display/d.graph/do_graph.c do_color
In /var/project-manager/grass/grassSVN/grass/trunk/display/d.graph/do_graph.c clones of do_rotate are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/display/d.graph/do_graph.c do_rotate
In /var/project-manager/grass/grassSVN/grass/trunk/display/d.graph/do_graph.c clones of do_size are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/display/d.graph/do_graph.c do_size
In /var/project-manager/grass/grassSVN/grass/trunk/display/d.graph/do_graph.c clones of do_text are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/display/d.graph/do_graph.c do_text
In /var/project-manager/grass/grassSVN/grass/trunk/display/d.graph/do_graph.c clones of set_graph_stuff are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/display/d.graph/do_graph.c set_graph_stuff
In /var/project-manager/grass/grassSVN/grass/trunk/display/d.graph/do_graph.c clones of set_last_color are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/display/d.graph/do_graph.c set_last_color
*****************************************************************
File :grass/trunk/display/d.graph/main.c
*****************************************************************
Function
main(Begins at: 47, Ends at:139)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 9 | * | WARNING | 9 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 34 | ** | BABY-MONSTER | 34 |
LOC: | 93 | ** | BABY-MONSTER | 93 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a BABY-MONSTER |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file does not contain cloned functions
*****************************************************************
File :grass/trunk/display/d.grid/main.c
*****************************************************************
Function
main(Begins at: 33, Ends at:222)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 19 | ** | BABY-MONSTER | 19 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 75 | *** | MONSTER | 75 |
LOC: | 190 | *** | MONSTER | 190 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a MONSTER |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file does not contain cloned functions
*****************************************************************
File :grass/trunk/display/d.grid/plot.c
*****************************************************************
Function
check_coords(Begins at: 446, Ends at:510)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 13 | * | WARNING | 13 |
ParamNBR: | 8 | | OK | 8 |
CalledNBR: | 15 | | OK | 15 |
LOC: | 65 | | OK | 65 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
get_heading(Begins at: 516, Ends at:551)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 9 | ** | BABY-MONSTER | 9 |
ParamNBR: | 2 | ** | BABY-MONSTER | 2 |
CalledNBR: | 4 | * | WARNING | 4 |
LOC: | 36 | * | WARNING | 36 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a BABY-MONSTER |
-----------------------------------------------------------+
metrics are OK
get_ll_bounds(Begins at: 338, Ends at:440)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 17 | ** | BABY-MONSTER | 17 |
ParamNBR: | 7 | ** | BABY-MONSTER | 7 |
CalledNBR: | 12 | * | WARNING | 12 |
LOC: | 103 | ** | BABY-MONSTER | 103 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a BABY-MONSTER |
-----------------------------------------------------------+
metrics are OK
init_proj(Begins at: 279, Ends at:333)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 6 | * | WARNING | 6 |
ParamNBR: | 3 | * | WARNING | 3 |
CalledNBR: | 25 | ** | BABY-MONSTER | 25 |
LOC: | 55 | * | WARNING | 55 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a BABY-MONSTER |
-----------------------------------------------------------+
metrics are OK
plot_geogrid(Begins at: 137, Ends at:274)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 15 | ** | BABY-MONSTER | 15 |
ParamNBR: | 8 | ** | BABY-MONSTER | 8 |
CalledNBR: | 48 | *** | MONSTER | 48 |
LOC: | 138 | ** | BABY-MONSTER | 138 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a MONSTER |
-----------------------------------------------------------+
metrics are OK
plot_grid(Begins at: 13, Ends at:134)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 16 | ** | BABY-MONSTER | 16 |
ParamNBR: | 8 | ** | BABY-MONSTER | 8 |
CalledNBR: | 41 | *** | MONSTER | 41 |
LOC: | 122 | ** | BABY-MONSTER | 122 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a MONSTER |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file does not contain cloned functions
*****************************************************************
File :grass/trunk/display/d.histogram/bar.c
*****************************************************************
Function
bar(Begins at: 34, Ends at:436)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 49 | *** | MONSTER | 49 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 73 | *** | MONSTER | 73 |
LOC: | 403 | *** | MONSTER | 403 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a MONSTER |
-----------------------------------------------------------+
metrics are OK
rem(Begins at: 439, Ends at:444)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 1 | | OK | 1 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 0 | | OK | 0 |
LOC: | 6 | | OK | 6 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file does not contain cloned functions
*****************************************************************
File :grass/trunk/display/d.histogram/draw_slice.c
*****************************************************************
Function
draw_slice(Begins at: 8, Ends at:86)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 8 | * | WARNING | 8 |
ParamNBR: | 10 | *** | MONSTER | 10 |
CalledNBR: | 18 | * | WARNING | 18 |
LOC: | 79 | * | WARNING | 79 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a MONSTER |
-----------------------------------------------------------+
metrics are OK
draw_slice_filled(Begins at: 100, Ends at:111)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 1 | | OK | 1 |
ParamNBR: | 8 | ** | BABY-MONSTER | 8 |
CalledNBR: | 1 | | OK | 1 |
LOC: | 12 | | OK | 12 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a BABY-MONSTER |
-----------------------------------------------------------+
metrics are OK
draw_slice_unfilled(Begins at: 88, Ends at:97)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 1 | | OK | 1 |
ParamNBR: | 7 | ** | BABY-MONSTER | 7 |
CalledNBR: | 1 | | OK | 1 |
LOC: | 10 | | OK | 10 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a BABY-MONSTER |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file has 2 potentially cloned functions:
draw_slice_unfilled
In /var/project-manager/grass/grassSVN/grass/trunk/display/d.histogram/draw_slice.c clones of draw_slice_filled are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/display/d.histogram/draw_slice.c draw_slice_filled
In /var/project-manager/grass/grassSVN/grass/trunk/display/d.histogram/draw_slice.c clones of draw_slice_unfilled are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/display/d.histogram/draw_slice.c draw_slice_unfilled
*****************************************************************
File :grass/trunk/display/d.histogram/main.c
*****************************************************************
Function
main(Begins at: 59, Ends at:229)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 13 | ** | BABY-MONSTER | 13 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 64 | *** | MONSTER | 64 |
LOC: | 171 | *** | MONSTER | 171 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a MONSTER |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file does not contain cloned functions
*****************************************************************
File :grass/trunk/display/d.histogram/pie.c
*****************************************************************
Function
pie(Begins at: 42, Ends at:413)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 34 | *** | MONSTER | 34 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 63 | *** | MONSTER | 63 |
LOC: | 372 | *** | MONSTER | 372 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a MONSTER |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file has 1 potentially cloned functions:
In /var/project-manager/grass/grassSVN/grass/trunk/display/d.histogram/pie.c clones of pie are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/display/d.histogram/pie.c pie
*****************************************************************
File :grass/trunk/display/d.labels/color.c
*****************************************************************
Function
RGBA_has_color(Begins at: 78, Ends at:84)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 2 | | OK | 2 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 0 | | OK | 0 |
LOC: | 7 | | OK | 7 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
set_color_from_RGBA(Begins at: 88, Ends at:98)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 2 | | OK | 2 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 4 | | OK | 4 |
LOC: | 11 | | OK | 11 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
set_RGBA_from_components(Begins at: 23, Ends at:32)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 1 | | OK | 1 |
ParamNBR: | 4 | * | WARNING | 4 |
CalledNBR: | 0 | | OK | 0 |
LOC: | 10 | | OK | 10 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
set_RGBA_from_str(Begins at: 50, Ends at:69)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 3 | | OK | 3 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 3 | | OK | 3 |
LOC: | 20 | | OK | 20 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
unset_RGBA(Begins at: 72, Ends at:75)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 1 | | OK | 1 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 0 | | OK | 0 |
LOC: | 4 | | OK | 4 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file has 6 potentially cloned functions:
set_color_from_RGBA set_RGBA_from_components set_RGBA_from_components set_RGBA_from_str set_RGBA_from_str
In /var/project-manager/grass/grassSVN/grass/trunk/display/d.labels/color.c clones of set_color_from_RGBA are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/display/d.paint.labels/color.c set_color_from_RGBA
/var/project-manager/grass/grassSVN/grass/trunk/display/d.paint.labels/color.c set_color_from_RGBA
In /var/project-manager/grass/grassSVN/grass/trunk/display/d.labels/color.c clones of set_RGBA_from_components are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/display/d.paint.labels/color.c set_RGBA_from_components
/var/project-manager/grass/grassSVN/grass/trunk/display/d.paint.labels/color.c set_RGBA_from_components
In /var/project-manager/grass/grassSVN/grass/trunk/display/d.labels/color.c clones of set_RGBA_from_str are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/display/d.paint.labels/color.c set_RGBA_from_str
/var/project-manager/grass/grassSVN/grass/trunk/display/d.paint.labels/color.c set_RGBA_from_str
*****************************************************************
File :grass/trunk/display/d.labels/do_labels.c
*****************************************************************
Function
do_labels(Begins at: 70, Ends at:147)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 25 | *** | MONSTER | 25 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 47 | *** | MONSTER | 47 |
LOC: | 78 | * | WARNING | 78 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a MONSTER |
-----------------------------------------------------------+
metrics are OK
initialize_options(Begins at: 43, Ends at:67)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 2 | | OK | 2 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 6 | | OK | 6 |
LOC: | 25 | | OK | 25 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
scan_ref(Begins at: 447, Ends at:468)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 9 | * | WARNING | 9 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 5 | | OK | 5 |
LOC: | 22 | | OK | 22 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
show_it(Begins at: 149, Ends at:443)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 42 | *** | MONSTER | 42 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 63 | *** | MONSTER | 63 |
LOC: | 295 | *** | MONSTER | 295 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a MONSTER |
-----------------------------------------------------------+
metrics are OK
xmatch(Begins at: 470, Ends at:487)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 6 | * | WARNING | 6 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 4 | | OK | 4 |
LOC: | 18 | | OK | 18 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
ymatch(Begins at: 489, Ends at:510)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 8 | * | WARNING | 8 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 6 | | OK | 6 |
LOC: | 22 | | OK | 22 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file has 16 potentially cloned functions:
do_labels initialize_options initialize_options initialize_options scan_ref scan_ref scan_ref show_it show_it xmatch xmatch xmatch ymatch ymatch ymatch
In /var/project-manager/grass/grassSVN/grass/trunk/display/d.labels/do_labels.c clones of do_labels are:
/var/project-manager/grass/grassSVN/grass/trunk/display/d.paint.labels/do_labels.c do_labels
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/display/d.paint.labels/do_labels.c do_labels
In /var/project-manager/grass/grassSVN/grass/trunk/display/d.labels/do_labels.c clones of initialize_options are:
/var/project-manager/grass/grassSVN/grass/trunk/display/d.paint.labels/do_labels.c initialize_options
/tmp/grassSVN/grass/trunk/display/d.labels/do_labels.c initialize_options
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/display/d.paint.labels/do_labels.c initialize_options
In /var/project-manager/grass/grassSVN/grass/trunk/display/d.labels/do_labels.c clones of scan_ref are:
/var/project-manager/grass/grassSVN/grass/trunk/display/d.paint.labels/do_labels.c scan_ref
/tmp/grassSVN/grass/trunk/display/d.labels/do_labels.c scan_ref
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/display/d.paint.labels/do_labels.c scan_ref
In /var/project-manager/grass/grassSVN/grass/trunk/display/d.labels/do_labels.c clones of show_it are:
/var/project-manager/grass/grassSVN/grass/trunk/display/d.paint.labels/do_labels.c show_it
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/display/d.paint.labels/do_labels.c show_it
In /var/project-manager/grass/grassSVN/grass/trunk/display/d.labels/do_labels.c clones of xmatch are:
/var/project-manager/grass/grassSVN/grass/trunk/display/d.paint.labels/do_labels.c xmatch
/tmp/grassSVN/grass/trunk/display/d.labels/do_labels.c xmatch
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/display/d.paint.labels/do_labels.c xmatch
In /var/project-manager/grass/grassSVN/grass/trunk/display/d.labels/do_labels.c clones of ymatch are:
/var/project-manager/grass/grassSVN/grass/trunk/display/d.paint.labels/do_labels.c ymatch
/tmp/grassSVN/grass/trunk/display/d.labels/do_labels.c ymatch
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/display/d.paint.labels/do_labels.c ymatch
*****************************************************************
File :grass/trunk/display/d.legend/main.c
*****************************************************************
Function
main(Begins at: 38, Ends at:885)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 130 | *** | MONSTER | 130 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 211 | *** | MONSTER | 211 |
LOC: | 848 | *** | MONSTER | 848 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a MONSTER |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file does not contain cloned functions
*****************************************************************
File :grass/trunk/display/d.linegraph/main.c
*****************************************************************
The system don't find class, method and function
in this file during analysis!
*****************************************************************
File :grass/trunk/display/d.measure/draw_line.c
*****************************************************************
Function
draw_line(Begins at: 5, Ends at:25)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 2 | | OK | 2 |
ParamNBR: | 6 | ** | BABY-MONSTER | 6 |
CalledNBR: | 11 | * | WARNING | 11 |
LOC: | 21 | | OK | 21 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a BABY-MONSTER |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file has 1 potentially cloned functions:
In /var/project-manager/grass/grassSVN/grass/trunk/display/d.measure/draw_line.c clones of draw_line are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/display/d.measure/draw_line.c draw_line
*****************************************************************
File :grass/trunk/display/d.measure/main.c
*****************************************************************
Function
main(Begins at: 30, Ends at:98)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 3 | | OK | 3 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 26 | ** | BABY-MONSTER | 26 |
LOC: | 69 | * | WARNING | 69 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a BABY-MONSTER |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file does not contain cloned functions
*****************************************************************
File :grass/trunk/display/d.measure/msurements.c
*****************************************************************
Function
add_point(Begins at: 167, Ends at:185)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 2 | | OK | 2 |
ParamNBR: | 6 | ** | BABY-MONSTER | 6 |
CalledNBR: | 4 | | OK | 4 |
LOC: | 19 | | OK | 19 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a BABY-MONSTER |
-----------------------------------------------------------+
metrics are OK
measurements(Begins at: 9, Ends at:132)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 14 | | OK | 14 |
ParamNBR: | 5 | * | WARNING | 5 |
CalledNBR: | 47 | | OK | 47 |
LOC: | 124 | | OK | 124 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
print_en(Begins at: 134, Ends at:150)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 2 | | OK | 2 |
ParamNBR: | 3 | * | WARNING | 3 |
CalledNBR: | 6 | | OK | 6 |
LOC: | 17 | | OK | 17 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
print_length(Begins at: 152, Ends at:165)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 3 | ** | BABY-MONSTER | 3 |
ParamNBR: | 3 | * | WARNING | 3 |
CalledNBR: | 2 | *** | MONSTER | 2 |
LOC: | 14 | ** | BABY-MONSTER | 14 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a MONSTER |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file has 4 potentially cloned functions:
measurements print_en print_length
In /var/project-manager/grass/grassSVN/grass/trunk/display/d.measure/msurements.c clones of add_point are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/display/d.measure/msurements.c add_point
In /var/project-manager/grass/grassSVN/grass/trunk/display/d.measure/msurements.c clones of measurements are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/display/d.measure/msurements.c measurements
In /var/project-manager/grass/grassSVN/grass/trunk/display/d.measure/msurements.c clones of print_en are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/display/d.measure/msurements.c print_en
In /var/project-manager/grass/grassSVN/grass/trunk/display/d.measure/msurements.c clones of print_length are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/display/d.measure/msurements.c print_length
*****************************************************************
File :grass/trunk/display/d.path/select.c
*****************************************************************
Function
coor_path(Begins at: 50, Ends at:139)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 6 | * | WARNING | 6 |
ParamNBR: | 7 | ** | BABY-MONSTER | 7 |
CalledNBR: | 26 | ** | BABY-MONSTER | 26 |
LOC: | 90 | * | WARNING | 90 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a BABY-MONSTER |
-----------------------------------------------------------+
metrics are OK
display(Begins at: 15, Ends at:44)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 6 | * | WARNING | 6 |
ParamNBR: | 6 | ** | BABY-MONSTER | 6 |
CalledNBR: | 5 | | OK | 5 |
LOC: | 30 | | OK | 30 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a BABY-MONSTER |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file does not contain cloned functions
*****************************************************************
File :grass/trunk/display/d.profile/bnw_line.c
*****************************************************************
Function
black_and_white_line(Begins at: 5, Ends at:24)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 2 | | OK | 2 |
ParamNBR: | 4 | * | WARNING | 4 |
CalledNBR: | 13 | * | WARNING | 13 |
LOC: | 20 | | OK | 20 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file has 1 potentially cloned functions:
In /var/project-manager/grass/grassSVN/grass/trunk/display/d.profile/bnw_line.c clones of black_and_white_line are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/display/d.profile/bnw_line.c black_and_white_line
*****************************************************************
File :grass/trunk/display/d.profile/main.c
*****************************************************************
Function
main(Begins at: 51, Ends at:425)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 36 | *** | MONSTER | 36 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 176 | *** | MONSTER | 176 |
LOC: | 375 | *** | MONSTER | 375 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a MONSTER |
-----------------------------------------------------------+
metrics are OK
myDcell(Begins at: 427, Ends at:467)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 6 | * | WARNING | 6 |
ParamNBR: | 3 | * | WARNING | 3 |
CalledNBR: | 20 | * | WARNING | 20 |
LOC: | 41 | | OK | 41 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file has 2 potentially cloned functions:
myDcell
In /var/project-manager/grass/grassSVN/grass/trunk/display/d.profile/main.c clones of main are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/display/d.profile/main.c main
In /var/project-manager/grass/grassSVN/grass/trunk/display/d.profile/main.c clones of myDcell are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/display/d.profile/main.c myDcell
*****************************************************************
File :grass/trunk/display/d.profile/PlotProfile.c
*****************************************************************
Function
PlotProfile(Begins at: 44, Ends at:140)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 5 | | OK | 5 |
ParamNBR: | 4 | * | WARNING | 4 |
CalledNBR: | 28 | ** | BABY-MONSTER | 28 |
LOC: | 97 | ** | BABY-MONSTER | 97 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a BABY-MONSTER |
-----------------------------------------------------------+
metrics are OK
_get_cat(Begins at: 143, Ends at:164)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 9 | * | WARNING | 9 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 0 | | OK | 0 |
LOC: | 22 | | OK | 22 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file has 2 potentially cloned functions:
_get_cat
In /var/project-manager/grass/grassSVN/grass/trunk/display/d.profile/PlotProfile.c clones of PlotProfile are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/display/d.profile/PlotProfile.c PlotProfile
In /var/project-manager/grass/grassSVN/grass/trunk/display/d.profile/PlotProfile.c clones of _get_cat are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/display/d.profile/PlotProfile.c _get_cat
*****************************************************************
File :grass/trunk/display/d.profile/What.c
*****************************************************************
Function
What(Begins at: 8, Ends at:52)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 5 | | OK | 5 |
ParamNBR: | 5 | * | WARNING | 5 |
CalledNBR: | 28 | ** | BABY-MONSTER | 28 |
LOC: | 45 | * | WARNING | 45 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a BABY-MONSTER |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file has 1 potentially cloned functions:
In /var/project-manager/grass/grassSVN/grass/trunk/display/d.profile/What.c clones of What are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/display/d.profile/What.c What
*****************************************************************
File :grass/trunk/display/d.rast.arrow/main.c
*****************************************************************
The system don't find class, method and function
in this file during analysis!
*****************************************************************
File :grass/trunk/display/d.rast.num/main.c
*****************************************************************
The system don't find class, method and function
in this file during analysis!
*****************************************************************
File :grass/trunk/display/d.rhumbline/main.c
*****************************************************************
Function
main(Begins at: 30, Ends at:127)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 13 | ** | BABY-MONSTER | 13 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 41 | *** | MONSTER | 41 |
LOC: | 98 | ** | BABY-MONSTER | 98 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a MONSTER |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file does not contain cloned functions
*****************************************************************
File :grass/trunk/display/d.rhumbline/plot.c
*****************************************************************
Function
cont(Begins at: 57, Ends at:78)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 5 | | OK | 5 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 1 | | OK | 1 |
LOC: | 22 | | OK | 22 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
move(Begins at: 80, Ends at:85)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 1 | | OK | 1 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 1 | | OK | 1 |
LOC: | 6 | | OK | 6 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
plot(Begins at: 34, Ends at:55)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 2 | | OK | 2 |
ParamNBR: | 6 | ** | BABY-MONSTER | 6 |
CalledNBR: | 7 | | OK | 7 |
LOC: | 22 | | OK | 22 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a BABY-MONSTER |
-----------------------------------------------------------+
metrics are OK
setup_plot(Begins at: 16, Ends at:32)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 1 | | OK | 1 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 8 | | OK | 8 |
LOC: | 17 | | OK | 17 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file has 4 potentially cloned functions:
cont cont plot
In /var/project-manager/grass/grassSVN/grass/trunk/display/d.rhumbline/plot.c clones of cont are:
/var/project-manager/grass/grassSVN/grass/trunk/display/d.geodesic/plot.c cont
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/display/d.geodesic/plot.c cont
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/display/d.rhumbline/plot.c cont
In /var/project-manager/grass/grassSVN/grass/trunk/display/d.rhumbline/plot.c clones of plot are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/display/d.rhumbline/plot.c plot
*****************************************************************
File :grass/trunk/display/d.text/main.c
*****************************************************************
Function
main(Begins at: 40, Ends at:267)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 33 | *** | MONSTER | 33 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 84 | *** | MONSTER | 84 |
LOC: | 228 | *** | MONSTER | 228 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a MONSTER |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file has 1 potentially cloned functions:
In /var/project-manager/grass/grassSVN/grass/trunk/display/d.text/main.c clones of main are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/display/d.text/main.c main
*****************************************************************
File :grass/trunk/display/d.thematic.area/area.c
*****************************************************************
Function
dareatheme(Begins at: 16, Ends at:182)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 24 | *** | MONSTER | 24 |
ParamNBR: | 10 | *** | MONSTER | 10 |
CalledNBR: | 43 | *** | MONSTER | 43 |
LOC: | 167 | *** | MONSTER | 167 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a MONSTER |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file does not contain cloned functions
*****************************************************************
File :grass/trunk/display/d.thematic.area/main.c
*****************************************************************
Function
main(Begins at: 33, Ends at:536)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 51 | *** | MONSTER | 51 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 164 | *** | MONSTER | 164 |
LOC: | 504 | *** | MONSTER | 504 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a MONSTER |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file does not contain cloned functions
*****************************************************************
File :grass/trunk/display/d.thematic.area/plot1.c
*****************************************************************
Function
plot1(Begins at: 80, Ends at:460)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 58 | *** | MONSTER | 58 |
ParamNBR: | 16 | *** | MONSTER | 16 |
CalledNBR: | 88 | *** | MONSTER | 88 |
LOC: | 381 | *** | MONSTER | 381 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a MONSTER |
-----------------------------------------------------------+
metrics are OK
plot_polygon(Begins at: 62, Ends at:75)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 5 | | OK | 5 |
ParamNBR: | 3 | * | WARNING | 3 |
CalledNBR: | 3 | | OK | 3 |
LOC: | 14 | | OK | 14 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
plot_polyline(Begins at: 44, Ends at:57)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 5 | | OK | 5 |
ParamNBR: | 3 | * | WARNING | 3 |
CalledNBR: | 3 | | OK | 3 |
LOC: | 14 | | OK | 14 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file has 6 potentially cloned functions:
plot_polyline plot_polyline plot_polyline plot_polygon plot_polygon
In /var/project-manager/grass/grassSVN/grass/trunk/display/d.thematic.area/plot1.c clones of plot_polygon are:
/var/project-manager/grass/grassSVN/grass/trunk/display/d.vect/plot1.c plot_polygon
/var/project-manager/grass/grassSVN/grass/trunk/display/d.thematic.area/plot1.c plot_polyline
/var/project-manager/grass/grassSVN/grass/trunk/display/d.vect/plot1.c plot_polyline
In /var/project-manager/grass/grassSVN/grass/trunk/display/d.thematic.area/plot1.c clones of plot_polyline are:
/var/project-manager/grass/grassSVN/grass/trunk/display/d.vect/plot1.c plot_polyline
/var/project-manager/grass/grassSVN/grass/trunk/display/d.thematic.area/plot1.c plot_polygon
/var/project-manager/grass/grassSVN/grass/trunk/display/d.vect/plot1.c plot_polygon
*****************************************************************
File :grass/trunk/display/d.title/main.c
*****************************************************************
Function
main(Begins at: 34, Ends at:146)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 12 | * | WARNING | 12 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 48 | *** | MONSTER | 48 |
LOC: | 113 | ** | BABY-MONSTER | 113 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a MONSTER |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file has 1 potentially cloned functions:
In /var/project-manager/grass/grassSVN/grass/trunk/display/d.title/main.c clones of main are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/display/d.title/main.c main
*****************************************************************
File :grass/trunk/display/d.vect/area.c
*****************************************************************
Function
darea(Begins at: 16, Ends at:405)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 56 | *** | MONSTER | 56 |
ParamNBR: | 15 | *** | MONSTER | 15 |
CalledNBR: | 100 | *** | MONSTER | 100 |
LOC: | 390 | *** | MONSTER | 390 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a MONSTER |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file does not contain cloned functions
*****************************************************************
File :grass/trunk/display/d.vect/attr.c
*****************************************************************
Function
attr(Begins at: 10, Ends at:213)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 35 | *** | MONSTER | 35 |
ParamNBR: | 6 | ** | BABY-MONSTER | 6 |
CalledNBR: | 63 | *** | MONSTER | 63 |
LOC: | 204 | *** | MONSTER | 204 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a MONSTER |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file does not contain cloned functions
*****************************************************************
File :grass/trunk/display/d.vect/label.c
*****************************************************************
Function
label(Begins at: 8, Ends at:154)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 29 | *** | MONSTER | 29 |
ParamNBR: | 6 | ** | BABY-MONSTER | 6 |
CalledNBR: | 32 | ** | BABY-MONSTER | 32 |
LOC: | 147 | *** | MONSTER | 147 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a MONSTER |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file does not contain cloned functions
*****************************************************************
File :grass/trunk/display/d.vect/main.c
*****************************************************************
Function
icon_files(Begins at: 32, Ends at:76)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 8 | * | WARNING | 8 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 14 | * | WARNING | 14 |
LOC: | 45 | * | WARNING | 45 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
main(Begins at: 78, Ends at:720)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 80 | *** | MONSTER | 80 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 202 | *** | MONSTER | 202 |
LOC: | 643 | *** | MONSTER | 643 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a MONSTER |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file does not contain cloned functions
*****************************************************************
File :grass/trunk/display/d.vect/plot1.c
*****************************************************************
Function
plot1(Begins at: 80, Ends at:479)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 60 | *** | MONSTER | 60 |
ParamNBR: | 18 | *** | MONSTER | 18 |
CalledNBR: | 95 | *** | MONSTER | 95 |
LOC: | 400 | *** | MONSTER | 400 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a MONSTER |
-----------------------------------------------------------+
metrics are OK
plot_polygon(Begins at: 62, Ends at:75)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 5 | | OK | 5 |
ParamNBR: | 3 | * | WARNING | 3 |
CalledNBR: | 3 | | OK | 3 |
LOC: | 14 | | OK | 14 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
plot_polyline(Begins at: 44, Ends at:57)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 5 | | OK | 5 |
ParamNBR: | 3 | * | WARNING | 3 |
CalledNBR: | 3 | | OK | 3 |
LOC: | 14 | | OK | 14 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file has 6 potentially cloned functions:
plot_polyline plot_polyline plot_polyline plot_polygon plot_polygon
In /var/project-manager/grass/grassSVN/grass/trunk/display/d.vect/plot1.c clones of plot_polygon are:
/var/project-manager/grass/grassSVN/grass/trunk/display/d.thematic.area/plot1.c plot_polygon
/var/project-manager/grass/grassSVN/grass/trunk/display/d.thematic.area/plot1.c plot_polyline
/var/project-manager/grass/grassSVN/grass/trunk/display/d.vect/plot1.c plot_polyline
In /var/project-manager/grass/grassSVN/grass/trunk/display/d.vect/plot1.c clones of plot_polyline are:
/var/project-manager/grass/grassSVN/grass/trunk/display/d.thematic.area/plot1.c plot_polyline
/var/project-manager/grass/grassSVN/grass/trunk/display/d.thematic.area/plot1.c plot_polygon
/var/project-manager/grass/grassSVN/grass/trunk/display/d.vect/plot1.c plot_polygon
*****************************************************************
File :grass/trunk/display/d.vect/topo.c
*****************************************************************
Function
topo(Begins at: 8, Ends at:186)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 25 | *** | MONSTER | 25 |
ParamNBR: | 4 | * | WARNING | 4 |
CalledNBR: | 51 | *** | MONSTER | 51 |
LOC: | 179 | *** | MONSTER | 179 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a MONSTER |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file does not contain cloned functions
*****************************************************************
File :grass/trunk/display/d.vect/utils.c
*****************************************************************
The system don't find class, method and function
in this file during analysis!
*****************************************************************
File :grass/trunk/display/d.vect/zcoor.c
*****************************************************************
Function
zcoor(Begins at: 9, Ends at:98)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 12 | * | WARNING | 12 |
ParamNBR: | 3 | * | WARNING | 3 |
CalledNBR: | 27 | ** | BABY-MONSTER | 27 |
LOC: | 90 | * | WARNING | 90 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a BABY-MONSTER |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file does not contain cloned functions
*****************************************************************
File :grass/trunk/display/d.vect.chart/bar.c
*****************************************************************
Function
bar(Begins at: 9, Ends at:96)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 10 | * | WARNING | 10 |
ParamNBR: | 10 | *** | MONSTER | 10 |
CalledNBR: | 19 | * | WARNING | 19 |
LOC: | 88 | * | WARNING | 88 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a MONSTER |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file does not contain cloned functions
*****************************************************************
File :grass/trunk/display/d.vect.chart/pie.c
*****************************************************************
Function
pie(Begins at: 11, Ends at:69)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 9 | * | WARNING | 9 |
ParamNBR: | 7 | ** | BABY-MONSTER | 7 |
CalledNBR: | 17 | * | WARNING | 17 |
LOC: | 59 | * | WARNING | 59 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a BABY-MONSTER |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file does not contain cloned functions
*****************************************************************
File :grass/trunk/include/display.h
*****************************************************************
The system don't find class, method and function
in this file during analysis!
*****************************************************************
File :grass/trunk/lib/display/color_list.c
*****************************************************************
Function
D_color_list(Begins at: 3, Ends at:6)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 1 | | OK | 1 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 0 | | OK | 0 |
LOC: | 4 | | OK | 4 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file does not contain cloned functions
*****************************************************************
File :grass/trunk/lib/display/tran_colr.c
*****************************************************************
Function
D_color_number_to_RGB(Begins at: 183, Ends at:215)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 10 | * | WARNING | 10 |
ParamNBR: | 4 | * | WARNING | 4 |
CalledNBR: | 2 | | OK | 2 |
LOC: | 33 | | OK | 33 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
D_parse_color(Begins at: 123, Ends at:133)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 3 | | OK | 3 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 5 | | OK | 5 |
LOC: | 11 | | OK | 11 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
D_raster_use_color(Begins at: 146, Ends at:164)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 4 | | OK | 4 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 3 | | OK | 3 |
LOC: | 19 | | OK | 19 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
D_translate_color(Begins at: 27, Ends at:40)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 3 | | OK | 3 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 3 | | OK | 3 |
LOC: | 14 | | OK | 14 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
translate_or_add_color(Begins at: 58, Ends at:107)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 9 | * | WARNING | 9 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 11 | * | WARNING | 11 |
LOC: | 50 | * | WARNING | 50 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file has 5 potentially cloned functions:
D_parse_color D_raster_use_color D_translate_color translate_or_add_color
In /var/project-manager/grass/grassSVN/grass/trunk/lib/display/tran_colr.c clones of D_color_number_to_RGB are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/lib/display/tran_colr.c D_color_number_to_RGB
In /var/project-manager/grass/grassSVN/grass/trunk/lib/display/tran_colr.c clones of D_parse_color are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/lib/display/tran_colr.c D_parse_color
In /var/project-manager/grass/grassSVN/grass/trunk/lib/display/tran_colr.c clones of D_raster_use_color are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/lib/display/tran_colr.c D_raster_use_color
In /var/project-manager/grass/grassSVN/grass/trunk/lib/display/tran_colr.c clones of D_translate_color are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/lib/display/tran_colr.c D_translate_color
In /var/project-manager/grass/grassSVN/grass/trunk/lib/display/tran_colr.c clones of translate_or_add_color are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/lib/display/tran_colr.c translate_or_add_color
*****************************************************************
File :grass/trunk/lib/display/window.c
*****************************************************************
Function
D_check_map_window(Begins at: 192, Ends at:201)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 2 | | OK | 2 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 0 | | OK | 0 |
LOC: | 10 | | OK | 10 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
D_erase(Begins at: 255, Ends at:272)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 1 | | OK | 1 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 6 | | OK | 6 |
LOC: | 18 | | OK | 18 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
D_erase_window(Begins at: 246, Ends at:253)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 1 | | OK | 1 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 3 | | OK | 3 |
LOC: | 8 | | OK | 8 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
D_full_screen(Begins at: 280, Ends at:288)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 1 | | OK | 1 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 5 | | OK | 5 |
LOC: | 9 | | OK | 9 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
D_get_screen_window(Begins at: 65, Ends at:82)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 2 | | OK | 2 |
ParamNBR: | 4 | * | WARNING | 4 |
CalledNBR: | 4 | | OK | 4 |
LOC: | 18 | | OK | 18 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
D_new_window(Begins at: 101, Ends at:106)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 1 | | OK | 1 |
ParamNBR: | 5 | * | WARNING | 5 |
CalledNBR: | 1 | | OK | 1 |
LOC: | 6 | | OK | 6 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
D_new_window_percent(Begins at: 125, Ends at:147)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 5 | | OK | 5 |
ParamNBR: | 5 | * | WARNING | 5 |
CalledNBR: | 5 | | OK | 5 |
LOC: | 23 | | OK | 23 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
D_remove_window(Begins at: 231, Ends at:235)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 1 | | OK | 1 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 0 | | OK | 0 |
LOC: | 5 | | OK | 5 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
D_remove_windows(Begins at: 274, Ends at:278)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 1 | | OK | 1 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 0 | | OK | 0 |
LOC: | 5 | | OK | 5 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
D_reset_screen_window(Begins at: 217, Ends at:220)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 1 | | OK | 1 |
ParamNBR: | 4 | * | WARNING | 4 |
CalledNBR: | 1 | | OK | 1 |
LOC: | 4 | | OK | 4 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
D_set_window(Begins at: 43, Ends at:50)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 1 | | OK | 1 |
ParamNBR: | 4 | * | WARNING | 4 |
CalledNBR: | 0 | | OK | 0 |
LOC: | 8 | | OK | 8 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
D_show_window(Begins at: 163, Ends at:175)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 1 | | OK | 1 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 7 | | OK | 7 |
LOC: | 13 | | OK | 13 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file has 2 potentially cloned functions:
D_new_window_percent
In /var/project-manager/grass/grassSVN/grass/trunk/lib/display/window.c clones of D_erase are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/lib/display/window.c D_erase
In /var/project-manager/grass/grassSVN/grass/trunk/lib/display/window.c clones of D_new_window_percent are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/lib/display/window.c D_new_window_percent
____________________________________________
Threshold GRASS6 key metrics values at Fri Sep 05 11:08:07 EDT 2008 are:
----------------------+-----------+-----------+-----------+
| warning | middle | extrem |
| limits | limits | limits |
----------------------+-----------+-----------+-----------+
Complexity (Cyclo): | 6 | 13 | 21 |
ParamNBR: | 3 | 6 | 9 |
CalledNBR: | 10 | 23 | 37 |
LOC: | 42 | 91 | 141 |
----------------------+-----------+-----------+-----------+
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
-Global analysis: based on 21 metrics(the fourth preceding include)
Message interpretation :
OK : Nothing to say at all
* : this is getting close to be out of range, consider revising the code
** : this is a baby monster, you should revise this function
***: this is a monster, definitely you should revise this function
Conclusion interpretation :
CORRECT : if all metrics are situated before warning limits
WARNING : if 1 to more metrics are between warning and middle limits
BABY_MONSTER: if 1 to more metrics are between middle and extreme limits
MONSTERS : if 1 to more metrics are in the extreme limits
_______________________________________________
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