lib/App/TimeTracker/Proto.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 15 | 29 | 51.7 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
63 | 0 | 0 | 14 | -e $file and -s $file |
105 | 0 | 0 | 0 | &blessed($e) and $e->can('message') |
142 | 19 | 5 | 0 | $cmd eq 'start' and not $self->has_project |
150 | 1 | 4 | 20 | $load_attribs_for_command and $class->has_method($load_attribs_for_command) |
252 | 0 | 0 | 15 | -e $file and -s $file |
line | l | !l | condition |
---|---|---|---|
118 | 11 | 14 | $config->{'plugins'} ||= [] |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
32 | 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')) | |
161 | 8 | 7 | 0 | $dir ||= 'Path::Class::Dir'->new->absolute |
232 | 15 | 0 | 0 | $cfl || $self->config_file_locations |