Condition Coverage

blib/lib/Statocles/Command.pm
Criterion Covered Total %
condition 25 47 53.1


and 3 conditions

line !l l&&!r l&&r condition
67 41 6 1 $opt{'verbose'} and not @argv
92 0 0 4 &blessed($@) and $@->isa('Beam::Wire::Exception::Config')
94 0 0 0 $@ =~ /Syck parser/ and $@ =~ /syntax error/
122 1 0 3 &blessed($@) and $@->isa('Beam::Wire::Exception::NotFound')
1 1 2 &blessed($@) and $@->isa('Beam::Wire::Exception::NotFound') and $@->name eq $opt{'site'}
465 72 15 5 $abs_path->stat->size == 0 and $dest->exists
523 0 3 0 not $can_watch and $^O =~ /darwin/
560 0 0 0 $fs and $handle

or 2 conditions

line l !l condition
176 0 0 $status->{'last_deploy_args'}{'date'} || '-'
210 3 0 $handle->sockhost || '127.0.0.1'
319 0 2 $answer{'git_branch'} ||= 'master'
326 3 0 $answer{'deploy_path'} ||= '.'

or 3 conditions

line l !l&&r !l&&!r condition
67 1 1 47 $opt{'version'} or $opt{'verbose'} and not @argv
94 0 2 2 $@ =~ /found character that cannot start any token/ or $@ =~ /YAML_PARSE_ERR_NONSPACE_INDENTATION/
0 2 0 $@ =~ /did not find expected key/ or $@ =~ /YAML_PARSE_ERR_INCONSISTENT_INDENTATION/
259 2 1 0 $argv->[1] || $1
263 0 2 0 $argv->[1] || $base