Condition Coverage

blib/lib/SVG/Calendar.pm
Criterion Covered Total %
condition 32 70 45.7


and 3 conditions

line !l l&&!r l&&r condition
211 5 0 15 ref $self->{'page'} and $self->{'page'}{'width'}
214 5 0 15 ref $self->{'page'} and $self->{'page'}{'height'}
283 0 0 13 $month and $month =~ /\A\d{4}-\d{2}\Z/msx
314 0 466 0 $self->{'moon'} and $self->{'moon'}{'display'}
338 442 11 13 $wrap and $date->month != $month_day->month
342 13 0 0 $self->{'image'} and $self->{'image'}{'src'} || $self->{'image'}{$month}
351 0 0 0 $info->{'ImageHeight'} and $info->{'ImageWidth'}
408 0 12 0 -f $file and $self->{'inkscape'}
443 16 13 1 3.1415926535897931 - $error < $phase and $phase < 3.1415926535897931 + $error
507 93 0 0 &blessed($date) and $date->isa('DateTime')

or 2 conditions

line l !l condition
79 0 3 $self->{'moon'}{'xoffset'} ||= 0
80 0 3 $self->{'moon'}{'yoffset'} ||= 0
81 0 3 $self->{'calendar_height'} ||= '0.5'
222 6 14 $width_unit ||= 'px'
227 6 14 $height_unit ||= 'px'

or 3 conditions

line l !l&&r !l&&!r condition
75 0 3 0 $self->{'page'}{'margin'} || $self->{'page'}{'width'} * $MARGIN_RATIO
76 0 3 0 $self->{'page'}{'margin'} || $self->{'page'}{'height'} * $MARGIN_RATIO
342 0 0 0 $self->{'image'}{'src'} || $self->{'image'}{$month}
343 0 0 0 $self->{'image'}{$month} || $self->{'image'}{'src'}
384 14 0 0 $self->{'INCLUDE_PATH'} || dist_dir('SVG-Calendar')
389 13 1 0 $self->{'tt'} || 'Template'->new(%option)
428 31 0 0 $params{'x'} || $FULL_MOON
429 31 0 0 $params{'y'} || $FULL_MOON
430 31 0 0 $params{'r'} || $FULL_MOON
443 0 1 30 $phase < $error or 6.2831853071795862 - $error < $phase