Condition Coverage

blib/lib/XAO/Projects.pm
Criterion Covered Total %
condition 10 21 47.6


and 3 conditions

line !l l&&!r l&&r condition
130 18 4 4 defined $XAO::Projects::current_project_name and $XAO::Projects::current_project_name eq $name

or 3 conditions

line l !l&&r !l&&!r condition
102 7 0 0 $args->{'name'} || 'XAO::E::Projects'->throw(q[create_project - no 'name'])
104 7 0 0 $args->{'object'} || 'XAO::E::Projects'->throw(q[create_project - no 'object'])
126 26 0 0 shift() || 'XAO::E::Projects'->throw('drop_project - no project name given')
143 41 1 0 $XAO::Projects::current_project_name || 'XAO::E::Projects'->throw('get_current_project - no current project')
175 45 0 0 shift() || 'XAO::E::Projects'->throw('get_project - no project name given')
190 7 0 0 shift() || 'XAO::E::Projects'->throw('set_current_project - no project name given')