Condition Coverage

blib/lib/DBIx/Changeset/App/Command/create.pm
Criterion Covered Total %
condition 11 24 45.8


and 3 conditions

line !l l&&!r l&&r condition
40 1 0 0 $e = 'Exception::Class'->caught('DBIx::Changeset::Exception::DuplicateRecordNameException') and defined $$opt{'prompt'}
125 1 0 2 defined $$opt{'location'} and -d $$opt{'location'}
126 1 0 1 defined $$args[0] and length $$args[0] > 0

or 2 conditions

line l !l condition
108 0 4 $$app{'config'}{'create'}{'edit'} || undef
0 4 $$app{'config'}{'create'}{'edit'} || undef
0 4 $$app{'config'}{'location'} || $$app{'config'}{'create'}{'location'} || undef
0 4 $$app{'config'}{'create'}{'vcs'} || undef
0 4 $$app{'config'}{'create'}{'vcsadd'} || undef
0 4 $$app{'config'}{'create'}{'template'} || 'template.txt'

or 3 conditions

line l !l&&r !l&&!r condition
80 0 0 0 $$opt{'editor'} || $ENV{'EDITOR'}