Branch Coverage

lib/FAIR/Profile/Parser.pm
Criterion Covered Total %
branch 27 56 48.2


line true false branch
74 0 1 if ($filename) { }
1 0 elsif ($data) { }
75 0 0 if ($filename =~ m[^http://]) { }
77 0 0 unless $result
82 0 0 unless -e $filename
88 0 1 unless $self->data_format
146 1 0 if $row->{'label'}
147 1 0 if $row->{'title'}
148 1 0 if $row->{'description'}
149 1 0 if $row->{'modified'}
150 1 0 if $row->{'license'}
151 1 0 if $row->{'issued'}
152 1 0 if $row->{'organization'}
153 1 0 if $row->{'identifier'}
154 0 1 if $row->{'schemardfs_URL'}
155 1 0 if $row->{'type'}
193 0 1 unless $row->{'c'}
227 1 0 if $row->{'label'}
228 1 0 if $row->{'onClassType'}
253 0 2 unless $row->{'p'}
287 2 0 if $row->{'label'}
288 2 0 if $row->{'onPropertyType'}
289 2 0 if $row->{'maxCount'}
290 1 1 if $row->{'minCount'}
296 2 0 if (defined $maxCount)
299 1 1 if (defined $minCount)
314 0 2 if $row->{'allowedValues'}
315 2 0 unless $restrictionURI