Branch Coverage

blib/lib/Hub/Data/File.pm
Criterion Covered Total %
branch 5 38 13.1


line true false branch
18 8 0 unless ($obj)
37 0 8 unless ref $self
47 0 8 unless ref $self
50 7 1 unless ($$self{'*is_binary'})
66 0 0 unless ref $self
67 0 0 unless (defined $$self{'*contents'})
72 0 0 defined $addr ? :
87 0 0 unless ref $self
88 0 0 if $$opts{'text_only'} and $$self{'*is_binary'}
89 0 0 unless (defined $$self{'*contents'})
97 0 0 defined $$self{'*contents'} ? :
0 0 $$opts{'as_ref'} ? :
108 0 0 unless ref $self
109 0 0 ref $contents ? :
122 0 0 unless ref $self
123 0 0 if (defined $$self{'*contents'})
124 0 0 unless $$opts{'priority'} eq 'content'
141 0 0 unless ref $self
143 0 0 unless isa($sort_order, 'ARRAY')