Branch Coverage

blib/lib/SWF/Header.pm
Criterion Covered Total %
branch 9 22 40.9


line true false branch
60 0 15 if $s
61 15 0 if $$self{'_stream'}
84 0 1 unless $path
86 0 1 if (ref $path) { }
89 0 1 unless open $file, $path
94 1 0 unless ref $self
107 0 0 unless $data
109 0 0 unless ref $self
138 0 1 if $data
142 0 1 if ($$header{'signature'} ne 'CWS' and $$header{'signature'} ne 'FWS')
148 1 0 if $$header{'signature'} eq 'CWS'