[GRASS-QA] GRASS QA: martinl |intersect.c break_polygons.c array.c legal_vname.c ...| no clones | 0 monsters |0 warnings

soccerlab.info at gmail.com soccerlab.info at gmail.com
Sat Dec 25 11:31:43 EST 2010


Hello martinl,

here's a report on your recent grass-SVN change for the revision : 44720 

ANALYSIS 

your changes to files/class/methods/functions : 

*****************************************************************
          File :/lib/vector/Vlib/intersect.c
*****************************************************************

The system don't find class, method and function
 in this file during analysis!
*****************************************************************
          File :/lib/vector/Vlib/break_polygons.c
*****************************************************************

The system don't find class, method and function
 in this file during analysis!
*****************************************************************
          File :/lib/vector/Vlib/array.c
*****************************************************************

The system don't find class, method and function
 in this file during analysis!
*****************************************************************
          File :/lib/vector/Vlib/legal_vname.c
*****************************************************************

The system don't find class, method and function
 in this file during analysis!
*****************************************************************
          File :/lib/vector/Vlib/constraint.c
*****************************************************************

The system don't find class, method and function
 in this file during analysis!
*****************************************************************
          File :/lib/vector/Vlib/tin.c
*****************************************************************

The system don't find class, method and function
 in this file during analysis!
*****************************************************************
          File :/lib/vector/Vlib/error.c
*****************************************************************

The system don't find class, method and function
 in this file during analysis!
*****************************************************************
          File :/lib/vector/Vlib/snap.c
*****************************************************************

The system don't find class, method and function
 in this file during analysis!
*****************************************************************
          File :/lib/vector/Vlib/poly.c
*****************************************************************

          Class
Slink(Begins at: 25, Ends at:29)
             +--------+--------+--------+--------+--------+--------+
             |    DIT |    NOC |    WMC |    RFC |    CBO |   LCOM |
+------------+--------+--------+--------+--------+--------+--------|
|NEW Metrics |      1 |      0 |      0 |      0 |      0 |      0 |
+------------+--------+--------+--------+--------+--------+--------|
|OLD Metrics |        |        |        |        |        |        |
+------------+--------+--------+--------+--------+--------+--------+



Clone analysis:
This file does not contain cloned functions

*****************************************************************
          File :/lib/vector/Vlib/simple_features.c
*****************************************************************

The system don't find class, method and function
 in this file during analysis!
*****************************************************************
          File :/lib/vector/Vlib/bridges.c
*****************************************************************

The system don't find class, method and function
 in this file during analysis!
*****************************************************************
          File :/lib/vector/Vlib/write_ogr.c
*****************************************************************

The system don't find class, method and function
 in this file during analysis!
*****************************************************************
          File :/lib/vector/Vlib/read_nat.c
*****************************************************************

The system don't find class, method and function
 in this file during analysis!
*****************************************************************
          File :/lib/vector/Vlib/rewind_nat.c
*****************************************************************

The system don't find class, method and function
 in this file during analysis!
*****************************************************************
          File :/lib/vector/Vlib/overlay.c
*****************************************************************

The system don't find class, method and function
 in this file during analysis!
*****************************************************************
          File :/lib/vector/Vlib/cindex.c
*****************************************************************

The system don't find class, method and function
 in this file during analysis!
*****************************************************************
          File :/lib/vector/Vlib/buffer2.c
*****************************************************************

The system don't find class, method and function
 in this file during analysis!
*****************************************************************
          File :/lib/vector/Vlib/buffer.c
*****************************************************************

The system don't find class, method and function
 in this file during analysis!
*****************************************************************
          File :/lib/vector/Vlib/overlap.c
*****************************************************************

The system don't find class, method and function
 in this file during analysis!
*****************************************************************
          File :/lib/vector/Vlib/close.c
*****************************************************************

The system don't find class, method and function
 in this file during analysis!
*****************************************************************
          File :/lib/vector/Vlib/dgraph.c
*****************************************************************

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



          Class
seg_intersection(Begins at: 42, Ends at:47)
             +--------+--------+--------+--------+--------+--------+
             |    DIT |    NOC |    WMC |    RFC |    CBO |   LCOM |
+------------+--------+--------+--------+--------+--------+--------|
|NEW Metrics |      1 |      0 |      0 |      0 |      0 |      0 |
+------------+--------+--------+--------+--------+--------+--------|
|OLD Metrics |        |        |        |        |        |        |
+------------+--------+--------+--------+--------+--------+--------+



          Class
seg_intersection_list(Begins at: 49, Ends at:54)
             +--------+--------+--------+--------+--------+--------+
             |    DIT |    NOC |    WMC |    RFC |    CBO |   LCOM |
+------------+--------+--------+--------+--------+--------+--------|
|NEW Metrics |      1 |      0 |      0 |      0 |      0 |      0 |
+------------+--------+--------+--------+--------+--------+--------|
|OLD Metrics |        |        |        |        |        |        |
+------------+--------+--------+--------+--------+--------+--------+



          Class
seg_intersections(Begins at: 56, Ends at:64)
             +--------+--------+--------+--------+--------+--------+
             |    DIT |    NOC |    WMC |    RFC |    CBO |   LCOM |
+------------+--------+--------+--------+--------+--------+--------|
|NEW Metrics |      1 |      0 |      0 |      0 |      0 |      0 |
+------------+--------+--------+--------+--------+--------+--------|
|OLD Metrics |        |        |        |        |        |        |
+------------+--------+--------+--------+--------+--------+--------+



Clone analysis:
This file does not contain cloned functions

*****************************************************************
          File :/lib/vector/Vlib/break_lines.c
*****************************************************************

The system don't find class, method and function
 in this file during analysis!
*****************************************************************
          File :/lib/vector/Vlib/map.c
*****************************************************************

The system don't find class, method and function
 in this file during analysis!
*****************************************************************
          File :/lib/vector/Vlib/rewind_ogr.c
*****************************************************************

The system don't find class, method and function
 in this file during analysis!
*****************************************************************
          File :/lib/vector/Vlib/field.c
*****************************************************************

The system don't find class, method and function
 in this file during analysis!
*****************************************************************
          File :/lib/vector/Vlib/hist.c
*****************************************************************

The system don't find class, method and function
 in this file during analysis!
*****************************************************************
          File :/lib/vector/Vlib/open.c
*****************************************************************

The system don't find class, method and function
 in this file during analysis!
*****************************************************************
          File :/lib/vector/Vlib/read.c
*****************************************************************

The system don't find class, method and function
 in this file during analysis!
*****************************************************************
          File :/lib/vector/Vlib/init_head.c
*****************************************************************

The system don't find class, method and function
 in this file during analysis!
*****************************************************************
          File :/lib/vector/Vlib/clean_nodes.c
*****************************************************************

The system don't find class, method and function
 in this file during analysis!
*****************************************************************
          File :/lib/vector/Vlib/select.c
*****************************************************************

The system don't find class, method and function
 in this file during analysis!
*****************************************************************
          File :/lib/vector/Vlib/open_nat.c
*****************************************************************

The system don't find class, method and function
 in this file during analysis!
*****************************************************************
          File :/lib/vector/Vlib/find.c
*****************************************************************

The system don't find class, method and function
 in this file during analysis!
*****************************************************************
          File :/lib/vector/Vlib/e_intersect.c
*****************************************************************

The system don't find class, method and function
 in this file during analysis!
*****************************************************************
          File :/lib/vector/Vlib/close_ogr.c
*****************************************************************

The system don't find class, method and function
 in this file during analysis!
*****************************************************************
          File :/lib/vector/Vlib/graph.c
*****************************************************************

The system don't find class, method and function
 in this file during analysis!
*****************************************************************
          File :/lib/vector/Vlib/dangles.c
*****************************************************************

The system don't find class, method and function
 in this file during analysis!
*****************************************************************
          File :/lib/vector/Vlib/line.c
*****************************************************************

The system don't find class, method and function
 in this file during analysis!
*****************************************************************
          File :/lib/vector/Vlib/box.c
*****************************************************************

The system don't find class, method and function
 in this file during analysis!
*****************************************************************
          File :/lib/vector/Vlib/ascii.c
*****************************************************************

The system don't find class, method and function
 in this file during analysis!
*****************************************************************
          File :/lib/vector/Vlib/remove_duplicates.c
*****************************************************************

The system don't find class, method and function
 in this file during analysis!
*****************************************************************
          File :/lib/vector/Vlib/close_nat.c
*****************************************************************

The system don't find class, method and function
 in this file during analysis!
*****************************************************************
          File :/lib/vector/Vlib/open_ogr.c
*****************************************************************

The system don't find class, method and function
 in this file during analysis!
*****************************************************************
          File :/lib/vector/Vlib/merge_lines.c
*****************************************************************

The system don't find class, method and function
 in this file during analysis!
*****************************************************************
          File :/lib/vector/Vlib/net.c
*****************************************************************

The system don't find class, method and function
 in this file during analysis!
*****************************************************************
          File :/lib/vector/Vlib/type.c
*****************************************************************

The system don't find class, method and function
 in this file during analysis!
*****************************************************************
          File :/lib/vector/Vlib/level_two.c
*****************************************************************

The system don't find class, method and function
 in this file during analysis!
*****************************************************************
          File :/lib/vector/Vlib/cats.c
*****************************************************************

The system don't find class, method and function
 in this file during analysis!
*****************************************************************
          File :/lib/vector/Vlib/window.c
*****************************************************************

The system don't find class, method and function
 in this file during analysis!
*****************************************************************
          File :/lib/vector/Vlib/list.c
*****************************************************************

The system don't find class, method and function
 in this file during analysis!
*****************************************************************
          File :/lib/vector/Vlib/remove_areas.c
*****************************************************************

The system don't find class, method and function
 in this file during analysis!
*****************************************************************
          File :/lib/vector/Vlib/dbcolumns.c
*****************************************************************

The system don't find class, method and function
 in this file during analysis!
*****************************************************************
          File :/lib/vector/Vlib/read_ogr.c
*****************************************************************

The system don't find class, method and function
 in this file during analysis!
*****************************************************************
          File :/lib/vector/Vlib/sindex.c
*****************************************************************

The system don't find class, method and function
 in this file during analysis!
*****************************************************************
          File :/lib/vector/Vlib/level.c
*****************************************************************

The system don't find class, method and function
 in this file during analysis!
*****************************************************************
          File :/lib/vector/Vlib/rewind.c
*****************************************************************

The system don't find class, method and function
 in this file during analysis!
*****************************************************************
          File :/lib/vector/Vlib/area.c
*****************************************************************

The system don't find class, method and function
 in this file during analysis!
*****************************************************************
          File :/lib/vector/Vlib/build_nat.c
*****************************************************************

The system don't find class, method and function
 in this file during analysis!
____________________________________________


Threshold grass key metrics values at Sat Dec 25 11:31:34 EST 2010 are:
----------------------+-----------+-----------+-----------+
                      | warning   | middle    | extrem    |
                      | limits    | limits    | limits    |
----------------------+-----------+-----------+-----------+
Complexity (Cyclo):   |        10 |        22 |        34 |
ParamNBR:             |         3 |         6 |         9 |
CalledNBR:            |        18 |        43 |        69 |
LOC:                  |        68 |       153 |       239 |
----------------------+-----------+-----------+-----------+



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 

Please visite our web site on your project at :
    http://web.soccerlab.polymtl.ca/project-manager/grass-website/index.html


More information about the grass-qa mailing list