| blib/lib/CTK.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 20 | 48 | 41.6 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 604 | 4 | 0 | 1 | defined $root and length $root |
| 610 | 4 | 0 | 1 | defined $configfile and length $configfile |
| 616 | 5 | 0 | 0 | defined $temp and length $temp |
| 622 | 5 | 0 | 0 | defined $tempfile and length $tempfile |
| 628 | 5 | 0 | 0 | defined $ldir and length $ldir |
| 634 | 5 | 0 | 0 | defined $logfile and length $logfile |
| 658 | 0 | 0 | 0 | $self->logmode and $self->can("log_debug") |
| 679 | 0 | 0 | 0 | $self->logmode and $self->can("log_error") |
| line | l | !l | condition |
|---|---|---|---|
| 548 | 0 | 5 | $args{'options'} // {} |
| 551 | 5 | 0 | ($args{'prefix'} // _prj2pfx($project)) // "ctk" |
| 552 | 2 | 3 | $args{'plugins'} // [] |
| 595 | 0 | 5 | $args{'suffix'} // "" |
| 655 | 0 | 0 | $self->{'ident'} // "" |
| 677 | 0 | 0 | $self->{'ident'} // "" |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 550 | 0 | 1 | 4 | $args{'project'} // $args{'name'} |
| 1 | 4 | 0 | ($args{'project'} // $args{'name'}) // ($CTK::Script =~ /^(.+?)\.(pl|t|pm|cgi)$/ ? $1 : $CTK::Script) | |
| 551 | 1 | 4 | 0 | $args{'prefix'} // _prj2pfx($project) |
| 595 | 0 | 5 | 0 | $args{'datadir'} // getcwd() |