Branch Coverage

blib/lib/Chef/Encoder.pm
Criterion Covered Total %
branch 3 24 12.5


line true false branch
95 0 3 if defined $$param{'data'}
97 0 3 if defined $$param{'private_key_file'}
121 0 2 $@ ? :
125 0 0 if defined $_[1]
171 0 0 defined $$param{'private_key_file'} ? :
174 0 0 defined $$param{'private_key'} ? :
191 0 0 if defined $$param{'private_key_file'}
196 0 0 defined $$param{'private_key'} ? :
202 0 0 $@ ? :
208 0 0 unless (defined $$self{'private_key'})
330 0 0 unless defined $data
337 0 0 unless defined $data