Branch Coverage

blib/lib/Mojo/Promisify.pm
Criterion Covered Total %
branch 7 8 87.5


line true false branch
23 1 3 $err ? :
27 1 3 unless (eval { do { $obj->$method(@args, sub { my($obj, $err) = (shift(), shift()); return $err ? $p->reject($err) : $p->resolve(@_); } ); 1 } })
53 0 2 $err ? :
57 1 1 unless (eval { do { $obj->$method(@args, sub { my($obj, $err) = (shift(), shift()); return $err ? $p->reject($err) : $p->resolve(@_); } ); 1 } })