Branch Coverage

File:lib/Schema/Validator.pm
Coverage:100.0%

line%coveragebranch
262100TFunless defined $string and length $string
270100TFeval {         do {         'DateTime::Format::ISO8601'->parse_datetime($normalised) } } ? :
387100TFif (scalar @_)
409100TFif (-e $cache_file and time - (stat $cache_file)[9] < $cache_duration)
411100TFif $@
415100TFunless (defined $content)
418100TFif (defined $content) { }
421100TFif $@
424100TFif (-e $cache_file)
426100TFif ($@) { }
436100TFunless (defined $content)
443100TFif ($@)
451100TFunless (ref $data eq "HASH")
457100TFunless (exists $data->{$AT_GRAPH} and ref $data->{$AT_GRAPH} eq "ARRAY")
550100TFunless ($res->is_success)
575100TFunless defined $label
578100TFref $label eq 'ARRAY' ? :
605100TFunless exists $item->{'@type'}
609100TFref $item_type eq 'ARRAY' ? :
612100TFunless my $label = _extract_label($item)
615100TFif (grep {$_ eq $RDF_CLASS;} @types)
619100TFif (my $id = $item->{'@id'})
626100TFif (grep {$_ eq $RDF_PROPERTY;} @types)
630100TFif (my $id = $item->{'@id'})