Condition Coverage

blib/lib/App/perlimports/CLI.pm
Criterion Covered Total %
condition 10 33 30.3


and 2 conditions

line l !l condition
324 0 0 print $VERSION, "\n" and return 0
325 0 0 print $self->_usage->text and return 0

and 3 conditions

line !l l&&!r l&&r condition
244 0 0 1 not $self->_opts->no_config_file and $self->_config_file
363 0 0 0 $opts->range_begin and $opts->range_end
405 1 0 0 $self->_json and not $self->_lint
410 1 0 0 $self->_lint and $self->_inplace_edit
415 1 0 0 $opts->range_begin and not $opts->range_end
1 0 0 $opts->range_end and not $opts->range_begin
421 1 0 0 $opts->range_begin and not $self->_read_stdin

or 2 conditions

line l !l condition
316 1 0 $config || {}

or 3 conditions

line l !l&&r !l&&!r condition
254 5 0 3 $ref eq "JSON::PP::Boolean" or $ref eq "Types::Serializer::Boolean"
415 0 0 1 $opts->range_begin and not $opts->range_end or $opts->range_end and not $opts->range_begin