Condition Coverage

blib/lib/DateTime/Fiction/JRRTolkien/Shire.pm
Criterion Covered Total %
condition 38 60 63.3


and 3 conditions

line !l l&&!r l&&r condition
237 14 0 0 exists $my_arg{$_} and $my_arg{$_} = delete $arg{$_}
253 0 1 0 $arg{'object'} && eval {
661 7 1 2 $my_arg{'day'} and not $my_arg{'month'}
8 2 0 $my_arg{'day'} and not $my_arg{'month'} and not $self->{'month'}
877 33 0 0 1 == @arg and _isa($arg[0], $self->duration_class)
1019 2 0 4 not $l || $month and $day == 4
1053 1 0 2 $left->month and $right->month
1233 0 0 5 &Scalar::Util::blessed($_[0]) && $_[0]->isa($_[1])

or 2 conditions

line l !l condition
186 38 1 $my_arg{'day'} ||= 1
189 0 0 $my_arg{'day'} || 1
664 1 2 $my_arg{'day'} ||= 1

or 3 conditions

line l !l&&r !l&&!r condition
57 44 24 0 $self->{'day'} || $self->{'holiday'}
189 19 0 0 $my_arg{'holiday'} ||= $my_arg{'day'} || 1
198 39 19 0 $my_arg{'day'} || $my_arg{'holiday'}
460 4 3 0 $self->{'day'} || $self->{'holiday'}
494 6 0 0 $self->day || $self->holiday
688 5 5 0 $self->{'day'} || $self->{'holiday'}
967 6 8 19 $delta{'years'} or $delta{'months'}
8 11 8 $delta{'years'} or $delta{'months'} or $delta{'weeks'}
1019 1 1 4 $l || $month
1197 73 0 16 $self->{'day'} || $self->{'holiday'}