|
@@ -1,8 +1,8 @@
|
|
|
./simple.cpp:0: info: Metrics per '__global__' region
|
|
|
Region name : __global__
|
|
|
Region type : global
|
|
|
- Offsets : 0-674
|
|
|
- Line numbers : 1-68
|
|
|
+ Offsets : 0-836
|
|
|
+ Line numbers : 1-78
|
|
|
std.code.lines:code: 0 [+0]
|
|
|
std.code.lines:total: 0 [+0]
|
|
|
std.code.lines:preprocessor: 0 [+0]
|
|
@@ -11,8 +11,8 @@
|
|
|
./simple.cpp:4: info: Metrics per 'hmm' region
|
|
|
Region name : hmm
|
|
|
Region type : namespace
|
|
|
- Offsets : 2-673
|
|
|
- Line numbers : 3-67
|
|
|
+ Offsets : 2-835
|
|
|
+ Line numbers : 3-77
|
|
|
std.code.lines:code: 4 [+0]
|
|
|
std.code.lines:total: 7 [+1]
|
|
|
std.code.lines:preprocessor: 2 [+1]
|
|
@@ -21,8 +21,8 @@
|
|
|
./simple.cpp:10: info: Metrics per 'A' region
|
|
|
Region name : A
|
|
|
Region type : class
|
|
|
- Offsets : 111-669
|
|
|
- Line numbers : 10-65
|
|
|
+ Offsets : 111-831
|
|
|
+ Line numbers : 10-75
|
|
|
std.code.lines:code: 4 [+0]
|
|
|
std.code.lines:total: 4 [+0]
|
|
|
std.code.lines:preprocessor: 0 [+0]
|
|
@@ -104,70 +104,100 @@
|
|
|
std.code.lines:preprocessor: 0
|
|
|
std.code.lines:comments: 0
|
|
|
|
|
|
+./simple.cpp:65: info: Metrics per 'new_func_complex_but_suppressed' region
|
|
|
+ Region name : new_func_complex_but_suppressed
|
|
|
+ Region type : function
|
|
|
+ Offsets : 649-808
|
|
|
+ Line numbers : 64-72
|
|
|
+ std.code.complexity:cyclomatic: 2
|
|
|
+ std.suppress:count: 1
|
|
|
+ std.suppress:list: [std.code.complexity:cyclomatic]
|
|
|
+ std.code.lines:code: 8
|
|
|
+ std.code.lines:total: 9
|
|
|
+ std.code.lines:preprocessor: 0
|
|
|
+ std.code.lines:comments: 1
|
|
|
+
|
|
|
./simple.cpp:: info: Overall metrics for 'std.code.complexity:cyclomatic' metric
|
|
|
- Average : 1.33333333333 [-0.166666666667]
|
|
|
+ Average : 1.42857142857 [-0.0714285714286]
|
|
|
Minimum : 0 [-1]
|
|
|
Maximum : 3 [+0]
|
|
|
- Total : 8.0 [-1.0]
|
|
|
- Distribution : 6 [+0] regions in total (including 0 [+0] suppressed)
|
|
|
+ Total : 10.0 [+1.0]
|
|
|
+ Distribution : 7 [+1] regions in total (including 1 [+0] suppressed)
|
|
|
+ Metric value : Ratio : R-sum : Number of regions
|
|
|
+ 0 : 0.143 : 0.143 : 1 [+1] ||||||||||||||
|
|
|
+ 1 : 0.429 : 0.571 : 3 [-1] |||||||||||||||||||||||||||||||||||||||||||
|
|
|
+ 2 : 0.286 : 0.857 : 2 [+1] |||||||||||||||||||||||||||||
|
|
|
+ 3 : 0.143 : 1.000 : 1 [+0] ||||||||||||||
|
|
|
+
|
|
|
+./simple.cpp:: info: Overall metrics for 'std.suppress.file:count' metric
|
|
|
+ Average : None [+0] (excluding zero metric values)
|
|
|
+ Minimum : None [+0]
|
|
|
+ Maximum : None [+0]
|
|
|
+ Total : 0.0 [+0.0]
|
|
|
+ Distribution : 0 [+0] files in total (including 0 [+0] suppressed)
|
|
|
+ Metric value : Ratio : R-sum : Number of files
|
|
|
+
|
|
|
+./simple.cpp:: info: Overall metrics for 'std.suppress:count' metric
|
|
|
+ Average : 1.0 [+1.0] (excluding zero metric values)
|
|
|
+ Minimum : 1 [+1]
|
|
|
+ Maximum : 1 [+1]
|
|
|
+ Total : 1.0 [+1.0]
|
|
|
+ Distribution : 1 [+1] regions in total (including 0 [+0] suppressed)
|
|
|
Metric value : Ratio : R-sum : Number of regions
|
|
|
- 0 : 0.167 : 0.167 : 1 [+1] |||||||||||||||||
|
|
|
- 1 : 0.500 : 0.667 : 3 [-1] ||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
- 2 : 0.167 : 0.833 : 1 [+0] |||||||||||||||||
|
|
|
- 3 : 0.167 : 1.000 : 1 [+0] |||||||||||||||||
|
|
|
+ 1 : 1.000 : 1.000 : 1 [+1] ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|
|
|
./simple.cpp:: info: Overall metrics for 'std.code.lines:total' metric
|
|
|
- Average : 5.6 [+0.0545454545455]
|
|
|
+ Average : 5.90909090909 [+0.363636363636]
|
|
|
Minimum : 0 [+0]
|
|
|
Maximum : 12 [+0]
|
|
|
- Total : 56.0 [-5.0]
|
|
|
- Distribution : 10 [-1] regions in total (including 0 [+0] suppressed)
|
|
|
+ Total : 65.0 [+4.0]
|
|
|
+ Distribution : 11 [+0] regions in total (including 0 [+0] suppressed)
|
|
|
Metric value : Ratio : R-sum : Number of regions
|
|
|
- 0 : 0.100 : 0.100 : 1 [+0 ] ||||||||||
|
|
|
- 3 : 0.100 : 0.200 : 1 [-1 ] ||||||||||
|
|
|
- 4 : 0.200 : 0.400 : 2 [+1 ] ||||||||||||||||||||
|
|
|
- 5 : 0.200 : 0.600 : 2 [+0 ] ||||||||||||||||||||
|
|
|
- 6 : 0.000 : 0.600 : 0 [-1 ]
|
|
|
- 7 : 0.200 : 0.800 : 2 [+1 ] ||||||||||||||||||||
|
|
|
- 8 : 0.000 : 0.800 : 0 [-2 ]
|
|
|
- 9 : 0.100 : 0.900 : 1 [+1 ] ||||||||||
|
|
|
- 12 : 0.100 : 1.000 : 1 [+0 ] ||||||||||
|
|
|
+ 0 : 0.091 : 0.091 : 1 [+0 ] |||||||||
|
|
|
+ 3 : 0.091 : 0.182 : 1 [-1 ] |||||||||
|
|
|
+ 4 : 0.182 : 0.364 : 2 [+1 ] ||||||||||||||||||
|
|
|
+ 5 : 0.182 : 0.545 : 2 [+0 ] ||||||||||||||||||
|
|
|
+ 6 : 0.000 : 0.545 : 0 [-1 ]
|
|
|
+ 7 : 0.182 : 0.727 : 2 [+1 ] ||||||||||||||||||
|
|
|
+ 8 : 0.000 : 0.727 : 0 [-2 ]
|
|
|
+ 9 : 0.182 : 0.909 : 2 [+2 ] ||||||||||||||||||
|
|
|
+ 12 : 0.091 : 1.000 : 1 [+0 ] |||||||||
|
|
|
|
|
|
./simple.cpp:: info: Overall metrics for 'std.code.lines:code' metric
|
|
|
- Average : 5.0 [-0.0909090909091]
|
|
|
+ Average : 5.27272727273 [+0.181818181818]
|
|
|
Minimum : 0 [+0]
|
|
|
Maximum : 11 [+0]
|
|
|
- Total : 50.0 [-6.0]
|
|
|
- Distribution : 10 [-1] regions in total (including 0 [+0] suppressed)
|
|
|
+ Total : 58.0 [+2.0]
|
|
|
+ Distribution : 11 [+0] regions in total (including 0 [+0] suppressed)
|
|
|
Metric value : Ratio : R-sum : Number of regions
|
|
|
- 0 : 0.100 : 0.100 : 1 [+0 ] ||||||||||
|
|
|
- 3 : 0.200 : 0.300 : 2 [+0 ] ||||||||||||||||||||
|
|
|
- 4 : 0.200 : 0.500 : 2 [+0 ] ||||||||||||||||||||
|
|
|
- 5 : 0.200 : 0.700 : 2 [+0 ] ||||||||||||||||||||
|
|
|
- 7 : 0.100 : 0.800 : 1 [-2 ] ||||||||||
|
|
|
- 8 : 0.100 : 0.900 : 1 [+1 ] ||||||||||
|
|
|
- 11 : 0.100 : 1.000 : 1 [+0 ] ||||||||||
|
|
|
+ 0 : 0.091 : 0.091 : 1 [+0 ] |||||||||
|
|
|
+ 3 : 0.182 : 0.273 : 2 [+0 ] ||||||||||||||||||
|
|
|
+ 4 : 0.182 : 0.455 : 2 [+0 ] ||||||||||||||||||
|
|
|
+ 5 : 0.182 : 0.636 : 2 [+0 ] ||||||||||||||||||
|
|
|
+ 7 : 0.091 : 0.727 : 1 [-2 ] |||||||||
|
|
|
+ 8 : 0.182 : 0.909 : 2 [+2 ] ||||||||||||||||||
|
|
|
+ 11 : 0.091 : 1.000 : 1 [+0 ] |||||||||
|
|
|
|
|
|
./simple.cpp:: info: Overall metrics for 'std.code.lines:preprocessor' metric
|
|
|
- Average : 0.2 [+0.109090909091]
|
|
|
+ Average : 0.181818181818 [+0.0909090909091]
|
|
|
Minimum : 0 [+0]
|
|
|
Maximum : 2 [+1]
|
|
|
Total : 2.0 [+1.0]
|
|
|
- Distribution : 10 [-1] regions in total (including 0 [+0] suppressed)
|
|
|
+ Distribution : 11 [+0] regions in total (including 0 [+0] suppressed)
|
|
|
Metric value : Ratio : R-sum : Number of regions
|
|
|
- 0 : 0.900 : 0.900 : 9 [-1 ] ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
- 1 : 0.000 : 0.900 : 0 [-1 ]
|
|
|
- 2 : 0.100 : 1.000 : 1 [+1 ] ||||||||||
|
|
|
+ 0 : 0.909 : 0.909 : 10 [+0 ] |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
+ 1 : 0.000 : 0.909 : 0 [-1 ]
|
|
|
+ 2 : 0.091 : 1.000 : 1 [+1 ] |||||||||
|
|
|
|
|
|
./simple.cpp:: info: Overall metrics for 'std.code.lines:comments' metric
|
|
|
- Average : 0.7 [+0.245454545455]
|
|
|
+ Average : 0.727272727273 [+0.272727272727]
|
|
|
Minimum : 0 [+0]
|
|
|
Maximum : 2 [+0]
|
|
|
- Total : 7.0 [+2.0]
|
|
|
- Distribution : 10 [-1] regions in total (including 0 [+0] suppressed)
|
|
|
+ Total : 8.0 [+3.0]
|
|
|
+ Distribution : 11 [+0] regions in total (including 0 [+0] suppressed)
|
|
|
Metric value : Ratio : R-sum : Number of regions
|
|
|
- 0 : 0.500 : 0.500 : 5 [-2 ] ||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
- 1 : 0.300 : 0.800 : 3 [+0 ] ||||||||||||||||||||||||||||||
|
|
|
- 2 : 0.200 : 1.000 : 2 [+1 ] ||||||||||||||||||||
|
|
|
+ 0 : 0.455 : 0.455 : 5 [-2 ] |||||||||||||||||||||||||||||||||||||||||||||
|
|
|
+ 1 : 0.364 : 0.818 : 4 [+1 ] ||||||||||||||||||||||||||||||||||||
|
|
|
+ 2 : 0.182 : 1.000 : 2 [+1 ] ||||||||||||||||||
|
|
|
|
|
|
|