Condition Coverage

blib/lib/ThaiSchema/JSON.pm
Criterion Covered Total %
condition 7 17 41.1


and 2 conditions

line l !l condition
75 0 0 $self->error('Missing or empty input') and return undef
83 0 0 $self->error('Wide character in input') and return undef

and 3 conditions

line !l l&&!r l&&r condition
89 156 0 0 $bytes =~ /$$UTF_PATTERNS{$_}/ and $encoding = $_
131 31 0 8 not $res and my $e = $@
347 2 12 1 $schema->is_integer and int $number != $number

or 2 conditions

line l !l condition
394 8 0 pop @lines or ''
412 0 0 pop @lines or ''