blib/lib/App/JobLog/Config.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 20 | 31 | 64.5 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
243 | 1 | 0 | 1 | defined $default and $new_value eq $default |
1 | 0 | 1 | defined $default and $new_value eq $default and not defined $value | |
246 | 1 | 0 | 0 | defined $value and $value eq $new_value |
line | l | !l | condition |
---|---|---|---|
239 | 38 | 0 | $section ||= 'main' |
265 | 0 | 12 | $cols ||= 76 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
131 | 8 | 5 | 1 | $dir ||= $ENV{'JOB_LOG_DIRECTORY'} |
132 | 13 | 1 | 0 | $dir ||= 'File::Spec'->catfile('File::HomeDir'->my_home, '.joblog') |
140 | 189 | 4 | 0 | $log ||= 'File::Spec'->catfile(dir(), 'log') |
148 | 4 | 4 | 0 | $readme ||= 'File::Spec'->catfile(dir(), 'README') |
156 | 2 | 4 | 0 | $config_file ||= 'File::Spec'->catfile(dir(), 'config.ini') |
164 | 11 | 2 | 0 | $vacation_file ||= 'File::Spec'->catfile(dir(), 'vacation') |