Condition Coverage

blib/lib/Trickster.pm
Criterion Covered Total %
condition 9 17 52.9


and 3 conditions

line !l l&&!r l&&r condition
105 7 0 13 builtin::blessed($result) and $result->isa('Plack::Response') || $result->isa('Trickster::Response')
131 0 0 1 builtin::blessed($error) and $error->isa("Trickster::Exception")
139 0 0 1 $req->header("Accept") and $req->header("Accept") =~ m[application/json]u

or 2 conditions

line l !l condition
26 1 6 $opts{'debug'} || 0

or 3 conditions

line l !l&&r !l&&!r condition
26 1 6 0 $opts{'logger'} || 'Trickster::Logger'->new('level', 'info')
105 13 0 0 $result->isa('Plack::Response') || $result->isa('Trickster::Response')