ocrsdk 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,159 +0,0 @@
1
- <html>
2
- <head>
3
- <title>lib/ocrsdk/document.rb</title>
4
-
5
- <link href="../../report.css?0.6286623372881345" media="screen" rel="stylesheet" type="text/css" />
6
- <script src='../../jquery.js?0.21187342215764837'></script>
7
- <script>
8
- $(function() {
9
-
10
- $('#toggle_test_file').click(function(e) {
11
- e.preventDefault();
12
- if ($('#main_file').hasClass('side_by_side')) {
13
- $('#main_file').removeClass('side_by_side');
14
- } else {
15
- $('#main_file').addClass('side_by_side');
16
- }
17
-
18
- $('#test_file').toggle();
19
- });
20
-
21
- $('#test_file').hide();
22
-
23
- function cleanString(str) {
24
- return $.trim(str.replace(/<[^(<|>)]+>/gi, ''));
25
- }
26
-
27
- $('.line_number').hover(function() {
28
- $(this).attr('title', 'Line: ' + cleanString($(this).html()));
29
- });
30
-
31
- $('.hit_number').hover(function() {
32
- $(this).attr('title', 'Execution Count: ' + cleanString($(this).html()));
33
- });
34
-
35
- $('.code_line').hover(function() {
36
- $(this).attr('title', cleanString($(this).html()));
37
- });
38
-
39
- });
40
- </script>
41
- </head>
42
- <body>
43
- <h1><a href="../../index.html">Coverage Report</a></h1>
44
-
45
- <table cellpadding='0' cellspacing='1'>
46
- <tr class='header'>
47
- <th>File</th>
48
- <th>Lines</th>
49
- <th>Lines Of Code</th>
50
- <th>Untested Lines of Code</th>
51
- <th>Tested %</th>
52
- </tr>
53
- <tr valign='top'>
54
- <td>
55
- lib/ocrsdk/document.rb
56
-
57
- </td>
58
- <td>8</td>
59
- <td>3</td>
60
- <td>0</td>
61
- <td>100.0%</td>
62
- </tr>
63
- </table>
64
-
65
- <div>&nbsp;</div>
66
-
67
- <table cellpadding='0' cellspacing='1'>
68
- <tr>
69
- <th>Legend</th>
70
- </tr>
71
- <tr>
72
- <td class='hit'>This line was executed.</td>
73
- </tr>
74
- <tr>
75
- <td class='miss'>This line was not executed!</td>
76
- </tr>
77
- <tr>
78
- <td class='never'>This line doesn't matter.</td>
79
- </tr>
80
- </table>
81
-
82
- <div>&nbsp;</div>
83
-
84
- <div id='content'>
85
- <div id='main_file'>
86
- <table id='main'>
87
-
88
- <tr class="hit" data-hits='#{cov}'"">
89
- <td class='line_number'>1</td>
90
- <td class='code_line'>
91
- <pre>class OCRSDK::Document < OCRSDK::AbstractEntity</pre>
92
- </td>
93
- <td class='hit_number'>24</td>
94
- </tr>
95
-
96
- <tr class="hit" data-hits='#{cov}'"">
97
- <td class='line_number'>2</td>
98
- <td class='code_line'>
99
- <pre>private</pre>
100
- </td>
101
- <td class='hit_number'>24</td>
102
- </tr>
103
-
104
- <tr class="never" "">
105
- <td class='line_number'>3</td>
106
- <td class='code_line'>
107
- <pre></pre>
108
- </td>
109
- <td class='hit_number'></td>
110
- </tr>
111
-
112
- <tr class="never" "">
113
- <td class='line_number'>4</td>
114
- <td class='code_line'>
115
- <pre> # http://ocrsdk.com/documentation/apireference/processDocument/</pre>
116
- </td>
117
- <td class='hit_number'></td>
118
- </tr>
119
-
120
- <tr class="hit" data-hits='#{cov}'"">
121
- <td class='line_number'>5</td>
122
- <td class='code_line'>
123
- <pre> def api_process_document(document, languages, format='txt')</pre>
124
- </td>
125
- <td class='hit_number'>24</td>
126
- </tr>
127
-
128
- <tr class="never" "">
129
- <td class='line_number'>6</td>
130
- <td class='code_line'>
131
- <pre></pre>
132
- </td>
133
- <td class='hit_number'></td>
134
- </tr>
135
-
136
- <tr class="never" "">
137
- <td class='line_number'>7</td>
138
- <td class='code_line'>
139
- <pre> end</pre>
140
- </td>
141
- <td class='hit_number'></td>
142
- </tr>
143
-
144
- <tr class="never" "">
145
- <td class='line_number'>8</td>
146
- <td class='code_line'>
147
- <pre>end</pre>
148
- </td>
149
- <td class='hit_number'></td>
150
- </tr>
151
-
152
- </table>
153
- </div>
154
-
155
- </div>
156
-
157
- <p>Generated on: 2012-12-01 01:40:30 +0400</p>
158
- </body>
159
- </html>
@@ -1,199 +0,0 @@
1
- <html>
2
- <head>
3
- <title>lib/ocrsdk/errors.rb</title>
4
-
5
- <link href="../../report.css?0.029446015497861855" media="screen" rel="stylesheet" type="text/css" />
6
- <script src='../../jquery.js?0.5062151156785174'></script>
7
- <script>
8
- $(function() {
9
-
10
- $('#toggle_test_file').click(function(e) {
11
- e.preventDefault();
12
- if ($('#main_file').hasClass('side_by_side')) {
13
- $('#main_file').removeClass('side_by_side');
14
- } else {
15
- $('#main_file').addClass('side_by_side');
16
- }
17
-
18
- $('#test_file').toggle();
19
- });
20
-
21
- $('#test_file').hide();
22
-
23
- function cleanString(str) {
24
- return $.trim(str.replace(/<[^(<|>)]+>/gi, ''));
25
- }
26
-
27
- $('.line_number').hover(function() {
28
- $(this).attr('title', 'Line: ' + cleanString($(this).html()));
29
- });
30
-
31
- $('.hit_number').hover(function() {
32
- $(this).attr('title', 'Execution Count: ' + cleanString($(this).html()));
33
- });
34
-
35
- $('.code_line').hover(function() {
36
- $(this).attr('title', cleanString($(this).html()));
37
- });
38
-
39
- });
40
- </script>
41
- </head>
42
- <body>
43
- <h1><a href="../../index.html">Coverage Report</a></h1>
44
-
45
- <table cellpadding='0' cellspacing='1'>
46
- <tr class='header'>
47
- <th>File</th>
48
- <th>Lines</th>
49
- <th>Lines Of Code</th>
50
- <th>Untested Lines of Code</th>
51
- <th>Tested %</th>
52
- </tr>
53
- <tr valign='top'>
54
- <td>
55
- lib/ocrsdk/errors.rb
56
-
57
- </td>
58
- <td>13</td>
59
- <td>10</td>
60
- <td>0</td>
61
- <td>100.0%</td>
62
- </tr>
63
- </table>
64
-
65
- <div>&nbsp;</div>
66
-
67
- <table cellpadding='0' cellspacing='1'>
68
- <tr>
69
- <th>Legend</th>
70
- </tr>
71
- <tr>
72
- <td class='hit'>This line was executed.</td>
73
- </tr>
74
- <tr>
75
- <td class='miss'>This line was not executed!</td>
76
- </tr>
77
- <tr>
78
- <td class='never'>This line doesn't matter.</td>
79
- </tr>
80
- </table>
81
-
82
- <div>&nbsp;</div>
83
-
84
- <div id='content'>
85
- <div id='main_file'>
86
- <table id='main'>
87
-
88
- <tr class="hit" data-hits='#{cov}'"">
89
- <td class='line_number'>1</td>
90
- <td class='code_line'>
91
- <pre>module OCRSDK</pre>
92
- </td>
93
- <td class='hit_number'>24</td>
94
- </tr>
95
-
96
- <tr class="hit" data-hits='#{cov}'"">
97
- <td class='line_number'>2</td>
98
- <td class='code_line'>
99
- <pre> class OCRSDKError < RuntimeError; end</pre>
100
- </td>
101
- <td class='hit_number'>24</td>
102
- </tr>
103
-
104
- <tr class="never" "">
105
- <td class='line_number'>3</td>
106
- <td class='code_line'>
107
- <pre> </pre>
108
- </td>
109
- <td class='hit_number'></td>
110
- </tr>
111
-
112
- <tr class="hit" data-hits='#{cov}'"">
113
- <td class='line_number'>4</td>
114
- <td class='code_line'>
115
- <pre> class NetworkError < OCRSDKError; end</pre>
116
- </td>
117
- <td class='hit_number'>24</td>
118
- </tr>
119
-
120
- <tr class="hit" data-hits='#{cov}'"">
121
- <td class='line_number'>5</td>
122
- <td class='code_line'>
123
- <pre> class NotEnoughCredits < OCRSDKError; end</pre>
124
- </td>
125
- <td class='hit_number'>24</td>
126
- </tr>
127
-
128
- <tr class="hit" data-hits='#{cov}'"">
129
- <td class='line_number'>6</td>
130
- <td class='code_line'>
131
- <pre> class ProcessingFailed < OCRSDKError; end</pre>
132
- </td>
133
- <td class='hit_number'>24</td>
134
- </tr>
135
-
136
- <tr class="never" "">
137
- <td class='line_number'>7</td>
138
- <td class='code_line'>
139
- <pre></pre>
140
- </td>
141
- <td class='hit_number'></td>
142
- </tr>
143
-
144
- <tr class="hit" data-hits='#{cov}'"">
145
- <td class='line_number'>8</td>
146
- <td class='code_line'>
147
- <pre> class UnsupportedFeature < OCRSDKError; end</pre>
148
- </td>
149
- <td class='hit_number'>24</td>
150
- </tr>
151
-
152
- <tr class="hit" data-hits='#{cov}'"">
153
- <td class='line_number'>9</td>
154
- <td class='code_line'>
155
- <pre> class UnsupportedLanguage < UnsupportedFeature; end</pre>
156
- </td>
157
- <td class='hit_number'>24</td>
158
- </tr>
159
-
160
- <tr class="hit" data-hits='#{cov}'"">
161
- <td class='line_number'>10</td>
162
- <td class='code_line'>
163
- <pre> class UnsupportedProfile < UnsupportedFeature; end</pre>
164
- </td>
165
- <td class='hit_number'>24</td>
166
- </tr>
167
-
168
- <tr class="hit" data-hits='#{cov}'"">
169
- <td class='line_number'>11</td>
170
- <td class='code_line'>
171
- <pre> class UnsupportedInputFormat < UnsupportedFeature; end</pre>
172
- </td>
173
- <td class='hit_number'>24</td>
174
- </tr>
175
-
176
- <tr class="hit" data-hits='#{cov}'"">
177
- <td class='line_number'>12</td>
178
- <td class='code_line'>
179
- <pre> class UnsupportedOutputFormat < UnsupportedFeature; end</pre>
180
- </td>
181
- <td class='hit_number'>24</td>
182
- </tr>
183
-
184
- <tr class="never" "">
185
- <td class='line_number'>13</td>
186
- <td class='code_line'>
187
- <pre>end</pre>
188
- </td>
189
- <td class='hit_number'></td>
190
- </tr>
191
-
192
- </table>
193
- </div>
194
-
195
- </div>
196
-
197
- <p>Generated on: 2012-12-01 01:40:30 +0400</p>
198
- </body>
199
- </html>