[GRASS-QA] GRASS QA: glynn |main.c main.c global.h main.c ...| 204
clones | 0 monsters |0 warnings
soccerlab.info at gmail.com
soccerlab.info at gmail.com
Fri Sep 5 12:42:59 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/raster/r.patch/main.c
*****************************************************************
Function
main(Begins at: 24, Ends at:176)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 20 | ** | BABY-MONSTER | 21 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 57 | *** | MONSTER | 61 |
LOC: | 153 | *** | MONSTER | 160 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a MONSTER |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file does not contain cloned functions
*****************************************************************
File :grass/trunk/raster/r.profile/main.c
*****************************************************************
Function
do_profile(Begins at: 226, Ends at:332)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 23 | *** | MONSTER | 23 |
ParamNBR: | 11 | *** | MONSTER | 11 |
CalledNBR: | 31 | ** | BABY-MONSTER | 31 |
LOC: | 107 | ** | BABY-MONSTER | 107 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a MONSTER |
-----------------------------------------------------------+
metrics are OK
main(Begins at: 22, Ends at:222)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 20 | ** | BABY-MONSTER | 21 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 72 | *** | MONSTER | 75 |
LOC: | 201 | *** | MONSTER | 203 |
--------------+---------+-------+--------------+-----------+
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/raster/r.profile/main.c clones of do_profile are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.profile/main.c do_profile
*****************************************************************
File :grass/trunk/raster/r.quant/global.h
*****************************************************************
The system don't find class, method and function
in this file during analysis!
*****************************************************************
File :grass/trunk/raster/r.quant/main.c
*****************************************************************
Function
main(Begins at: 31, Ends at:188)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 28 | *** | MONSTER | 29 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 68 | *** | MONSTER | 70 |
LOC: | 158 | *** | MONSTER | 162 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a MONSTER |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file does not contain cloned functions
*****************************************************************
File :grass/trunk/raster/r.quant/read_rules.c
*****************************************************************
Function
read_range(Begins at: 9, Ends at:42)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 8 | * | WARNING | 8 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 14 | * | WARNING | 12 |
LOC: | 34 | | OK | 34 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
read_rules(Begins at: 66, Ends at:166)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 23 | *** | MONSTER | 23 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 35 | ** | BABY-MONSTER | 35 |
LOC: | 101 | ** | BABY-MONSTER | 101 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a MONSTER |
-----------------------------------------------------------+
metrics are OK
report_range(Begins at: 44, Ends at:64)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 3 | | OK | 3 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 16 | * | WARNING | 16 |
LOC: | 21 | | OK | 21 |
--------------+---------+-------+--------------+-----------+
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/raster/r.quant/read_rulesc clones of report_range are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.quant/read_rules.c report_range
*****************************************************************
File :grass/trunk/raster/r.random/count.c
*****************************************************************
Function
get_stats(Begins at: 18, Ends at:132)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 24 | *** | MONSTER | 24 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 52 | *** | MONSTER | 52 |
LOC: | 115 | ** | BABY-MONSTER | 112 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a MONSTER |
-----------------------------------------------------------+
metrics are OK
set_max(Begins at: 170, Ends at:202)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 10 | * | WARNING | 10 |
ParamNBR: | 3 | * | WARNING | 3 |
CalledNBR: | 0 | | OK | 0 |
LOC: | 33 | | OK | 27 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
set_min(Begins at: 135, Ends at:167)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 10 | * | WARNING | 10 |
ParamNBR: | 3 | * | WARNING | 3 |
CalledNBR: | 0 | | OK | 0 |
LOC: | 33 | | OK | 27 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file has 6 potentially cloned functions:
set_max set_min set_min set_max set_max
In /var/project-manager/grass/grassSVN/grass/trunk/raster/r.random/count.c clones of set_max are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.random/count.c set_min
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.random/count.c set_max
/var/project-manager/grass/grassSVN/grass/trunk/raster/r.random/count.c set_min
In /var/project-manager/grass/grassSVN/grass/trunk/raster/r.random/count.c clones of set_min are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.random/count.c set_min
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.random/count.c set_max
/var/project-manager/grass/grassSVN/grass/trunk/raster/r.random/count.c set_max
*****************************************************************
File :grass/trunk/raster/r.random/local_proto.h
*****************************************************************
Class
RASTER_MAP_PTR(Begins at: 13, Ends at:17)
+--------+--------+--------+--------+--------+--------+
| DIT | NOC | WMC | RFC | CBO | LCOM |
+------------+--------+--------+--------+--------+--------+--------|
|NEW Metrics | 1 | 0 | 0 | 0 | 0 | 0 |
+------------+--------+--------+--------+--------+--------+--------|
|OLD Metrics | 1 | 0 | 0 | 0 | 0 | 0 |
+------------+--------+--------+--------+--------+--------+--------+
Class
RASTER_PTR(Begins at: 5, Ends at:11)
+--------+--------+--------+--------+--------+--------+
| DIT | NOC | WMC | RFC | CBO | LCOM |
+------------+--------+--------+--------+--------+--------+--------|
|NEW Metrics | 1 | 0 | 0 | 0 | 0 | 0 |
+------------+--------+--------+--------+--------+--------+--------|
|OLD Metrics | 1 | 0 | 0 | 0 | 0 | 0 |
+------------+--------+--------+--------+--------+--------+--------+
Class
rr_state(Begins at: 24, Ends at:32)
+--------+--------+--------+--------+--------+--------+
| DIT | NOC | WMC | RFC | CBO | LCOM |
+------------+--------+--------+--------+--------+--------+--------|
|NEW Metrics | 1 | 0 | 0 | 0 | 0 | 0 |
+------------+--------+--------+--------+--------+--------+--------|
|OLD Metrics | 1 | 0 | 0 | 0 | 0 | 0 |
+------------+--------+--------+--------+--------+--------+--------+
Clone analysis:
This file does not contain cloned functions
*****************************************************************
File :grass/trunk/raster/r.random/main.c
*****************************************************************
Function
has_percent(Begins at: 175, Ends at:182)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 3 | | OK | 3 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 0 | | OK | 0 |
LOC: | 8 | | OK | 8 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
main(Begins at: 30, Ends at:172)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 13 | ** | BABY-MONSTER | 16 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 40 | *** | MONSTER | 46 |
LOC: | 143 | *** | MONSTER | 154 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a MONSTER |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file does not contain cloned functions
*****************************************************************
File :grass/trunk/raster/r.random/support.c
*****************************************************************
Function
make_support(Begins at: 6, Ends at:73)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 9 | * | WARNING | 9 |
ParamNBR: | 3 | * | WARNING | 3 |
CalledNBR: | 20 | * | WARNING | 20 |
LOC: | 68 | * | WARNING | 70 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file does not contain cloned functions
*****************************************************************
File :grass/trunk/raster/r.recode/global.h
*****************************************************************
The system don't find class, method and function
in this file during analysis!
*****************************************************************
File :grass/trunk/raster/r.recode/main.c
*****************************************************************
Function
main(Begins at: 34, Ends at:110)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 6 | * | WARNING | 8 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 30 | ** | BABY-MONSTER | 38 |
LOC: | 77 | * | WARNING | 84 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a BABY-MONSTER |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file does not contain cloned functions
*****************************************************************
File :grass/trunk/raster/r.recode/read_rules.c
*****************************************************************
Function
read_rules(Begins at: 46, Ends at:128)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 17 | ** | BABY-MONSTER | 17 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 50 | *** | MONSTER | 50 |
LOC: | 83 | * | WARNING | 83 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a MONSTER |
-----------------------------------------------------------+
metrics are OK
report_range(Begins at: 9, Ends at:44)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 6 | * | WARNING | 6 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 25 | ** | BABY-MONSTER | 25 |
LOC: | 36 | | OK | 36 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a BABY-MONSTER |
-----------------------------------------------------------+
metrics are OK
update_rules(Begins at: 142, Ends at:157)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 3 | | OK | 3 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 6 | | OK | 6 |
LOC: | 16 | | OK | 16 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
update_type(Begins at: 130, Ends at:140)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 3 | | OK | 3 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 0 | | OK | 0 |
LOC: | 11 | | OK | 11 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file has 2 potentially cloned functions:
update_type
In /var/project-manager/grass/grassSVN/grass/trunk/raster/r.recode/read_rules.c clones of update_rules are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.recode/read_rules.c update_rules
In /var/project-manager/grass/grassSVN/grass/trunk/raster/r.recode/read_rules.c clones of update_type are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.recode/read_rules.c update_type
*****************************************************************
File :grass/trunk/raster/r.recode/recode.c
*****************************************************************
Function
do_recode(Begins at: 22, Ends at:77)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 7 | * | WARNING | 7 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 23 | ** | BABY-MONSTER | 23 |
LOC: | 56 | * | WARNING | 56 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a BABY-MONSTER |
-----------------------------------------------------------+
metrics are OK
process_row_dd(Begins at: 167, Ends at:176)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 2 | | OK | 2 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 4 | | OK | 4 |
LOC: | 10 | | OK | 10 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
process_row_df(Begins at: 156, Ends at:165)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 2 | | OK | 2 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 4 | | OK | 4 |
LOC: | 10 | | OK | 10 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
process_row_di(Begins at: 145, Ends at:154)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 2 | | OK | 2 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 4 | | OK | 4 |
LOC: | 10 | | OK | 10 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
process_row_fd(Begins at: 134, Ends at:143)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 2 | | OK | 2 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 4 | | OK | 4 |
LOC: | 10 | | OK | 10 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
process_row_ff(Begins at: 123, Ends at:132)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 2 | | OK | 2 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 4 | | OK | 4 |
LOC: | 10 | | OK | 10 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
process_row_fi(Begins at: 112, Ends at:121)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 2 | | OK | 2 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 4 | | OK | 4 |
LOC: | 10 | | OK | 10 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
process_row_id(Begins at: 101, Ends at:110)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 2 | | OK | 2 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 4 | | OK | 4 |
LOC: | 10 | | OK | 10 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
process_row_if(Begins at: 90, Ends at:99)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 2 | | OK | 2 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 4 | | OK | 4 |
LOC: | 10 | | OK | 10 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
process_row_ii(Begins at: 79, Ends at:88)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 2 | | OK | 2 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 4 | | OK | 4 |
LOC: | 10 | | OK | 10 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file has 82 potentially cloned functions:
process_row_ii process_row_id process_row_fi process_row_fd process_row_di process_row_dd process_row_ii process_row_id process_row_fi process_row_fd process_row_di process_row_if process_row_ff process_row_df process_row_if process_row_ff process_row_ii process_row_id process_row_fi process_row_fd process_row_di process_row_dd process_row_ii process_row_id process_row_fi process_row_fd process_row_dd process_row_ii process_row_id process_row_fi process_row_fd process_row_di process_row_dd process_row_ii process_row_id process_row_fi process_row_di process_row_dd process_row_if process_row_ff process_row_df process_row_if process_row_df process_row_ii process_row_id process_row_fi process_row_fd process_row_di process_row_dd process_row_ii process_row_id process_row_fd process_row_di process_row_dd process_row_ii process_row_id process_row_fi process_row_fd process_row_di process_row_dd process_row_ii process_row_fi process_row_fd process_row_di process_row_dd process_row_if process_row_ff process_row_df process_row_ff process_row_df process_row_ii process_row_id process_row_fi process_row_fd process_row_di process_row_dd process_row_id process_row_fi process_row_fd process_row_di process_row_dd
In /var/project-manager/grass/grassSVN/grass/trunk/raster/r.recode/recode.c clones of do_recode are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.recode/recode.c do_recode
In /var/project-manager/grass/grassSVN/grass/trunk/raster/r.recode/recode.c clones of process_row_dd are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.recode/recode.c process_row_ii
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.recode/recode.c process_row_id
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.recode/recode.c process_row_fi
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.recode/recode.c process_row_fd
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.recode/recode.c process_row_di
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.recode/recode.c process_row_dd
/var/project-manager/grass/grassSVN/grass/trunk/raster/r.recode/recode.c process_row_ii
/var/project-manager/grass/grassSVN/grass/trunk/raster/r.recode/recode.c process_row_id
/var/project-manager/grass/grassSVN/grass/trunk/raster/r.recode/recode.c process_row_fi
/var/project-manager/grass/grassSVN/grass/trunk/raster/r.recode/recode.c process_row_fd
/var/project-manager/grass/grassSVN/grass/trunk/raster/r.recode/recode.c process_row_di
In /var/project-manager/grass/grassSVN/grass/trunk/raster/r.recode/recode.c clones of process_row_df are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.recode/recode.c process_row_if
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.recode/recode.c process_row_ff
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.recode/recode.c process_row_df
/var/project-manager/grass/grassSVN/grass/trunk/raster/r.recode/recode.c process_row_if
/var/project-manager/grass/grassSVN/grass/trunk/raster/r.recode/recode.c process_row_ff
In /var/project-manager/grass/grassSVN/grass/trunk/raster/r.recode/recode.c clones of process_row_di are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.recode/recode.c process_row_ii
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.recode/recode.c process_row_id
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.recode/recode.c process_row_fi
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.recode/recode.c process_row_fd
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.recode/recode.c process_row_di
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.recode/recode.c process_row_dd
/var/project-manager/grass/grassSVN/grass/trunk/raster/r.recode/recode.c process_row_ii
/var/project-manager/grass/grassSVN/grass/trunk/raster/r.recode/recode.c process_row_id
/var/project-manager/grass/grassSVN/grass/trunk/raster/r.recode/recode.c process_row_fi
/var/project-manager/grass/grassSVN/grass/trunk/raster/r.recode/recode.c process_row_fd
/var/project-manager/grass/grassSVN/grass/trunk/raster/r.recode/recode.c process_row_dd
In /var/project-manager/grass/grassSVN/grass/trunk/raster/r.recode/recode.c clones of process_row_fd are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.recode/recode.c process_row_ii
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.recode/recode.c process_row_id
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.recode/recode.c process_row_fi
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.recode/recode.c process_row_fd
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.recode/recode.c process_row_di
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.recode/recode.c process_row_dd
/var/project-manager/grass/grassSVN/grass/trunk/raster/r.recode/recode.c process_row_ii
/var/project-manager/grass/grassSVN/grass/trunk/raster/r.recode/recode.c process_row_id
/var/project-manager/grass/grassSVN/grass/trunk/raster/r.recode/recode.c process_row_fi
/var/project-manager/grass/grassSVN/grass/trunk/raster/r.recode/recode.c process_row_di
/var/project-manager/grass/grassSVN/grass/trunk/raster/r.recode/recode.c process_row_dd
In /var/project-manager/grass/grassSVN/grass/trunk/raster/r.recode/recode.c clones of process_row_ff are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.recode/recode.c process_row_if
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.recode/recode.c process_row_ff
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.recode/recode.c process_row_df
/var/project-manager/grass/grassSVN/grass/trunk/raster/r.recode/recode.c process_row_if
/var/project-manager/grass/grassSVN/grass/trunk/raster/r.recode/recode.c process_row_df
In /var/project-manager/grass/grassSVN/grass/trunk/raster/r.recode/recode.c clones of process_row_fi are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.recode/recode.c process_row_ii
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.recode/recode.c process_row_id
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.recode/recode.c process_row_fi
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.recode/recode.c process_row_fd
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.recode/recode.c process_row_di
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.recode/recode.c process_row_dd
/var/project-manager/grass/grassSVN/grass/trunk/raster/r.recode/recode.c process_row_ii
/var/project-manager/grass/grassSVN/grass/trunk/raster/r.recode/recode.c process_row_id
/var/project-manager/grass/grassSVN/grass/trunk/raster/r.recode/recode.c process_row_fd
/var/project-manager/grass/grassSVN/grass/trunk/raster/r.recode/recode.c process_row_di
/var/project-manager/grass/grassSVN/grass/trunk/raster/r.recode/recode.c process_row_dd
In /var/project-manager/grass/grassSVN/grass/trunk/raster/r.recode/recode.c clones of process_row_id are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.recode/recode.c process_row_ii
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.recode/recode.c process_row_id
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.recode/recode.c process_row_fi
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.recode/recode.c process_row_fd
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.recode/recode.c process_row_di
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.recode/recode.c process_row_dd
/var/project-manager/grass/grassSVN/grass/trunk/raster/r.recode/recode.c process_row_ii
/var/project-manager/grass/grassSVN/grass/trunk/raster/r.recode/recode.c process_row_fi
/var/project-manager/grass/grassSVN/grass/trunk/raster/r.recode/recode.c process_row_fd
/var/project-manager/grass/grassSVN/grass/trunk/raster/r.recode/recode.c process_row_di
/var/project-manager/grass/grassSVN/grass/trunk/raster/r.recode/recode.c process_row_dd
In /var/project-manager/grass/grassSVN/grass/trunk/raster/r.recode/recode.c clones of process_row_if are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.recode/recode.c process_row_if
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.recode/recode.c process_row_ff
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.recode/recode.c process_row_df
/var/project-manager/grass/grassSVN/grass/trunk/raster/r.recode/recode.c process_row_ff
/var/project-manager/grass/grassSVN/grass/trunk/raster/r.recode/recode.c process_row_df
In /var/project-manager/grass/grassSVN/grass/trunk/raster/r.recode/recode.c clones of process_row_ii are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.recode/recode.c process_row_ii
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.recode/recode.c process_row_id
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.recode/recode.c process_row_fi
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.recode/recode.c process_row_fd
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.recode/recode.c process_row_di
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.recode/recode.c process_row_dd
/var/project-manager/grass/grassSVN/grass/trunk/raster/r.recode/recode.c process_row_id
/var/project-manager/grass/grassSVN/grass/trunk/raster/r.recode/recode.c process_row_fi
/var/project-manager/grass/grassSVN/grass/trunk/raster/r.recode/recode.c process_row_fd
/var/project-manager/grass/grassSVN/grass/trunk/raster/r.recode/recode.c process_row_di
/var/project-manager/grass/grassSVN/grass/trunk/raster/r.recode/recode.c process_row_dd
*****************************************************************
File :grass/trunk/raster/r.region/main.c
*****************************************************************
Function
die(Begins at: 338, Ends at:341)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 1 | | OK | 1 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 1 | | OK | 1 |
LOC: | 4 | | OK | 4 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
main(Begins at: 26, Ends at:336)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 52 | *** | MONSTER | 58 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 94 | *** | MONSTER | 111 |
LOC: | 311 | *** | MONSTER | 340 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a MONSTER |
-----------------------------------------------------------+
metrics are OK
nsew(Begins at: 343, Ends at:353)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 4 | | OK | 4 |
ParamNBR: | 4 | * | WARNING | 4 |
CalledNBR: | 6 | | OK | 6 |
LOC: | 11 | | OK | 11 |
--------------+---------+-------+--------------+-----------+
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/raster/r.region/main.c clones of nsew are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.region/main.c nsew
*****************************************************************
File :grass/trunk/raster/r.resamp.rst/local_proto.h
*****************************************************************
The system don't find class, method and function
in this file during analysis!
*****************************************************************
File :grass/trunk/raster/r.resamp.rst/main.c
*****************************************************************
Function
clean(Begins at: 578, Ends at:593)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 13 | * | WARNING | |
ParamNBR: | 1 | | OK | |
CalledNBR: | 12 | * | WARNING | |
LOC: | 16 | | OK | |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
clean_fatal_error(Begins at: 696, Ends at:723)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 7 | | OK | 7 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 13 | | OK | 13 |
LOC: | 28 | | OK | 28 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
create_temp_file(Begins at: 542, Ends at:564)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 5 | *** | MONSTER | |
ParamNBR: | 2 | | OK | |
CalledNBR: | 9 | *** | MONSTER | |
LOC: | 23 | *** | MONSTER | |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a MONSTER |
-----------------------------------------------------------+
metrics are OK
create_temp_files(Begins at: 566, Ends at:576)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 1 | ** | BABY-MONSTER | 27 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 8 | * | WARNING | 57 |
LOC: | 11 | | OK | 93 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a BABY-MONSTER |
-----------------------------------------------------------+
metrics are OK
main(Begins at: 123, Ends at:540)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 45 | | OK | 65 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 169 | | OK | 195 |
LOC: | 418 | | OK | 470 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file does not contain cloned functions
*****************************************************************
File :grass/trunk/raster/r.resample/main.c
*****************************************************************
Function
main(Begins at: 28, Ends at:175)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 17 | ** | BABY-MONSTER | 18 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 67 | *** | MONSTER | 67 |
LOC: | 148 | *** | MONSTER | 152 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a MONSTER |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file does not contain cloned functions
*****************************************************************
File :grass/trunk/raster/r.rescale/get_range.c
*****************************************************************
Function
get_range(Begins at: 6, Ends at:43)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 6 | * | WARNING | 6 |
ParamNBR: | 4 | * | WARNING | 4 |
CalledNBR: | 19 | * | WARNING | 19 |
LOC: | 38 | | OK | 38 |
--------------+---------+-------+--------------+-----------+
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/raster/r.rescale/get_range.c clones of get_range are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.rescale/get_range.c get_range
*****************************************************************
File :grass/trunk/raster/r.rescale/local_proto.h
*****************************************************************
The system don't find class, method and function
in this file during analysis!
*****************************************************************
File :grass/trunk/raster/r.rescale/main.c
*****************************************************************
Function
main(Begins at: 22, Ends at:151)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 10 | * | WARNING | 11 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 37 | *** | MONSTER | 40 |
LOC: | 130 | ** | BABY-MONSTER | 137 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a MONSTER |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file does not contain cloned functions
*****************************************************************
File :grass/trunk/raster/r.rescale.eq/get_stats.c
*****************************************************************
Function
get_stats(Begins at: 5, Ends at:33)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 5 | | OK | 5 |
ParamNBR: | 3 | | OK | 3 |
CalledNBR: | 15 | * | WARNING | 15 |
LOC: | 29 | | OK | 29 |
--------------+---------+-------+--------------+-----------+
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/raster/r.rescale.eq/get_stats.c clones of get_stats are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.rescale.eq/get_stats.c get_stats
*****************************************************************
File :grass/trunk/raster/r.rescale.eq/local_proto.h
*****************************************************************
The system don't find class, method and function
in this file during analysis!
*****************************************************************
File :grass/trunk/raster/r.rescale.eq/main.c
*****************************************************************
Function
main(Begins at: 26, Ends at:135)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 7 | * | WARNING | 8 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 33 | ** | BABY-MONSTER | 36 |
LOC: | 110 | ** | BABY-MONSTER | 117 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a BABY-MONSTER |
-----------------------------------------------------------+
metrics are OK
reclass(Begins at: 137, Ends at:144)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 2 | | OK | 2 |
ParamNBR: | 3 | * | WARNING | 3 |
CalledNBR: | 3 | | OK | 3 |
LOC: | 8 | | OK | 8 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file does not contain cloned functions
*****************************************************************
File :grass/trunk/raster/r.series/main.c
*****************************************************************
Class
input(Begins at: 55, Ends at:60)
+--------+--------+--------+--------+--------+--------+
| DIT | NOC | WMC | RFC | CBO | LCOM |
+------------+--------+--------+--------+--------+--------+--------|
|NEW Metrics | 1 | 0 | 0 | 0 | 0 | 0 |
+------------+--------+--------+--------+--------+--------+--------|
|OLD Metrics | 1 | 0 | 0 | 0 | 0 | 0 |
+------------+--------+--------+--------+--------+--------+--------+
Class
menu(Begins at: 24, Ends at:53)
+--------+--------+--------+--------+--------+--------+
| DIT | NOC | WMC | RFC | CBO | LCOM |
+------------+--------+--------+--------+--------+--------+--------|
|NEW Metrics | 1 | 0 | 0 | 0 | 0 | 0 |
+------------+--------+--------+--------+--------+--------+--------|
|OLD Metrics | 1 | 0 | 0 | 0 | 0 | 0 |
+------------+--------+--------+--------+--------+--------+--------+
Function
build_method_list(Begins at: 62, Ends at:79)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 4 | | OK | 4 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 1 | | OK | 1 |
LOC: | 18 | | OK | 18 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
main(Begins at: 81, Ends at:225)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 17 | ** | BABY-MONSTER | 18 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 48 | *** | MONSTER | 51 |
LOC: | 145 | *** | MONSTER | 149 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a MONSTER |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file does not contain cloned functions
*****************************************************************
File :grass/trunk/raster/r.statistics/main.c
*****************************************************************
Function
is_ok(Begins at: 195, Ends at:202)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 2 | | OK | 2 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 2 | | OK | 2 |
LOC: | 8 | | OK | 8 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
main(Begins at: 47, Ends at:192)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 26 | *** | MONSTER | 28 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 59 | *** | MONSTER | 65 |
LOC: | 146 | *** | MONSTER | 153 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a MONSTER |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file does not contain cloned functions
*****************************************************************
File :grass/trunk/raster/r.statistics/method.h
*****************************************************************
Class
menu(Begins at: 23, Ends at:28)
+--------+--------+--------+--------+--------+--------+
| DIT | NOC | WMC | RFC | CBO | LCOM |
+------------+--------+--------+--------+--------+--------+--------|
|NEW Metrics | 1 | 0 | 0 | 0 | 0 | 0 |
+------------+--------+--------+--------+--------+--------+--------|
|OLD Metrics | 1 | 0 | 0 | 0 | 0 | 0 |
+------------+--------+--------+--------+--------+--------+--------+
Class
stats(Begins at: 15, Ends at:21)
+--------+--------+--------+--------+--------+--------+
| DIT | NOC | WMC | RFC | CBO | LCOM |
+------------+--------+--------+--------+--------+--------+--------|
|NEW Metrics | 1 | 0 | 0 | 0 | 0 | 0 |
+------------+--------+--------+--------+--------+--------+--------|
|OLD Metrics | 1 | 0 | 0 | 0 | 0 | 0 |
+------------+--------+--------+--------+--------+--------+--------+
Clone analysis:
This file does not contain cloned functions
*****************************************************************
File :grass/trunk/raster/r.statistics/o_adev.c
*****************************************************************
Function
a_dev(Begins at: 91, Ends at:115)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 4 | | OK | 4 |
ParamNBR: | 3 | * | WARNING | 3 |
CalledNBR: | 3 | | OK | 3 |
LOC: | 25 | | OK | 25 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
o_adev(Begins at: 15, Ends at:81)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 8 | * | WARNING | 8 |
ParamNBR: | 5 | * | WARNING | 5 |
CalledNBR: | 18 | * | WARNING | 18 |
LOC: | 67 | * | WARNING | 67 |
--------------+---------+-------+--------------+-----------+
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/raster/r.statistics/o_adev.c clones of a_dev are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.statistics/o_adev.c a_dev
*****************************************************************
File :grass/trunk/raster/r.statistics/o_average.c
*****************************************************************
Function
out(Begins at: 75, Ends at:90)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 3 | | OK | 3 |
ParamNBR: | 4 | * | WARNING | 4 |
CalledNBR: | 3 | | OK | 3 |
LOC: | 16 | | OK | 16 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
o_average(Begins at: 14, Ends at:72)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 6 | * | WARNING | 6 |
ParamNBR: | 5 | * | WARNING | 5 |
CalledNBR: | 25 | ** | BABY-MONSTER | 25 |
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/raster/r.statistics/o_distrib.c
*****************************************************************
Function
o_distrib(Begins at: 13, Ends at:88)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 9 | * | WARNING | 9 |
ParamNBR: | 4 | * | WARNING | 4 |
CalledNBR: | 26 | ** | BABY-MONSTER | 26 |
LOC: | 76 | * | WARNING | 76 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a BABY-MONSTER |
-----------------------------------------------------------+
metrics are OK
o_out(Begins at: 91, Ends at:98)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 2 | | OK | 2 |
ParamNBR: | 3 | * | WARNING | 3 |
CalledNBR: | 1 | | OK | 1 |
LOC: | 8 | | OK | 8 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file does not contain cloned functions
*****************************************************************
File :grass/trunk/raster/r.statistics/o_divr.c
*****************************************************************
Function
o_divr(Begins at: 6, Ends at:47)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 5 | | OK | 5 |
ParamNBR: | 5 | * | WARNING | 5 |
CalledNBR: | 12 | * | WARNING | 12 |
LOC: | 42 | * | WARNING | 42 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file does not contain cloned functions
*****************************************************************
File :grass/trunk/raster/r.statistics/o_kurt.c
*****************************************************************
Function
kurt(Begins at: 90, Ends at:125)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 5 | | OK | 5 |
ParamNBR: | 3 | * | WARNING | 3 |
CalledNBR: | 3 | | OK | 3 |
LOC: | 36 | | OK | 36 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
o_kurt(Begins at: 15, Ends at:81)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 8 | * | WARNING | 8 |
ParamNBR: | 5 | * | WARNING | 5 |
CalledNBR: | 18 | * | WARNING | 18 |
LOC: | 67 | * | WARNING | 67 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file has 4 potentially cloned functions:
skew skew o_adev
In /var/project-manager/grass/grassSVN/grass/trunk/raster/r.statistics/o_kurt.c clones of kurt are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.statistics/o_kurt.c kurt
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.statistics/o_skew.c skew
/var/project-manager/grass/grassSVN/grass/trunk/raster/r.statistics/o_skew.c skew
In /var/project-manager/grass/grassSVN/grass/trunk/raster/r.statistics/o_kurt.c clones of o_kurt are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.statistics/o_adev.c o_adev
*****************************************************************
File :grass/trunk/raster/r.statistics/o_max.c
*****************************************************************
Function
o_max(Begins at: 6, Ends at:52)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 6 | * | WARNING | 6 |
ParamNBR: | 5 | * | WARNING | 5 |
CalledNBR: | 11 | * | WARNING | 11 |
LOC: | 47 | * | WARNING | 47 |
--------------+---------+-------+--------------+-----------+
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/raster/r.statistics/o_maxc clones of o_max are:
/var/project-manager/grass/grassSVN/grass/trunk/raster/r.statistics/o_min.c o_min
*****************************************************************
File :grass/trunk/raster/r.statistics/o_median.c
*****************************************************************
Function
median(Begins at: 72, Ends at:95)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 6 | * | WARNING | 6 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 0 | | OK | 0 |
LOC: | 24 | | OK | 24 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
o_median(Begins at: 10, Ends at:69)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 6 | * | WARNING | 6 |
ParamNBR: | 5 | * | WARNING | 5 |
CalledNBR: | 22 | * | WARNING | 22 |
LOC: | 60 | * | WARNING | 60 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file does not contain cloned functions
*****************************************************************
File :grass/trunk/raster/r.statistics/o_min.c
*****************************************************************
Function
o_min(Begins at: 6, Ends at:52)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 6 | * | WARNING | 6 |
ParamNBR: | 5 | * | WARNING | 5 |
CalledNBR: | 11 | * | WARNING | 11 |
LOC: | 47 | * | WARNING | 47 |
--------------+---------+-------+--------------+-----------+
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/raster/r.statistics/o_minc clones of o_min are:
/var/project-manager/grass/grassSVN/grass/trunk/raster/r.statistics/o_max.c o_max
*****************************************************************
File :grass/trunk/raster/r.statistics/o_mode.c
*****************************************************************
Function
o_mode(Begins at: 6, Ends at:57)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 6 | * | WARNING | 6 |
ParamNBR: | 5 | * | WARNING | 5 |
CalledNBR: | 11 | * | WARNING | 11 |
LOC: | 52 | * | WARNING | 52 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file does not contain cloned functions
*****************************************************************
File :grass/trunk/raster/r.statistics/o_sdev.c
*****************************************************************
Function
o_sdev(Begins at: 15, Ends at:84)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 8 | * | WARNING | 8 |
ParamNBR: | 5 | * | WARNING | 5 |
CalledNBR: | 19 | * | WARNING | 19 |
LOC: | 70 | * | WARNING | 70 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
s_dev(Begins at: 94, Ends at:125)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 4 | | OK | 4 |
ParamNBR: | 3 | * | WARNING | 3 |
CalledNBR: | 3 | | OK | 3 |
LOC: | 32 | | OK | 32 |
--------------+---------+-------+--------------+-----------+
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/raster/r.statistics/o_sdev.c clones of s_dev are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.statistics/o_sdev.c s_dev
*****************************************************************
File :grass/trunk/raster/r.statistics/o_skew.c
*****************************************************************
Function
o_skew(Begins at: 15, Ends at:82)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 8 | * | WARNING | 8 |
ParamNBR: | 5 | * | WARNING | 5 |
CalledNBR: | 18 | * | WARNING | 18 |
LOC: | 68 | * | WARNING | 68 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
skew(Begins at: 91, Ends at:126)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 5 | | OK | 5 |
ParamNBR: | 3 | * | WARNING | 3 |
CalledNBR: | 3 | | OK | 3 |
LOC: | 36 | | OK | 36 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file has 3 potentially cloned functions:
skew kurt
In /var/project-manager/grass/grassSVN/grass/trunk/raster/r.statistics/o_skew.c clones of skew are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.statistics/o_kurt.c kurt
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.statistics/o_skew.c skew
/var/project-manager/grass/grassSVN/grass/trunk/raster/r.statistics/o_kurt.c kurt
*****************************************************************
File :grass/trunk/raster/r.statistics/o_sum.c
*****************************************************************
Function
o_sum(Begins at: 14, Ends at:75)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 6 | * | WARNING | 6 |
ParamNBR: | 5 | * | WARNING | 5 |
CalledNBR: | 25 | ** | BABY-MONSTER | 25 |
LOC: | 62 | * | WARNING | 62 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a BABY-MONSTER |
-----------------------------------------------------------+
metrics are OK
sum_out(Begins at: 78, Ends at:90)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 2 | | OK | 2 |
ParamNBR: | 3 | * | WARNING | 3 |
CalledNBR: | 3 | | OK | 3 |
LOC: | 13 | | OK | 13 |
--------------+---------+-------+--------------+-----------+
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/raster/r.statistics/o_sumc clones of sum_out are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.statistics/o_sum.c sum_out
*****************************************************************
File :grass/trunk/raster/r.statistics/o_var.c
*****************************************************************
Function
m_var(Begins at: 94, Ends at:123)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 4 | | OK | 4 |
ParamNBR: | 3 | * | WARNING | 3 |
CalledNBR: | 2 | | OK | 2 |
LOC: | 30 | | OK | 30 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
o_var(Begins at: 15, Ends at:85)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 8 | * | WARNING | 8 |
ParamNBR: | 5 | * | WARNING | 5 |
CalledNBR: | 19 | * | WARNING | 19 |
LOC: | 71 | * | WARNING | 71 |
--------------+---------+-------+--------------+-----------+
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/raster/r.statistics/o_varc clones of m_var are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.statistics/o_var.c m_var
*****************************************************************
File :grass/trunk/raster/r.stats/main.c
*****************************************************************
Function
main(Begins at: 29, Ends at:343)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 28 | *** | MONSTER | 29 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 107 | *** | MONSTER | 115 |
LOC: | 315 | *** | MONSTER | 323 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a MONSTER |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file does not contain cloned functions
*****************************************************************
File :grass/trunk/raster/r.sum/main.c
*****************************************************************
Function
main(Begins at: 31, Ends at:98)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 8 | * | WARNING | 9 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 25 | ** | BABY-MONSTER | 28 |
LOC: | 68 | * | WARNING | 74 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a BABY-MONSTER |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file does not contain cloned functions
*****************************************************************
File :grass/trunk/raster/r.sun/main.c
*****************************************************************
Function
brad(Begins at: 1495, Ends at:1522)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 3 | | OK | 3 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 4 | | OK | 4 |
LOC: | 28 | | OK | 28 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
calculate(Begins at: 1193, Ends at:1469)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 47 | *** | MONSTER | 47 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 71 | *** | MONSTER | 71 |
LOC: | 277 | *** | MONSTER | 277 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a MONSTER |
-----------------------------------------------------------+
metrics are OK
com_declin(Begins at: 1483, Ends at:1493)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 1 | | OK | 1 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 3 | | OK | 3 |
LOC: | 11 | | OK | 11 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
com_par(Begins at: 866, Ends at:937)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 8 | * | WARNING | 8 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 17 | * | WARNING | 17 |
LOC: | 72 | * | WARNING | 72 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
com_par_const(Begins at: 826, Ends at:863)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 6 | * | WARNING | 6 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 7 | | OK | 7 |
LOC: | 38 | | OK | 38 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
com_sol_const(Begins at: 1471, Ends at:1480)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 1 | | OK | 1 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 1 | | OK | 1 |
LOC: | 10 | | OK | 10 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
cube(Begins at: 1154, Ends at:1159)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 2 | | OK | 2 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 0 | | OK | 0 |
LOC: | 6 | | OK | 6 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
distance(Begins at: 140, Ends at:149)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 2 | | OK | 2 |
ParamNBR: | 4 | * | WARNING | 4 |
CalledNBR: | 2 | | OK | 2 |
LOC: | 10 | | OK | 10 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
drad(Begins at: 1524, Ends at:1578)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 8 | * | WARNING | 8 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 7 | | OK | 7 |
LOC: | 55 | * | WARNING | 55 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
INPUT(Begins at: 495, Ends at:691)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 47 | *** | MONSTER | 55 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 74 | *** | MONSTER | 98 |
LOC: | 197 | *** | MONSTER | 221 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a MONSTER |
-----------------------------------------------------------+
metrics are OK
joules2(Begins at: 981, Ends at:1111)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 22 | *** | MONSTER | 22 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 11 | * | WARNING | 11 |
LOC: | 131 | ** | BABY-MONSTER | 131 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a MONSTER |
-----------------------------------------------------------+
metrics are OK
lumcline2(Begins at: 941, Ends at:979)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 7 | * | WARNING | 7 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 2 | | OK | 2 |
LOC: | 39 | | OK | 39 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
main(Begins at: 152, Ends at:492)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 22 | *** | MONSTER | 22 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 110 | *** | MONSTER | 110 |
LOC: | 341 | *** | MONSTER | 341 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a MONSTER |
-----------------------------------------------------------+
metrics are OK
new_point(Begins at: 1116, Ends at:1125)
--------------+---------+-------+--------------+-----------+
| 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
OUTGR(Begins at: 693, Ends at:823)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 35 | *** | MONSTER | 35 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 50 | *** | MONSTER | 50 |
LOC: | 131 | ** | BABY-MONSTER | 131 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a MONSTER |
-----------------------------------------------------------+
metrics are OK
searching(Begins at: 1161, Ends at:1187)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 6 | * | WARNING | 6 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 3 | | OK | 3 |
LOC: | 27 | | OK | 27 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
test(Begins at: 1580, Ends at:1594)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 2 | | OK | 2 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 3 | | OK | 3 |
LOC: | 15 | | OK | 15 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
where_is_point(Begins at: 1127, Ends at:1152)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 2 | | OK | 2 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 2 | | OK | 2 |
LOC: | 26 | | OK | 26 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file has 22 potentially cloned functions:
calculate com_declin com_par com_par_const com_sol_const distance distance distance distance distance drad INPUT joules2 lumcline2 new_point OUTGR searching test test test where_is_point
In /var/project-manager/grass/grassSVN/grass/trunk/raster/r.sun/main.c clones of brad are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.sun/main.c brad
In /var/project-manager/grass/grassSVN/grass/trunk/raster/r.sun/main.c clones of calculate are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.sun/main.c calculate
In /var/project-manager/grass/grassSVN/grass/trunk/raster/r.sun/main.c clones of com_declin are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.sun/main.c com_declin
In /var/project-manager/grass/grassSVN/grass/trunk/raster/r.sun/main.c clones of com_par are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.sun/main.c com_par
In /var/project-manager/grass/grassSVN/grass/trunk/raster/r.sun/main.c clones of com_par_const are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.sun/main.c com_par_const
In /var/project-manager/grass/grassSVN/grass/trunk/raster/r.sun/main.c clones of com_sol_const are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.sun/main.c com_sol_const
In /var/project-manager/grass/grassSVN/grass/trunk/raster/r.sun/main.c clones of distance are:
/var/project-manager/grass/grassSVN/grass-addons/raster/r.sun_horizon/r.horizon/main.c distance
/var/project-manager/grass/grassSVN/grass-addons/raster/r.sun_horizon/r.sun2/main.c distance
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.sun/main.c distance
/tmp/grassSVN/grass-addons/raster/r.sun_horizon/r.horizon/main.c distance
/tmp/grassSVN/grass-addons/raster/r.sun_horizon/r.sun2/main.c distance
In /var/project-manager/grass/grassSVN/grass/trunk/raster/r.sun/main.c clones of drad are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.sun/main.c drad
In /var/project-manager/grass/grassSVN/grass/trunk/raster/r.sun/main.c clones of INPUT are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.sun/main.c INPUT
In /var/project-manager/grass/grassSVN/grass/trunk/raster/r.sun/main.c clones of joules2 are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.sun/main.c joules2
In /var/project-manager/grass/grassSVN/grass/trunk/raster/r.sun/main.c clones of lumcline2 are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.sun/main.c lumcline2
In /var/project-manager/grass/grassSVN/grass/trunk/raster/r.sun/main.c clones of new_point are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.sun/main.c new_point
In /var/project-manager/grass/grassSVN/grass/trunk/raster/r.sun/main.c clones of OUTGR are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.sun/main.c OUTGR
In /var/project-manager/grass/grassSVN/grass/trunk/raster/r.sun/main.c clones of searching are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.sun/main.c searching
In /var/project-manager/grass/grassSVN/grass/trunk/raster/r.sun/main.c clones of test are:
/var/project-manager/grass/grassSVN/grass-addons/raster/r.sun_horizon/r.sun2/main.c test
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.sun/main.c test
/tmp/grassSVN/grass-addons/raster/r.sun_horizon/r.sun2/main.c test
In /var/project-manager/grass/grassSVN/grass/trunk/raster/r.sun/main.c clones of where_is_point are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.sun/main.c where_is_point
*****************************************************************
File :grass/trunk/raster/r.sunmask/main.c
*****************************************************************
Class
RASTER_PTR(Begins at: 68, Ends at:74)
+--------+--------+--------+--------+--------+--------+
| DIT | NOC | WMC | RFC | CBO | LCOM |
+------------+--------+--------+--------+--------+--------+--------|
|NEW Metrics | 1 | 0 | 0 | 0 | 0 | 0 |
+------------+--------+--------+--------+--------+--------+--------|
|OLD Metrics | 1 | 0 | 0 | 0 | 0 | 0 |
+------------+--------+--------+--------+--------+--------+--------+
Function
main(Begins at: 87, Ends at:551)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 38 | *** | MONSTER | 38 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 179 | *** | MONSTER | 180 |
LOC: | 465 | *** | MONSTER | 469 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a MONSTER |
-----------------------------------------------------------+
metrics are OK
raster_value(Begins at: 554, Ends at:571)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 5 | | OK | 5 |
ParamNBR: | 3 | * | WARNING | 3 |
CalledNBR: | 0 | | OK | 0 |
LOC: | 18 | | OK | 18 |
--------------+---------+-------+--------------+-----------+
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/raster/r.sunmask/main.c clones of raster_value are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.sunmask/main.c raster_value
*****************************************************************
File :grass/trunk/raster/r.support.stats/check.c
*****************************************************************
Function
check_stats(Begins at: 29, Ends at:95)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 10 | * | WARNING | 10 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 24 | ** | BABY-MONSTER | 24 |
LOC: | 67 | * | WARNING | 67 |
--------------+---------+-------+--------------+-----------+
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/raster/r.support.stats/check.c clones of check_stats are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.support.stats/check.c check_stats
*****************************************************************
File :grass/trunk/raster/r.support.stats/histo.c
*****************************************************************
Function
do_histogram(Begins at: 27, Ends at:71)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 7 | * | WARNING | 7 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 14 | * | WARNING | 14 |
LOC: | 45 | * | WARNING | 45 |
--------------+---------+-------+--------------+-----------+
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/raster/r.support.stats/histo.c clones of do_histogram are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.support.stats/histo.c do_histogram
*****************************************************************
File :grass/trunk/raster/r.support.stats/local_proto.h
*****************************************************************
The system don't find class, method and function
in this file during analysis!
*****************************************************************
File :grass/trunk/raster/r.support.stats/main.c
*****************************************************************
Function
main(Begins at: 25, Ends at:50)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 2 | | OK | 3 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 9 | | OK | 13 |
LOC: | 26 | | OK | 31 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file does not contain cloned functions
*****************************************************************
File :grass/trunk/raster/r.surf.area/main.c
*****************************************************************
Function
add_null_area(Begins at: 263, Ends at:272)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 3 | | OK | 3 |
ParamNBR: | 3 | * | WARNING | 3 |
CalledNBR: | 1 | | OK | 1 |
LOC: | 10 | | OK | 10 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
add_row_area(Begins at: 176, Ends at:259)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 3 | | OK | 3 |
ParamNBR: | 6 | ** | BABY-MONSTER | 6 |
CalledNBR: | 12 | * | WARNING | 12 |
LOC: | 84 | * | WARNING | 84 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a BABY-MONSTER |
-----------------------------------------------------------+
metrics are OK
main(Begins at: 74, Ends at:172)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 6 | * | WARNING | 7 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 34 | ** | BABY-MONSTER | 37 |
LOC: | 99 | ** | BABY-MONSTER | 104 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a BABY-MONSTER |
-----------------------------------------------------------+
metrics are OK
v3cross(Begins at: 276, Ends at:281)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 1 | | OK | 1 |
ParamNBR: | 3 | * | WARNING | 3 |
CalledNBR: | 0 | | OK | 0 |
LOC: | 6 | | OK | 6 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
v3mag(Begins at: 285, Ends at:288)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 1 | | OK | 1 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 1 | | OK | 1 |
LOC: | 4 | | OK | 4 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file has 2 potentially cloned functions:
add_row_area
In /var/project-manager/grass/grassSVN/grass/trunk/raster/r.surf.area/main.c clones of add_null_area are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.surf.area/main.c add_null_area
In /var/project-manager/grass/grassSVN/grass/trunk/raster/r.surf.area/main.c clones of add_row_area are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.surf.area/main.c add_row_area
*****************************************************************
File :grass/trunk/raster/r.surf.gauss/main.c
*****************************************************************
Function
main(Begins at: 24, Ends at:69)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 2 | | OK | 2 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 16 | * | WARNING | 16 |
LOC: | 46 | * | WARNING | 56 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file does not contain cloned functions
*****************************************************************
File :grass/trunk/raster/r.surf.idw/main.c
*****************************************************************
Function
add_neighbor(Begins at: 606, Ends at:621)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 2 | | OK | 2 |
ParamNBR: | 4 | * | WARNING | 4 |
CalledNBR: | 0 | | OK | 0 |
LOC: | 16 | | OK | 16 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
completed_row(Begins at: 480, Ends at:483)
--------------+---------+-------+--------------+-----------+
| 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
exhaust(Begins at: 443, Ends at:469)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 4 | | OK | 4 |
ParamNBR: | 4 | * | WARNING | 4 |
CalledNBR: | 1 | | OK | 1 |
LOC: | 27 | | OK | 27 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
exhaust_search(Begins at: 566, Ends at:588)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 5 | | OK | 5 |
ParamNBR: | 4 | * | WARNING | 4 |
CalledNBR: | 4 | | OK | 4 |
LOC: | 23 | | OK | 23 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
find_neighbors(Begins at: 530, Ends at:559)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 6 | * | WARNING | 6 |
ParamNBR: | 6 | ** | BABY-MONSTER | 6 |
CalledNBR: | 3 | | OK | 3 |
LOC: | 30 | | OK | 30 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a BABY-MONSTER |
-----------------------------------------------------------+
metrics are OK
first_west(Begins at: 509, Ends at:523)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 3 | | OK | 3 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 0 | | OK | 0 |
LOC: | 15 | | OK | 15 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
free_row_lists(Begins at: 666, Ends at:683)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 4 | | OK | 4 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 2 | | OK | 2 |
LOC: | 18 | | OK | 18 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
interpolate(Begins at: 234, Ends at:314)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 9 | * | WARNING | 9 |
ParamNBR: | 7 | ** | BABY-MONSTER | 7 |
CalledNBR: | 13 | * | WARNING | 13 |
LOC: | 81 | * | WARNING | 81 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a BABY-MONSTER |
-----------------------------------------------------------+
metrics are OK
lookup_and_function_ptrs(Begins at: 199, Ends at:225)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 2 | | OK | 2 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 5 | | OK | 5 |
LOC: | 27 | | OK | 27 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
lookup_tables(Begins at: 753, Ends at:772)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 3 | | OK | 3 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 4 | | OK | 4 |
LOC: | 20 | | OK | 20 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
main(Begins at: 81, Ends at:190)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 10 | * | WARNING | 11 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 44 | *** | MONSTER | 48 |
LOC: | 110 | ** | BABY-MONSTER | 118 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a MONSTER |
-----------------------------------------------------------+
metrics are OK
make_neighbors_list(Begins at: 326, Ends at:389)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 10 | * | WARNING | 10 |
ParamNBR: | 7 | ** | BABY-MONSTER | 7 |
CalledNBR: | 6 | | OK | 6 |
LOC: | 64 | * | WARNING | 64 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a BABY-MONSTER |
-----------------------------------------------------------+
metrics are OK
next_row(Begins at: 486, Ends at:501)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 4 | | OK | 4 |
ParamNBR: | 4 | * | WARNING | 4 |
CalledNBR: | 0 | | OK | 0 |
LOC: | 16 | | OK | 16 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
offset_distance(Begins at: 471, Ends at:474)
--------------+---------+-------+--------------+-----------+
| 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
replace_neighbor(Begins at: 624, Ends at:646)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 4 | | OK | 4 |
ParamNBR: | 3 | * | WARNING | 3 |
CalledNBR: | 1 | | OK | 1 |
LOC: | 23 | | OK | 23 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
row_lists(Begins at: 686, Ends at:746)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 9 | * | WARNING | 9 |
ParamNBR: | 6 | ** | BABY-MONSTER | 6 |
CalledNBR: | 10 | * | WARNING | 10 |
LOC: | 61 | * | WARNING | 61 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a BABY-MONSTER |
-----------------------------------------------------------+
metrics are OK
search(Begins at: 394, Ends at:440)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 7 | * | WARNING | 7 |
ParamNBR: | 8 | ** | BABY-MONSTER | 8 |
CalledNBR: | 3 | | OK | 3 |
LOC: | 47 | * | WARNING | 47 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a BABY-MONSTER |
-----------------------------------------------------------+
metrics are OK
sort_neighbors(Begins at: 649, Ends at:662)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 2 | | OK | 2 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 0 | | OK | 0 |
LOC: | 14 | | OK | 14 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
triangulate(Begins at: 595, Ends at:603)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 1 | | OK | 1 |
ParamNBR: | 3 | * | WARNING | 3 |
CalledNBR: | 2 | | OK | 2 |
LOC: | 9 | | OK | 9 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file has 15 potentially cloned functions:
exhaust exhaust_search find_neighbors first_west free_row_lists interpolate lookup_and_function_ptrs lookup_tables make_neighbors_list next_row replace_neighbor row_lists search sort_neighbors
In /var/project-manager/grass/grassSVN/grass/trunk/raster/r.surf.idw/main.c clones of add_neighbor are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.surf.idw/main.c add_neighbor
In /var/project-manager/grass/grassSVN/grass/trunk/raster/r.surf.idw/main.c clones of exhaust are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.surf.idw/main.c exhaust
In /var/project-manager/grass/grassSVN/grass/trunk/raster/r.surf.idw/main.c clones of exhaust_search are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.surf.idw/main.c exhaust_search
In /var/project-manager/grass/grassSVN/grass/trunk/raster/r.surf.idw/main.c clones of find_neighbors are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.surf.idw/main.c find_neighbors
In /var/project-manager/grass/grassSVN/grass/trunk/raster/r.surf.idw/main.c clones of first_west are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.surf.idw/main.c first_west
In /var/project-manager/grass/grassSVN/grass/trunk/raster/r.surf.idw/main.c clones of free_row_lists are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.surf.idw/main.c free_row_lists
In /var/project-manager/grass/grassSVN/grass/trunk/raster/r.surf.idw/main.c clones of interpolate are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.surf.idw/main.c interpolate
In /var/project-manager/grass/grassSVN/grass/trunk/raster/r.surf.idw/main.c clones of lookup_and_function_ptrs are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.surf.idw/main.c lookup_and_function_ptrs
In /var/project-manager/grass/grassSVN/grass/trunk/raster/r.surf.idw/main.c clones of lookup_tables are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.surf.idw/main.c lookup_tables
In /var/project-manager/grass/grassSVN/grass/trunk/raster/r.surf.idw/main.c clones of make_neighbors_list are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.surf.idw/main.c make_neighbors_list
In /var/project-manager/grass/grassSVN/grass/trunk/raster/r.surf.idw/main.c clones of next_row are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.surf.idw/main.c next_row
In /var/project-manager/grass/grassSVN/grass/trunk/raster/r.surf.idw/main.c clones of replace_neighbor are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.surf.idw/main.c replace_neighbor
In /var/project-manager/grass/grassSVN/grass/trunk/raster/r.surf.idw/main.c clones of row_lists are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.surf.idw/main.c row_lists
In /var/project-manager/grass/grassSVN/grass/trunk/raster/r.surf.idw/main.c clones of search are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.surf.idw/main.c search
In /var/project-manager/grass/grassSVN/grass/trunk/raster/r.surf.idw/main.c clones of sort_neighbors are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.surf.idw/main.c sort_neighbors
*****************************************************************
File :grass/trunk/raster/r.surf.idw2/read_cell.c
*****************************************************************
Function
read_cell(Begins at: 8, Ends at:53)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 6 | * | WARNING | 7 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 20 | * | WARNING | 24 |
LOC: | 46 | * | WARNING | 53 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file does not contain cloned functions
*****************************************************************
File :grass/trunk/raster/r.surf.random/main.c
*****************************************************************
Function
main(Begins at: 22, Ends at:67)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 2 | | OK | 2 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 17 | * | WARNING | 17 |
LOC: | 46 | * | WARNING | 56 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file does not contain cloned functions
*****************************************************************
File :grass/trunk/raster/r.texture/main.c
*****************************************************************
Function
main(Begins at: 48, Ends at:355)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 28 | *** | MONSTER | 29 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 103 | *** | MONSTER | 106 |
LOC: | 308 | *** | MONSTER | 313 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a MONSTER |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file does not contain cloned functions
*****************************************************************
File :grass/trunk/raster/r.thin/io.c
*****************************************************************
Function
close_file(Begins at: 155, Ends at:187)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 5 | | OK | 5 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 19 | * | WARNING | 19 |
LOC: | 33 | | OK | 33 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
get_a_row(Begins at: 56, Ends at:61)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 2 | | OK | 2 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 1 | | OK | 1 |
LOC: | 6 | | OK | 6 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
map_size(Begins at: 189, Ends at:196)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 1 | | OK | 1 |
ParamNBR: | 3 | * | WARNING | 3 |
CalledNBR: | 0 | | OK | 0 |
LOC: | 8 | | OK | 8 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
open_file(Begins at: 84, Ends at:153)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 12 | * | WARNING | 13 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 36 | ** | BABY-MONSTER | 40 |
LOC: | 70 | * | WARNING | 75 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a BABY-MONSTER |
-----------------------------------------------------------+
metrics are OK
put_a_row(Begins at: 63, Ends at:69)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 1 | | OK | 1 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 1 | | OK | 1 |
LOC: | 7 | | OK | 7 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
read_row(Begins at: 72, Ends at:76)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 1 | | OK | 1 |
ParamNBR: | 4 | * | WARNING | 4 |
CalledNBR: | 2 | | OK | 2 |
LOC: | 5 | | OK | 5 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
write_row(Begins at: 78, Ends at:82)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 1 | | OK | 1 |
ParamNBR: | 4 | * | WARNING | 4 |
CalledNBR: | 2 | | OK | 2 |
LOC: | 5 | | OK | 5 |
--------------+---------+-------+--------------+-----------+
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/raster/r.thin/io.c clones of close_file are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.thin/io.c close_file
*****************************************************************
File :grass/trunk/raster/r.timestamp/main.c
*****************************************************************
Function
main(Begins at: 23, Ends at:74)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 6 | * | WARNING | 8 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 22 | * | WARNING | 25 |
LOC: | 52 | * | WARNING | 61 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file does not contain cloned functions
*****************************************************************
File :grass/trunk/raster/r.to.rast3/main.c
*****************************************************************
Function
close_input_raster_map(Begins at: 360, Ends at:364)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 2 | | OK | 2 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 3 | | OK | 3 |
LOC: | 5 | | OK | 5 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
fatal_error(Begins at: 50, Ends at:69)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 5 | | OK | 5 |
ParamNBR: | 4 | * | WARNING | 4 |
CalledNBR: | 6 | | OK | 6 |
LOC: | 20 | | OK | 20 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
main(Begins at: 176, Ends at:333)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 22 | *** | MONSTER | 23 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 48 | *** | MONSTER | 51 |
LOC: | 158 | *** | MONSTER | 169 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a MONSTER |
-----------------------------------------------------------+
metrics are OK
open_input_raster_map(Begins at: 340, Ends at:355)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 2 | | OK | 2 |
ParamNBR: | 1 | | OK | 2 |
CalledNBR: | 4 | | OK | 4 |
LOC: | 16 | | OK | 16 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
open_input_raster_map(Begins at: 351, Ends at:366)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 2 | ** | BABY-MONSTER | 2 |
ParamNBR: | 2 | * | WARNING | 2 |
CalledNBR: | 4 | ** | BABY-MONSTER | 4 |
LOC: | 16 | * | WARNING | 16 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a BABY-MONSTER |
-----------------------------------------------------------+
metrics are OK
raster_to_g3d(Begins at: 92, Ends at:170)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 15 | | OK | 15 |
ParamNBR: | 3 | | OK | 3 |
CalledNBR: | 23 | | OK | 23 |
LOC: | 79 | | OK | 79 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file has 12 potentially cloned functions:
open_input_raster_map open_input_raster_map open_input_raster_map open_input_map open_input_map open_input_raster_map open_input_raster_map open_input_raster_map open_input_map open_input_map raster_to_g3d
In /var/project-manager/grass/grassSVN/grass/trunk/raster/r.to.rast3/main.c clones of fatal_error are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.to.rast3/main.c fatal_error
In /var/project-manager/grass/grassSVN/grass/trunk/raster/r.to.rast3/main.c clones of open_input_raster_map are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.to.rast3/main.c open_input_raster_map
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.to.rast3elev/main.c open_input_raster_map
/var/project-manager/grass/grassSVN/grass/trunk/raster/r.to.rast3elev/main.c open_input_raster_map
/var/project-manager/grass/grassSVN/grass/trunk/raster3d/r3.out.vtk/main.c open_input_map
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster3d/r3.out.vtk/main.c open_input_map
In /var/project-manager/grass/grassSVN/grass/trunk/raster/r.to.rast3/main.c clones of open_input_raster_map are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.to.rast3/main.c open_input_raster_map
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.to.rast3elev/main.c open_input_raster_map
/var/project-manager/grass/grassSVN/grass/trunk/raster/r.to.rast3elev/main.c open_input_raster_map
/var/project-manager/grass/grassSVN/grass/trunk/raster3d/r3.out.vtk/main.c open_input_map
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster3d/r3.out.vtk/main.c open_input_map
In /var/project-manager/grass/grassSVN/grass/trunk/raster/r.to.rast3/main.c clones of raster_to_g3d are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.to.rast3/main.c raster_to_g3d
*****************************************************************
File :grass/trunk/raster/r.to.rast3elev/main.c
*****************************************************************
Function
check_input_maps(Begins at: 80, Ends at:103)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 6 | * | WARNING | 8 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 3 | | OK | 12 |
LOC: | 24 | | OK | 47 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
close_input_raster_map(Begins at: 126, Ends at:130)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 2 | | OK | 2 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 3 | | OK | 3 |
LOC: | 5 | | OK | 5 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
elev_raster_to_g3d(Begins at: 198, Ends at:331)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 26 | *** | MONSTER | 26 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 31 | ** | BABY-MONSTER | 31 |
LOC: | 134 | ** | BABY-MONSTER | 134 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a MONSTER |
-----------------------------------------------------------+
metrics are OK
fatal_error(Begins at: 135, Ends at:152)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 5 | | OK | 5 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 7 | | OK | 7 |
LOC: | 18 | | OK | 18 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
get_raster_value_as_double(Begins at: 64, Ends at:75)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 7 | * | WARNING | 7 |
ParamNBR: | 3 | * | WARNING | 3 |
CalledNBR: | 1 | | OK | 3 |
LOC: | 12 | | OK | 31 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
main(Begins at: 336, Ends at:498)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 18 | ** | BABY-MONSTER | 18 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 51 | *** | MONSTER | 53 |
LOC: | 163 | *** | MONSTER | 170 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a MONSTER |
-----------------------------------------------------------+
metrics are OK
open_input_raster_map(Begins at: 108, Ends at:121)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 2 | | OK | 2 |
ParamNBR: | 1 | | OK | 2 |
CalledNBR: | 4 | | OK | 4 |
LOC: | 14 | | OK | 14 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
open_input_raster_map(Begins at: 150, Ends at:163)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 2 | | OK | 2 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 4 | * | WARNING | 4 |
LOC: | 14 | | OK | 14 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file has 17 potentially cloned functions:
elev_raster_to_g3d fatal_error get_raster_value_as_double get_raster_value_as_double get_raster_value_as_double get_raster_value_as_double open_input_raster_map open_input_raster_map open_input_raster_map open_input_map open_input_map open_input_raster_map open_input_raster_map open_input_raster_map open_input_map open_input_map
In /var/project-manager/grass/grassSVN/grass/trunk/raster/r.to.rast3elev/main.c clones of check_input_maps are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.to.rast3elev/main.c check_input_maps
In /var/project-manager/grass/grassSVN/grass/trunk/raster/r.to.rast3elev/main.c clones of elev_raster_to_g3d are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.to.rast3elev/main.c elev_raster_to_g3d
In /var/project-manager/grass/grassSVN/grass/trunk/raster/r.to.rast3elev/main.c clones of fatal_error are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.to.rast3elev/main.c fatal_error
In /var/project-manager/grass/grassSVN/grass/trunk/raster/r.to.rast3elev/main.c clones of get_raster_value_as_double are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.to.rast3elev/main.c get_raster_value_as_double
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster3d/r3.out.vtk/writeVTKData.c get_raster_value_as_double
/var/project-manager/grass/grassSVN/grass/trunk/raster/r.out.vtk/writeascii.c get_raster_value_as_double
/var/project-manager/grass/grassSVN/grass/trunk/raster3d/r3.out.vtk/writeVTKData.c get_raster_value_as_double
In /var/project-manager/grass/grassSVN/grass/trunk/raster/r.to.rast3elev/main.c clones of open_input_raster_map are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.to.rast3/main.c open_input_raster_map
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.to.rast3elev/main.c open_input_raster_map
/var/project-manager/grass/grassSVN/grass/trunk/raster/r.to.rast3/main.c open_input_raster_map
/var/project-manager/grass/grassSVN/grass/trunk/raster3d/r3.out.vtk/main.c open_input_map
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster3d/r3.out.vtk/main.c open_input_map
In /var/project-manager/grass/grassSVN/grass/trunk/raster/r.to.rast3elev/main.c clones of open_input_raster_map are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.to.rast3/main.c open_input_raster_map
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.to.rast3elev/main.c open_input_raster_map
/var/project-manager/grass/grassSVN/grass/trunk/raster/r.to.rast3/main.c open_input_raster_map
/var/project-manager/grass/grassSVN/grass/trunk/raster3d/r3.out.vtk/main.c open_input_map
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster3d/r3.out.vtk/main.c open_input_map
*****************************************************************
File :grass/trunk/raster/r.topidx/check_ready.c
*****************************************************************
The system don't find class, method and function
in this file during analysis!
*****************************************************************
File :grass/trunk/raster/r.topidx/file_io.c
*****************************************************************
Function
getcells(Begins at: 7, Ends at:72)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 16 | ** | BABY-MONSTER | 16 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 39 | *** | MONSTER | 39 |
LOC: | 66 | * | WARNING | 66 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a MONSTER |
-----------------------------------------------------------+
metrics are OK
putcells(Begins at: 75, Ends at:96)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 3 | | OK | 3 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 12 | * | WARNING | 12 |
LOC: | 22 | | OK | 22 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file has 2 potentially cloned functions:
putcells
In /var/project-manager/grass/grassSVN/grass/trunk/raster/r.topidx/file_io.c clones of getcells are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.topidx/file_io.c getcells
In /var/project-manager/grass/grassSVN/grass/trunk/raster/r.topidx/file_io.c clones of putcells are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.topidx/file_io.c putcells
*****************************************************************
File :grass/trunk/raster/r.topidx/global.h
*****************************************************************
The system don't find class, method and function
in this file during analysis!
*****************************************************************
File :grass/trunk/raster/r.topidx/main.c
*****************************************************************
Function
main(Begins at: 29, Ends at:71)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 3 | | OK | 4 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 20 | * | WARNING | 23 |
LOC: | 43 | * | WARNING | 47 |
--------------+---------+-------+--------------+-----------+
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/raster/r.topidx/main.c clones of main are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.topidx/main.c main
*****************************************************************
File :grass/trunk/raster/r.topmodel/check_ready.c
*****************************************************************
Function
check_io(Begins at: 240, Ends at:413)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 34 | *** | MONSTER | 34 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 42 | *** | MONSTER | 42 |
LOC: | 174 | *** | MONSTER | 174 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a MONSTER |
-----------------------------------------------------------+
metrics are OK
check_names(Begins at: 91, Ends at:237)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 32 | *** | MONSTER | 32 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 50 | *** | MONSTER | 50 |
LOC: | 147 | *** | MONSTER | 147 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a MONSTER |
-----------------------------------------------------------+
metrics are OK
check_ready(Begins at: 4, Ends at:38)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 9 | * | WARNING | 9 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 9 | | OK | 9 |
LOC: | 35 | | OK | 35 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
check_required(Begins at: 41, Ends at:88)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 9 | * | WARNING | 9 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 7 | | OK | 7 |
LOC: | 48 | * | WARNING | 48 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file has 3 potentially cloned functions:
check_ready check_required
In /var/project-manager/grass/grassSVN/grass/trunk/raster/r.topmodel/check_ready.c clones of check_names are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.topmodel/check_ready.c check_names
In /var/project-manager/grass/grassSVN/grass/trunk/raster/r.topmodel/check_ready.c clones of check_ready are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.topmodel/check_ready.c check_ready
In /var/project-manager/grass/grassSVN/grass/trunk/raster/r.topmodel/check_ready.c clones of check_required are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.topmodel/check_ready.c check_required
*****************************************************************
File :grass/trunk/raster/r.topmodel/main.c
*****************************************************************
Function
main(Begins at: 31, Ends at:230)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 7 | * | WARNING | 7 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 50 | *** | MONSTER | 51 |
LOC: | 200 | *** | MONSTER | 203 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a MONSTER |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file does not contain cloned functions
*****************************************************************
File :grass/trunk/raster/r.topmodel/misc.c
*****************************************************************
Function
basin_elevation(Begins at: 68, Ends at:81)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 2 | | OK | 2 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 4 | | OK | 4 |
LOC: | 14 | | OK | 15 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
depressionless(Begins at: 50, Ends at:65)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 2 | | OK | 2 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 4 | | OK | 4 |
LOC: | 16 | | OK | 17 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
gregion(Begins at: 23, Ends at:47)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 6 | * | WARNING | 6 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 4 | | OK | 4 |
LOC: | 25 | | OK | 25 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
run(Begins at: 4, Ends at:20)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 2 | | OK | 2 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 3 | | OK | 3 |
LOC: | 17 | | OK | 17 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
top_index(Begins at: 84, Ends at:109)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 5 | | OK | 5 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 8 | | OK | 8 |
LOC: | 26 | | OK | 27 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file has 1 potentially cloned functions:
In /var/project-manager/grass/grassSVN/grass/trunk/raster/r.topmodel/misc.c clones of run are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.topmodel/misc.c run
*****************************************************************
File :grass/trunk/raster/r.transect/main.c
*****************************************************************
Function
main(Begins at: 28, Ends at:117)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 7 | * | WARNING | 8 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 35 | ** | BABY-MONSTER | 39 |
LOC: | 90 | * | WARNING | 127 |
--------------+---------+-------+--------------+-----------+
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/raster/r.transect/main.c clones of main are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.transect/main.c main
*****************************************************************
File :grass/trunk/raster/r.univar/r.univar_main.c
*****************************************************************
Function
main(Begins at: 60, Ends at:137)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 8 | * | WARNING | 8 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 21 | * | WARNING | 21 |
LOC: | 78 | * | WARNING | 78 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
open_raster(Begins at: 139, Ends at:148)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 2 | | OK | 3 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 3 | | OK | 6 |
LOC: | 10 | | OK | 17 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
process_raster(Begins at: 167, Ends at:237)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 10 | * | WARNING | 10 |
ParamNBR: | 3 | * | WARNING | 3 |
CalledNBR: | 13 | * | WARNING | 13 |
LOC: | 71 | * | WARNING | 71 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
set_params(Begins at: 26, Ends at:50)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 1 | | OK | 1 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 7 | | OK | 7 |
LOC: | 25 | | OK | 25 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
univar_stat_with_percentiles(Begins at: 150, Ends at:165)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 3 | | OK | 3 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 2 | | OK | 2 |
LOC: | 16 | | OK | 16 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file has 10 potentially cloned functions:
main login_filename COM_Standard_color login_filename COM_Standard_color process_raster set_params univar_stat_with_percentiles univar_stat_with_percentiles
In /var/project-manager/grass/grassSVN/grass/trunk/raster/r.univar/r.univar_main.c clones of main are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.univar2/r.univar_main.c main
/var/project-manager/grass/grassSVN/grass/trunk/raster/r.univar2/runivar_main.c main
In /var/project-manager/grass/grassSVN/grass/trunk/raster/r.univar/r.univar_main.c clones of open_raster are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/lib/db/dbmi_base/login.c login_filename
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/lib/driver/Color.c COM_Standard_color
/var/project-manager/grass/grassSVN/grass/trunk/lib/db/dbmi_base/login.c login_filename
/var/project-manager/grass/grassSVN/grass/trunk/lib/driver/Color.c COM_Standard_color
In /var/project-manager/grass/grassSVN/grass/trunk/raster/r.univar/r.univar_main.c clones of process_raster are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.univar2/r.univar_main.c process_raster
In /var/project-manager/grass/grassSVN/grass/trunk/raster/r.univar/r.univar_main.c clones of set_params are:
/var/project-manager/grass/grassSVN/grass/trunk/raster/r.univar/r3univar_main.c set_params
In /var/project-manager/grass/grassSVN/grass/trunk/raster/r.univar/r.univar_main.c clones of univar_stat_with_percentiles are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.univar2/r.univar_main.c univar_stat_with_percentiles
/var/project-manager/grass/grassSVN/grass/trunk/raster/r.univar2/runivar_main.c univar_stat_with_percentiles
*****************************************************************
File :grass/trunk/raster/r.volume/main.c
*****************************************************************
Function
main(Begins at: 33, Ends at:251)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 22 | *** | MONSTER | 25 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 61 | *** | MONSTER | 77 |
LOC: | 219 | *** | MONSTER | 230 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a MONSTER |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file does not contain cloned functions
*****************************************************************
File :grass/trunk/raster/r.walk/main.c
*****************************************************************
Class
variables(Begins at: 108, Ends at:116)
+--------+--------+--------+--------+--------+--------+
| DIT | NOC | WMC | RFC | CBO | LCOM |
+------------+--------+--------+--------+--------+--------+--------|
|NEW Metrics | 1 | 0 | 0 | 0 | 0 | 0 |
+------------+--------+--------+--------+--------+--------+--------|
|OLD Metrics | 1 | 0 | 0 | 0 | 0 | 0 |
+------------+--------+--------+--------+--------+--------+--------+
Function
main(Begins at: 127, Ends at:1515)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 210 | *** | MONSTER | 216 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 393 | *** | MONSTER | 413 |
LOC: | 1389 | *** | MONSTER | 1422 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a MONSTER |
-----------------------------------------------------------+
metrics are OK
process_answers(Begins at: 1520, Ends at:1570)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 7 | * | WARNING | 7 |
ParamNBR: | 3 | * | WARNING | 3 |
CalledNBR: | 12 | * | WARNING | 12 |
LOC: | 51 | * | WARNING | 51 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
time_to_stop(Begins at: 1575, Ends at:1595)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 6 | * | WARNING | 6 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 0 | | OK | 0 |
LOC: | 21 | | OK | 21 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file has 6 potentially cloned functions:
process_answers process_answers time_to_stop time_to_stop time_to_stop
In /var/project-manager/grass/grassSVN/grass/trunk/raster/r.walk/main.c clones of process_answers are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.walk/main.c process_answers
/var/project-manager/grass/grassSVN/grass/trunk/raster/r.cost/mainc process_answers
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.cost/main.c process_answers
In /var/project-manager/grass/grassSVN/grass/trunk/raster/r.walk/main.c clones of time_to_stop are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.walk/main.c time_to_stop
/var/project-manager/grass/grassSVN/grass/trunk/raster/r.cost/mainc time_to_stop
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.cost/main.c time_to_stop
*****************************************************************
File :grass/trunk/raster/r.walk/stash.h
*****************************************************************
Class
start_pt(Begins at: 21, Ends at:26)
+--------+--------+--------+--------+--------+--------+
| DIT | NOC | WMC | RFC | CBO | LCOM |
+------------+--------+--------+--------+--------+--------+--------|
|NEW Metrics | 1 | 0 | 0 | 0 | 0 | 0 |
+------------+--------+--------+--------+--------+--------+--------|
|OLD Metrics | 1 | 0 | 0 | 0 | 0 | 0 |
+------------+--------+--------+--------+--------+--------+--------+
Clone analysis:
This file does not contain cloned functions
*****************************************************************
File :grass/trunk/raster/r.what/die.c
*****************************************************************
The system don't find class, method and function
in this file during analysis!
*****************************************************************
File :grass/trunk/raster/r.what/local_proto.h
*****************************************************************
The system don't find class, method and function
in this file during analysis!
*****************************************************************
File :grass/trunk/raster/r.what/main.c
*****************************************************************
Class
order(Begins at: 26, Ends at:37)
+--------+--------+--------+--------+--------+--------+
| DIT | NOC | WMC | RFC | CBO | LCOM |
+------------+--------+--------+--------+--------+--------+--------|
|NEW Metrics | 1 | 0 | 0 | 0 | 0 | 0 |
+------------+--------+--------+--------+--------+--------+--------|
|OLD Metrics | 1 | 0 | 0 | 0 | 0 | 0 |
+------------+--------+--------+--------+--------+--------+--------+
Function
by_point(Begins at: 465, Ends at:470)
--------------+---------+-------+--------------+-----------+
| 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
by_row(Begins at: 452, Ends at:457)
--------------+---------+-------+--------------+-----------+
| 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
main(Begins at: 48, Ends at:425)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 59 | *** | MONSTER | 60 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 89 | *** | MONSTER | 88 |
LOC: | 378 | *** | MONSTER | 383 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a MONSTER |
-----------------------------------------------------------+
metrics are OK
oops(Begins at: 430, Ends at:444)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 3 | | OK | 3 |
ParamNBR: | 3 | * | WARNING | 3 |
CalledNBR: | 3 | | OK | 4 |
LOC: | 15 | | OK | 15 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file does not contain cloned functions
*****************************************************************
File :grass/trunk/raster/r.what/usage.c
*****************************************************************
The system don't find class, method and function
in this file during analysis!
*****************************************************************
File :grass/trunk/raster/r.what.color/main.c
*****************************************************************
Function
do_value(Begins at: 27, Ends at:67)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 10 | * | WARNING | 10 |
ParamNBR: | 3 | * | WARNING | 3 |
CalledNBR: | 15 | * | WARNING | 15 |
LOC: | 41 | | OK | 41 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
main(Begins at: 69, Ends at:152)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 10 | * | WARNING | 11 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 24 | ** | BABY-MONSTER | 26 |
LOC: | 84 | * | WARNING | 89 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a BABY-MONSTER |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file does not contain cloned functions
____________________________________________
Threshold GRASS6 key metrics values at Fri Sep 05 12:48:20 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