Condition Coverage

blib/lib/Protocol/DBus/Message.pm
Criterion Covered Total %
condition 7 18 38.8


and 3 conditions

line !l l&&!r l&&r condition
249 2 3 0 $fds_ar and @$fds_ar

or 2 conditions

line l !l condition
66 5 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 41 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"

or 3 conditions

line l !l&&r !l&&!r condition
87 23 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 10 0 0 {ERROR => 3, METHOD_CALL => 1, METHOD_RETURN => 2, SIGNAL => 4}->{$name} || do { my(@valids) = sort(keys %{{ERROR => 3, METHOD_CALL => 1, METHOD_RETURN => 2, SIGNAL => 4};}); die "Invalid type name: $name (valids are: @valids)" }
197 2 0 0 {ALLOW_INTERACTIVE_AUTHORIZATION => 4, NO_AUTO_START => 2, NO_REPLY_EXPECTED => 1}->{$name} || do { my(@valids) = sort(keys %{{ALLOW_INTERACTIVE_AUTHORIZATION => 4, NO_AUTO_START => 2, NO_REPLY_EXPECTED => 1};}); die "Invalid flag name: \342\200\234$name\342\200\235 (valids are: @valids)" }