Condition Coverage

blib/lib/HTML/KhatGallery/Core.pm
Criterion Covered Total %
condition 0 71 0.0


and 3 conditions

line !l l&&!r l&&r condition
559 0 0 0 $self->{'image_match'} and @{$dir_state->{'files'};}
596 0 0 0 $self->{'dir_match'} and @{$dir_state->{'subdirs'};}
637 0 0 0 $pages == 0 and @{$dir_state->{'subdirs'};}
922 0 0 0 -f $img_page_file and not $self->{'force_html'}
0 0 0 -f $img_page_file and not $self->{'force_html'} and not $dir_state->{'redo_html'}
1010 0 0 0 not $uplink and $page > 1
1044 0 0 0 exists $dir_state->{'captions'}{$index_caption} and defined $dir_state->{'captions'}{$index_caption}
1437 0 0 0 exists $dir_state->{'captions'}{$image} and defined $dir_state->{'captions'}{$image}
1443 0 0 0 $img_state and defined $self->{'meta'}
0 0 0 $img_state and defined $self->{'meta'} and @{$self->{'meta'};}
1450 0 0 0 exists $img_state->{'info'}{$field} and defined $img_state->{'info'}{$field}
0 0 0 exists $img_state->{'info'}{$field} and defined $img_state->{'info'}{$field} and $img_state->{'info'}{$field}
1479 0 0 0 not $template =~ /\n/ and -r $template

or 2 conditions

line l !l condition
223 0 0 $self->{'per_page'} ||= 16
224 0 0 $self->{'thumbdir'} ||= "tn"
225 0 0 $self->{'captions_file'} ||= "captions.yml"
226 0 0 $self->{'thumb_geom'} ||= "100x100"
227 0 0 $self->{'force_html'} ||= 0
228 0 0 $self->{'force_images'} ||= 0
230 0 0 $self->{'debug_level'} ||= 0

or 3 conditions

line l !l&&r !l&&!r condition
203 0 0 0 ref $class || $class
492 0 0 0 $fn =~ /^\./ or $fn eq $self->{'thumbdir'}
533 0 0 0 $fn =~ /^\./ or $fn eq $self->{'thumbdir'}
658 0 0 0 $self->{'force_html'} or $dir_state->{'redo_html'}
1755 0 0 0 not -f $args{'check_image'} or $self->{'force_images'}
1782 0 0 0 $fn =~ /^\./ or $fn eq $self->{'thumbdir'}