blib/lib/Treex/PML/Backend/FS.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 16 | 41 | 39.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
93 | 0 | 0 | 2 | $fh && test($fh) |
308 | 0 | 2 | 12 | $node and $node != $root |
2 | 4 | 8 | $node and $node != $root and not $node->{$Treex::PML::Node::rbrother} | |
339 | 528 | 0 | 116 | defined $v and length $v |
341 | 0 | 0 | 56 | $lastprinted and index($$defs{$attrs->[$n]}, ' P') >= 0 |
348 | 81 | 0 | 35 | $lastprinted and index($$defs{$attrs->[$n]}, ' P') >= 0 |
462 | 0 | 181 | 0 | $n < $attr_count and not $$defs{$attrs->[$n]} =~ / [PNW]/ |
483 | 0 | 344 | 0 | $emu_schema_type and $a =~ m[/] |
line | l | !l | condition |
---|---|---|---|
264 | 0 | 0 | $fsfile->metaData('refnames') || {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
25 | 0 | 0 | 0 | $role eq 'FSBackend' or $role eq 'Treex::PML::Backend::FS' |
215 | 0 | 0 | 0 | $fsfile->metaData('fs-require') || $fsfile->changeMetaData('fs-require', []) |
217 | 0 | 0 | 0 | $fsfile->metaData('refnames') || $fsfile->changeMetaData('refnames', {}) |
313 | 2 | 0 | 4 | $node == $root or not $node |
343 | 0 | 0 | 56 | $v eq '' or not defined $v |