Condition Coverage

blib/lib/CTK.pm
Criterion Covered Total %
condition 20 48 41.6


and 3 conditions

line !l l&&!r l&&r condition
621 4 0 1 defined $root and length $root
627 4 0 1 defined $configfile and length $configfile
633 5 0 0 defined $temp and length $temp
639 5 0 0 defined $tempfile and length $tempfile
645 5 0 0 defined $ldir and length $ldir
651 5 0 0 defined $logfile and length $logfile
675 0 0 0 $self->logmode and $self->can('log_debug')
696 0 0 0 $self->logmode and $self->can('log_error')

or 2 conditions

line l !l condition
565 0 5 $args{'options'} // {}
568 5 0 ($args{'prefix'} // _prj2pfx($project)) // 'ctk'
569 2 3 $args{'plugins'} // []
612 0 5 $args{'suffix'} // ''
672 0 0 $self->{'ident'} // ''
694 0 0 $self->{'ident'} // ''

or 3 conditions

line l !l&&r !l&&!r condition
567 0 1 4 $args{'project'} // $args{'name'}
1 4 0 ($args{'project'} // $args{'name'}) // ($CTK::Script =~ /^(.+?)\.(pl|t|pm|cgi)$/ ? $1 : $CTK::Script)
568 1 4 0 $args{'prefix'} // _prj2pfx($project)
612 0 5 0 $args{'datadir'} // getcwd()