| blib/lib/CPAN/Testers/Data/Uploads.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| condition | 32 | 53 | 60.3 | 
| line | !l | l&&!r | l&&r | condition | 
|---|---|---|---|---|
| 195 | 0 | 0 | 4 | $name and $version | 
| 0 | 0 | 4 | $name and $version and $cpanid | |
| 0 | 0 | 4 | $name and $version and $cpanid and $date | |
| 214 | 0 | 0 | 1 | $driver =~ /(CSV|SQLite)/i and not $backups{$driver}{'exists'} | 
| 316 | 0 | 0 | 189 | $name and defined $version | 
| 0 | 0 | 189 | $name and defined $version and $cpanid | |
| 0 | 0 | 189 | $name and defined $version and $cpanid and $date | |
| 328 | 63 | 0 | 0 | $update and $type ne 'backpan' | 
| line | l | !l | condition | 
|---|---|---|---|
| 376 | 0 | 2 | $id ||= 0 | 
| 488 | 9 | 0 | $hash{'logfile'} || $options{'logfile'} || $cfg->val('MASTER', 'logfile') || '_uploads.log' | 
| 489 | 4 | 5 | $hash{'logclean'} || $options{'logclean'} || $cfg->val('MASTER', 'logclean') || 0 | 
| 490 | 9 | 0 | $hash{'lastfile'} || $options{'lastfile'} || $cfg->val('MASTER', 'lastfile') || '_lastmail' | 
| 491 | 4 | 5 | $hash{'journal'} || $options{'journal'} || $cfg->val('MASTER', 'journal') || '_journal.sql' | 
| 495 | 18 | 45 | $cfg->val('UPLOADS', $_) || undef | 
| 514 | 2 | 5 | $cfg->val($driver, $_) || undef | 
| line | l | !l&&r | !l&&!r | condition | 
|---|---|---|---|---|
| 454 | 0 | 25 | 0 | $options{$_} ||= $hash{$_} | 
| 460 | 3 | 6 | 3 | $options{'generate'} or $options{'update'} | 
| 9 | 1 | 2 | $options{'generate'} or $options{'update'} or $options{'backup'} | |
| 7 | 1 | 1 | $options{'generate'} or $options{'update'} or $options{'backup'} or $options{'reindex'} | |
| 477 | 1 | 6 | 2 | $options{'generate'} or $options{'update'} |