Branch Coverage

blib/lib/Calendar/Any/Chinese.pm
Criterion Covered Total %
branch 18 46 39.1


line true false branch
15 1 0 if (@_)
17 0 1 if ($_[0] =~ /-\D/) { }
20 1 0 if ($#_ > 0) { }
27 4 0 if exists $arg{$_}
45 0 0 if ($list[$_][0] == 1)
48 0 0 if ($list[$_ + 1][1] > $absdate)
62 4 1 if (exists $$self{'absolute'})
89 1 2 unless (exists $$self{'gdate'})
97 0 1 $self->day == 1 ? :
110 1 0 defined $year && $year >= 1928 ? :
119 0 1 if ($self->year < 1 or $self->year > 60)
122 0 1 if ($self->month < 1 or $self->month > 12)
125 0 1 if ($self->day < 1 or $self->day > $self->last_day_of_month)
158 0 0 if (_is_int($month)) { }
205 0 0 if $$_[0] == 1
217 0 0 unless $_[0] % $_[1]
234 1 1 if $$list[$i][0] == $month
248 1 11 if $$_[0] == $month
357 0 2 unless (exists $year_cache{$y})
371 0 0 if (scalar @$months == 12) { }
375 0 0 if ($$months[0] > $next_sign or $next_sign >= $$months[1]) { }
380 0 0 if (_zodiac_sign($$months[1]) >= _zodiac_sign($$months[2])) { }
419 0 0 if $list[-1] > $end