| lib/App/TimeTracker/Proto.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| condition | 15 | 29 | 51.7 | 
| line | !l | l&&!r | l&&r | condition | 
|---|---|---|---|---|
| 63 | 0 | 0 | 17 | -e $file and -s $file | 
| 105 | 0 | 0 | 0 | &blessed($e) and $e->can("message") | 
| 142 | 21 | 5 | 0 | $cmd eq "start" and not $self->has_project | 
| 150 | 1 | 2 | 24 | $load_attribs_for_command and $class->has_method($load_attribs_for_command) | 
| 246 | 0 | 0 | 24 | -e $file and -s $file | 
| line | l | !l | condition | 
|---|---|---|---|
| 118 | 11 | 16 | $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 | 13 | 7 | 0 | $dir ||= "Path::Class::Dir"->new->absolute | 
| 226 | 20 | 0 | 0 | $cfl || $self->config_file_locations |