circleci
0 of 1 new or added line in 1 file covered. (0.0%)
2381 existing lines in 150 files now uncovered.3599 of 6198 relevant lines covered (58.07%)
5.05 hits per line
1 |
# frozen_string_literal: true
|
|
2 |
|
|
3 |
class EventProcessor |
1✔ |
4 |
class Processor |
1✔ |
5 |
attr_reader :event
|
1✔ |
6 |
def initialize(event) |
1✔ |
UNCOV
7
|
@event = event
|
× |
8 |
end
|
|
9 |
|
|
10 |
private |
1✔ |
11 |
|
|
12 |
def event_type |
1✔ |
UNCOV
13
|
event['event']
|
× |
14 |
end
|
|
15 |
|
|
16 |
def id |
1✔ |
UNCOV
17
|
event['id']
|
× |
18 |
end
|
|
19 |
|
|
20 |
def doc |
1✔ |
UNCOV
21
|
event['doc']
|
× |
22 |
end
|
|
23 |
|
|
24 |
def bulk? |
1✔ |
UNCOV
25
|
event['bulk'] == 'true' |
× |
26 |
end
|
|
27 |
|
|
28 |
def index |
1✔ |
UNCOV
29
|
Blacklight.default_index.connection
|
× |
30 |
end
|
|
31 |
end
|
|
32 |
end
|