Branch Coverage

blib/lib/Lingua/Ogmios/DocumentRecord.pm
Criterion Covered Total %
branch 0 76 0.0


line true false branch
36 0 0 if (UNIVERSAL::isa($document_record, 'XML::LibXML::Element')) { }
42 0 0 if (defined $id) { }
85 0 0 if (defined $acquisition_section_node) { }
89 0 0 unless (defined $self->getAnnotations->getLanguage)
100 0 0 if (defined $lingAnalysisLoad and $lingAnalysisLoad == 1 and defined $document_record->getChildrenByTagName('linguisticAnalysis')->get_node(1))
105 0 0 if (defined $relevance_section_node)
139 0 0 if ($character =~ /$alpha/o)
140 0 0 if ($character =~ /$num/o)
141 0 0 if ($character =~ /$sep/o)
172 0 0 if ($self->getAnnotations->getTokenLevel->getSize != 0)
186 0 0 if (scalar @characters) { }
209 0 0 if ($current_char_type == 4)
225 0 0 if ($current_char_type == $previous_char_type and $current_char_type != 4 and not $self->getAnnotations->getSectionLevel->existsElementFromIndex('from', $offset + $current_token_string_length) and not $self->getAnnotations->getSectionLevel->existsElementFromIndex('to', $offset + $current_token_string_length - 1)) { }
231 0 0 if ($previous_char_type != 4)
236 0 0 if ($current_char_type == 4)
250 0 0 if ($current_char_type != 4)
315 0 0 if ($current_char_type == 4)
322 0 0 if ($self->getAnnotations->getSectionLevel->existsElementFromIndex('from', $offset))
326 0 0 if ($self->getAnnotations->getSectionLevel->existsElementFromIndex('to', $offset))
337 0 0 if ($current_char_type == $previous_char_type and $current_char_type != 4 and not $self->getAnnotations->getSectionLevel->existsElementFromIndex('from', $offset + $current_token_string_length) and not $self->getAnnotations->getSectionLevel->existsElementFromIndex('to', $offset + $current_token_string_length)) { }
343 0 0 if ($previous_char_type != 4)
346 0 0 if ($self->getAnnotations->getSectionLevel->existsElementFromIndex('from', $offset))
349 0 0 if ($self->getAnnotations->getSectionLevel->existsElementFromIndex('to', $offset + $current_token_string_length))
354 0 0 if ($current_char_type == 4)
359 0 0 if ($self->getAnnotations->getSectionLevel->existsElementFromIndex('from', $offset))
362 0 0 if ($self->getAnnotations->getSectionLevel->existsElementFromIndex('to', $offset + $current_token_string_length))
374 0 0 if ($current_char_type != 4)
378 0 0 if ($self->getAnnotations->getSectionLevel->existsElementFromIndex('from', $offset + $current_token_string_length))
381 0 0 if ($self->getAnnotations->getSectionLevel->existsElementFromIndex('to', $offset + $current_token_string_length))
387 0 0 if ($self->getAnnotations->getTokenLevel->getSize == 0)
415 0 0 if ($self->getAnnotations->getTokenLevel->existsElementFromIndex('from', $section->getFrom))
421 0 0 if ($self->getAnnotations->getTokenLevel->existsElementFromIndex('to', $section->getTo)) { }
426 0 0 if ($self->getAnnotations->getTokenLevel->existsElementFromIndex('from', $section->getTo)) { }
428 0 0 if (defined $token->previous) { }
435 0 0 if (ref $section->getTo eq 'Lingua::Ogmios::Annotations::Token') { }
438 0 0 if ($self->getAnnotations->getTokenLevel->existsElementFromIndex('to', $section->getTo - 1)) { }
0 0 elsif ($self->getAnnotations->getTokenLevel->existsElementFromIndex('to', $section->getTo + 1)) { }
469 0 0 if ($record_log)