Condition Coverage

lib/File/ValueFile/Simple/Writer.pm
Criterion Covered Total %
condition 3 84 3.5


and 3 conditions

line !l l&&!r l&&r condition
206 0 0 0 defined $last_line->[$x] and $e eq $last_line->[$x]
254 0 0 0 defined $comment && length $comment
256 0 0 0 $valid_comment and $comment =~ /[\x00-\x1F]/
369 0 0 0 $value =~ m[^https://uriid\.org/] and $self->{'style'}{'tag_ise_no_ise_no_uriid'}
437 0 0 0 defined $displayname_relation and defined $displayname_related
446 0 0 0 $self->{'style'}{'tag_relation'} eq "mixed" and not defined $context
0 0 0 $self->{'style'}{'tag_relation'} eq "mixed" and not defined $context and not defined $filter
0 0 0 $self->{'style'}{'tag_relation'} eq "mixed" and not defined $context and not defined $filter and defined(my $old_style = $_old_style_relation{$relation->ise})
503 0 0 0 defined $comment and defined $type
0 0 0 defined $comment and defined $type and defined(my $type_displayname = $type->displayname("default", undef, "no_defaults", 1))
521 0 0 0 defined $generator && defined $hint
0 0 0 not defined $generator && defined $hint and ($self->{'style'}{'degenerate_generator_hint'} // "") eq "auto"
529 0 0 0 $self->{'style'}{'generator_hint'} eq "auto" and defined $self->{'features'}{'f06c2226-b33e-48f2-9085-cd906a3dcee0'} || defined $self->{'features'}{'1c71f5b1-216d-4a9b-81a1-54dc22d8a067'}
558 0 0 0 defined $tagname and length $tagname

or 2 conditions

line l !l condition
98 0 3 $opts{$type . '_feature'} // (next)
111 0 1 $opts{'utf8'} //= "auto"
521 0 0 $self->{'style'}{'degenerate_generator_hint'} // ""

or 3 conditions

line l !l&&r !l&&!r condition
94 0 1 0 $_is_utf8 ||= "File::ValueFile"->_is_utf8($format)
103 0 0 0 $self->{'dot_repreat'} ||= $feature->eq("2ec67bbe-4698-4a0c-921d-1f0951923ee6")
106 0 0 0 $_is_utf8 ||= "File::ValueFile"->_is_utf8($feature)
350 0 0 0 $displayname //= $id->displayname("default", undef, "no_defaults", 1)
363 0 0 0 $_ eq 'all' || $_ eq 'ise'
366 0 0 0 $id->can($key) // croak('Bad value for retry: ' . $key)
396 0 0 0 scalar @args == 3 or scalar @args == 5
514 0 0 0 $generator //= "Data::Identifier"->new("from", $tag)->generator("default", undef)
515 0 0 0 $hint //= "Data::Identifier"->new("from", $tag)->request("default", undef)
529 0 0 0 defined $self->{'features'}{'f06c2226-b33e-48f2-9085-cd906a3dcee0'} || defined $self->{'features'}{'1c71f5b1-216d-4a9b-81a1-54dc22d8a067'}
543 0 0 0 $comment //= $_generator_comments{ref $generator ? $generator->ise : $generator}
560 0 0 0 defined $self->{'features'}{'f06c2226-b33e-48f2-9085-cd906a3dcee0'} or defined $self->{'features'}{'1c71f5b1-216d-4a9b-81a1-54dc22d8a067'}