tool-shed 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +3 -1
- data/Gemfile.lock +82 -0
- data/README.md +7 -5
- data/bin/as-asset-detector +0 -0
- data/lib/shed/asdoc_package.rb +1 -1
- data/lib/shed/manifest.rb +12 -4
- data/lib/shed/opts/manifest_opts.rb +11 -4
- data/lib/shed/opts/tool_opts.rb +8 -5
- data/lib/shed/opts/unused_asset_opts.rb +1 -1
- data/lib/shed/opts/unused_class_opts.rb +16 -1
- data/lib/shed/opts/unused_style_opts.rb +1 -1
- data/lib/shed/search.rb +6 -5
- data/lib/shed/tool.rb +16 -3
- data/lib/shed/unused_asset.rb +37 -12
- data/lib/shed/unused_class.rb +4 -4
- data/lib/shed/version.rb +1 -1
- data/rakefile.rb +20 -84
- data/test/fixtures/unused-asset/src/org/helvector/ToolBox.mxml +4 -0
- data/test/test_helper.rb +13 -0
- data/test/unit/test_manifest.rb +23 -2
- data/test/unit/test_manifest_opts.rb +15 -0
- data/test/unit/test_search.rb +16 -4
- data/test/unit/test_unused_asset.rb +24 -14
- data/test/unit/test_unused_class_opts.rb +28 -1
- metadata +41 -69
- data/coverage/unit/index.html +0 -330
- data/coverage/unit/jquery-1.3.2.min.js +0 -19
- data/coverage/unit/jquery.tablesorter.min.js +0 -15
- data/coverage/unit/lib-hel-asdoc_package_rb.html +0 -447
- data/coverage/unit/lib-hel-manifest_rb.html +0 -555
- data/coverage/unit/lib-hel-opts-asdoc_package_opts_rb.html +0 -195
- data/coverage/unit/lib-hel-opts-manifest_opts_rb.html +0 -195
- data/coverage/unit/lib-hel-opts-tool_opts_rb.html +0 -531
- data/coverage/unit/lib-hel-opts-unused_class_opts_rb.html +0 -207
- data/coverage/unit/lib-hel-opts-unused_style_opts_rb.html +0 -201
- data/coverage/unit/lib-hel-project_tools_rb.html +0 -423
- data/coverage/unit/lib-hel-search_rb.html +0 -363
- data/coverage/unit/lib-hel-stripper_rb.html +0 -357
- data/coverage/unit/lib-hel-tool_rb.html +0 -423
- data/coverage/unit/lib-hel-unused_class_rb.html +0 -675
- data/coverage/unit/lib-hel-unused_style_rb.html +0 -747
- data/coverage/unit/lib-hel-version_rb.html +0 -135
- data/coverage/unit/lib-hel_tools_rb.html +0 -165
- data/coverage/unit/print.css +0 -12
- data/coverage/unit/rcov.js +0 -42
- data/coverage/unit/screen.css +0 -270
- data/coverage.data +0 -0
- data/rdoc/classes/ASDocPackage.html +0 -281
- data/rdoc/classes/ASDocPackageOpts.html +0 -204
- data/rdoc/classes/Manifest.html +0 -323
- data/rdoc/classes/ManifestOpts.html +0 -205
- data/rdoc/classes/ProjectTools.html +0 -302
- data/rdoc/classes/Search.html +0 -203
- data/rdoc/classes/Stripper.html +0 -223
- data/rdoc/classes/Tool.html +0 -313
- data/rdoc/classes/ToolOpts.html +0 -297
- data/rdoc/classes/UnusedClass.html +0 -258
- data/rdoc/classes/UnusedClassOpts.html +0 -206
- data/rdoc/classes/UnusedStyle.html +0 -277
- data/rdoc/classes/UnusedStyleOpts.html +0 -205
- data/rdoc/created.rid +0 -1
- data/rdoc/files/LICENSE.html +0 -129
- data/rdoc/files/README_md.html +0 -138
- data/rdoc/files/lib/hel/asdoc_package_rb.html +0 -107
- data/rdoc/files/lib/hel/manifest_rb.html +0 -107
- data/rdoc/files/lib/hel/opts/asdoc_package_opts_rb.html +0 -107
- data/rdoc/files/lib/hel/opts/manifest_opts_rb.html +0 -107
- data/rdoc/files/lib/hel/opts/tool_opts_rb.html +0 -114
- data/rdoc/files/lib/hel/opts/unused_class_opts_rb.html +0 -107
- data/rdoc/files/lib/hel/opts/unused_style_opts_rb.html +0 -107
- data/rdoc/files/lib/hel/project_tools_rb.html +0 -107
- data/rdoc/files/lib/hel/search_rb.html +0 -114
- data/rdoc/files/lib/hel/stripper_rb.html +0 -107
- data/rdoc/files/lib/hel/tool_rb.html +0 -107
- data/rdoc/files/lib/hel/unused_class_rb.html +0 -107
- data/rdoc/files/lib/hel/unused_style_rb.html +0 -107
- data/rdoc/files/lib/hel/version_rb.html +0 -107
- data/rdoc/files/lib/hel_tools_rb.html +0 -127
- data/rdoc/fr_class_index.html +0 -39
- data/rdoc/fr_file_index.html +0 -43
- data/rdoc/fr_method_index.html +0 -75
- data/rdoc/index.html +0 -24
- data/rdoc/rdoc-style.css +0 -208
- data/tool-shed-0.0.3.gem +0 -0
- data/tool-shed.gemspec +0 -41
@@ -1,207 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
2
|
-
<html lang='en' xml:lang='en' xmlns='http://www.w3.org/1999/xhtml'>
|
3
|
-
<head>
|
4
|
-
<title>lib/hel/opts/unused_class_opts.rb</title>
|
5
|
-
<link href="screen.css" media="all" rel="stylesheet" type="text/css" />
|
6
|
-
<link href="print.css" media="print" rel="stylesheet" type="text/css" />
|
7
|
-
|
8
|
-
<meta http-equiv="Content-type" content="text/html;charset=UTF-8" />
|
9
|
-
<script type="text/javascript" src="rcov.js"></script>
|
10
|
-
</head>
|
11
|
-
<body>
|
12
|
-
<h1>Hel Tools C0 Coverage Information - RCov</h1>
|
13
|
-
<h2>lib/hel/opts/unused_class_opts.rb</h2>
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
<div class="report_table_wrapper">
|
18
|
-
<table class='report' id='report_table'>
|
19
|
-
<thead>
|
20
|
-
<tr>
|
21
|
-
<th class="left_align">Name</th>
|
22
|
-
<th class="right_align">Total Lines</th>
|
23
|
-
<th class="right_align">Lines of Code</th>
|
24
|
-
<th class="left_align">Total Coverage</th>
|
25
|
-
<th class="left_align">Code Coverage</th>
|
26
|
-
</tr>
|
27
|
-
</thead>
|
28
|
-
<tbody>
|
29
|
-
<tr>
|
30
|
-
<td class="left_align"><a href="lib-hel-opts-unused_class_opts_rb.html">lib/hel/opts/unused_class_opts.rb</a></td>
|
31
|
-
<td class='right_align'><tt>24</tt></td>
|
32
|
-
<td class='right_align'><tt>15</tt></td>
|
33
|
-
<td class="left_align"><div class="percent_graph_legend"><tt class=''>100.00%</tt></div>
|
34
|
-
<div class="percent_graph">
|
35
|
-
<div class="covered" style="width:100px"></div>
|
36
|
-
<div class="uncovered" style="width:0px"></div>
|
37
|
-
</div></td>
|
38
|
-
<td class="left_align"><div class="percent_graph_legend"><tt class=''>100.00%</tt></div>
|
39
|
-
<div class="percent_graph">
|
40
|
-
<div class="covered" style="width:100px"></div>
|
41
|
-
<div class="uncovered" style="width:0px"></div>
|
42
|
-
</div></td>
|
43
|
-
</tr>
|
44
|
-
</tbody>
|
45
|
-
</table>
|
46
|
-
</div>
|
47
|
-
|
48
|
-
<h3>Key</h3>
|
49
|
-
|
50
|
-
<div class="key"><pre><span class='marked'>Code reported as executed by Ruby looks like this...</span><span class='marked1'>and this: this line is also marked as covered.</span><span class='inferred'>Lines considered as run by rcov, but not reported by Ruby, look like this,</span><span class='inferred1'>and this: these lines were inferred by rcov (using simple heuristics).</span><span class='uncovered'>Finally, here's a line marked as not executed.</span></pre></div>
|
51
|
-
|
52
|
-
<h3>Coverage Details</h3>
|
53
|
-
|
54
|
-
<table class="details">
|
55
|
-
<tbody>
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
<tr class="inferred">
|
60
|
-
<td><pre><a name="line1">1</a> # encoding: utf-8</pre></td>
|
61
|
-
</tr>
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
<tr class="inferred">
|
66
|
-
<td><pre><a name="line2">2</a> </pre></td>
|
67
|
-
</tr>
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
<tr class="inferred">
|
72
|
-
<td><pre><a name="line3">3</a> #</pre></td>
|
73
|
-
</tr>
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
<tr class="inferred">
|
78
|
-
<td><pre><a name="line4">4</a> # Manages the command line interface for the unused classes detection tool.</pre></td>
|
79
|
-
</tr>
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
<tr class="inferred">
|
84
|
-
<td><pre><a name="line5">5</a> #</pre></td>
|
85
|
-
</tr>
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
<tr class="marked">
|
90
|
-
<td><pre><a name="line6">6</a> class UnusedClassOpts < ToolOpts</pre></td>
|
91
|
-
</tr>
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
<tr class="inferred">
|
96
|
-
<td><pre><a name="line7">7</a> </pre></td>
|
97
|
-
</tr>
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
<tr class="marked">
|
102
|
-
<td><pre><a name="line8">8</a> def self.name</pre></td>
|
103
|
-
</tr>
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
<tr class="marked">
|
108
|
-
<td><pre><a name="line9">9</a> "hel-unused-class-detector"</pre></td>
|
109
|
-
</tr>
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
<tr class="inferred">
|
114
|
-
<td><pre><a name="line10">10</a> end</pre></td>
|
115
|
-
</tr>
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
<tr class="inferred">
|
120
|
-
<td><pre><a name="line11">11</a> </pre></td>
|
121
|
-
</tr>
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
<tr class="marked">
|
126
|
-
<td><pre><a name="line12">12</a> def self.description</pre></td>
|
127
|
-
</tr>
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
<tr class="marked">
|
132
|
-
<td><pre><a name="line13">13</a> "Helvector ActionScript Unused Class Detection Tool"</pre></td>
|
133
|
-
</tr>
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
<tr class="inferred">
|
138
|
-
<td><pre><a name="line14">14</a> end</pre></td>
|
139
|
-
</tr>
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
<tr class="inferred">
|
144
|
-
<td><pre><a name="line15">15</a> </pre></td>
|
145
|
-
</tr>
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
<tr class="marked">
|
150
|
-
<td><pre><a name="line16">16</a> def self.default_config</pre></td>
|
151
|
-
</tr>
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
<tr class="marked">
|
156
|
-
<td><pre><a name="line17">17</a> dc = superclass.default_config</pre></td>
|
157
|
-
</tr>
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
<tr class="marked">
|
162
|
-
<td><pre><a name="line18">18</a> dc[:output] = 'classes.txt'</pre></td>
|
163
|
-
</tr>
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
<tr class="marked">
|
168
|
-
<td><pre><a name="line19">19</a> dc[:manifest] = 'manifest.xml'</pre></td>
|
169
|
-
</tr>
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
<tr class="marked">
|
174
|
-
<td><pre><a name="line20">20</a> dc[:link_report] = 'link-report.xml'</pre></td>
|
175
|
-
</tr>
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
<tr class="marked">
|
180
|
-
<td><pre><a name="line21">21</a> dc</pre></td>
|
181
|
-
</tr>
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
<tr class="inferred">
|
186
|
-
<td><pre><a name="line22">22</a> end</pre></td>
|
187
|
-
</tr>
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
<tr class="inferred">
|
192
|
-
<td><pre><a name="line23">23</a> </pre></td>
|
193
|
-
</tr>
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
<tr class="inferred">
|
198
|
-
<td><pre><a name="line24">24</a> end</pre></td>
|
199
|
-
</tr>
|
200
|
-
|
201
|
-
</tbody>
|
202
|
-
</table>
|
203
|
-
|
204
|
-
<p>Generated on Tue Aug 31 00:58:13 +0100 2010 with <a href="http://github.com/relevance/rcov">rcov 0.9.8</a></p>
|
205
|
-
|
206
|
-
</body>
|
207
|
-
</html>
|
@@ -1,201 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
2
|
-
<html lang='en' xml:lang='en' xmlns='http://www.w3.org/1999/xhtml'>
|
3
|
-
<head>
|
4
|
-
<title>lib/hel/opts/unused_style_opts.rb</title>
|
5
|
-
<link href="screen.css" media="all" rel="stylesheet" type="text/css" />
|
6
|
-
<link href="print.css" media="print" rel="stylesheet" type="text/css" />
|
7
|
-
|
8
|
-
<meta http-equiv="Content-type" content="text/html;charset=UTF-8" />
|
9
|
-
<script type="text/javascript" src="rcov.js"></script>
|
10
|
-
</head>
|
11
|
-
<body>
|
12
|
-
<h1>Hel Tools C0 Coverage Information - RCov</h1>
|
13
|
-
<h2>lib/hel/opts/unused_style_opts.rb</h2>
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
<div class="report_table_wrapper">
|
18
|
-
<table class='report' id='report_table'>
|
19
|
-
<thead>
|
20
|
-
<tr>
|
21
|
-
<th class="left_align">Name</th>
|
22
|
-
<th class="right_align">Total Lines</th>
|
23
|
-
<th class="right_align">Lines of Code</th>
|
24
|
-
<th class="left_align">Total Coverage</th>
|
25
|
-
<th class="left_align">Code Coverage</th>
|
26
|
-
</tr>
|
27
|
-
</thead>
|
28
|
-
<tbody>
|
29
|
-
<tr>
|
30
|
-
<td class="left_align"><a href="lib-hel-opts-unused_style_opts_rb.html">lib/hel/opts/unused_style_opts.rb</a></td>
|
31
|
-
<td class='right_align'><tt>23</tt></td>
|
32
|
-
<td class='right_align'><tt>14</tt></td>
|
33
|
-
<td class="left_align"><div class="percent_graph_legend"><tt class=''>100.00%</tt></div>
|
34
|
-
<div class="percent_graph">
|
35
|
-
<div class="covered" style="width:100px"></div>
|
36
|
-
<div class="uncovered" style="width:0px"></div>
|
37
|
-
</div></td>
|
38
|
-
<td class="left_align"><div class="percent_graph_legend"><tt class=''>100.00%</tt></div>
|
39
|
-
<div class="percent_graph">
|
40
|
-
<div class="covered" style="width:100px"></div>
|
41
|
-
<div class="uncovered" style="width:0px"></div>
|
42
|
-
</div></td>
|
43
|
-
</tr>
|
44
|
-
</tbody>
|
45
|
-
</table>
|
46
|
-
</div>
|
47
|
-
|
48
|
-
<h3>Key</h3>
|
49
|
-
|
50
|
-
<div class="key"><pre><span class='marked'>Code reported as executed by Ruby looks like this...</span><span class='marked1'>and this: this line is also marked as covered.</span><span class='inferred'>Lines considered as run by rcov, but not reported by Ruby, look like this,</span><span class='inferred1'>and this: these lines were inferred by rcov (using simple heuristics).</span><span class='uncovered'>Finally, here's a line marked as not executed.</span></pre></div>
|
51
|
-
|
52
|
-
<h3>Coverage Details</h3>
|
53
|
-
|
54
|
-
<table class="details">
|
55
|
-
<tbody>
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
<tr class="inferred">
|
60
|
-
<td><pre><a name="line1">1</a> # encoding: utf-8</pre></td>
|
61
|
-
</tr>
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
<tr class="inferred">
|
66
|
-
<td><pre><a name="line2">2</a> </pre></td>
|
67
|
-
</tr>
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
<tr class="inferred">
|
72
|
-
<td><pre><a name="line3">3</a> #</pre></td>
|
73
|
-
</tr>
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
<tr class="inferred">
|
78
|
-
<td><pre><a name="line4">4</a> # Manages the command line interface for the unused style detection tool.</pre></td>
|
79
|
-
</tr>
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
<tr class="inferred">
|
84
|
-
<td><pre><a name="line5">5</a> #</pre></td>
|
85
|
-
</tr>
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
<tr class="marked">
|
90
|
-
<td><pre><a name="line6">6</a> class UnusedStyleOpts < ToolOpts</pre></td>
|
91
|
-
</tr>
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
<tr class="inferred">
|
96
|
-
<td><pre><a name="line7">7</a> </pre></td>
|
97
|
-
</tr>
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
<tr class="marked">
|
102
|
-
<td><pre><a name="line8">8</a> def self.name</pre></td>
|
103
|
-
</tr>
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
<tr class="marked">
|
108
|
-
<td><pre><a name="line9">9</a> "hel-unused-style-detector"</pre></td>
|
109
|
-
</tr>
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
<tr class="inferred">
|
114
|
-
<td><pre><a name="line10">10</a> end</pre></td>
|
115
|
-
</tr>
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
<tr class="inferred">
|
120
|
-
<td><pre><a name="line11">11</a> </pre></td>
|
121
|
-
</tr>
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
<tr class="marked">
|
126
|
-
<td><pre><a name="line12">12</a> def self.description</pre></td>
|
127
|
-
</tr>
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
<tr class="marked">
|
132
|
-
<td><pre><a name="line13">13</a> "Helvector ActionScript Unused Style Detection Tool"</pre></td>
|
133
|
-
</tr>
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
<tr class="inferred">
|
138
|
-
<td><pre><a name="line14">14</a> end</pre></td>
|
139
|
-
</tr>
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
<tr class="inferred">
|
144
|
-
<td><pre><a name="line15">15</a> </pre></td>
|
145
|
-
</tr>
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
<tr class="marked">
|
150
|
-
<td><pre><a name="line16">16</a> def self.default_config</pre></td>
|
151
|
-
</tr>
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
<tr class="marked">
|
156
|
-
<td><pre><a name="line17">17</a> dc = superclass.default_config</pre></td>
|
157
|
-
</tr>
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
<tr class="marked">
|
162
|
-
<td><pre><a name="line18">18</a> dc[:output] = 'styles.txt'</pre></td>
|
163
|
-
</tr>
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
<tr class="marked">
|
168
|
-
<td><pre><a name="line19">19</a> dc[:css_dir] = 'style'</pre></td>
|
169
|
-
</tr>
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
<tr class="marked">
|
174
|
-
<td><pre><a name="line20">20</a> dc</pre></td>
|
175
|
-
</tr>
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
<tr class="inferred">
|
180
|
-
<td><pre><a name="line21">21</a> end</pre></td>
|
181
|
-
</tr>
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
<tr class="inferred">
|
186
|
-
<td><pre><a name="line22">22</a> </pre></td>
|
187
|
-
</tr>
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
<tr class="inferred">
|
192
|
-
<td><pre><a name="line23">23</a> end</pre></td>
|
193
|
-
</tr>
|
194
|
-
|
195
|
-
</tbody>
|
196
|
-
</table>
|
197
|
-
|
198
|
-
<p>Generated on Tue Aug 31 00:58:13 +0100 2010 with <a href="http://github.com/relevance/rcov">rcov 0.9.8</a></p>
|
199
|
-
|
200
|
-
</body>
|
201
|
-
</html>
|