Branch Coverage

blib/lib/PDF/FDF/Simple.pm
Criterion Covered Total %
branch 19 28 67.8


line true false branch
33 0 25 if ($ENV{'PDF_FDF_SIMPLE_IGNORE_PRECOMPILED_GRAMMAR'}) { }
37 0 0 unless open GRAMMAR_FILE, $grammar_file
53 20 5 ref($_[0]) =~ /HASH/ ? :
63 2 3 if ($self->attribute_file)
67 2 3 if ($self->attribute_ufile)
71 2 3 if ($self->attribute_id)
114 2 51 unless (defined $val)
115 1 1 if $self->skip_undefined_fields
129 0 4 unless (open F, '> ' . $filename)
146 0 16 if (not open(FH, '< ' . $self->filename)) { }
178 16 1 unless ($filecontent)
180 0 16 unless $filecontent
186 0 0 unless $_[0] =~ /Deep recursion on subroutine/
195 0 17 unless $self->content