slather 1.8.3 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +2 -1
  3. data/.travis.yml +1 -0
  4. data/CHANGELOG.md +21 -1
  5. data/README.md +15 -10
  6. data/README_Images/test_scheme.png +0 -0
  7. data/Rakefile +6 -0
  8. data/bin/slather +45 -6
  9. data/lib/slather/coverage_file.rb +37 -90
  10. data/lib/slather/coverage_info.rb +84 -0
  11. data/lib/slather/coverage_service/cobertura_xml_output.rb +10 -6
  12. data/lib/slather/coverage_service/coveralls.rb +5 -1
  13. data/lib/slather/coverage_service/gutter_json_output.rb +12 -8
  14. data/lib/slather/coverage_service/hardcover.rb +5 -1
  15. data/lib/slather/coverage_service/html_output.rb +32 -19
  16. data/lib/slather/coverage_service/simple_output.rb +5 -1
  17. data/lib/slather/{coveralls_coverage_file.rb → coveralls_coverage.rb} +1 -1
  18. data/lib/slather/profdata_coverage_file.rb +130 -0
  19. data/lib/slather/project.rb +191 -27
  20. data/lib/slather/version.rb +1 -1
  21. data/lib/slather.rb +9 -1
  22. data/slather.gemspec +4 -4
  23. data/spec/fixtures/cobertura.xml +56 -79
  24. data/spec/fixtures/fixtures/Fixtures.swift +15 -0
  25. data/spec/fixtures/fixtures/other_fixtures.m +23 -0
  26. data/spec/fixtures/fixtures_html/Branches.m.html +244 -258
  27. data/spec/fixtures/fixtures_html/BranchesTests.m.html +209 -225
  28. data/spec/fixtures/fixtures_html/fixtures.m.html +134 -148
  29. data/spec/fixtures/fixtures_html/fixturesTests.m.html +199 -213
  30. data/spec/fixtures/fixtures_html/index.html +68 -131
  31. data/spec/fixtures/fixtures_html/peekaviewTests.m.html +189 -203
  32. data/spec/fixtures/gutter.json +1 -1
  33. data/spec/slather/coverage_file_spec.rb +20 -12
  34. data/spec/slather/coverage_service/cobertura_xml_spec.rb +7 -3
  35. data/spec/slather/coverage_service/coveralls_spec.rb +61 -20
  36. data/spec/slather/coverage_service/gutter_json_spec.rb +6 -2
  37. data/spec/slather/coverage_service/hardcover_spec.rb +33 -3
  38. data/spec/slather/coverage_service/html_output_spec.rb +48 -7
  39. data/spec/slather/coverage_service/simple_output_spec.rb +12 -13
  40. data/spec/slather/profdata_coverage_spec.rb +128 -0
  41. data/spec/slather/project_spec.rb +222 -49
  42. data/spec/spec_helper.rb +28 -2
  43. metadata +58 -46
  44. data/spec/fixtures/fixtures_html/Empty.m.html +0 -30
  45. data/spec/fixtures/fixtures_html/fixtures_cpp.cpp.html +0 -30
  46. data/spec/fixtures/fixtures_html/fixtures_m.m.html +0 -30
  47. data/spec/fixtures/fixtures_html/fixtures_mm.mm.html +0 -30
  48. data/spec/fixtures/fixtures_html/peekaview.m.html +0 -190
metadata CHANGED
@@ -1,167 +1,179 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: slather
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.3
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark Larsen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-16 00:00:00.000000000 Z
11
+ date: 2016-02-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ~>
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.6'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ~>
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.6'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: coveralls
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - '>='
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">="
38
+ - - '>='
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rake
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - ~>
46
46
  - !ruby/object:Gem::Version
47
47
  version: '10.3'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - "~>"
52
+ - - ~>
53
53
  - !ruby/object:Gem::Version
54
54
  version: '10.3'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rspec
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - "~>"
59
+ - - ~>
60
60
  - !ruby/object:Gem::Version
61
- version: '2.14'
61
+ version: '3.3'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - "~>"
66
+ - - ~>
67
67
  - !ruby/object:Gem::Version
68
- version: '2.14'
68
+ version: '3.3'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: pry
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - "~>"
73
+ - - ~>
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0.9'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - "~>"
80
+ - - ~>
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0.9'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: cocoapods
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - "~>"
87
+ - - '>='
88
88
  - !ruby/object:Gem::Version
89
89
  version: 0.39.0
90
+ - - <
91
+ - !ruby/object:Gem::Version
92
+ version: 1.1.0
90
93
  type: :development
91
94
  prerelease: false
92
95
  version_requirements: !ruby/object:Gem::Requirement
93
96
  requirements:
94
- - - "~>"
97
+ - - '>='
95
98
  - !ruby/object:Gem::Version
96
99
  version: 0.39.0
100
+ - - <
101
+ - !ruby/object:Gem::Version
102
+ version: 1.1.0
97
103
  - !ruby/object:Gem::Dependency
98
104
  name: json_spec
99
105
  requirement: !ruby/object:Gem::Requirement
100
106
  requirements:
101
- - - "~>"
107
+ - - ~>
102
108
  - !ruby/object:Gem::Version
103
109
  version: 1.1.4
104
110
  type: :development
105
111
  prerelease: false
106
112
  version_requirements: !ruby/object:Gem::Requirement
107
113
  requirements:
108
- - - "~>"
114
+ - - ~>
109
115
  - !ruby/object:Gem::Version
110
116
  version: 1.1.4
111
117
  - !ruby/object:Gem::Dependency
112
118
  name: equivalent-xml
113
119
  requirement: !ruby/object:Gem::Requirement
114
120
  requirements:
115
- - - "~>"
121
+ - - ~>
116
122
  - !ruby/object:Gem::Version
117
123
  version: 0.5.1
118
124
  type: :development
119
125
  prerelease: false
120
126
  version_requirements: !ruby/object:Gem::Requirement
121
127
  requirements:
122
- - - "~>"
128
+ - - ~>
123
129
  - !ruby/object:Gem::Version
124
130
  version: 0.5.1
125
131
  - !ruby/object:Gem::Dependency
126
132
  name: clamp
127
133
  requirement: !ruby/object:Gem::Requirement
128
134
  requirements:
129
- - - "~>"
135
+ - - ~>
130
136
  - !ruby/object:Gem::Version
131
137
  version: '0.6'
132
138
  type: :runtime
133
139
  prerelease: false
134
140
  version_requirements: !ruby/object:Gem::Requirement
135
141
  requirements:
136
- - - "~>"
142
+ - - ~>
137
143
  - !ruby/object:Gem::Version
138
144
  version: '0.6'
139
145
  - !ruby/object:Gem::Dependency
140
146
  name: xcodeproj
141
147
  requirement: !ruby/object:Gem::Requirement
142
148
  requirements:
143
- - - "~>"
149
+ - - '>='
144
150
  - !ruby/object:Gem::Version
145
- version: 0.28.0
151
+ version: 0.28.2
152
+ - - <
153
+ - !ruby/object:Gem::Version
154
+ version: 1.1.0
146
155
  type: :runtime
147
156
  prerelease: false
148
157
  version_requirements: !ruby/object:Gem::Requirement
149
158
  requirements:
150
- - - "~>"
159
+ - - '>='
160
+ - !ruby/object:Gem::Version
161
+ version: 0.28.2
162
+ - - <
151
163
  - !ruby/object:Gem::Version
152
- version: 0.28.0
164
+ version: 1.1.0
153
165
  - !ruby/object:Gem::Dependency
154
166
  name: nokogiri
155
167
  requirement: !ruby/object:Gem::Requirement
156
168
  requirements:
157
- - - "~>"
169
+ - - ~>
158
170
  - !ruby/object:Gem::Version
159
171
  version: 1.6.3
160
172
  type: :runtime
161
173
  prerelease: false
162
174
  version_requirements: !ruby/object:Gem::Requirement
163
175
  requirements:
164
- - - "~>"
176
+ - - ~>
165
177
  - !ruby/object:Gem::Version
166
178
  version: 1.6.3
167
179
  description:
@@ -172,13 +184,14 @@ executables:
172
184
  extensions: []
173
185
  extra_rdoc_files: []
174
186
  files:
175
- - ".coveralls.yml"
176
- - ".gitignore"
177
- - ".travis.yml"
187
+ - .coveralls.yml
188
+ - .gitignore
189
+ - .travis.yml
178
190
  - CHANGELOG.md
179
191
  - Gemfile
180
192
  - LICENSE.txt
181
193
  - README.md
194
+ - README_Images/test_scheme.png
182
195
  - Rakefile
183
196
  - assets/highlight.pack.js
184
197
  - assets/list.min.js
@@ -188,13 +201,15 @@ files:
188
201
  - lib/cocoapods_plugin.rb
189
202
  - lib/slather.rb
190
203
  - lib/slather/coverage_file.rb
204
+ - lib/slather/coverage_info.rb
191
205
  - lib/slather/coverage_service/cobertura_xml_output.rb
192
206
  - lib/slather/coverage_service/coveralls.rb
193
207
  - lib/slather/coverage_service/gutter_json_output.rb
194
208
  - lib/slather/coverage_service/hardcover.rb
195
209
  - lib/slather/coverage_service/html_output.rb
196
210
  - lib/slather/coverage_service/simple_output.rb
197
- - lib/slather/coveralls_coverage_file.rb
211
+ - lib/slather/coveralls_coverage.rb
212
+ - lib/slather/profdata_coverage_file.rb
198
213
  - lib/slather/project.rb
199
214
  - lib/slather/version.rb
200
215
  - slather.gemspec
@@ -202,6 +217,7 @@ files:
202
217
  - spec/fixtures/fixtures.xcodeproj/project.pbxproj
203
218
  - spec/fixtures/fixtures.xcodeproj/project.xcworkspace/contents.xcworkspacedata
204
219
  - spec/fixtures/fixtures.xcodeproj/xcshareddata/xcschemes/fixtures.xcscheme
220
+ - spec/fixtures/fixtures/Fixtures.swift
205
221
  - spec/fixtures/fixtures/Supporting Files/fixtures-Prefix.pch
206
222
  - spec/fixtures/fixtures/fixtures.h
207
223
  - spec/fixtures/fixtures/fixtures.m
@@ -217,6 +233,7 @@ files:
217
233
  - spec/fixtures/fixtures/more_files/Empty.m
218
234
  - spec/fixtures/fixtures/more_files/peekaview.h
219
235
  - spec/fixtures/fixtures/more_files/peekaview.m
236
+ - spec/fixtures/fixtures/other_fixtures.m
220
237
  - spec/fixtures/fixturesTests/BranchesTests.m
221
238
  - spec/fixtures/fixturesTests/Supporting Files/en.lproj/InfoPlist.strings
222
239
  - spec/fixtures/fixturesTests/Supporting Files/fixturesTests-Info.plist
@@ -224,14 +241,9 @@ files:
224
241
  - spec/fixtures/fixturesTests/peekaviewTests.m
225
242
  - spec/fixtures/fixtures_html/Branches.m.html
226
243
  - spec/fixtures/fixtures_html/BranchesTests.m.html
227
- - spec/fixtures/fixtures_html/Empty.m.html
228
244
  - spec/fixtures/fixtures_html/fixtures.m.html
229
245
  - spec/fixtures/fixtures_html/fixturesTests.m.html
230
- - spec/fixtures/fixtures_html/fixtures_cpp.cpp.html
231
- - spec/fixtures/fixtures_html/fixtures_m.m.html
232
- - spec/fixtures/fixtures_html/fixtures_mm.mm.html
233
246
  - spec/fixtures/fixtures_html/index.html
234
- - spec/fixtures/fixtures_html/peekaview.m.html
235
247
  - spec/fixtures/fixtures_html/peekaviewTests.m.html
236
248
  - spec/fixtures/gutter.json
237
249
  - spec/slather/cocoapods_plugin_spec.rb
@@ -243,9 +255,10 @@ files:
243
255
  - spec/slather/coverage_service/html_output_spec.rb
244
256
  - spec/slather/coverage_service/simple_output_spec.rb
245
257
  - spec/slather/fixtures.gcno
258
+ - spec/slather/profdata_coverage_spec.rb
246
259
  - spec/slather/project_spec.rb
247
260
  - spec/spec_helper.rb
248
- homepage: https://github.com/venmo/slather
261
+ homepage: https://github.com/SlatherOrg/slather
249
262
  licenses:
250
263
  - MIT
251
264
  metadata: {}
@@ -255,17 +268,17 @@ require_paths:
255
268
  - lib
256
269
  required_ruby_version: !ruby/object:Gem::Requirement
257
270
  requirements:
258
- - - ">="
271
+ - - '>='
259
272
  - !ruby/object:Gem::Version
260
273
  version: '0'
261
274
  required_rubygems_version: !ruby/object:Gem::Requirement
262
275
  requirements:
263
- - - ">="
276
+ - - '>='
264
277
  - !ruby/object:Gem::Version
265
278
  version: '0'
266
279
  requirements: []
267
280
  rubyforge_project:
268
- rubygems_version: 2.2.2
281
+ rubygems_version: 2.0.14
269
282
  signing_key:
270
283
  specification_version: 4
271
284
  summary: Test coverage reports for Xcode projects
@@ -274,6 +287,7 @@ test_files:
274
287
  - spec/fixtures/fixtures.xcodeproj/project.pbxproj
275
288
  - spec/fixtures/fixtures.xcodeproj/project.xcworkspace/contents.xcworkspacedata
276
289
  - spec/fixtures/fixtures.xcodeproj/xcshareddata/xcschemes/fixtures.xcscheme
290
+ - spec/fixtures/fixtures/Fixtures.swift
277
291
  - spec/fixtures/fixtures/Supporting Files/fixtures-Prefix.pch
278
292
  - spec/fixtures/fixtures/fixtures.h
279
293
  - spec/fixtures/fixtures/fixtures.m
@@ -289,6 +303,7 @@ test_files:
289
303
  - spec/fixtures/fixtures/more_files/Empty.m
290
304
  - spec/fixtures/fixtures/more_files/peekaview.h
291
305
  - spec/fixtures/fixtures/more_files/peekaview.m
306
+ - spec/fixtures/fixtures/other_fixtures.m
292
307
  - spec/fixtures/fixturesTests/BranchesTests.m
293
308
  - spec/fixtures/fixturesTests/Supporting Files/en.lproj/InfoPlist.strings
294
309
  - spec/fixtures/fixturesTests/Supporting Files/fixturesTests-Info.plist
@@ -296,14 +311,9 @@ test_files:
296
311
  - spec/fixtures/fixturesTests/peekaviewTests.m
297
312
  - spec/fixtures/fixtures_html/Branches.m.html
298
313
  - spec/fixtures/fixtures_html/BranchesTests.m.html
299
- - spec/fixtures/fixtures_html/Empty.m.html
300
314
  - spec/fixtures/fixtures_html/fixtures.m.html
301
315
  - spec/fixtures/fixtures_html/fixturesTests.m.html
302
- - spec/fixtures/fixtures_html/fixtures_cpp.cpp.html
303
- - spec/fixtures/fixtures_html/fixtures_m.m.html
304
- - spec/fixtures/fixtures_html/fixtures_mm.mm.html
305
316
  - spec/fixtures/fixtures_html/index.html
306
- - spec/fixtures/fixtures_html/peekaview.m.html
307
317
  - spec/fixtures/fixtures_html/peekaviewTests.m.html
308
318
  - spec/fixtures/gutter.json
309
319
  - spec/slather/cocoapods_plugin_spec.rb
@@ -315,5 +325,7 @@ test_files:
315
325
  - spec/slather/coverage_service/html_output_spec.rb
316
326
  - spec/slather/coverage_service/simple_output_spec.rb
317
327
  - spec/slather/fixtures.gcno
328
+ - spec/slather/profdata_coverage_spec.rb
318
329
  - spec/slather/project_spec.rb
319
330
  - spec/spec_helper.rb
331
+ has_rdoc:
@@ -1,30 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
2
- <html>
3
- <head>
4
- <title>Empty.m - Slather</title>
5
- <link href="../../../assets/slather.css" media="all" rel="stylesheet">
6
- </head>
7
- <body>
8
- <header>
9
- <div class="row">
10
- <a href="index.html"><img src="../../../docs/logo.jpg" alt="Slather logo"></a>
11
- </div>
12
- </header>
13
- <div class="row">
14
- <div id="reports">
15
- <h2 class="cov_title">
16
- <span>Coverage for "Empty.m"</span>
17
- </h2>
18
- <h4 class="cov_subtitle">(0 of 0 relevant lines covered)</h4>
19
- <h4 class="cov_filepath">spec/fixtures/fixtures/more_files/Empty.m</h4>
20
- <p>&macr;\_(&#12484;)_/&macr;</p>
21
- </div>
22
- </div>
23
- <footer>
24
- <div class="row">
25
- <p><a href="https://github.com/venmo/slather">Fork me on Github</a></p>
26
- <p>&copy; 2015 Slather</p>
27
- </div>
28
- </footer>
29
- </body>
30
- </html>
@@ -1,30 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
2
- <html>
3
- <head>
4
- <title>fixtures_cpp.cpp - Slather</title>
5
- <link href="../../../assets/slather.css" media="all" rel="stylesheet">
6
- </head>
7
- <body>
8
- <header>
9
- <div class="row">
10
- <a href="index.html"><img src="../../../docs/logo.jpg" alt="Slather logo"></a>
11
- </div>
12
- </header>
13
- <div class="row">
14
- <div id="reports">
15
- <h2 class="cov_title">
16
- <span>Coverage for "fixtures_cpp.cpp"</span>
17
- </h2>
18
- <h4 class="cov_subtitle">(0 of 0 relevant lines covered)</h4>
19
- <h4 class="cov_filepath">spec/fixtures/fixtures/fixtures_cpp.cpp</h4>
20
- <p>&macr;\_(&#12484;)_/&macr;</p>
21
- </div>
22
- </div>
23
- <footer>
24
- <div class="row">
25
- <p><a href="https://github.com/venmo/slather">Fork me on Github</a></p>
26
- <p>&copy; 2015 Slather</p>
27
- </div>
28
- </footer>
29
- </body>
30
- </html>
@@ -1,30 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
2
- <html>
3
- <head>
4
- <title>fixtures_m.m - Slather</title>
5
- <link href="../../../assets/slather.css" media="all" rel="stylesheet">
6
- </head>
7
- <body>
8
- <header>
9
- <div class="row">
10
- <a href="index.html"><img src="../../../docs/logo.jpg" alt="Slather logo"></a>
11
- </div>
12
- </header>
13
- <div class="row">
14
- <div id="reports">
15
- <h2 class="cov_title">
16
- <span>Coverage for "fixtures_m.m"</span>
17
- </h2>
18
- <h4 class="cov_subtitle">(0 of 0 relevant lines covered)</h4>
19
- <h4 class="cov_filepath">spec/fixtures/fixtures/fixtures_m.m</h4>
20
- <p>&macr;\_(&#12484;)_/&macr;</p>
21
- </div>
22
- </div>
23
- <footer>
24
- <div class="row">
25
- <p><a href="https://github.com/venmo/slather">Fork me on Github</a></p>
26
- <p>&copy; 2015 Slather</p>
27
- </div>
28
- </footer>
29
- </body>
30
- </html>
@@ -1,30 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
2
- <html>
3
- <head>
4
- <title>fixtures_mm.mm - Slather</title>
5
- <link href="../../../assets/slather.css" media="all" rel="stylesheet">
6
- </head>
7
- <body>
8
- <header>
9
- <div class="row">
10
- <a href="index.html"><img src="../../../docs/logo.jpg" alt="Slather logo"></a>
11
- </div>
12
- </header>
13
- <div class="row">
14
- <div id="reports">
15
- <h2 class="cov_title">
16
- <span>Coverage for "fixtures_mm.mm"</span>
17
- </h2>
18
- <h4 class="cov_subtitle">(0 of 0 relevant lines covered)</h4>
19
- <h4 class="cov_filepath">spec/fixtures/fixtures/fixtures_mm.mm</h4>
20
- <p>&macr;\_(&#12484;)_/&macr;</p>
21
- </div>
22
- </div>
23
- <footer>
24
- <div class="row">
25
- <p><a href="https://github.com/venmo/slather">Fork me on Github</a></p>
26
- <p>&copy; 2015 Slather</p>
27
- </div>
28
- </footer>
29
- </body>
30
- </html>
@@ -1,190 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
2
- <html>
3
- <head>
4
- <title>peekaview.m - Slather</title>
5
- <link href="../../../assets/slather.css" media="all" rel="stylesheet">
6
- </head>
7
- <body>
8
- <header>
9
- <div class="row">
10
- <a href="index.html"><img src="../../../docs/logo.jpg" alt="Slather logo"></a>
11
- </div>
12
- </header>
13
- <div class="row">
14
- <div id="reports">
15
- <h2 class="cov_title">
16
- <span>Coverage for "peekaview.m" : </span><span class="cov_low">0.00%</span>
17
- </h2>
18
- <h4 class="cov_subtitle">(0 of 6 relevant lines covered)</h4>
19
- <h4 class="cov_filepath">spec/fixtures/fixtures/more_files/peekaview.m</h4>
20
- <table class="source_code">
21
- <tr class="never">
22
- <td class="num">1</td>
23
- <td class="src"><pre><code>//</code></pre></td>
24
- <td class="coverage"></td>
25
- </tr>
26
- <tr class="never">
27
- <td class="num">2</td>
28
- <td class="src"><pre><code>// peekaview.m</code></pre></td>
29
- <td class="coverage"></td>
30
- </tr>
31
- <tr class="never">
32
- <td class="num">3</td>
33
- <td class="src"><pre><code>// fixtures</code></pre></td>
34
- <td class="coverage"></td>
35
- </tr>
36
- <tr class="never">
37
- <td class="num">4</td>
38
- <td class="src"><pre><code>//</code></pre></td>
39
- <td class="coverage"></td>
40
- </tr>
41
- <tr class="never">
42
- <td class="num">5</td>
43
- <td class="src"><pre><code>// Created by Mark Larsen on 6/25/14.</code></pre></td>
44
- <td class="coverage"></td>
45
- </tr>
46
- <tr class="never">
47
- <td class="num">6</td>
48
- <td class="src"><pre><code>// Copyright (c) 2014 marklarr. All rights reserved.</code></pre></td>
49
- <td class="coverage"></td>
50
- </tr>
51
- <tr class="never">
52
- <td class="num">7</td>
53
- <td class="src"><pre><code>//</code></pre></td>
54
- <td class="coverage"></td>
55
- </tr>
56
- <tr class="never">
57
- <td class="num">8</td>
58
- <td class="src"><pre><code></code></pre></td>
59
- <td class="coverage"></td>
60
- </tr>
61
- <tr class="never">
62
- <td class="num">9</td>
63
- <td class="src"><pre><code>#import "peekaview.h"</code></pre></td>
64
- <td class="coverage"></td>
65
- </tr>
66
- <tr class="never">
67
- <td class="num">10</td>
68
- <td class="src"><pre><code></code></pre></td>
69
- <td class="coverage"></td>
70
- </tr>
71
- <tr class="never">
72
- <td class="num">11</td>
73
- <td class="src"><pre><code>@implementation peekaview</code></pre></td>
74
- <td class="coverage"></td>
75
- </tr>
76
- <tr class="never">
77
- <td class="num">12</td>
78
- <td class="src"><pre><code></code></pre></td>
79
- <td class="coverage"></td>
80
- </tr>
81
- <tr class="missed">
82
- <td class="num">13</td>
83
- <td class="src"><pre><code>- (id)initWithFrame:(CGRect)frame</code></pre></td>
84
- <td class="coverage">!</td>
85
- </tr>
86
- <tr class="never">
87
- <td class="num">14</td>
88
- <td class="src"><pre><code>{</code></pre></td>
89
- <td class="coverage"></td>
90
- </tr>
91
- <tr class="missed">
92
- <td class="num">15</td>
93
- <td class="src"><pre><code> self = [super initWithFrame:frame];</code></pre></td>
94
- <td class="coverage">!</td>
95
- </tr>
96
- <tr class="missed">
97
- <td class="num">16</td>
98
- <td class="src"><pre><code> if (self) {</code></pre></td>
99
- <td class="coverage">!</td>
100
- </tr>
101
- <tr class="never">
102
- <td class="num">17</td>
103
- <td class="src"><pre><code> // Initialization code</code></pre></td>
104
- <td class="coverage"></td>
105
- </tr>
106
- <tr class="missed">
107
- <td class="num">18</td>
108
- <td class="src"><pre><code> }</code></pre></td>
109
- <td class="coverage">!</td>
110
- </tr>
111
- <tr class="missed">
112
- <td class="num">19</td>
113
- <td class="src"><pre><code> return self;</code></pre></td>
114
- <td class="coverage">!</td>
115
- </tr>
116
- <tr class="missed">
117
- <td class="num">20</td>
118
- <td class="src"><pre><code>}</code></pre></td>
119
- <td class="coverage">!</td>
120
- </tr>
121
- <tr class="never">
122
- <td class="num">21</td>
123
- <td class="src"><pre><code></code></pre></td>
124
- <td class="coverage"></td>
125
- </tr>
126
- <tr class="never">
127
- <td class="num">22</td>
128
- <td class="src"><pre><code>/*</code></pre></td>
129
- <td class="coverage"></td>
130
- </tr>
131
- <tr class="never">
132
- <td class="num">23</td>
133
- <td class="src"><pre><code>// Only override drawRect: if you perform custom drawing.</code></pre></td>
134
- <td class="coverage"></td>
135
- </tr>
136
- <tr class="never">
137
- <td class="num">24</td>
138
- <td class="src"><pre><code>// An empty implementation adversely affects performance during animation.</code></pre></td>
139
- <td class="coverage"></td>
140
- </tr>
141
- <tr class="never">
142
- <td class="num">25</td>
143
- <td class="src"><pre><code>- (void)drawRect:(CGRect)rect</code></pre></td>
144
- <td class="coverage"></td>
145
- </tr>
146
- <tr class="never">
147
- <td class="num">26</td>
148
- <td class="src"><pre><code>{</code></pre></td>
149
- <td class="coverage"></td>
150
- </tr>
151
- <tr class="never">
152
- <td class="num">27</td>
153
- <td class="src"><pre><code> // Drawing code</code></pre></td>
154
- <td class="coverage"></td>
155
- </tr>
156
- <tr class="never">
157
- <td class="num">28</td>
158
- <td class="src"><pre><code>}</code></pre></td>
159
- <td class="coverage"></td>
160
- </tr>
161
- <tr class="never">
162
- <td class="num">29</td>
163
- <td class="src"><pre><code>*/</code></pre></td>
164
- <td class="coverage"></td>
165
- </tr>
166
- <tr class="never">
167
- <td class="num">30</td>
168
- <td class="src"><pre><code></code></pre></td>
169
- <td class="coverage"></td>
170
- </tr>
171
- <tr class="never">
172
- <td class="num">31</td>
173
- <td class="src"><pre><code>@end</code></pre></td>
174
- <td class="coverage"></td>
175
- </tr>
176
- </table>
177
- </div>
178
- </div>
179
- <footer>
180
- <div class="row">
181
- <p><a href="https://github.com/venmo/slather">Fork me on Github</a></p>
182
- <p>&copy; 2015 Slather</p>
183
- </div>
184
- </footer>
185
-
186
- <script src="../../../assets/highlight.pack.js"></script>
187
- <script>hljs.initHighlightingOnLoad();</script>
188
-
189
- </body>
190
- </html>