blib/lib/JSON/Karabiner/Manipulator.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 15 | 21 | 71.4 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
20 | 14 | 15 | 1 | $main::current_manip and $called_directly |
26 | 3 | 0 | 27 | $_[0] and $_[0] =~ /^JSON::Karabiner::Manipulator$/ |
32 | 0 | 27 | 3 | not $main::save_to_file_name and $called_directly |
262 | 0 | 1 | 3 | $_[0] and ref($_[0]) =~ /^JSON::Karabiner::Manipulator$/ |
266 | 1 | 3 | 0 | $title and $title =~ /\.json$/ |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
269 | 2 | 1 | 0 | shift() || $main::save_to_file_name || $main::file_written |
277 | 3 | 1 | 0 | $title or $main::file_title_written |