Branch Coverage

blib/lib/Symantec/PCAnywhere/Profile.pm
Criterion Covered Total %
branch 9 30 30.0


line true false branch
142 2 10 /^-/ ? :
157 0 0 unless $$self{'filename'} ||= shift()
160 0 0 unless open F, '<', $$self{'filename'}
186 6 0 if $$self{'fields'}{$attr}
254 0 0 unless $$self{'filename'} ||= shift()
255 0 0 unless $$self{'data'} or do { $self->encode }
257 0 0 unless open F, '>', $$self{'filename'}
275 0 2 unless ($$self{'data'} ||= shift())
276 0 2 unless $$self{'data'}
293 0 3 unless $$self{'decoded'}
380 0 6 unless ($f)
389 6 0 if defined $$self{'encode_sub'}[$type]
414 25 0 if defined $$self{'decode_sub'}[$type]
431 0 0 unless ($$self{'data'})
432 0 0 if ($$self{'filename'}) { }