Condition Coverage

blib/lib/Cinnamon/CLI.pm
Criterion Covered Total %
condition 6 20 30.0


and 3 conditions

line !l l&&!r l&&r condition
52 1 8 0 not $self->{'info'} and !$role || scalar @tasks == 0
74 0 0 0 $error_occured and not $self->{'ignore_errors'}

or 2 conditions

line l !l condition
42 2 8 $self->{'config'} ||= 'config/deploy.pl'

or 3 conditions

line l !l&&r !l&&!r condition
17 0 9 0 $self->{'cinnamon'} ||= 'Cinnamon'->new
52 0 0 8 !$role || scalar @tasks == 0
71 0 0 0 $error_occured ||= !defined($success)
72 0 0 0 $error_occured ||= scalar @$error > 0