Branch Coverage

blib/lib/MojoMojo/Formatter/Amazon.pm
Criterion Covered Total %
branch 3 16 18.7


line true false branch
12 0 125 $eval_res ? :
50 0 124 unless $class->module_loaded
54 0 648 if ($line =~ m[(\{\{?:http://(?:www\.){0,1}amazon\.com(?:/.*){0,1}(?:/dp/|/gp/product/))(.*?)(?:/.*|$)\}\}]) { }
56 0 0 unless (ref $item)
60 0 0 if ($2) { }
61 0 0 unless $class->can($2)
85 0 0 unless $response->is_success
87 0 0 unless $property