Branch Coverage

blib/lib/Dpkg/Control/FieldsCore.pm
Criterion Covered Total %
branch 22 42 52.3


line true false branch
713 5771 64 if exists $FIELDS{$field}
748 22 2338 unless exists $FIELDS{$field}
750 0 2338 unless scalar @types
752 0 2676 if $type == 0
753 1613 1063 unless $FIELDS{$field}{'allowed'} & $type
784 338 22 if (&field_is_allowed_in($field, $from_type, $to_type)) { }
22 0 elsif ($field =~ /^X([SBC]*)-/i) { }
0 0 elsif (not &field_is_allowed_in($field, $from_type)) { }
789 0 22 if ($dest =~ /B/i and $to_type == 32 or $dest =~ /S/i and $to_type == 16 or $dest =~ /C/i and $to_type == 64) { }
22 0 elsif ($to_type != 32 and $to_type != 16 and $to_type != 64) { }
825 0 0 if $res and defined wantarray
841 770 17 if (exists $FIELD_ORDER{$type})
862 33 79 if &field_is_allowed_in($_, 16)
882 34 78 if &field_is_allowed_in($_, 32)
898 0 0 unless exists $FIELDS{$field}
899 0 0 if exists $FIELDS{$field}{'dependency'}
913 0 0 if exists $FIELDS{$field}{'separator'}
942 0 2 unless exists $FIELD_ORDER{$type}
945 2 27 $_ eq $field ? :
958 0 0 unless exists $FIELD_ORDER{$type}
961 0 0 $_ eq $field ? :