Condition Coverage

blib/lib/AozoraBunko/Checkerkun.pm
Criterion Covered Total %
condition 40 54 74.0


and 3 conditions

line !l l&&!r l&&r condition
129 4 4004 0 $self->{'78hosetsu_tekiyo'} and exists $AozoraBunko::Checkerkun::KUTENMEN_78HOSETSU_TEKIYO->{$kutenmen}
0 2004 0 $self->{'hosetsu_tekiyo'} and exists $AozoraBunko::Checkerkun::KUTENMEN_HOSETSU_TEKIYO->{$kutenmen}
186 8604 64 0 $self->{'simplesp'} and $char eq ' ' || $char eq "\x{3000}"
202 8592 40 4 $self->{'hansp'} and $char eq ' '
8592 36 4 $self->{'zensp'} and $char eq "\x{3000}"
8604 24 0 $self->{'hanpar'} and $char eq '(' || $char eq ')'
4604 4016 0 $char eq "\x{203b}" and $self->{'78hosetsu_tekiyo'} || $self->{'hosetsu_tekiyo'}
276 4604 8 0 $self->{'78'} and $AozoraBunko::Checkerkun::J78->{$char}
4600 8 0 $self->{'jyogai'} and $AozoraBunko::Checkerkun::JYOGAI->{$char}
4564 40 0 $self->{'kouetsukun'} and $AozoraBunko::Checkerkun::KYUJI->{$char}
4564 32 0 $self->{'kouetsukun'} and $AozoraBunko::Checkerkun::ITAIJI->{$char}
4584 8 0 $self->{'gonin1'} and $AozoraBunko::Checkerkun::GONIN1->{$char}
4560 24 0 $self->{'gonin2'} and $AozoraBunko::Checkerkun::GONIN2->{$char}
4544 32 0 $self->{'gonin3'} and $AozoraBunko::Checkerkun::GONIN3->{$char}
552 12 4004 $self->{'gaiji'} and _is_gaiji($char)

or 3 conditions

line l !l&&r !l&&!r condition
186 8 8 48 $char eq ' ' || $char eq "\x{3000}"
202 4 4 16 $char eq '(' || $char eq ')'
4004 0 12 $self->{'78hosetsu_tekiyo'} || $self->{'hosetsu_tekiyo'}