[GRASS-QA] GRASS QA: glynn |pie.c datumtrans.c select.c
remove_areas.c ...| 119 clones | 0 monsters |0 warnings
soccerlab.info at gmail.com
soccerlab.info at gmail.com
Fri Sep 5 12:28:46 EDT 2008
Hello glynn,
here's a report on your recent GRASS-SVN change :
ANALYSIS
your changes to files/class/methods/functions :
*****************************************************************
File :grass/trunk/display/d.vect.chart/pie.c
*****************************************************************
Function
pie(Begins at: 11, Ends at:69)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 9 | * | WARNING | 9 |
ParamNBR: | 7 | ** | BABY-MONSTER | 7 |
CalledNBR: | 17 | * | WARNING | 17 |
LOC: | 59 | * | WARNING | 59 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a BABY-MONSTER |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file does not contain cloned functions
*****************************************************************
File :grass/trunk/general/g.proj/datumtrans.c
*****************************************************************
Function
set_datumtrans(Begins at: 40, Ends at:150)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 13 | ** | BABY-MONSTER | 13 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 21 | * | WARNING | 21 |
LOC: | 111 | ** | BABY-MONSTER | 111 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a BABY-MONSTER |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file does not contain cloned functions
*****************************************************************
File :grass/trunk/lib/vector/vedit/select.c
*****************************************************************
Function
merge_lists(Begins at: 247, Ends at:265)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 3 | | OK | 3 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 5 | | OK | 5 |
LOC: | 19 | | OK | 19 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
select_by_query(Begins at: 134, Ends at:237)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 18 | ** | BABY-MONSTER | 18 |
ParamNBR: | 7 | ** | BABY-MONSTER | 7 |
CalledNBR: | 23 | ** | BABY-MONSTER | 23 |
LOC: | 104 | ** | BABY-MONSTER | 104 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a BABY-MONSTER |
-----------------------------------------------------------+
metrics are OK
Vedit_select_by_query(Begins at: 43, Ends at:125)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 16 | ** | BABY-MONSTER | 16 |
ParamNBR: | 6 | ** | BABY-MONSTER | 6 |
CalledNBR: | 21 | * | WARNING | 21 |
LOC: | 83 | * | WARNING | 83 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a BABY-MONSTER |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file has 5 potentially cloned functions:
merge_lists merge_lists select_by_query Vedit_select_by_query
In /var/project-manager/grass/grassSVN/grass/trunk/lib/vector/vedit/select.c clones of merge_lists are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/lib/vector/vedit/select.c merge_lists
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.edit/select.c merge_lists
/var/project-manager/grass/grassSVN/grass/trunk/vector/v.edit/select.c merge_lists
In /var/project-manager/grass/grassSVN/grass/trunk/lib/vector/vedit/select.c clones of select_by_query are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/lib/vector/vedit/select.c select_by_query
In /var/project-manager/grass/grassSVN/grass/trunk/lib/vector/vedit/select.c clones of Vedit_select_by_query are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/lib/vector/vedit/select.c Vedit_select_by_query
*****************************************************************
File :grass/trunk/lib/vector/Vlib/remove_areas.c
*****************************************************************
Function
Vect_remove_small_areas(Begins at: 39, Ends at:190)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 23 | *** | MONSTER | 23 |
ParamNBR: | 5 | * | WARNING | 5 |
CalledNBR: | 45 | *** | MONSTER | 45 |
LOC: | 152 | *** | MONSTER | 152 |
--------------+---------+-------+--------------+-----------+
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/lib/vector/Vlib/remove_areas.c clones of Vect_remove_small_areas are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/lib/vector/Vlib/remove_areas.c Vect_remove_small_areas
*****************************************************************
File :grass/trunk/lib/vector/Vlib/rewind.c
*****************************************************************
Function
format(Begins at: 33, Ends at:37)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 1 | | OK | 1 |
ParamNBR: | 0 | | OK | 0 |
CalledNBR: | 2 | | OK | 2 |
LOC: | 5 | | OK | 5 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
rew_dummy(Begins at: 26, Ends at:29)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 1 | | OK | 1 |
ParamNBR: | 0 | | OK | 0 |
CalledNBR: | 0 | | OK | 0 |
LOC: | 4 | | OK | 4 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
Vect_rewind(Begins at: 62, Ends at:70)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 2 | | OK | 2 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 2 | | OK | 2 |
LOC: | 9 | | OK | 9 |
--------------+---------+-------+--------------+-----------+
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/lib/vector/Vlib/rewind.c clones of Vect_rewind are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/display/d.mapgraph/do_graph.c do_size
*****************************************************************
File :grass/trunk/lib/vector/Vlib/snap.c
*****************************************************************
Function
add_item(Begins at: 44, Ends at:48)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 1 | | OK | 1 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 1 | | OK | 1 |
LOC: | 5 | | OK | 5 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
sort_new(Begins at: 435, Ends at:445)
--------------+---------+-------+--------------+-----------+
| 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
Vect_snap_lines(Begins at: 460, Ends at:491)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 4 | | OK | 4 |
ParamNBR: | 5 | * | WARNING | 5 |
CalledNBR: | 8 | | OK | 8 |
LOC: | 32 | | OK | 32 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
Vect_snap_lines_list(Begins at: 80, Ends at:432)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 37 | *** | MONSTER | 37 |
ParamNBR: | 5 | * | WARNING | 5 |
CalledNBR: | 79 | *** | MONSTER | 79 |
LOC: | 353 | *** | MONSTER | 353 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a MONSTER |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file has 23 potentially cloned functions:
cmpcatkey cmp_cat sort_new cmp_field comp_array cmp_near cmp_along cmp cmp cmpcat cmpcat cmpcatkey cmp_cat cmp_field comp_array cmp_near cmp_along cmp cmp cmpcat Vect_snap_lines Vect_snap_lines_list
In /var/project-manager/grass/grassSVN/grass/trunk/lib/vector/Vlib/snap.c clones of sort_new are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/lib/db/dbmi_client/select.c cmpcat
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/lib/db/dbmi_client/select.c cmpcatkey
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/lib/vector/Vlib/cindex.c cmp_cat
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/lib/vector/Vlib/snap.c sort_new
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/lib/vector/diglib/cindex.c cmp_field
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.random.cells/init.c comp_array
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.distance/main.c cmp_near
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.lrs/v.lrs.label/main.c cmp_along
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.net.path/path.c cmp
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.overlay/util.c cmp
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.reclass/main.c cmpcat
/var/project-manager/grass/grassSVN/grass/trunk/lib/db/dbmi_client/select.c cmpcat
/var/project-manager/grass/grassSVN/grass/trunk/lib/db/dbmi_client/select.c cmpcatkey
/var/project-manager/grass/grassSVN/grass/trunk/lib/vector/Vlib/cindex.c cmp_cat
/var/project-manager/grass/grassSVN/grass/trunk/lib/vector/diglib/cindex.c cmp_field
/var/project-manager/grass/grassSVN/grass/trunk/raster/r.random.cells/init.c comp_array
/var/project-manager/grass/grassSVN/grass/trunk/vector/v.distance/main.c cmp_near
/var/project-manager/grass/grassSVN/grass/trunk/vector/v.lrs/v.lrs.label/main.c cmp_along
/var/project-manager/grass/grassSVN/grass/trunk/vector/v.net.path/path.c cmp
/var/project-manager/grass/grassSVN/grass/trunk/vector/v.overlay/util.c cmp
/var/project-manager/grass/grassSVN/grass/trunk/vector/v.reclass/main.c cmpcat
In /var/project-manager/grass/grassSVN/grass/trunk/lib/vector/Vlib/snap.c clones of Vect_snap_lines are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/lib/vector/Vlib/snap.c Vect_snap_lines
In /var/project-manager/grass/grassSVN/grass/trunk/lib/vector/Vlib/snap.c clones of Vect_snap_lines_list are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/lib/vector/Vlib/snap.c Vect_snap_lines_list
*****************************************************************
File :grass/trunk/raster/r.proj/readcell.c
*****************************************************************
Function
readcell(Begins at: 11, Ends at:32)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 3 | | OK | 3 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 11 | * | WARNING | 11 |
LOC: | 22 | | OK | 22 |
--------------+---------+-------+--------------+-----------+
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.proj/readcell.c clones of readcell are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.proj/readcell.c readcell
*****************************************************************
File :grass/trunk/raster/r.to.vect/main.c
*****************************************************************
Function
main(Begins at: 59, Ends at:299)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 31 | *** | MONSTER | 31 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 96 | *** | MONSTER | 96 |
LOC: | 241 | *** | MONSTER | 241 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a MONSTER |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file does not contain cloned functions
*****************************************************************
File :grass/trunk/vector/lidar/v.lidar.correction/correction.c
*****************************************************************
Function
correction(Begins at: 213, Ends at:229)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 5 | | OK | 5 |
ParamNBR: | 5 | * | WARNING | 5 |
CalledNBR: | 2 | | OK | 2 |
LOC: | 17 | | OK | 17 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
Insert_Correction(Begins at: 266, Ends at:278)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 1 | | OK | 1 |
ParamNBR: | 3 | * | WARNING | 3 |
CalledNBR: | 6 | | OK | 6 |
LOC: | 13 | | OK | 13 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
P_Read_Vector_Correction(Begins at: 294, Ends at:368)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 6 | * | WARNING | 6 |
ParamNBR: | 5 | * | WARNING | 5 |
CalledNBR: | 13 | * | WARNING | 13 |
LOC: | 75 | * | WARNING | 75 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
P_Sparse_Correction(Begins at: 29, Ends at:210)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 25 | *** | MONSTER | 25 |
ParamNBR: | 19 | *** | MONSTER | 19 |
CalledNBR: | 59 | *** | MONSTER | 59 |
LOC: | 182 | *** | MONSTER | 182 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a MONSTER |
-----------------------------------------------------------+
metrics are OK
Select_Correction(Begins at: 231, Ends at:264)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 4 | | OK | 4 |
ParamNBR: | 3 | * | WARNING | 3 |
CalledNBR: | 12 | * | WARNING | 12 |
LOC: | 34 | | OK | 34 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
UpDate_Correction(Begins at: 280, Ends at:292)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 1 | | OK | 1 |
ParamNBR: | 3 | * | WARNING | 3 |
CalledNBR: | 4 | | OK | 4 |
LOC: | 13 | | OK | 13 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file has 11 potentially cloned functions:
Insert_Outlier Insert_Correction Insert_Outlier P_Read_Vector_Correction Select_Outlier Select_Correction Select_Outlier UpDate_Outlier UpDate_Correction UpDate_Outlier
In /var/project-manager/grass/grassSVN/grass/trunk/vector/lidar/v.lidar.correction/correction.c clones of correction are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/lidar/v.lidar.correction/correction.c correction
In /var/project-manager/grass/grassSVN/grass/trunk/vector/lidar/v.lidar.correction/correction.c clones of Insert_Correction are:
/var/project-manager/grass/grassSVN/grass/trunk/vector/lidar/v.outlier/outlier.c Insert_Outlier
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/lidar/v.lidar.correction/correction.c Insert_Correction
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/lidar/v.outlier/outlier.c Insert_Outlier
In /var/project-manager/grass/grassSVN/grass/trunk/vector/lidar/v.lidar.correction/correction.c clones of P_Read_Vector_Correction are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/lidar/v.lidar.correction/correction.c P_Read_Vector_Correction
In /var/project-manager/grass/grassSVN/grass/trunk/vector/lidar/v.lidar.correction/correction.c clones of Select_Correction are:
/var/project-manager/grass/grassSVN/grass/trunk/vector/lidar/v.outlier/outlier.c Select_Outlier
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/lidar/v.lidar.correction/correction.c Select_Correction
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/lidar/v.outlier/outlier.c Select_Outlier
In /var/project-manager/grass/grassSVN/grass/trunk/vector/lidar/v.lidar.correction/correction.c clones of UpDate_Correction are:
/var/project-manager/grass/grassSVN/grass/trunk/vector/lidar/v.outlier/outlier.c UpDate_Outlier
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/lidar/v.lidar.correction/correction.c UpDate_Correction
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/lidar/v.outlier/outlier.c UpDate_Outlier
*****************************************************************
File :grass/trunk/vector/lidar/v.lidar.correction/main.c
*****************************************************************
Function
main(Begins at: 32, Ends at:347)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 22 | *** | MONSTER | 22 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 124 | *** | MONSTER | 124 |
LOC: | 316 | *** | MONSTER | 316 |
--------------+---------+-------+--------------+-----------+
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/vector/lidar/v.lidar.correction/main.c clones of main are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/lidar/v.lidar.correction/main.c main
*****************************************************************
File :grass/trunk/vector/lidar/v.lidar.edgedetection/edgedetection.c
*****************************************************************
Function
classification(Begins at: 171, Ends at:399)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 25 | *** | MONSTER | 25 |
ParamNBR: | 16 | *** | MONSTER | 16 |
CalledNBR: | 58 | *** | MONSTER | 58 |
LOC: | 229 | *** | MONSTER | 229 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a MONSTER |
-----------------------------------------------------------+
metrics are OK
Create_AuxEdge_Table(Begins at: 507, Ends at:542)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 2 | | OK | 2 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 18 | * | WARNING | 18 |
LOC: | 36 | | OK | 36 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
Create_Interpolation_Table(Begins at: 556, Ends at:584)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 2 | | OK | 2 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 14 | * | WARNING | 14 |
LOC: | 29 | | OK | 29 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
Drop_Aux_Table(Begins at: 544, Ends at:553)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 1 | | OK | 1 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 4 | | OK | 4 |
LOC: | 10 | | OK | 10 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
edge_detection(Begins at: 34, Ends at:144)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 8 | | OK | 8 |
ParamNBR: | 10 | * | WARNING | 10 |
CalledNBR: | 32 | | OK | 32 |
LOC: | 111 | | OK | 111 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
Get_Gradient(Begins at: 146, Ends at:169)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 1 | | OK | 1 |
ParamNBR: | 4 | * | WARNING | 4 |
CalledNBR: | 2 | | OK | 2 |
LOC: | 24 | | OK | 24 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
Insert(Begins at: 401, Ends at:417)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 1 | | OK | 1 |
ParamNBR: | 5 | * | WARNING | 5 |
CalledNBR: | 6 | | OK | 6 |
LOC: | 17 | | OK | 17 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
Insert_Interpolation(Begins at: 419, Ends at:433)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 1 | * | WARNING | 1 |
ParamNBR: | 4 | * | WARNING | 4 |
CalledNBR: | 6 | * | WARNING | 6 |
LOC: | 15 | * | WARNING | 15 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
Select(Begins at: 452, Ends at:504)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 6 | | OK | 6 |
ParamNBR: | 5 | * | WARNING | 5 |
CalledNBR: | 22 | | OK | 22 |
LOC: | 53 | | OK | 53 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
UpDate(Begins at: 436, Ends at:450)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 1 | * | WARNING | 1 |
ParamNBR: | 5 | *** | MONSTER | 5 |
CalledNBR: | 4 | ** | BABY-MONSTER | 4 |
LOC: | 15 | ** | BABY-MONSTER | 15 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a MONSTER |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file has 9 potentially cloned functions:
Create_Interpolation_Table Drop_Aux_Table edge_detection Get_Gradient Insert Insert_Interpolation Select UpDate
In /var/project-manager/grass/grassSVN/grass/trunk/vector/lidar/v.lidar.edgedetection/edgedetection.c clones of Create_AuxEdge_Table are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/lidar/v.lidar.edgedetection/edgedetection.c Create_AuxEdge_Table
In /var/project-manager/grass/grassSVN/grass/trunk/vector/lidar/v.lidar.edgedetection/edgedetection.c clones of Create_Interpolation_Table are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/lidar/v.lidar.edgedetection/edgedetection.c Create_Interpolation_Table
In /var/project-manager/grass/grassSVN/grass/trunk/vector/lidar/v.lidar.edgedetection/edgedetection.c clones of Drop_Aux_Table are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/lidar/v.lidar.edgedetection/edgedetection.c Drop_Aux_Table
In /var/project-manager/grass/grassSVN/grass/trunk/vector/lidar/v.lidar.edgedetection/edgedetection.c clones of edge_detection are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/lidar/v.lidar.edgedetection/edgedetection.c edge_detection
In /var/project-manager/grass/grassSVN/grass/trunk/vector/lidar/v.lidar.edgedetection/edgedetection.c clones of Get_Gradient are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/lidar/v.lidar.edgedetection/edgedetection.c Get_Gradient
In /var/project-manager/grass/grassSVN/grass/trunk/vector/lidar/v.lidar.edgedetection/edgedetection.c clones of Insert are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/lidar/v.lidar.edgedetection/edgedetection.c Insert
In /var/project-manager/grass/grassSVN/grass/trunk/vector/lidar/v.lidar.edgedetection/edgedetection.c clones of Insert_Interpolation are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/lidar/v.lidar.edgedetection/edgedetection.c Insert_Interpolation
In /var/project-manager/grass/grassSVN/grass/trunk/vector/lidar/v.lidar.edgedetection/edgedetection.c clones of Select are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/lidar/v.lidar.edgedetection/edgedetection.c Select
In /var/project-manager/grass/grassSVN/grass/trunk/vector/lidar/v.lidar.edgedetection/edgedetection.c clones of UpDate are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/lidar/v.lidar.edgedetection/edgedetection.c UpDate
*****************************************************************
File :grass/trunk/vector/lidar/v.lidar.edgedetection/main.c
*****************************************************************
Function
main(Begins at: 41, Ends at:386)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 24 | *** | MONSTER | 24 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 138 | *** | MONSTER | 138 |
LOC: | 346 | *** | MONSTER | 346 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a MONSTER |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file does not contain cloned functions
*****************************************************************
File :grass/trunk/vector/lidar/v.lidar.growing/main.c
*****************************************************************
Function
main(Begins at: 36, Ends at:499)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 48 | *** | MONSTER | 48 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 123 | *** | MONSTER | 123 |
LOC: | 464 | *** | MONSTER | 464 |
--------------+---------+-------+--------------+-----------+
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/vector/lidar/v.lidar.growing/main.c clones of main are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/lidar/v.lidar.growing/main.c main
*****************************************************************
File :grass/trunk/vector/lidar/v.outlier/main.c
*****************************************************************
Function
main(Begins at: 35, Ends at:361)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 28 | *** | MONSTER | 28 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 118 | *** | MONSTER | 118 |
LOC: | 327 | *** | MONSTER | 327 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a MONSTER |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file does not contain cloned functions
*****************************************************************
File :grass/trunk/vector/lidar/v.outlier/outlier.c
*****************************************************************
Function
Insert_Outlier(Begins at: 217, Ends at:230)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 1 | | OK | 1 |
ParamNBR: | 3 | * | WARNING | 3 |
CalledNBR: | 6 | | OK | 6 |
LOC: | 14 | | OK | 14 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
P_is_outlier(Begins at: 282, Ends at:290)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 2 | | OK | 2 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 1 | | OK | 1 |
LOC: | 9 | | OK | 9 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
P_Outlier(Begins at: 10, Ends at:215)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 33 | *** | MONSTER | 33 |
ParamNBR: | 13 | *** | MONSTER | 13 |
CalledNBR: | 57 | *** | MONSTER | 57 |
LOC: | 206 | *** | MONSTER | 206 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a MONSTER |
-----------------------------------------------------------+
metrics are OK
Select_Outlier(Begins at: 246, Ends at:280)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 4 | | OK | 4 |
ParamNBR: | 3 | * | WARNING | 3 |
CalledNBR: | 12 | * | WARNING | 12 |
LOC: | 35 | | OK | 35 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
UpDate_Outlier(Begins at: 232, Ends at:244)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 1 | | OK | 1 |
ParamNBR: | 3 | * | WARNING | 3 |
CalledNBR: | 4 | | OK | 4 |
LOC: | 13 | | OK | 13 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file has 9 potentially cloned functions:
Insert_Correction Insert_Outlier Select_Correction Select_Correction Select_Outlier UpDate_Correction UpDate_Correction UpDate_Outlier
In /var/project-manager/grass/grassSVN/grass/trunk/vector/lidar/v.outlier/outlier.c clones of Insert_Outlier are:
/var/project-manager/grass/grassSVN/grass/trunk/vector/lidar/v.lidar.correction/correction.c Insert_Correction
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/lidar/v.lidar.correction/correction.c Insert_Correction
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/lidar/v.outlier/outlier.c Insert_Outlier
In /var/project-manager/grass/grassSVN/grass/trunk/vector/lidar/v.outlier/outlier.c clones of Select_Outlier are:
/var/project-manager/grass/grassSVN/grass/trunk/vector/lidar/v.lidar.correction/correction.c Select_Correction
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/lidar/v.lidar.correction/correction.c Select_Correction
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/lidar/v.outlier/outlier.c Select_Outlier
In /var/project-manager/grass/grassSVN/grass/trunk/vector/lidar/v.outlier/outlier.c clones of UpDate_Outlier are:
/var/project-manager/grass/grassSVN/grass/trunk/vector/lidar/v.lidar.correction/correction.c UpDate_Correction
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/lidar/v.lidar.correction/correction.c UpDate_Correction
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/lidar/v.outlier/outlier.c UpDate_Outlier
*****************************************************************
File :grass/trunk/vector/lidar/v.surf.bspline/crosscorr.c
*****************************************************************
Function
alloc_Stats(Begins at: 406, Ends at:419)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 1 | | OK | 1 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 4 | | OK | 4 |
LOC: | 14 | | OK | 14 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
calc_mean(Begins at: 363, Ends at:373)
--------------+---------+-------+--------------+-----------+
| 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
calc_root_mean_square(Begins at: 376, Ends at:390)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 3 | | OK | 3 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 2 | | OK | 2 |
LOC: | 15 | | OK | 15 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
calc_standard_deviation(Begins at: 392, Ends at:404)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 2 | | OK | 2 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 5 | | OK | 5 |
LOC: | 13 | | OK | 13 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
cross_correlation(Begins at: 36, Ends at:334)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 21 | *** | MONSTER | 21 |
ParamNBR: | 3 | * | WARNING | 3 |
CalledNBR: | 95 | *** | MONSTER | 95 |
LOC: | 299 | *** | MONSTER | 299 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a MONSTER |
-----------------------------------------------------------+
metrics are OK
find_minimum(Begins at: 421, Ends at:435)
--------------+---------+-------+--------------+-----------+
| 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
interpolation(Begins at: 337, Ends at:360)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 2 | | OK | 2 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 4 | | OK | 4 |
LOC: | 24 | | OK | 24 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
swap(Begins at: 437, Ends at:446)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 1 | | OK | 1 |
ParamNBR: | 3 | * | WARNING | 3 |
CalledNBR: | 4 | | OK | 4 |
LOC: | 10 | | OK | 10 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file has 7 potentially cloned functions:
calc_mean calc_root_mean_square calc_standard_deviation find_minimum interpolation swap
In /var/project-manager/grass/grassSVN/grass/trunk/vector/lidar/v.surf.bspline/crosscorr.c clones of alloc_Stats are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/lidar/v.surf.bspline/crosscorr.c alloc_Stats
In /var/project-manager/grass/grassSVN/grass/trunk/vector/lidar/v.surf.bspline/crosscorr.c clones of calc_mean are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/lidar/v.surf.bspline/crosscorr.c calc_mean
In /var/project-manager/grass/grassSVN/grass/trunk/vector/lidar/v.surf.bspline/crosscorr.c clones of calc_root_mean_square are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/lidar/v.surf.bspline/crosscorr.c calc_root_mean_square
In /var/project-manager/grass/grassSVN/grass/trunk/vector/lidar/v.surf.bspline/crosscorr.c clones of calc_standard_deviation are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/lidar/v.surf.bspline/crosscorr.c calc_standard_deviation
In /var/project-manager/grass/grassSVN/grass/trunk/vector/lidar/v.surf.bspline/crosscorr.c clones of find_minimum are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/lidar/v.surf.bspline/crosscorr.c find_minimum
In /var/project-manager/grass/grassSVN/grass/trunk/vector/lidar/v.surf.bspline/crosscorr.c clones of interpolation are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/lidar/v.surf.bspline/crosscorr.c interpolation
In /var/project-manager/grass/grassSVN/grass/trunk/vector/lidar/v.surf.bspline/crosscorr.c clones of swap are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/lidar/v.surf.bspline/crosscorr.c swap
*****************************************************************
File :grass/trunk/vector/lidar/v.surf.bspline/main.c
*****************************************************************
Function
main(Begins at: 35, Ends at:719)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 68 | *** | MONSTER | 68 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 229 | *** | MONSTER | 229 |
LOC: | 685 | *** | MONSTER | 685 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a MONSTER |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file does not contain cloned functions
*****************************************************************
File :grass/trunk/vector/v.buffer/main.c
*****************************************************************
Function
area_in_buffer(Begins at: 137, Ends at:217)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 10 | * | WARNING | 10 |
ParamNBR: | 6 | ** | BABY-MONSTER | 6 |
CalledNBR: | 15 | * | WARNING | 15 |
LOC: | 81 | * | WARNING | 81 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a BABY-MONSTER |
-----------------------------------------------------------+
metrics are OK
input_distance(Begins at: 36, Ends at:130)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 16 | ** | BABY-MONSTER | 16 |
ParamNBR: | 5 | * | WARNING | 5 |
CalledNBR: | 16 | * | WARNING | 16 |
LOC: | 95 | ** | BABY-MONSTER | 95 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a BABY-MONSTER |
-----------------------------------------------------------+
metrics are OK
main(Begins at: 229, Ends at:756)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 65 | *** | MONSTER | 65 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 192 | *** | MONSTER | 192 |
LOC: | 528 | *** | MONSTER | 528 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a MONSTER |
-----------------------------------------------------------+
metrics are OK
stop(Begins at: 219, Ends at:227)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 1 | | OK | 1 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 6 | | OK | 6 |
LOC: | 9 | | OK | 9 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file has 2 potentially cloned functions:
input_distance
In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.buffer/main.c clones of area_in_buffer are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.buffer/main.c area_in_buffer
In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.buffer/main.c clones of input_distance are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.buffer/main.c input_distance
*****************************************************************
File :grass/trunk/vector/v.edit/global.h
*****************************************************************
Class
GParams(Begins at: 47, 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 |
+------------+--------+--------+--------+--------+--------+--------+
Clone analysis:
This file does not contain cloned functions
*****************************************************************
File :grass/trunk/vector/v.generalize/displacement.c
*****************************************************************
Function
snakes_displacement(Begins at: 31, Ends at:321)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 40 | *** | MONSTER | 40 |
ParamNBR: | 9 | *** | MONSTER | 9 |
CalledNBR: | 91 | *** | MONSTER | 91 |
LOC: | 291 | *** | MONSTER | 291 |
--------------+---------+-------+--------------+-----------+
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/vector/v.generalize/displacement.c clones of snakes_displacement are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.generalize/displacement.c snakes_displacement
*****************************************************************
File :grass/trunk/vector/v.generalize/main.c
*****************************************************************
Function
main(Begins at: 42, Ends at:501)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 65 | *** | MONSTER | 65 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 156 | *** | MONSTER | 156 |
LOC: | 460 | *** | MONSTER | 460 |
--------------+---------+-------+--------------+-----------+
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/vector/v.generalize/main.c clones of main are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.generalize/main.c main
*****************************************************************
File :grass/trunk/vector/v.generalize/matrix.c
*****************************************************************
Function
matrix_add(Begins at: 205, Ends at:212)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 3 | | OK | 3 |
ParamNBR: | 3 | * | WARNING | 3 |
CalledNBR: | 0 | | OK | 0 |
LOC: | 8 | | OK | 8 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
matrix_add_identity(Begins at: 77, Ends at:87)
--------------+---------+-------+--------------+-----------+
| 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
matrix_free(Begins at: 46, Ends at:54)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 2 | | OK | 2 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 2 | | OK | 2 |
LOC: | 9 | | OK | 9 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
matrix_init(Begins at: 22, Ends at:44)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 5 | | OK | 5 |
ParamNBR: | 3 | * | WARNING | 3 |
CalledNBR: | 6 | | OK | 6 |
LOC: | 23 | | OK | 23 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
matrix_inverse(Begins at: 131, Ends at:194)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 13 | ** | BABY-MONSTER | 13 |
ParamNBR: | 3 | * | WARNING | 3 |
CalledNBR: | 11 | * | WARNING | 11 |
LOC: | 64 | * | WARNING | 64 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a BABY-MONSTER |
-----------------------------------------------------------+
metrics are OK
matrix_mult(Begins at: 56, Ends at:75)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 5 | | OK | 5 |
ParamNBR: | 3 | * | WARNING | 3 |
CalledNBR: | 0 | | OK | 0 |
LOC: | 20 | | OK | 20 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
matrix_mult_scalar(Begins at: 196, Ends at:203)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 3 | | OK | 3 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 0 | | OK | 0 |
LOC: | 8 | | OK | 8 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
matrix_print(Begins at: 214, Ends at:229)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 3 | | OK | 3 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 3 | | OK | 3 |
LOC: | 16 | | OK | 16 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
matrix_row_add_multiple(Begins at: 121, Ends at:128)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 2 | | OK | 2 |
ParamNBR: | 4 | * | WARNING | 4 |
CalledNBR: | 0 | | OK | 0 |
LOC: | 8 | | OK | 8 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
matrix_row_scalar(Begins at: 108, Ends at:115)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 2 | | OK | 2 |
ParamNBR: | 3 | * | WARNING | 3 |
CalledNBR: | 0 | | OK | 0 |
LOC: | 8 | | OK | 8 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
matrix_swap_rows(Begins at: 92, Ends at:104)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 2 | | OK | 2 |
ParamNBR: | 3 | * | WARNING | 3 |
CalledNBR: | 0 | | OK | 0 |
LOC: | 13 | | OK | 13 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file has 6 potentially cloned functions:
matrix_init matrix_inverse matrix_mult matrix_print matrix_swap_rows
In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.generalize/matrix.c clones of matrix_add_identity are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.generalize/matrix.c matrix_add_identity
In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.generalize/matrix.c clones of matrix_init are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.generalize/matrix.c matrix_init
In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.generalize/matrix.c clones of matrix_inverse are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.generalize/matrix.c matrix_inverse
In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.generalize/matrix.c clones of matrix_mult are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.generalize/matrix.c matrix_mult
In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.generalize/matrix.c clones of matrix_print are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.generalize/matrix.c matrix_print
In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.generalize/matrix.c clones of matrix_swap_rows are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.generalize/matrix.c matrix_swap_rows
*****************************************************************
File :grass/trunk/vector/v.generalize/network.c
*****************************************************************
Function
graph_free(Begins at: 32, Ends at:44)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 3 | | OK | 3 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 3 | | OK | 3 |
LOC: | 13 | | OK | 13 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
graph_generalization(Begins at: 70, Ends at:265)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 22 | *** | MONSTER | 22 |
ParamNBR: | 5 | * | WARNING | 5 |
CalledNBR: | 80 | *** | MONSTER | 80 |
LOC: | 196 | *** | MONSTER | 196 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a MONSTER |
-----------------------------------------------------------+
metrics are OK
graph_init(Begins at: 46, Ends at:62)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 3 | | OK | 3 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 5 | | OK | 5 |
LOC: | 17 | | OK | 17 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file has 3 potentially cloned functions:
graph_generalization graph_init
In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.generalize/network.c clones of graph_free are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.generalize/network.c graph_free
In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.generalize/network.c clones of graph_generalization are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.generalize/network.c graph_generalization
In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.generalize/network.c clones of graph_init are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.generalize/network.c graph_init
*****************************************************************
File :grass/trunk/vector/v.generalize/point.c
*****************************************************************
Function
points_copy_last(Begins at: 73, Ends at:82)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 1 | | OK | 1 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 0 | | OK | 0 |
LOC: | 10 | | OK | 10 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
point_add(Begins at: 33, Ends at:39)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 1 | | OK | 1 |
ParamNBR: | 3 | * | WARNING | 3 |
CalledNBR: | 0 | | OK | 0 |
LOC: | 7 | | OK | 7 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
point_angle_between(Begins at: 96, Ends at:101)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 1 | | OK | 1 |
ParamNBR: | 3 | * | WARNING | 3 |
CalledNBR: | 7 | | OK | 7 |
LOC: | 6 | | OK | 6 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
point_assign(Begins at: 51, Ends at:63)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 2 | | OK | 2 |
ParamNBR: | 4 | * | WARNING | 4 |
CalledNBR: | 0 | | OK | 0 |
LOC: | 13 | | OK | 13 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
point_dist(Begins at: 84, Ends at:88)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 1 | | OK | 1 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 1 | | OK | 1 |
LOC: | 5 | | OK | 5 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
point_dist2(Begins at: 46, Ends at:49)
--------------+---------+-------+--------------+-----------+
| 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
point_dist_segment_square(Begins at: 103, Ends at:111)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 1 | | OK | 1 |
ParamNBR: | 4 | * | WARNING | 4 |
CalledNBR: | 1 | | OK | 1 |
LOC: | 9 | | OK | 9 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
point_dist_square(Begins at: 90, Ends at:94)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 1 | | OK | 1 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 0 | | OK | 0 |
LOC: | 5 | | OK | 5 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
point_dot(Begins at: 41, Ends at:44)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 1 | | OK | 1 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 0 | | OK | 0 |
LOC: | 4 | | OK | 4 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
point_list_add(Begins at: 129, Ends at:137)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 1 | | OK | 1 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 1 | | OK | 1 |
LOC: | 9 | | OK | 9 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
point_list_copy_to_line_pnts(Begins at: 139, Ends at:168)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 5 | | OK | 5 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 1 | | OK | 1 |
LOC: | 30 | | OK | 30 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
point_list_delete_next(Begins at: 182, Ends at:189)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 1 | | OK | 1 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 1 | | OK | 1 |
LOC: | 8 | | OK | 8 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
point_list_free(Begins at: 170, Ends at:180)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 2 | | OK | 2 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 1 | | OK | 1 |
LOC: | 11 | | OK | 11 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
point_list_new(Begins at: 113, Ends at:127)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 2 | | OK | 2 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 5 | | OK | 5 |
LOC: | 15 | | OK | 15 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
point_scalar(Begins at: 65, Ends at:71)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 1 | | OK | 1 |
ParamNBR: | 3 | * | WARNING | 3 |
CalledNBR: | 0 | | OK | 0 |
LOC: | 7 | | OK | 7 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
point_subtract(Begins at: 25, Ends at:31)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 1 | | OK | 1 |
ParamNBR: | 3 | * | WARNING | 3 |
CalledNBR: | 0 | | OK | 0 |
LOC: | 7 | | OK | 7 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file has 5 potentially cloned functions:
point_assign point_list_copy_to_line_pnts point_list_free point_list_new
In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.generalize/point.c clones of points_copy_last are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.generalize/point.c points_copy_last
In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.generalize/point.c clones of point_assign are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.generalize/point.c point_assign
In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.generalize/point.c clones of point_list_copy_to_line_pnts are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.generalize/point.c point_list_copy_to_line_pnts
In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.generalize/point.c clones of point_list_free are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.generalize/point.c point_list_free
In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.generalize/point.c clones of point_list_new are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.generalize/point.c point_list_new
*****************************************************************
File :grass/trunk/vector/v.generalize/smoothing.c
*****************************************************************
Function
boyle(Begins at: 30, Ends at:67)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 4 | | OK | 4 |
ParamNBR: | 3 | * | WARNING | 3 |
CalledNBR: | 6 | | OK | 6 |
LOC: | 38 | | OK | 38 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
chaiken(Begins at: 197, Ends at:255)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 8 | * | WARNING | 8 |
ParamNBR: | 3 | * | WARNING | 3 |
CalledNBR: | 19 | * | WARNING | 19 |
LOC: | 59 | * | WARNING | 59 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
distance_weighting(Begins at: 134, Ends at:192)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 8 | * | WARNING | 8 |
ParamNBR: | 4 | * | WARNING | 4 |
CalledNBR: | 15 | * | WARNING | 15 |
LOC: | 59 | * | WARNING | 59 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
hermite(Begins at: 276, Ends at:379)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 9 | * | WARNING | 9 |
ParamNBR: | 4 | * | WARNING | 4 |
CalledNBR: | 30 | ** | BABY-MONSTER | 30 |
LOC: | 104 | ** | BABY-MONSTER | 104 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a BABY-MONSTER |
-----------------------------------------------------------+
metrics are OK
refine_tangent(Begins at: 259, Ends at:270)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 2 | | OK | 2 |
ParamNBR: | 1 | | OK | 1 |
CalledNBR: | 6 | | OK | 6 |
LOC: | 12 | | OK | 12 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
sliding_averaging(Begins at: 72, Ends at:130)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 8 | * | WARNING | 8 |
ParamNBR: | 4 | * | WARNING | 4 |
CalledNBR: | 17 | * | WARNING | 17 |
LOC: | 59 | * | WARNING | 59 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a WARNING |
-----------------------------------------------------------+
metrics are OK
snakes(Begins at: 391, Ends at:490)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 13 | ** | BABY-MONSTER | 13 |
ParamNBR: | 4 | * | WARNING | 4 |
CalledNBR: | 26 | ** | BABY-MONSTER | 26 |
LOC: | 100 | ** | BABY-MONSTER | 100 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a BABY-MONSTER |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file has 7 potentially cloned functions:
chaiken distance_weighting hermite refine_tangent sliding_averaging snakes
In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.generalize/smoothing.c clones of boyle are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.generalize/smoothing.c boyle
In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.generalize/smoothing.c clones of chaiken are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.generalize/smoothing.c chaiken
In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.generalize/smoothing.c clones of distance_weighting are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.generalize/smoothing.c distance_weighting
In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.generalize/smoothing.c clones of hermite are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.generalize/smoothing.c hermite
In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.generalize/smoothing.c clones of refine_tangent are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.generalize/smoothing.c refine_tangent
In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.generalize/smoothing.c clones of sliding_averaging are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.generalize/smoothing.c sliding_averaging
In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.generalize/smoothing.c clones of snakes are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.generalize/smoothing.c snakes
*****************************************************************
File :grass/trunk/vector/v.lrs/v.lrs.create/main.c
*****************************************************************
Function
cmp_along(Begins at: 876, Ends at:892)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 5 | | OK | 5 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 0 | | OK | 0 |
LOC: | 17 | | OK | 17 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a OK |
-----------------------------------------------------------+
metrics are OK
main(Begins at: 82, Ends at:874)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 80 | *** | MONSTER | 80 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 271 | *** | MONSTER | 271 |
LOC: | 793 | *** | MONSTER | 793 |
--------------+---------+-------+--------------+-----------+
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/vector/v.lrs/v.lrs.create/main.c clones of cmp_along are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.lrs/v.lrs.create/main.c cmp_along
*****************************************************************
File :grass/trunk/vector/v.reclass/main.c
*****************************************************************
Function
cmpcat(Begins at: 31, Ends at:41)
--------------+---------+-------+--------------+-----------+
| 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
main(Begins at: 43, Ends at:425)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 45 | *** | MONSTER | 45 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 176 | *** | MONSTER | 176 |
LOC: | 383 | *** | MONSTER | 383 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a MONSTER |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file has 22 potentially cloned functions:
cmpcatkey cmp_cat sort_new cmp_field comp_array cmp_near cmp_along cmp cmp cmpcat cmpcat cmpcatkey cmp_cat sort_new cmp_field comp_array cmp_near cmp_along cmp cmp main
In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.reclass/main.c clones of cmpcat are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/lib/db/dbmi_client/select.c cmpcat
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/lib/db/dbmi_client/select.c cmpcatkey
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/lib/vector/Vlib/cindex.c cmp_cat
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/lib/vector/Vlib/snap.c sort_new
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/lib/vector/diglib/cindex.c cmp_field
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.random.cells/init.c comp_array
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.distance/main.c cmp_near
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.lrs/v.lrs.label/main.c cmp_along
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.net.path/path.c cmp
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.overlay/util.c cmp
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.reclass/main.c cmpcat
/var/project-manager/grass/grassSVN/grass/trunk/lib/db/dbmi_client/select.c cmpcat
/var/project-manager/grass/grassSVN/grass/trunk/lib/db/dbmi_client/select.c cmpcatkey
/var/project-manager/grass/grassSVN/grass/trunk/lib/vector/Vlib/cindex.c cmp_cat
/var/project-manager/grass/grassSVN/grass/trunk/lib/vector/Vlib/snap.c sort_new
/var/project-manager/grass/grassSVN/grass/trunk/lib/vector/diglib/cindex.c cmp_field
/var/project-manager/grass/grassSVN/grass/trunk/raster/r.random.cells/init.c comp_array
/var/project-manager/grass/grassSVN/grass/trunk/vector/v.distance/main.c cmp_near
/var/project-manager/grass/grassSVN/grass/trunk/vector/v.lrs/v.lrs.label/main.c cmp_along
/var/project-manager/grass/grassSVN/grass/trunk/vector/v.net.path/path.c cmp
/var/project-manager/grass/grassSVN/grass/trunk/vector/v.overlay/util.c cmp
In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.reclass/main.c clones of main are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.reclass/main.c main
*****************************************************************
File :grass/trunk/vector/v.to.db/main.c
*****************************************************************
Function
main(Begins at: 25, Ends at:100)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 7 | * | WARNING | 7 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 29 | ** | BABY-MONSTER | 29 |
LOC: | 76 | * | WARNING | 76 |
--------------+---------+-------+--------------+-----------+
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/vector/v.to.db/main.c clones of main are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.to.db/main.c main
*****************************************************************
File :grass/trunk/vector/v.to.rast/main.c
*****************************************************************
Function
main(Begins at: 27, Ends at:141)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 13 | ** | BABY-MONSTER | 13 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 42 | *** | MONSTER | 42 |
LOC: | 115 | ** | BABY-MONSTER | 115 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a MONSTER |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file does not contain cloned functions
*****************************************************************
File :grass/trunk/vector/v.univar/main.c
*****************************************************************
Function
main(Begins at: 27, Ends at:467)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 56 | *** | MONSTER | 56 |
ParamNBR: | 2 | | OK | 2 |
CalledNBR: | 120 | *** | MONSTER | 120 |
LOC: | 441 | *** | MONSTER | 441 |
--------------+---------+-------+--------------+-----------+
Conclusion: | this function is a MONSTER |
-----------------------------------------------------------+
metrics are OK
Clone analysis:
This file does not contain cloned functions
*****************************************************************
File :grass/trunk/vector/v.voronoi/dt_write.c
*****************************************************************
Function
write_triple(Begins at: 11, Ends at:93)
--------------+---------+-------+--------------+-----------+
| New Metrics |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity: | 14 | ** | BABY-MONSTER | 14 |
ParamNBR: | 3 | * | WARNING | 3 |
CalledNBR: | 16 | * | WARNING | 16 |
LOC: | 83 | * | WARNING | 83 |
--------------+---------+-------+--------------+-----------+
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/vector/v.voronoi/dt_write.c clones of write_triple are:
/var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.voronoi/dt_write.c write_triple
____________________________________________
Threshold GRASS6 key metrics values at Fri Sep 05 12:34:08 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