/
dsl.rb_cyclo.html
91 lines (78 loc) · 1.64 KB
/
dsl.rb_cyclo.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<html><head><title>Cyclometric Complexity</title></head>
<style>
body {
margin: 20px;
padding: 0;
font-size: 12px;
font-family: bitstream vera sans, verdana, arial, sans serif;
background-color: #efefef;
}
table {
border-collapse: collapse;
/*border-spacing: 0;*/
border: 1px solid #666;
background-color: #fff;
margin-bottom: 20px;
}
table, th, th+th, td, td+td {
border: 1px solid #ccc;
}
table th {
font-size: 12px;
color: #fc0;
padding: 4px 0;
background-color: #336;
}
th, td {
padding: 4px 10px;
}
td {
font-size: 13px;
}
.class_name {
font-size: 17px;
margin: 20px 0 0;
}
.class_complexity {
margin: 0 auto;
}
.class_complexity>.class_complexity {
margin: 0;
}
.class_total_complexity, .class_total_lines, .start_token_count, .file_count {
font-size: 13px;
font-weight: bold;
}
.class_total_complexity, .class_total_lines {
color: #c00;
}
.start_token_count, .file_count {
color: #333;
}
.warning {
background-color: yellow;
}
.error {
background-color: #f00;
}
</style>
<body>
<div class="class_complexity">
<h2 class="class_name">Module : Connfu</h2>
<div class="class_total_complexity">Total Complexity: 0</div>
<div class="class_total_lines">Total Lines: 2</div>
<table width="100%" border="1">
<tr><th>Method</th><th>Complexity</th><th># Lines</th></tr>
</table>
</div>
<div class="class_complexity">
<h2 class="class_name">Module : Connfu::Dsl</h2>
<div class="class_total_complexity">Total Complexity: 1</div>
<div class="class_total_lines">Total Lines: 3</div>
<table width="100%" border="1">
<tr><th>Method</th><th>Complexity</th><th># Lines</th></tr>
<tr><td>on</td><td>1</td><td>1</td></tr>
</table>
</div>
</body>
</html>