Condition Coverage

blib/lib/Date/Business.pm
Criterion Covered Total %
condition 0 46 0.0


and 3 conditions

line !l l&&!r l&&r condition
63 0 0 0 defined $date and length $date != 0
81 0 0 0 ref $$self{'HOLIDAY'} eq 'CODE' and $$self{'HOLIDAY'}($self->image, $self->image)
194 0 0 0 ref $$self{'HOLIDAY'} eq 'CODE' and $$self{'HOLIDAY'}(POSIX::strftime('%Y%m%d', gmtime $sval), POSIX::strftime('%Y%m%d', gmtime $sval))
204 0 0 0 ref $$self{'HOLIDAY'} eq 'CODE' and $$self{'HOLIDAY'}(POSIX::strftime('%Y%m%d', gmtime $sval), POSIX::strftime('%Y%m%d', gmtime $sval))
216 0 0 0 ref $$other{'HOLIDAY'} eq 'CODE' and $$other{'HOLIDAY'}(POSIX::strftime('%Y%m%d', gmtime $o_val), POSIX::strftime('%Y%m%d', gmtime $o_val))
226 0 0 0 ref $$other{'HOLIDAY'} eq 'CODE' and $$other{'HOLIDAY'}(POSIX::strftime('%Y%m%d', gmtime $o_val), POSIX::strftime('%Y%m%d', gmtime $o_val))
255 0 0 0 $inc < 0 and $self->subb(-$inc)
281 0 0 0 $dec < 0 and $self->addb(-$dec)

or 2 conditions

line l !l condition
185 0 0 $force_self ||= 'prev'
186 0 0 $force_other ||= 'prev'

or 3 conditions

line l !l&&r !l&&!r condition
59 0 0 0 $$self{'FORCE'} ||= $$date{'FORCE'}
60 0 0 0 $$self{'HOLIDAY'} ||= $$date{'HOLIDAY'}
81 0 0 0 $self->day_of_week == 6 or $self->day_of_week == 0
0 0 0 $self->day_of_week == 6 or $self->day_of_week == 0 or ref $$self{'HOLIDAY'} eq 'CODE' and $$self{'HOLIDAY'}($self->image, $self->image)
255 0 0 0 $inc == 0 or $inc < 0 and $self->subb(-$inc)
281 0 0 0 $dec == 0 or $dec < 0 and $self->addb(-$dec)