Condition Coverage

blib/lib/Directory/Organize.pm
Criterion Covered Total %
condition 22 36 61.1


and 3 conditions

line !l l&&!r l&&r condition
54 0 0 3 $descr and open my $PROJ, '>', $project
65 1 1 0 $pattern and defined $self->{'pattern'}
2 0 0 $pattern and defined $self->{'pattern'} and $self->{'pattern'} eq $pattern
84 0 0 4 defined $year and $op =~ /^[=<>]$/
201 2 4 0 $self->{'tc'} and $self->_not_in_tc($year)
215 4 6 2 $self->{'tc'} and $self->_not_in_tc($year, $month)
230 6 7 1 $self->{'tc'} and $self->_not_in_tc($year, $month, $day)
233 0 0 13 -f "$base/$path/.project" and open my $PROJECT, '<', "$base/$path/.project"
239 10 1 2 $self->{'pattern'} and not $desc =~ /$self->{'pattern'}/i

or 3 conditions

line l !l&&r !l&&!r condition
11 0 1 0 ref $self || $self
46 6 6 0 -d $dir or mkdir $dir, 511
70 1 1 0 $pattern or defined $self->{'pattern'}