Branch Coverage

blib/lib/Payvment/Facebook/API.pm
Criterion Covered Total %
branch 0 14 0.0


line true false branch
144 0 0 unless grep {$_ eq $options{'method'};} 'product', 'product_status', 'order', 'update_inventory'
164 0 0 if ($res->is_success) { }
181 0 0 unless grep {$_ eq $options{'method'};} 'product', 'product_status', 'order', 'update_inventory'
185 0 0 unless grep {$_ eq $options{'type'};} 'header', 'body', 'footer'
187 0 0 if $options{'type'} eq 'header' and $options{'method'} eq 'product'
190 0 0 if $options{'type'} eq 'body' and $options{'method'} eq 'product'
193 0 0 if $options{'type'} eq 'footer' and $options{'method'} eq 'product'