Branch Coverage

blib/lib/XML/Loy/ActivityStreams.pm
Criterion Covered Total %
branch 18 26 69.2


line true false branch
26 5 4 if ($_[0]) { }
36 4 0 if ($actor)
40 0 4 unless $object_type = $object_type->[0]
43 0 4 if (index($object_type->text, '/') == -1)
62 5 5 if ($_[0]) { }
70 0 5 unless $verb = $verb->[0]
73 0 5 if (index($verb->text, '/') == -1)
101 4 6 if ($_[0]) { }
106 0 4 if exists $params{'id'}
108 3 1 if (exists $params{'object-type'})
126 0 6 unless $obj->[0]
131 0 6 if (index($object_type->text, '/') == -1)
145 10 3 if (index($_[0], '/') == -1)