github
53 of 55 new or added lines in 10 files covered. (96.36%)
1 existing line in 1 file now uncovered.5768 of 5876 relevant lines covered (98.16%)
152718.77 hits per line
1 |
# frozen_string_literal: true
|
|
2 |
|
|
|
module JSI |
42✔ |
|
module Base::Mutable |
42✔ |
|
include(Util::FingerprintHash) |
42✔ |
6 |
|
|
|
def jsi_node_content |
42✔ |
|
jsi_ptr.evaluate(jsi_document) |
18,307,888✔ |
9 |
end
|
|
10 |
|
|
|
def jsi_mutable? |
42✔ |
|
true
|
247,992✔ |
13 |
end
|
|
14 |
|
|
|
private |
42✔ |
16 |
|
|
|
def jsi_mutability_initialize |
42✔ |
18 |
end
|
|
19 |
|
|
|
def jsi_memomap_class |
42✔ |
|
Util::MemoMap::Mutable |
1,761,150✔ |
22 |
end
|
|
23 |
end
|
|
24 |
|
|
|
module Base::Immutable |
42✔ |
|
include(Util::FingerprintHash::Immutable) |
42✔ |
27 |
|
|
|
attr_reader(:jsi_node_content)
|
42✔ |
29 |
|
|
|
def jsi_mutable? |
42✔ |
NEW
|
false
|
× |
32 |
end
|
|
33 |
|
|
|
private |
42✔ |
35 |
|
|
|
def jsi_mutability_initialize |
42✔ |
|
@jsi_node_content = @jsi_ptr.evaluate(@jsi_document) |
54,488✔ |
38 |
end
|
|
39 |
|
|
|
def jsi_memomap_class |
42✔ |
|
Util::MemoMap::Immutable |
307,272✔ |
42 |
end
|
|
43 |
end
|
|
44 |
end
|