Condition Coverage

blib/lib/SKOS/Simple.pm
Criterion Covered Total %
condition 53 104 50.9


and 3 conditions

line !l l&&!r l&&r condition
350 15 0 0 $arg{'void'} and not $$self{'namespaces'}{'void'}
353 12 1 2 $$self{'title'} || $$self{'description'} and not $$self{'namespaces'}{'dc'}
358 2 0 1 ref $$self{'title'} && $lang
12 1 2 $$self{'title'} and not ref $$self{'title'} && $lang
410 15 0 0 $page ne '' and not $$self{'namespaces'}{'foaf'}
418 70 0 0 reftype $_ && reftype $_ eq 'ARRAY'
471 0 0 6 defined $notation and $notation ne ''
502 5 2 0 @broader and $$self{'top'}{$id}
553 0 0 0 @_ == 1 and not defined $_[0]
594 0 0 3 defined $id and $id ne ''
650 45 9 6 defined $arg{$type} and $arg{$type} ne ''
666 3 0 0 $arg{$idtype} ne '' and $arg{$idtype} ne $arg{'id'}
674 0 0 0 defined $l and $l ne ''
0 0 0 defined $l and $l ne '' and $l ne $arg{'id'}
810 8 0 0 $$self{'uses_dc'} and not $$self{'namespaces'}{'dc'}
917 8 0 0 defined $$c{'identifier'} and $$c{'identifier'} ne ''
981 0 0 7 defined $scheme and length $scheme
0 0 7 defined $scheme and length $scheme and defined $path
984 0 0 7 defined $authority and length $authority
997 0 0 7 defined $authority and length $authority
1001 7 0 0 defined $query and length $query
1004 7 0 0 defined $fragment and length $fragment

or 2 conditions

line l !l condition
306 0 15 $arg{'hierarchy'} || ''
5 10 $arg{'base'} || ''
2 13 $arg{'scheme'} || ''
3 12 $arg{'title'} || ''
3 12 $arg{'namespaces'} || {}
2 13 $arg{'language'} || 'en'
0 15 $arg{'description'} || ''
0 15 $arg{'idescape'} || sub { $_[0]; }
1 14 $arg{'identity'} || ''
0 15 $arg{'label'} || ''
2 13 $arg{'notation'} || ''
405 0 15 delete $arg{'page'} || ''
741 0 0 $predicates{$predicate} || (next)

or 3 conditions

line l !l&&r !l&&!r condition
353 3 0 12 $$self{'title'} || $$self{'description'}
665 3 0 0 $idtype eq 'notation' or $idtype eq 'identifier'
985 6 1 0 length $path == 0 or $path =~ m[^/]
1018 23 7 0 !defined($_[0]) || $_[0] eq '' || is_uri($_[0])