Condition Coverage

lib/Git/Background.pm
Criterion Covered Total %
condition 21 26 80.7


and 3 conditions

line !l l&&!r l&&r condition
49 1 21 3 @_ and !defined(&Scalar::Util::reftype($_[0])) || defined &Scalar::Util::blessed($_[0])
100 5 9 17 @cmd and defined &Scalar::Util::reftype($cmd[-1])
14 0 17 @cmd and defined &Scalar::Util::reftype($cmd[-1]) and &Scalar::Util::reftype($cmd[-1]) eq "HASH"
129 0 0 4 defined $@ and $@ ne ""
233 2 0 20 defined &Scalar::Util::reftype($git) && &Scalar::Util::reftype($git) eq 'ARRAY'

or 2 conditions

line l !l condition
157 2 1 "$@" || 'Failed to run Git with Proc::Background'

or 3 conditions

line l !l&&r !l&&!r condition
49 6 1 17 !defined(&Scalar::Util::reftype($_[0])) || defined &Scalar::Util::blessed($_[0])
69 1 0 20 not defined &Scalar::Util::reftype($_[0]) or &Scalar::Util::reftype($_[0]) ne "HASH"
177 1 1 3 not defined &Scalar::Util::reftype($args) or &Scalar::Util::reftype($args) ne "HASH"