[GRASS-QA] GRASS QA: glynn |main.c main.c main.c main.c ...| 161 clones | 0 monsters |0 warnings

soccerlab.info at gmail.com soccerlab.info at gmail.com
Fri Sep 5 13:33:44 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/vector/v.in.dxf/main.c
*****************************************************************

          Function
main(Begins at: 41, Ends at:210)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |      17 |    ** | BABY-MONSTER |        17 |
ParamNBR:     |       2 |       |           OK |         2 |
CalledNBR:    |      66 |   *** |      MONSTER |        66 |
LOC:          |     170 |   *** |      MONSTER |       170 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a       MONSTER           |
-----------------------------------------------------------+
metrics are OK


Clone analysis:
This file does not contain cloned functions

*****************************************************************
          File :grass/trunk/vector/v.kcv/main.c
*****************************************************************

          Function
drand48(Begins at: 40, Ends at:43)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |       1 |       |           OK |         1 |
ParamNBR:     |       0 |       |           OK |         0 |
CalledNBR:    |       1 |       |           OK |         1 |
LOC:          |       4 |       |           OK |         4 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a            OK           |
-----------------------------------------------------------+
metrics are OK


main(Begins at: 53, Ends at:265)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |      17 |    ** | BABY-MONSTER |        17 |
ParamNBR:     |       2 |       |           OK |         2 |
CalledNBR:    |      84 |   *** |      MONSTER |        84 |
LOC:          |     213 |   *** |      MONSTER |       213 |
--------------+---------+-------+--------------+-----------+
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.kcv/main.c clones of main are:
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.kcv/main.c  main

*****************************************************************
          File :grass/trunk/vector/v.kernel/main.c
*****************************************************************

          Function
compute_all_distances(Begins at: 481, Ends at:506)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |       4 |       |           OK |         4 |
ParamNBR:     |       4 |     * |      WARNING |         4 |
CalledNBR:    |       4 |       |           OK |         4 |
LOC:          |      26 |       |           OK |        26 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a       WARNING           |
-----------------------------------------------------------+
metrics are OK


compute_all_net_distances(Begins at: 511, Ends at:585)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |       7 |     * |      WARNING |         7 |
ParamNBR:     |       5 |     * |      WARNING |         5 |
CalledNBR:    |      18 |     * |      WARNING |        18 |
LOC:          |      75 |     * |      WARNING |        75 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a       WARNING           |
-----------------------------------------------------------+
metrics are OK


compute_distance(Begins at: 644, Ends at:691)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |       5 |       |           OK |         5 |
ParamNBR:     |       7 |    ** | BABY-MONSTER |         7 |
CalledNBR:    |       6 |       |           OK |         6 |
LOC:          |      48 |     * |      WARNING |        48 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a  BABY-MONSTER           |
-----------------------------------------------------------+
metrics are OK


compute_net_distance(Begins at: 589, Ends at:642)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |       6 |     * |      WARNING |         6 |
ParamNBR:     |       9 |   *** |      MONSTER |         9 |
CalledNBR:    |      10 |     * |      WARNING |        10 |
LOC:          |      54 |     * |      WARNING |        54 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a       MONSTER           |
-----------------------------------------------------------+
metrics are OK


L(Begins at: 37, Ends at:76)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |       3 |       |           OK |         3 |
ParamNBR:     |       1 |       |           OK |         1 |
CalledNBR:    |      12 |     * |      WARNING |        12 |
LOC:          |      40 |       |           OK |        40 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a       WARNING           |
-----------------------------------------------------------+
metrics are OK


main(Begins at: 79, Ends at:442)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |      34 |   *** |      MONSTER |        34 |
ParamNBR:     |       2 |       |           OK |         2 |
CalledNBR:    |     130 |   *** |      MONSTER |       130 |
LOC:          |     364 |   *** |      MONSTER |       364 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a       MONSTER           |
-----------------------------------------------------------+
metrics are OK


read_points(Begins at: 446, Ends at:476)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |       4 |       |           OK |         4 |
ParamNBR:     |       3 |     * |      WARNING |         3 |
CalledNBR:    |       8 |       |           OK |         8 |
LOC:          |      31 |       |           OK |        31 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a       WARNING           |
-----------------------------------------------------------+
metrics are OK


Clone analysis:
This file has 6 potentially cloned functions:
  compute_all_net_distances  compute_distance  compute_net_distance  L  read_points

In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.kernel/main.c clones of compute_all_distances are:
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.kernel/main.c  compute_all_distances

In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.kernel/main.c clones of compute_all_net_distances are:
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.kernel/main.c  compute_all_net_distances

In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.kernel/main.c clones of compute_distance are:
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.kernel/main.c  compute_distance

In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.kernel/main.c clones of compute_net_distance are:
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.kernel/main.c  compute_net_distance

In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.kernel/main.c clones of L are:
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.kernel/main.c  L

In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.kernel/main.c clones of read_points are:
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.kernel/main.c  read_points

*****************************************************************
          File :grass/trunk/vector/v.label/main.c
*****************************************************************

          Function
main(Begins at: 33, Ends at:445)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |      41 |   *** |      MONSTER |        41 |
ParamNBR:     |       2 |       |           OK |         2 |
CalledNBR:    |     140 |   *** |      MONSTER |       140 |
LOC:          |     413 |   *** |      MONSTER |       413 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a       MONSTER           |
-----------------------------------------------------------+
metrics are OK


print_label(Begins at: 447, Ends at:473)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |       3 |       |           OK |         3 |
ParamNBR:     |       5 |     * |      WARNING |         5 |
CalledNBR:    |      17 |     * |      WARNING |        17 |
LOC:          |      27 |       |           OK |        27 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a       WARNING           |
-----------------------------------------------------------+
metrics are OK


Clone analysis:
This file has 2 potentially cloned functions:
  print_label

In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.label/main.c clones of main are:
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.label/main.c  main

In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.label/main.c clones of print_label are:
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.label/main.c  print_label

*****************************************************************
          File :grass/trunk/vector/v.label.sa/labels.c
*****************************************************************

          Function
box_overlap(Begins at: 1239, Ends at:1254)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |       5 |       |           OK |         5 |
ParamNBR:     |       2 |       |           OK |         2 |
CalledNBR:    |       0 |       |           OK |         0 |
LOC:          |      16 |       |           OK |        16 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a            OK           |
-----------------------------------------------------------+
metrics are OK


box_overlap2(Begins at: 1263, Ends at:1285)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |       4 |       |           OK |         4 |
ParamNBR:     |       2 |       |           OK |         2 |
CalledNBR:    |       1 |       |           OK |         1 |
LOC:          |      23 |       |           OK |        23 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a            OK           |
-----------------------------------------------------------+
metrics are OK


box_trans_rot(Begins at: 814, Ends at:844)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |       1 |       |           OK |         1 |
ParamNBR:     |       3 |     * |      WARNING |         3 |
CalledNBR:    |      10 |     * |      WARNING |        10 |
LOC:          |      31 |       |           OK |        31 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a       WARNING           |
-----------------------------------------------------------+
metrics are OK


candidate_compare(Begins at: 771, Ends at:784)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |       3 |       |           OK |         3 |
ParamNBR:     |       2 |       |           OK |         2 |
CalledNBR:    |       0 |       |           OK |         0 |
LOC:          |      14 |       |           OK |        14 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a            OK           |
-----------------------------------------------------------+
metrics are OK


labels_init(Begins at: 42, Ends at:226)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |      23 |   *** |      MONSTER |        23 |
ParamNBR:     |       2 |       |           OK |         2 |
CalledNBR:    |      96 |   *** |      MONSTER |        96 |
LOC:          |     185 |   *** |      MONSTER |       185 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a       MONSTER           |
-----------------------------------------------------------+
metrics are OK


label_avedist(Begins at: 852, Ends at:885)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |       3 |       |           OK |         3 |
ParamNBR:     |       2 |       |           OK |         2 |
CalledNBR:    |       5 |       |           OK |         5 |
LOC:          |      34 |       |           OK |        34 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a            OK           |
-----------------------------------------------------------+
metrics are OK


label_candidates(Begins at: 336, Ends at:364)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |       6 |     * |      WARNING |         6 |
ParamNBR:     |       2 |       |           OK |         2 |
CalledNBR:    |       7 |       |           OK |         7 |
LOC:          |      29 |       |           OK |        29 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a       WARNING           |
-----------------------------------------------------------+
metrics are OK


label_candidate_overlap(Begins at: 1146, Ends at:1231)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |      10 |     * |      WARNING |        10 |
ParamNBR:     |       2 |       |           OK |         2 |
CalledNBR:    |      15 |     * |      WARNING |        15 |
LOC:          |      86 |     * |      WARNING |        86 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a       WARNING           |
-----------------------------------------------------------+
metrics are OK


label_flatness(Begins at: 893, Ends at:984)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |       9 |     * |      WARNING |         9 |
ParamNBR:     |       2 |       |           OK |         2 |
CalledNBR:    |      29 |    ** | BABY-MONSTER |        29 |
LOC:          |      92 |    ** | BABY-MONSTER |        92 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a  BABY-MONSTER           |
-----------------------------------------------------------+
metrics are OK


label_lineover(Begins at: 1020, Ends at:1099)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |       9 |     * |      WARNING |         9 |
ParamNBR:     |       3 |     * |      WARNING |         3 |
CalledNBR:    |      16 |     * |      WARNING |        16 |
LOC:          |      80 |     * |      WARNING |        80 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a       WARNING           |
-----------------------------------------------------------+
metrics are OK


label_line_candidates(Begins at: 489, Ends at:762)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |      18 |    ** | BABY-MONSTER |        18 |
ParamNBR:     |       1 |       |           OK |         1 |
CalledNBR:    |      77 |   *** |      MONSTER |        77 |
LOC:          |     274 |   *** |      MONSTER |       274 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a       MONSTER           |
-----------------------------------------------------------+
metrics are OK


label_pointover(Begins at: 993, Ends at:1012)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |       1 |       |           OK |         1 |
ParamNBR:     |       2 |       |           OK |         2 |
CalledNBR:    |       4 |       |           OK |         4 |
LOC:          |      20 |       |           OK |        20 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a            OK           |
-----------------------------------------------------------+
metrics are OK


label_point_candidates(Begins at: 370, Ends at:483)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |       3 |       |           OK |         3 |
ParamNBR:     |       1 |       |           OK |         1 |
CalledNBR:    |      11 |     * |      WARNING |        11 |
LOC:          |     114 |    ** | BABY-MONSTER |       114 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a  BABY-MONSTER           |
-----------------------------------------------------------+
metrics are OK


label_skyline(Begins at: 234, Ends at:329)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |       4 |       |           OK |         4 |
ParamNBR:     |       3 |     * |      WARNING |         3 |
CalledNBR:    |      28 |    ** | BABY-MONSTER |        28 |
LOC:          |      96 |    ** | BABY-MONSTER |        96 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a  BABY-MONSTER           |
-----------------------------------------------------------+
metrics are OK


min_dist_2_lines(Begins at: 1108, Ends at:1139)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |       5 |       |           OK |         5 |
ParamNBR:     |       3 |     * |      WARNING |         3 |
CalledNBR:    |       2 |       |           OK |         2 |
LOC:          |      32 |       |           OK |        32 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a       WARNING           |
-----------------------------------------------------------+
metrics are OK


skyline_trans_rot(Begins at: 786, Ends at:803)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |       2 |       |           OK |         2 |
ParamNBR:     |       3 |     * |      WARNING |         3 |
CalledNBR:    |       6 |       |           OK |         6 |
LOC:          |      18 |       |           OK |        18 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a       WARNING           |
-----------------------------------------------------------+
metrics are OK


Clone analysis:
This file has 18 potentially cloned functions:
  box_overlap2  box_trans_rot  cmpPoints  candidate_compare  cmpPoints  labels_init  label_avedist  label_candidates  label_candidate_overlap  label_flatness  label_lineover  label_line_candidates  label_pointover  label_point_candidates  label_skyline  min_dist_2_lines  skyline_trans_rot

In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.label.sa/labels.c clones of box_overlap are:
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.label.sa/labels.c  box_overlap

In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.label.sa/labels.c clones of box_overlap2 are:
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.label.sa/labels.c  box_overlap2

In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.label.sa/labels.c clones of box_trans_rot are:
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.label.sa/labels.c  box_trans_rot

In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.label.sa/labels.c clones of candidate_compare are:
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.hull/main.c  cmpPoints
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.label.sa/labels.c  candidate_compare
          /var/project-manager/grass/grassSVN/grass/trunk/vector/v.hull/main.c  cmpPoints

In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.label.sa/labels.c clones of labels_init are:
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.label.sa/labels.c  labels_init

In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.label.sa/labels.c clones of label_avedist are:
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.label.sa/labels.c  label_avedist

In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.label.sa/labels.c clones of label_candidates are:
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.label.sa/labels.c  label_candidates

In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.label.sa/labels.c clones of label_candidate_overlap are:
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.label.sa/labels.c  label_candidate_overlap

In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.label.sa/labels.c clones of label_flatness are:
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.label.sa/labels.c  label_flatness

In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.label.sa/labels.c clones of label_lineover are:
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.label.sa/labels.c  label_lineover

In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.label.sa/labels.c clones of label_line_candidates are:
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.label.sa/labels.c  label_line_candidates

In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.label.sa/labels.c clones of label_pointover are:
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.label.sa/labels.c  label_pointover

In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.label.sa/labels.c clones of label_point_candidates are:
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.label.sa/labels.c  label_point_candidates

In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.label.sa/labels.c clones of label_skyline are:
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.label.sa/labels.c  label_skyline

In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.label.sa/labels.c clones of min_dist_2_lines are:
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.label.sa/labels.c  min_dist_2_lines

In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.label.sa/labels.c clones of skyline_trans_rot are:
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.label.sa/labels.c  skyline_trans_rot

*****************************************************************
          File :grass/trunk/vector/v.neighbors/main.c
*****************************************************************

          Function
main(Begins at: 27, Ends at:155)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |       9 |     * |      WARNING |         9 |
ParamNBR:     |       2 |       |           OK |         2 |
CalledNBR:    |      41 |   *** |      MONSTER |        41 |
LOC:          |     129 |    ** | BABY-MONSTER |       129 |
--------------+---------+-------+--------------+-----------+
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.neighbors/main.c clones of main are:
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.neighbors/main.c  main

*****************************************************************
          File :grass/trunk/vector/v.net/main.c
*****************************************************************

          Function
main(Begins at: 28, Ends at:212)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |      20 |    ** | BABY-MONSTER |        20 |
ParamNBR:     |       2 |       |           OK |         2 |
CalledNBR:    |      78 |   *** |      MONSTER |        78 |
LOC:          |     185 |   *** |      MONSTER |       185 |
--------------+---------+-------+--------------+-----------+
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.net/main.c clones of main are:
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.net/main.c  main

*****************************************************************
          File :grass/trunk/vector/v.net.alloc/main.c
*****************************************************************

          Function
main(Begins at: 38, Ends at:378)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |      30 |   *** |      MONSTER |        30 |
ParamNBR:     |       2 |       |           OK |         2 |
CalledNBR:    |     119 |   *** |      MONSTER |       119 |
LOC:          |     341 |   *** |      MONSTER |       341 |
--------------+---------+-------+--------------+-----------+
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.net.alloc/main.c clones of main are:
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.net.alloc/main.c  main

*****************************************************************
          File :grass/trunk/vector/v.net.iso/main.c
*****************************************************************

          Function
main(Begins at: 44, Ends at:538)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |      58 |   *** |      MONSTER |        58 |
ParamNBR:     |       2 |       |           OK |         2 |
CalledNBR:    |     139 |   *** |      MONSTER |       139 |
LOC:          |     495 |   *** |      MONSTER |       495 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a       MONSTER           |
-----------------------------------------------------------+
metrics are OK


Clone analysis:
This file does not contain cloned functions

*****************************************************************
          File :grass/trunk/vector/v.net.path/main.c
*****************************************************************

          Function
main(Begins at: 25, Ends at:155)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |       6 |     * |      WARNING |         6 |
ParamNBR:     |       2 |       |           OK |         2 |
CalledNBR:    |      55 |   *** |      MONSTER |        55 |
LOC:          |     131 |    ** | BABY-MONSTER |       131 |
--------------+---------+-------+--------------+-----------+
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.net.path/main.c clones of main are:
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.net.path/main.c  main

*****************************************************************
          File :grass/trunk/vector/v.net.salesman/main.c
*****************************************************************

          Function
add_city(Begins at: 49, Ends at:70)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |       4 |       |           OK |         4 |
ParamNBR:     |       2 |       |           OK |         2 |
CalledNBR:    |       2 |       |           OK |         2 |
LOC:          |      22 |       |           OK |        22 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a            OK           |
-----------------------------------------------------------+
metrics are OK


cmp(Begins at: 391, Ends at:403)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |       3 |       |           OK |         3 |
ParamNBR:     |       2 |       |           OK |         2 |
CalledNBR:    |       0 |       |           OK |         0 |
LOC:          |      13 |       |           OK |        13 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a            OK           |
-----------------------------------------------------------+
metrics are OK


cnode(Begins at: 44, Ends at:47)
--------------+---------+-------+--------------+-----------+
              |          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


main(Begins at: 73, Ends at:389)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |      39 |   *** |      MONSTER |        39 |
ParamNBR:     |       2 |       |           OK |         2 |
CalledNBR:    |     122 |   *** |      MONSTER |       122 |
LOC:          |     317 |   *** |      MONSTER |       317 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a       MONSTER           |
-----------------------------------------------------------+
metrics are OK


Clone analysis:
This file has 9 potentially cloned functions:
  cmp_along  cmp  cmp  cmp  cmp_along  cmp  cmp  main

In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.net.salesman/main.c clones of add_city are:
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.net.salesman/main.c  add_city

In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.net.salesman/main.c clones of cmp are:
          /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.net.salesman/main.c  cmp
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.net.steiner/main.c  cmp
          /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.net.steiner/main.c  cmp

In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.net.salesman/main.c clones of main are:
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.net.salesman/main.c  main

*****************************************************************
          File :grass/trunk/vector/v.net.steiner/main.c
*****************************************************************

          Function
cmp(Begins at: 649, Ends at:661)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |       3 |       |           OK |         3 |
ParamNBR:     |       2 |       |           OK |         2 |
CalledNBR:    |       0 |       |           OK |         0 |
LOC:          |      13 |       |           OK |        13 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a            OK           |
-----------------------------------------------------------+
metrics are OK


get_node_costs(Begins at: 89, Ends at:112)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |       4 |       |           OK |         4 |
ParamNBR:     |       3 |     * |      WARNING |         3 |
CalledNBR:    |       0 |       |           OK |         0 |
LOC:          |      24 |       |           OK |        24 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a       WARNING           |
-----------------------------------------------------------+
metrics are OK


init_node_costs(Begins at: 53, Ends at:83)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |       5 |       |           OK |         5 |
ParamNBR:     |       2 |       |           OK |         2 |
CalledNBR:    |       4 |       |           OK |         4 |
LOC:          |      31 |       |           OK |        31 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a            OK           |
-----------------------------------------------------------+
metrics are OK


main(Begins at: 320, Ends at:647)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |      35 |   *** |      MONSTER |        35 |
ParamNBR:     |       2 |       |           OK |         2 |
CalledNBR:    |     127 |   *** |      MONSTER |       127 |
LOC:          |     328 |   *** |      MONSTER |       328 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a       MONSTER           |
-----------------------------------------------------------+
metrics are OK


mst(Begins at: 123, Ends at:318)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |      31 |   *** |      MONSTER |        31 |
ParamNBR:     |       9 |   *** |      MONSTER |         9 |
CalledNBR:    |      29 |    ** | BABY-MONSTER |        29 |
LOC:          |     196 |   *** |      MONSTER |       196 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a       MONSTER           |
-----------------------------------------------------------+
metrics are OK


Clone analysis:
This file has 11 potentially cloned functions:
  cmp  cmp  cmp  cmp_along  cmp  cmp  get_node_costs  init_node_costs  main  mst

In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.net.steiner/main.c clones of cmp are:
          /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.net.salesman/main.c  cmp
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.net.steiner/main.c  cmp
          /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.net.salesman/main.c  cmp

In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.net.steiner/main.c clones of get_node_costs are:
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.net.steiner/main.c  get_node_costs

In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.net.steiner/main.c clones of init_node_costs are:
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.net.steiner/main.c  init_node_costs

In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.net.steiner/main.c clones of main are:
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.net.steiner/main.c  main

In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.net.steiner/main.c clones of mst are:
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.net.steiner/main.c  mst

*****************************************************************
          File :grass/trunk/vector/v.net.visibility/main.c
*****************************************************************

          Function
add_points(Begins at: 161, Ends at:187)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |       2 |       |           OK |         2 |
ParamNBR:     |       3 |     * |      WARNING |         3 |
CalledNBR:    |       4 |       |           OK |         4 |
LOC:          |      27 |       |           OK |        27 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a       WARNING           |
-----------------------------------------------------------+
metrics are OK


count(Begins at: 191, Ends at:227)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |       6 |     * |      WARNING |         6 |
ParamNBR:     |       3 |     * |      WARNING |         3 |
CalledNBR:    |       3 |       |           OK |         3 |
LOC:          |      37 |       |           OK |        37 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a       WARNING           |
-----------------------------------------------------------+
metrics are OK


count_new(Begins at: 144, Ends at:157)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |       2 |       |           OK |         2 |
ParamNBR:     |       1 |       |           OK |         1 |
CalledNBR:    |       0 |       |           OK |         0 |
LOC:          |      14 |       |           OK |        14 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a            OK           |
-----------------------------------------------------------+
metrics are OK


load_lines(Begins at: 232, Ends at:263)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |       6 |     * |      WARNING |         6 |
ParamNBR:     |       5 |     * |      WARNING |         5 |
CalledNBR:    |       6 |       |           OK |         6 |
LOC:          |      32 |       |           OK |        32 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a       WARNING           |
-----------------------------------------------------------+
metrics are OK


main(Begins at: 26, Ends at:140)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |      13 |    ** | BABY-MONSTER |        13 |
ParamNBR:     |       2 |       |           OK |         2 |
CalledNBR:    |      55 |   *** |      MONSTER |        55 |
LOC:          |     115 |    ** | BABY-MONSTER |       115 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a       MONSTER           |
-----------------------------------------------------------+
metrics are OK


process_boundary(Begins at: 329, Ends at:371)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |       4 |       |           OK |         4 |
ParamNBR:     |       6 |    ** | BABY-MONSTER |         6 |
CalledNBR:    |       0 |       |           OK |         0 |
LOC:          |      43 |     * |      WARNING |        43 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a  BABY-MONSTER           |
-----------------------------------------------------------+
metrics are OK


process_line(Begins at: 285, Ends at:325)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |       5 |       |           OK |         5 |
ParamNBR:     |       6 |    ** | BABY-MONSTER |         6 |
CalledNBR:    |       0 |       |           OK |         0 |
LOC:          |      41 |       |           OK |        41 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a  BABY-MONSTER           |
-----------------------------------------------------------+
metrics are OK


process_point(Begins at: 265, Ends at:281)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |       1 |       |           OK |         1 |
ParamNBR:     |       4 |     * |      WARNING |         4 |
CalledNBR:    |       0 |       |           OK |         0 |
LOC:          |      17 |       |           OK |        17 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a       WARNING           |
-----------------------------------------------------------+
metrics are OK


Clone analysis:
This file has 8 potentially cloned functions:
  count  count_new  load_lines  main  process_boundary  process_line  process_point

In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.net.visibility/main.c clones of add_points are:
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.net.visibility/main.c  add_points

In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.net.visibility/main.c clones of count are:
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.net.visibility/main.c  count

In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.net.visibility/main.c clones of count_new are:
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.net.visibility/main.c  count_new

In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.net.visibility/main.c clones of load_lines are:
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.net.visibility/main.c  load_lines

In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.net.visibility/main.c clones of main are:
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.net.visibility/main.c  main

In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.net.visibility/main.c clones of process_boundary are:
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.net.visibility/main.c  process_boundary

In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.net.visibility/main.c clones of process_line are:
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.net.visibility/main.c  process_line

In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.net.visibility/main.c clones of process_point are:
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.net.visibility/main.c  process_point

*****************************************************************
          File :grass/trunk/vector/v.normal/main.c
*****************************************************************

          Function
main(Begins at: 45, Ends at:352)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |      48 |   *** |      MONSTER |        48 |
ParamNBR:     |       2 |       |           OK |         2 |
CalledNBR:    |     112 |   *** |      MONSTER |       112 |
LOC:          |     308 |   *** |      MONSTER |       308 |
--------------+---------+-------+--------------+-----------+
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.normal/main.c clones of main are:
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.normal/main.c  main

*****************************************************************
          File :grass/trunk/vector/v.out.dxf/main.c
*****************************************************************

          Function
add_plines(Begins at: 147, Ends at:204)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |       8 |     * |      WARNING |         8 |
ParamNBR:     |       2 |       |           OK |         2 |
CalledNBR:    |      12 |     * |      WARNING |        12 |
LOC:          |      58 |     * |      WARNING |        58 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a       WARNING           |
-----------------------------------------------------------+
metrics are OK


do_limits(Begins at: 106, Ends at:123)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |       2 |       |           OK |         2 |
ParamNBR:     |       1 |       |           OK |         1 |
CalledNBR:    |       4 |       |           OK |         4 |
LOC:          |      18 |       |           OK |        18 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a            OK           |
-----------------------------------------------------------+
metrics are OK


main(Begins at: 37, Ends at:104)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |       5 |       |           OK |         5 |
ParamNBR:     |       2 |       |           OK |         2 |
CalledNBR:    |      31 |    ** | BABY-MONSTER |        31 |
LOC:          |      68 |     * |      WARNING |        68 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a  BABY-MONSTER           |
-----------------------------------------------------------+
metrics are OK


make_layername(Begins at: 125, Ends at:145)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |       1 |       |           OK |         1 |
ParamNBR:     |       1 |       |           OK |         1 |
CalledNBR:    |      14 |     * |      WARNING |        14 |
LOC:          |      21 |       |           OK |        21 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a       WARNING           |
-----------------------------------------------------------+
metrics are OK


Clone analysis:
This file has 6 potentially cloned functions:
  do_limits  do_limits  main  make_layername  make_layername

In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.out.dxf/main.c clones of add_plines are:
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.out.dxf/main.c  add_plines

In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.out.dxf/main.c clones of do_limits are:
          /tmp/grassSVN/grass/trunk/vector/v.out.dxf/main.c  do_limits
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.out.dxf/main.c  do_limits

In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.out.dxf/main.c clones of main are:
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.out.dxf/main.c  main

In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.out.dxf/main.c clones of make_layername are:
          /tmp/grassSVN/grass/trunk/vector/v.out.dxf/main.c  make_layername
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.out.dxf/main.c  make_layername

*****************************************************************
          File :grass/trunk/vector/v.out.ogr/main.c
*****************************************************************

          Function
main(Begins at: 39, Ends at:657)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |      81 |   *** |      MONSTER |        81 |
ParamNBR:     |       2 |       |           OK |         2 |
CalledNBR:    |     238 |   *** |      MONSTER |       238 |
LOC:          |     619 |   *** |      MONSTER |       619 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a       MONSTER           |
-----------------------------------------------------------+
metrics are OK


mk_att(Begins at: 659, Ends at:754)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |      14 |    ** | BABY-MONSTER |        14 |
ParamNBR:     |       7 |    ** | BABY-MONSTER |         7 |
CalledNBR:    |      33 |    ** | BABY-MONSTER |        33 |
LOC:          |      96 |    ** | BABY-MONSTER |        96 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a  BABY-MONSTER           |
-----------------------------------------------------------+
metrics are OK


OGR_list_write_drivers(Begins at: 757, Ends at:783)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |       4 |       |           OK |         4 |
ParamNBR:     |       1 |       |           OK |         1 |
CalledNBR:    |      17 |     * |      WARNING |        17 |
LOC:          |      27 |       |           OK |        27 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a       WARNING           |
-----------------------------------------------------------+
metrics are OK


Clone analysis:
This file has 2 potentially cloned functions:
  OGR_list_write_drivers

In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.out.ogr/main.c clones of mk_att are:
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.out.ogr/main.c  mk_att

In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.out.ogr/main.c clones of OGR_list_write_drivers are:
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.out.ogr/main.c  OGR_list_write_drivers

*****************************************************************
          File :grass/trunk/vector/v.out.pov/main.c
*****************************************************************

          Function
main(Begins at: 23, Ends at:210)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |      24 |   *** |      MONSTER |        24 |
ParamNBR:     |       2 |       |           OK |         2 |
CalledNBR:    |      47 |   *** |      MONSTER |        47 |
LOC:          |     188 |   *** |      MONSTER |       188 |
--------------+---------+-------+--------------+-----------+
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.out.pov/main.c clones of main are:
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.out.pov/main.c  main

*****************************************************************
          File :grass/trunk/vector/v.out.svg/main.c
*****************************************************************

          Function
main(Begins at: 43, Ends at:314)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |      31 |   *** |      MONSTER |        31 |
ParamNBR:     |       2 |       |           OK |         2 |
CalledNBR:    |     117 |   *** |      MONSTER |       117 |
LOC:          |     272 |   *** |      MONSTER |       272 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a       MONSTER           |
-----------------------------------------------------------+
metrics are OK


mk_attribs(Begins at: 338, Ends at:387)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |       5 |       |           OK |         5 |
ParamNBR:     |       7 |    ** | BABY-MONSTER |         7 |
CalledNBR:    |      21 |     * |      WARNING |        21 |
LOC:          |      50 |     * |      WARNING |        50 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a  BABY-MONSTER           |
-----------------------------------------------------------+
metrics are OK


mk_path(Begins at: 317, Ends at:335)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |       3 |       |           OK |         3 |
ParamNBR:     |       2 |       |           OK |         2 |
CalledNBR:    |       2 |       |           OK |         2 |
LOC:          |      19 |       |           OK |        19 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a            OK           |
-----------------------------------------------------------+
metrics are OK


print_escaped_for_xml(Begins at: 390, Ends at:411)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |       8 |     * |      WARNING |         8 |
ParamNBR:     |       1 |       |           OK |         1 |
CalledNBR:    |       5 |       |           OK |         5 |
LOC:          |      22 |       |           OK |        22 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a       WARNING           |
-----------------------------------------------------------+
metrics are OK


Clone analysis:
This file has 4 potentially cloned functions:
  mk_attribs  mk_path  print_escaped_for_xml

In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.out.svg/main.c clones of main are:
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.out.svg/main.c  main

In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.out.svg/main.c clones of mk_attribs are:
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.out.svg/main.c  mk_attribs

In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.out.svg/main.c clones of mk_path are:
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.out.svg/main.c  mk_path

In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.out.svg/main.c clones of print_escaped_for_xml are:
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.out.svg/main.c  print_escaped_for_xml

*****************************************************************
          File :grass/trunk/vector/v.overlay/main.c
*****************************************************************

          Function
main(Begins at: 28, Ends at:502)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |      64 |   *** |      MONSTER |        64 |
ParamNBR:     |       2 |       |           OK |         2 |
CalledNBR:    |     188 |   *** |      MONSTER |       188 |
LOC:          |     475 |   *** |      MONSTER |       475 |
--------------+---------+-------+--------------+-----------+
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.overlay/main.c clones of main are:
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.overlay/main.c  main

*****************************************************************
          File :grass/trunk/vector/v.patch/main.c
*****************************************************************

          Function
copy_records(Begins at: 388, Ends at:483)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |      17 |   *** |      MONSTER |        17 |
ParamNBR:     |       6 |       |           OK |         6 |
CalledNBR:    |      46 |   *** |      MONSTER |        46 |
LOC:          |      96 |   *** |      MONSTER |        96 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a       MONSTER           |
-----------------------------------------------------------+
metrics are OK


main(Begins at: 46, Ends at:385)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |      45 |       |           OK |        45 |
ParamNBR:     |       2 |       |           OK |         2 |
CalledNBR:    |     151 |       |           OK |       151 |
LOC:          |     340 |       |           OK |       340 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a            OK           |
-----------------------------------------------------------+
metrics are OK


max_cat(Begins at: 575, Ends at:592)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |       4 |    ** | BABY-MONSTER |         4 |
ParamNBR:     |       2 |    ** | BABY-MONSTER |         2 |
CalledNBR:    |       2 |   *** |      MONSTER |         2 |
LOC:          |      18 |    ** | BABY-MONSTER |        18 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a       MONSTER           |
-----------------------------------------------------------+
metrics are OK


patch(Begins at: 485, Ends at:573)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |       9 |     * |      WARNING |         9 |
ParamNBR:     |       5 |     * |      WARNING |         5 |
CalledNBR:    |      32 |    ** | BABY-MONSTER |        32 |
LOC:          |      89 |     * |      WARNING |        89 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a  BABY-MONSTER           |
-----------------------------------------------------------+
metrics are OK


Clone analysis:
This file has 3 potentially cloned functions:
  max_cat  patch

In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.patch/main.c clones of copy_records are:
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.patch/main.c  copy_records

In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.patch/main.c clones of max_cat are:
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.patch/main.c  max_cat

In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.patch/main.c clones of patch are:
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.patch/main.c  patch

*****************************************************************
          File :grass/trunk/vector/v.perturb/main.c
*****************************************************************

          Function
main(Begins at: 43, Ends at:252)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |      21 |   *** |      MONSTER |        21 |
ParamNBR:     |       2 |       |           OK |         2 |
CalledNBR:    |      68 |   *** |      MONSTER |        68 |
LOC:          |     210 |   *** |      MONSTER |       210 |
--------------+---------+-------+--------------+-----------+
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.perturb/main.c clones of main are:
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.perturb/main.c  main

*****************************************************************
          File :grass/trunk/vector/v.qcount/main.c
*****************************************************************

          Function
main(Begins at: 44, Ends at:203)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |       6 |     * |      WARNING |         6 |
ParamNBR:     |       2 |       |           OK |         2 |
CalledNBR:    |      62 |   *** |      MONSTER |        62 |
LOC:          |     160 |   *** |      MONSTER |       160 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a       MONSTER           |
-----------------------------------------------------------+
metrics are OK


Clone analysis:
This file does not contain cloned functions

*****************************************************************
          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.sample/main.c
*****************************************************************

          Function
main(Begins at: 51, Ends at:294)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |      24 |   *** |      MONSTER |        24 |
ParamNBR:     |       2 |       |           OK |         2 |
CalledNBR:    |     107 |   *** |      MONSTER |       107 |
LOC:          |     244 |   *** |      MONSTER |       244 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a       MONSTER           |
-----------------------------------------------------------+
metrics are OK


Clone analysis:
This file does not contain cloned functions

*****************************************************************
          File :grass/trunk/vector/v.segment/main.c
*****************************************************************

          Function
find_line(Begins at: 253, Ends at:272)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |       4 |       |           OK |         4 |
ParamNBR:     |       3 |     * |      WARNING |         3 |
CalledNBR:    |       5 |       |           OK |         5 |
LOC:          |      20 |       |           OK |        20 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a       WARNING           |
-----------------------------------------------------------+
metrics are OK


main(Begins at: 31, Ends at:249)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |      24 |   *** |      MONSTER |        24 |
ParamNBR:     |       2 |       |           OK |         2 |
CalledNBR:    |      98 |   *** |      MONSTER |        98 |
LOC:          |     219 |   *** |      MONSTER |       219 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a       MONSTER           |
-----------------------------------------------------------+
metrics are OK


offset_pt_90(Begins at: 278, Ends at:282)
--------------+---------+-------+--------------+-----------+
              |          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 4 potentially cloned functions:
  find_line  find_line  main

In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.segment/main.c clones of find_line are:
          /var/project-manager/grass/grassSVN/grass/trunk/vector/v.lrs/v.lrs.segment/main.c  find_line
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.lrs/v.lrs.segment/main.c  find_line
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.segment/main.c  find_line

In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.segment/main.c clones of main are:
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.segment/main.c  main

*****************************************************************
          File :grass/trunk/vector/v.select/main.c
*****************************************************************

          Function
add_aarea(Begins at: 27, Ends at:55)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |       5 |       |           OK |         5 |
ParamNBR:     |       3 |     * |      WARNING |         3 |
CalledNBR:    |       8 |       |           OK |         8 |
LOC:          |      29 |       |           OK |        29 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a       WARNING           |
-----------------------------------------------------------+
metrics are OK


line_overlap_area(Begins at: 59, Ends at:105)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |       7 |     * |      WARNING |         7 |
ParamNBR:     |       4 |     * |      WARNING |         4 |
CalledNBR:    |      14 |     * |      WARNING |        14 |
LOC:          |      47 |     * |      WARNING |        47 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a       WARNING           |
-----------------------------------------------------------+
metrics are OK


main(Begins at: 107, Ends at:518)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |      52 |   *** |      MONSTER |        52 |
ParamNBR:     |       2 |       |           OK |         2 |
CalledNBR:    |     121 |   *** |      MONSTER |       121 |
LOC:          |     412 |   *** |      MONSTER |       412 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a       MONSTER           |
-----------------------------------------------------------+
metrics are OK


Clone analysis:
This file has 3 potentially cloned functions:
  line_overlap_area  main

In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.select/main.c clones of add_aarea are:
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.select/main.c  add_aarea

In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.select/main.c clones of line_overlap_area are:
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.select/main.c  line_overlap_area

In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.select/main.c clones of main are:
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.select/main.c  main

*****************************************************************
          File :grass/trunk/vector/v.support/main.c
*****************************************************************

          Function
main(Begins at: 26, Ends at:209)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |      17 |    ** | BABY-MONSTER |        17 |
ParamNBR:     |       2 |       |           OK |         2 |
CalledNBR:    |      77 |   *** |      MONSTER |        77 |
LOC:          |     184 |   *** |      MONSTER |       184 |
--------------+---------+-------+--------------+-----------+
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.support/main.c clones of main are:
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.support/main.c  main

*****************************************************************
          File :grass/trunk/vector/v.surf.rst/main.c
*****************************************************************

          Function
clean_fatal_error(Begins at: 848, Ends at:875)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |       7 |     * |      WARNING |         7 |
ParamNBR:     |       1 |       |           OK |         1 |
CalledNBR:    |      13 |     * |      WARNING |        13 |
LOC:          |      28 |       |           OK |        28 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a       WARNING           |
-----------------------------------------------------------+
metrics are OK


main(Begins at: 129, Ends at:802)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |      99 |   *** |      MONSTER |        99 |
ParamNBR:     |       2 |       |           OK |         2 |
CalledNBR:    |     291 |   *** |      MONSTER |       291 |
LOC:          |     674 |   *** |      MONSTER |       674 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a       MONSTER           |
-----------------------------------------------------------+
metrics are OK


print_tree(Begins at: 806, Ends at:844)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |       6 |     * |      WARNING |         6 |
ParamNBR:     |       4 |     * |      WARNING |         4 |
CalledNBR:    |       7 |       |           OK |         7 |
LOC:          |      39 |       |           OK |        39 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a       WARNING           |
-----------------------------------------------------------+
metrics are OK


Clone analysis:
This file has 4 potentially cloned functions:
  clean_fatal_error  clean_fatal_error  print_tree

In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.surf.rst/main.c clones of clean_fatal_error are:
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.surf.rst/main.c  clean_fatal_error
          /var/project-manager/grass/grassSVN/grass/trunk/raster/r.resamp.rst/main.c  clean_fatal_error
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.resamp.rst/main.c  clean_fatal_error

In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.surf.rst/main.c clones of print_tree are:
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.surf.rst/main.c  print_tree

*****************************************************************
          File :grass/trunk/vector/v.surf.rst/surf.h
*****************************************************************

The system don't find class, method and function
 in this file during analysis!
*****************************************************************
          File :grass/trunk/vector/v.to.db/global.h
*****************************************************************

          Class
options(Begins at: 21, Ends at:35)
             +--------+--------+--------+--------+--------+--------+
             |    DIT |    NOC |    WMC |    RFC |    CBO |   LCOM |
+------------+--------+--------+--------+--------+--------+--------|
|NEW Metrics |      1 |      0 |      0 |      0 |      0 |      0 |
+------------+--------+--------+--------+--------+--------+--------|
|OLD Metrics |      1 |      0 |      0 |      0 |      0 |      0 |
+------------+--------+--------+--------+--------+--------+--------+



          Class
value(Begins at: 4, 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
vstat(Begins at: 39, Ends at:49)
             +--------+--------+--------+--------+--------+--------+
             |    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.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.db/parse.c
*****************************************************************

          Function
match(Begins at: 228, Ends at:238)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |       3 |       |           OK |         3 |
ParamNBR:     |       3 |     * |      WARNING |         3 |
CalledNBR:    |       2 |       |           OK |         2 |
LOC:          |      11 |       |           OK |        11 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a       WARNING           |
-----------------------------------------------------------+
metrics are OK


parse_command_line(Begins at: 11, Ends at:170)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |      14 |    ** | BABY-MONSTER |        14 |
ParamNBR:     |       2 |       |           OK |         2 |
CalledNBR:    |      48 |   *** |      MONSTER |        48 |
LOC:          |     160 |   *** |      MONSTER |       160 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a       MONSTER           |
-----------------------------------------------------------+
metrics are OK


parse_option(Begins at: 192, Ends at:226)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |      15 |    ** | BABY-MONSTER |        15 |
ParamNBR:     |       1 |       |           OK |         1 |
CalledNBR:    |      14 |     * |      WARNING |        14 |
LOC:          |      35 |       |           OK |        35 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a  BABY-MONSTER           |
-----------------------------------------------------------+
metrics are OK


parse_units(Begins at: 172, Ends at:190)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |       7 |     * |      WARNING |         7 |
ParamNBR:     |       1 |       |           OK |         1 |
CalledNBR:    |       6 |       |           OK |         6 |
LOC:          |      19 |       |           OK |        19 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a       WARNING           |
-----------------------------------------------------------+
metrics are OK


Clone analysis:
This file has 4 potentially cloned functions:
  parse_command_line  parse_option  parse_units

In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.to.db/parse.c clones of match are:
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.to.db/parse.c  match

In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.to.db/parse.c clones of parse_command_line are:
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.to.db/parse.c  parse_command_line

In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.to.db/parse.c clones of parse_option are:
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.to.db/parse.c  parse_option

In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.to.db/parse.c clones of parse_units are:
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.to.db/parse.c  parse_units

*****************************************************************
          File :grass/trunk/vector/v.to.points/main.c
*****************************************************************

          Function
main(Begins at: 157, Ends at:384)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |      22 |   *** |      MONSTER |        22 |
ParamNBR:     |       2 |       |           OK |         2 |
CalledNBR:    |      95 |   *** |      MONSTER |        95 |
LOC:          |     228 |   *** |      MONSTER |       228 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a       MONSTER           |
-----------------------------------------------------------+
metrics are OK


write_line(Begins at: 70, Ends at:155)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |      11 |     * |      WARNING |        11 |
ParamNBR:     |       7 |    ** | BABY-MONSTER |         7 |
CalledNBR:    |       9 |       |           OK |         9 |
LOC:          |      86 |     * |      WARNING |        86 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a  BABY-MONSTER           |
-----------------------------------------------------------+
metrics are OK


write_point(Begins at: 39, Ends at:68)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |       3 |       |           OK |         3 |
ParamNBR:     |       7 |    ** | BABY-MONSTER |         7 |
CalledNBR:    |      14 |     * |      WARNING |        14 |
LOC:          |      30 |       |           OK |        30 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a  BABY-MONSTER           |
-----------------------------------------------------------+
metrics are OK


Clone analysis:
This file has 3 potentially cloned functions:
  write_line  write_point

In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.to.points/main.c clones of main are:
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.to.points/main.c  main

In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.to.points/main.c clones of write_line are:
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.to.points/main.c  write_line

In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.to.points/main.c clones of write_point are:
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.to.points/main.c  write_point

*****************************************************************
          File :grass/trunk/vector/v.to.rast/local.h
*****************************************************************

The system don't find class, method and function
 in this file during analysis!
*****************************************************************
          File :grass/trunk/vector/v.to.rast/support.c
*****************************************************************

          Class
My_color_rule(Begins at: 104, Ends at:111)
             +--------+--------+--------+--------+--------+--------+
             |    DIT |    NOC |    WMC |    RFC |    CBO |   LCOM |
+------------+--------+--------+--------+--------+--------+--------|
|NEW Metrics |      1 |      0 |      0 |      0 |      0 |      0 |
+------------+--------+--------+--------+--------+--------+--------|
|OLD Metrics |      1 |      0 |      0 |      0 |      0 |      0 |
+------------+--------+--------+--------+--------+--------+--------+



          Class
My_labels_rule(Begins at: 253, Ends at:258)
             +--------+--------+--------+--------+--------+--------+
             |    DIT |    NOC |    WMC |    RFC |    CBO |   LCOM |
+------------+--------+--------+--------+--------+--------+--------|
|NEW Metrics |      1 |      0 |      0 |      0 |      0 |      0 |
+------------+--------+--------+--------+--------+--------+--------|
|OLD Metrics |      1 |      0 |      0 |      0 |      0 |      0 |
+------------+--------+--------+--------+--------+--------+--------+



          Function
update_cats(Begins at: 72, Ends at:84)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |       1 |       |           OK |         1 |
ParamNBR:     |       1 |       |           OK |         1 |
CalledNBR:    |       3 |       |           OK |         3 |
LOC:          |      13 |       |           OK |        13 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a            OK           |
-----------------------------------------------------------+
metrics are OK


update_colors(Begins at: 42, Ends at:54)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |       1 |       |           OK |         1 |
ParamNBR:     |       1 |       |           OK |         1 |
CalledNBR:    |       6 |       |           OK |         6 |
LOC:          |      13 |       |           OK |        13 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a            OK           |
-----------------------------------------------------------+
metrics are OK


update_dbcolors(Begins at: 86, Ends at:230)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |      12 |     * |      WARNING |        12 |
ParamNBR:     |       6 |    ** | BABY-MONSTER |         6 |
CalledNBR:    |      38 |   *** |      MONSTER |        38 |
LOC:          |     145 |   *** |      MONSTER |       145 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a       MONSTER           |
-----------------------------------------------------------+
metrics are OK


update_fcolors(Begins at: 57, Ends at:69)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |       1 |       |           OK |         1 |
ParamNBR:     |       1 |       |           OK |         1 |
CalledNBR:    |       6 |       |           OK |         6 |
LOC:          |      13 |       |           OK |        13 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a            OK           |
-----------------------------------------------------------+
metrics are OK


update_hist(Begins at: 17, Ends at:39)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |       3 |       |           OK |         3 |
ParamNBR:     |       4 |     * |      WARNING |         4 |
CalledNBR:    |       7 |       |           OK |         7 |
LOC:          |      23 |       |           OK |        23 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a       WARNING           |
-----------------------------------------------------------+
metrics are OK


update_labels(Begins at: 234, Ends at:501)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |      35 |   *** |      MONSTER |        35 |
ParamNBR:     |       7 |    ** | BABY-MONSTER |         7 |
CalledNBR:    |      97 |   *** |      MONSTER |        97 |
LOC:          |     268 |   *** |      MONSTER |       268 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a       MONSTER           |
-----------------------------------------------------------+
metrics are OK


Clone analysis:
This file has 10 potentially cloned functions:
  update_colors  update_fcolors  update_fcolors  update_dbcolors  update_colors  update_fcolors  update_colors  update_hist  update_labels

In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.to.rast/support.c clones of update_cats are:
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.to.rast/support.c  update_cats

In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.to.rast/support.c clones of update_colors are:
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.to.rast/support.c  update_colors
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.to.rast/support.c  update_fcolors
          /var/project-manager/grass/grassSVN/grass/trunk/vector/v.to.rast/support.c  update_fcolors

In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.to.rast/support.c clones of update_dbcolors are:
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.to.rast/support.c  update_dbcolors

In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.to.rast/support.c clones of update_fcolors are:
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.to.rast/support.c  update_colors
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.to.rast/support.c  update_fcolors
          /var/project-manager/grass/grassSVN/grass/trunk/vector/v.to.rast/support.c  update_colors

In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.to.rast/support.c clones of update_hist are:
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.to.rast/support.c  update_hist

In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.to.rast/support.c clones of update_labels are:
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.to.rast/support.c  update_labels

*****************************************************************
          File :grass/trunk/vector/v.to.rast/vect2rast.c
*****************************************************************

          Function
vect_to_rast(Begins at: 9, Ends at:228)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |      39 |   *** |      MONSTER |        39 |
ParamNBR:     |      11 |   *** |      MONSTER |        11 |
CalledNBR:    |      77 |   *** |      MONSTER |        77 |
LOC:          |     220 |   *** |      MONSTER |       220 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a       MONSTER           |
-----------------------------------------------------------+
metrics are OK


Clone analysis:
This file does not contain cloned functions

*****************************************************************
          File :grass/trunk/vector/v.transform/main.c
*****************************************************************

          Function
main(Begins at: 56, Ends at:368)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |      28 |   *** |      MONSTER |        28 |
ParamNBR:     |       2 |       |           OK |         2 |
CalledNBR:    |     130 |   *** |      MONSTER |       130 |
LOC:          |     313 |   *** |      MONSTER |       313 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a       MONSTER           |
-----------------------------------------------------------+
metrics are OK


Clone analysis:
This file does not contain cloned functions

*****************************************************************
          File :grass/trunk/vector/v.type/main.c
*****************************************************************

          Function
main(Begins at: 27, Ends at:239)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |      36 |   *** |      MONSTER |        36 |
ParamNBR:     |       2 |       |           OK |         2 |
CalledNBR:    |      49 |   *** |      MONSTER |        49 |
LOC:          |     213 |   *** |      MONSTER |       213 |
--------------+---------+-------+--------------+-----------+
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.type/main.c clones of main are:
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.type/main.c  main

*****************************************************************
          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_main.c
*****************************************************************

          Function
main(Begins at: 32, Ends at:163)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |      11 |     * |      WARNING |        11 |
ParamNBR:     |       2 |       |           OK |         2 |
CalledNBR:    |      56 |   *** |      MONSTER |        56 |
LOC:          |     132 |    ** | BABY-MONSTER |       132 |
--------------+---------+-------+--------------+-----------+
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.voronoi/dt_main.c clones of main are:
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.voronoi/dt_main.c  main

*****************************************************************
          File :grass/trunk/vector/v.voronoi/vo_main.c
*****************************************************************

          Function
cmp(Begins at: 54, Ends at:96)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |       9 |     * |      WARNING |         9 |
ParamNBR:     |       2 |       |           OK |         2 |
CalledNBR:    |       6 |       |           OK |         6 |
LOC:          |      43 |     * |      WARNING |        43 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a       WARNING           |
-----------------------------------------------------------+
metrics are OK


main(Begins at: 98, Ends at:360)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |      28 |   *** |      MONSTER |        28 |
ParamNBR:     |       2 |       |           OK |         2 |
CalledNBR:    |      78 |   *** |      MONSTER |        78 |
LOC:          |     263 |   *** |      MONSTER |       263 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a       MONSTER           |
-----------------------------------------------------------+
metrics are OK


Clone analysis:
This file has 2 potentially cloned functions:
  main

In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.voronoi/vo_main.c clones of cmp are:
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.voronoi/vo_main.c  cmp

In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.voronoi/vo_main.c clones of main are:
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.voronoi/vo_main.c  main

*****************************************************************
          File :grass/trunk/vector/v.what/main.c
*****************************************************************

          Function
main(Begins at: 37, Ends at:193)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |      18 |    ** | BABY-MONSTER |        18 |
ParamNBR:     |       2 |       |           OK |         2 |
CalledNBR:    |      51 |   *** |      MONSTER |        51 |
LOC:          |     157 |   *** |      MONSTER |       157 |
--------------+---------+-------+--------------+-----------+
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.what/main.c clones of main are:
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.what/main.c  main

*****************************************************************
          File :grass/trunk/vector/v.what/what.c
*****************************************************************

          Function
what(Begins at: 17, Ends at:286)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |      45 |   *** |      MONSTER |        45 |
ParamNBR:     |       7 |    ** | BABY-MONSTER |         7 |
CalledNBR:    |     105 |   *** |      MONSTER |       105 |
LOC:          |     270 |   *** |      MONSTER |       270 |
--------------+---------+-------+--------------+-----------+
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.what/what.c clones of what are:
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.what/what.c  what

*****************************************************************
          File :grass/trunk/vector/v.what/what.h
*****************************************************************

The system don't find class, method and function
 in this file during analysis!
*****************************************************************
          File :grass/trunk/vector/v.what.rast/main.c
*****************************************************************

          Class
order(Begins at: 27, Ends at:35)
             +--------+--------+--------+--------+--------+--------+
             |    DIT |    NOC |    WMC |    RFC |    CBO |   LCOM |
+------------+--------+--------+--------+--------+--------+--------|
|NEW Metrics |      1 |      0 |      0 |      0 |      0 |      0 |
+------------+--------+--------+--------+--------+--------+--------|
|OLD Metrics |      1 |      0 |      0 |      0 |      0 |      0 |
+------------+--------+--------+--------+--------+--------+--------+



          Function
by_cat(Begins at: 387, Ends at:392)
--------------+---------+-------+--------------+-----------+
              |          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: 379, Ends at:384)
--------------+---------+-------+--------------+-----------+
              |          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: 42, Ends at:376)
--------------+---------+-------+--------------+-----------+
              |          New Metrics           |Old Metrics|
--------------+---------+-------+--------------+-----------+
Complexity:   |      38 |   *** |      MONSTER |        38 |
ParamNBR:     |       2 |       |           OK |         2 |
CalledNBR:    |     121 |   *** |      MONSTER |       121 |
LOC:          |     335 |   *** |      MONSTER |       335 |
--------------+---------+-------+--------------+-----------+
Conclusion:   | this function is a       MONSTER           |
-----------------------------------------------------------+
metrics are OK


srch_cat(Begins at: 395, Ends at:405)
--------------+---------+-------+--------------+-----------+
              |          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 25 potentially cloned functions:
  srch_cat  cmp  cmp  cmp_exist  cmp  cmp  cmpcatkey  cmp  cmp  cmp  fcmp  dcmp  dcmp  cmp  srch  cmp  cmp  cmpcatkey  cmp  fcmp  dcmp  dcmp  cmp  srch

In /var/project-manager/grass/grassSVN/grass/trunk/vector/v.what.rast/main.c clones of srch_cat are:
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.distance/main.c  cmp_exist
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.what.rast/main.c  srch_cat
          /var/project-manager/grass/grassSVN/grass/trunk/lib/vector/Vlib/cats.c  cmp
          /var/project-manager/grass/grassSVN/grass/trunk/raster/r.coin/make_coin.c  cmp
          /var/project-manager/grass/grassSVN/grass/trunk/vector/v.distance/main.c  cmp_exist
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/lib/db/dbmi_client/copy_tab.c  cmp
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/lib/db/dbmi_client/select.c  cmp
          /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/array.c  cmp
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/lib/vector/Vlib/cats.c  cmp
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.coin/make_coin.c  cmp
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.mapcalc/xmedian.c  fcmp
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.mapcalc/xmedian.c  dcmp
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/raster/r.mapcalc/xmode.c  dcmp
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.extract/extract.c  cmp
          /var/project-manager/grass/grassSVN/grass/branches/develbranch_6/vector/v.to.db/update.c  srch
          /var/project-manager/grass/grassSVN/grass/trunk/lib/db/dbmi_client/copy_tab.c  cmp
          /var/project-manager/grass/grassSVN/grass/trunk/lib/db/dbmi_client/select.c  cmp
          /var/project-manager/grass/grassSVN/grass/trunk/lib/db/dbmi_client/select.c  cmpcatkey
          /var/project-manager/grass/grassSVN/grass/trunk/lib/vector/Vlib/array.c  cmp
          /var/project-manager/grass/grassSVN/grass/trunk/raster/r.mapcalc/xmedian.c  fcmp
          /var/project-manager/grass/grassSVN/grass/trunk/raster/r.mapcalc/xmedian.c  dcmp
          /var/project-manager/grass/grassSVN/grass/trunk/raster/r.mapcalc/xmode.c  dcmp
          /var/project-manager/grass/grassSVN/grass/trunk/vector/v.extract/extract.c  cmp
          /var/project-manager/grass/grassSVN/grass/trunk/vector/v.to.db/update.c  srch

____________________________________________


Threshold GRASS6 key metrics values at Fri Sep 05 13:39:06 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