blib/lib/Config/Model/Warper.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 30 | 35 | 85.7 |
line | l | !l | condition |
---|---|---|---|
146 | 87 | 482 | defined $warper and scalar @command |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
230 | 87 | 2 | 473 | defined $warper and $warper->get_type eq "leaf" |
87 | 0 | 2 | defined $warper and $warper->get_type eq "check_list" | |
403 | 15 | 0 | 483 | $old and $new |
15 | 234 | 249 | $old and $new and $new ne $old |
line | l | !l | condition |
---|---|---|---|
91 | 576 | 0 | shift() || die('register_to_one_warp_master: missing warper_name') |
233 | 360 | 113 | $warper_value // "<undef>" |
389 | 332 | 8 | $value || '' |
487 | 333 | 0 | $rule_hash{$bool_expr} || {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
124 | 480 | 2 | 706 | $obj->isa("Config::Model::Value") or $obj->isa("Config::Model::CheckList") |
162 | 480 | 2 | 0 | $warper->isa("Config::Model::Value") or $obj->isa("Config::Model::CheckList") |
403 | 61 | 251 | 247 | $old ? 1 : 0 xor $new ? 1 : 0 or $old and $new and $new ne $old |
line | l&&r | l&&!r | !l&&r | !l&&!r | condition |
---|---|---|---|---|---|
403 | 483 | 1 | 60 | 15 | $old ? 1 : 0 xor $new ? 1 : 0 |