Condition Coverage

lib/Git/Background.pm
Criterion Covered Total %
condition 16 17 94.1


and 3 conditions

line !l l&&!r l&&r condition
48 1 18 3 @_ and ref $_[0] eq ref '' || defined &Scalar::Util::blessed($_[0])
58 3 1 18 @_ and ref $_[0] eq ref {}
87 1 9 19 @cmd and ref $cmd[-1] eq ref {}
195 2 0 18 defined &Scalar::Util::reftype($git) && &Scalar::Util::reftype($git) eq &Scalar::Util::reftype([])

or 2 conditions

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

or 3 conditions

line l !l&&r !l&&!r condition
48 6 1 14 ref $_[0] eq ref '' || defined &Scalar::Util::blessed($_[0])