Condition Coverage

lib/SIRTX/Font.pm
Criterion Covered Total %
condition 0 210 0.0


and 3 conditions

line !l l&&!r l&&r condition
423 0 0 0 $type eq "Data::Identifier" and not eval { do { $value->isa("Data::Identifier") } }
785 0 0 0 $vx != 0 && $vx != 65535
790 0 0 0 $icontext != 0 and $icontext < 65533
858 0 0 0 $idx == $run->[0] + $next and $glyph == $run->[2] + $next
1000 0 0 0 $type eq "auto" and not ref $in
1182 0 0 0 $pixel_count == 1 and $wb == 2
1221 0 0 0 $platform_id == 1 and $language_id == 0
0 0 0 $platform_id == 3 and $language_id == 1033
1236 0 0 0 defined $flat_namedinfos{'5'} and not ref $flat_namedinfos{'5'}
1309 0 0 0 $incremental and defined $chars->{$codepoint}
1338 0 0 0 defined $glyph and $glyph >= 0
1482 0 0 0 defined $vmiddleline and defined $hmiddleline
1605 0 0 0 defined $vpixel and $vpixel != $i
1622 0 0 0 defined $hpixel and $hpixel != $i
1668 0 0 0 $cp >= 9472 and $cp <= 9599
1670 0 0 0 $cp > 32 and $cp < 127
0 0 0 $cp > 32 and $cp < 127 and not $attr->{'resync'}
1705 0 0 0 $cp == 32 and not defined $attr->{'postskip'}
1722 0 0 0 defined $glyph and $glyph >= 0
1945 0 0 0 defined $displaycolour and eval { do { $displaycolour->generator->eq("55febcc4-6655-4397-ae3d-2353b5856b34") } }
1951 0 0 0 defined $icontext and $icontext >= 65533

or 2 conditions

line l !l condition
318 0 0 $attr{$glyphs->[$glyph]} //= {}
348 0 0 $attr{$glyphs->[$glyph]} // (next)
368 0 0 $source->{$key} // (next)
376 0 0 $self->{$1} // (next)
378 0 0 $source->{$ref} // (next)
659 0 0 $level //= "common-small"
962 0 0 $_ // ""
1216 0 0 $info // []
1222 0 0 $_ttf_encodings{$info->platform_id}{$info->encoding_id} // (next)
1363 0 0 $glyph_map{$chars->{$char}} //= []
1666 0 0 $self->{'glyph_attr'}[$self->{'chars'}{$cp}] // {}
1668 0 0 $attr->{'resync'} //= 1
1849 0 0 $skips //= 0
1935 0 0 $icontext //= 4294967295
1942 0 0 $displaycolour_412 //= "\0\0"

or 3 conditions

line l !l&&r !l&&!r condition
324 0 0 0 $updates{$glyph} //= $dedup{$glyphs->[$glyph]}
325 0 0 0 $updates{$glyph} //= $new++
408 0 0 0 $key // croak("No key given")
411 0 0 0 $key // croak("No key given")
428 0 0 0 $value eq "no" or $value eq "nein"
0 0 0 $value eq "no" or $value eq "nein" or $value eq "false"
0 0 0 $value eq "no" or $value eq "nein" or $value eq "false" or $value eq "off"
469 0 0 0 $self->{'width'} // croak("No width set")
478 0 0 0 $self->{'height'} // croak("No height set")
487 0 0 0 $self->{'bits'} // croak("No bits set")
508 0 0 0 $self->{$key} // croak("No value set")
559 0 0 0 $_char_lists{$list} // croak('Unknown list: ' . $list)
573 0 0 0 $_char_lists{$list} // croak('Unknown list: ' . $list)
587 0 0 0 $_char_lists{$list} // croak('Unknown list: ' . $list)
607 0 0 0 $glyph < 0 or $glyph >= scalar @{$self->{'glyphs'};}
613 0 0 0 $self->{'chars'}{$codepoint} // croak('Codepoint unknown: ' . $codepoint)
625 0 0 0 $codepoint < 0 or $codepoint > 1114111
660 0 0 0 $_default_alias_lists{$level} // croak('Unknown alias level: ' . $level)
669 0 0 0 $chars->{$_} //= $$chars{$level->{$_}}
672 0 0 0 $$chars{$level->{$_}} //= $chars->{$_}
675 0 0 0 $chars->{$_} //= $$chars{$level->{$_}}
690 0 0 0 $glyph < 0 or $glyph >= scalar @{$self->{'glyphs'};}
695 0 0 0 $self->{'glyph_attr'}[$glyph]{$key} // croak("No value set")
742 0 0 0 $type == 132 or $type == 196
854 0 0 0 $index_update{$chars->{$idx}} //= $next_index++
916 0 0 0 $w & 128 or $h & 128
968 0 0 0 $primary //= $chars->{$char}
973 0 0 0 $chars->{$char} //= $primary
1030 0 0 0 delete $opts{'codepoint'} // croak("No codepoint given")
1212 0 0 0 $baseline //= int $height * $face->ascender / $face->height
1221 0 0 0 $platform_id == 1 and $language_id == 0 or $platform_id == 3 and $language_id == 1033
1224 0 0 0 $flat_namedinfos{$name_id} //= $value
1342 0 0 0 $self->width >= 128 or $self->height >= 128
0 0 0 $self->width >= 128 or $self->height >= 128 or $self->bits != 1
1440 0 0 0 $h - $_ > 7 * $h8 || $_ == 1
1807 0 0 0 ($flags & 192) == 192 or ($flags & 192) == 0
1839 0 0 0 ($flags & 49152) == 49152 or ($flags & 49152) == 0
1933 0 0 0 defined $icontext or defined $displaycolour
1951 0 0 0 defined $icontext and $icontext >= 65533 or defined $displaycolour_rgb