Condition Coverage

lib/App/TimeTracker/Proto.pm
Criterion Covered Total %
condition 15 29 51.7


and 3 conditions

line !l l&&!r l&&r condition
62 0 0 13 -e $file and -s $file
104 0 0 0 &blessed($e) and $e->can('message')
141 17 4 0 $cmd eq 'start' and not $self->has_project
151 1 4 17 $load_attribs_for_command and $class->has_method($load_attribs_for_command)
253 0 0 14 -e $file and -s $file

or 2 conditions

line l !l condition
117 9 13 $config->{'plugins'} ||= []

or 3 conditions

line l !l&&r !l&&!r condition
31 0 6 0 $ENV{'TRACKER_HOME'} || ('File::HomeDir'->my_home, '.TimeTracker')
1 6 0 $home ||= 'Path::Class::Dir'->new($ENV{'TRACKER_HOME'} || ('File::HomeDir'->my_home, '.TimeTracker'))
162 7 7 0 $dir ||= 'Path::Class::Dir'->new->absolute
233 14 0 0 $cfl || $self->config_file_locations