blib/lib/Protocol/DBus/Message.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 7 | 18 | 38.8 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
247 | 1 | 1 | 0 | $fds_ar and @$fds_ar |
line | l | !l | condition |
---|---|---|---|
66 | 2 | 0 | {ERROR => 3, METHOD_CALL => 1, METHOD_RETURN => 2, SIGNAL => 4}->{$opts{'type'}} || die("Bad \342\200\234type\342\200\235: '$opts{'type'}'") |
71 | 0 | 0 | {ALLOW_INTERACTIVE_AUTHORIZATION => 4, NO_AUTO_START => 2, NO_REPLY_EXPECTED => 1}->{$f} || die("Bad \342\200\234flag\342\200\235: $f") |
132 | 27 | 0 | {DESTINATION => 6, ERROR_NAME => 4, INTERFACE => 2, MEMBER => 3, PATH => 1, REPLY_SERIAL => 5, SENDER => 7, SIGNATURE => 8, UNIX_FDS => 9}->{$_[1]} or die "Bad header: \342\200\234$_[1]\342\200\235" |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
87 | 9 | 0 | 0 | {DESTINATION => 6, ERROR_NAME => 4, INTERFACE => 2, MEMBER => 3, PATH => 1, REPLY_SERIAL => 5, SENDER => 7, SIGNATURE => 8, UNIX_FDS => 9}->{$name} || do { die "Bad \342\200\234hfields\342\200\235 name: \342\200\234$name\342\200\235" } |
168 | 8 | 0 | 0 | {ERROR => 3, METHOD_CALL => 1, METHOD_RETURN => 2, SIGNAL => 4}->{$name} || do { die "Invalid type name: $name" } |
196 | 2 | 0 | 0 | {ALLOW_INTERACTIVE_AUTHORIZATION => 4, NO_AUTO_START => 2, NO_REPLY_EXPECTED => 1}->{$name} || do { die "Invalid flag name: \342\200\234$name\342\200\235" } |