Condition Coverage

blib/lib/WWW/MetaForge/ArcRaiders/CLI/Cmd/Item.pm
Criterion Covered Total %
condition 11 50 22.0


and 3 conditions

line !l l&&!r l&&r condition
25 2 0 0 not @$items and $slug =~ /-/
34 0 14 0 $_->id and lc $_->id eq lc $slug
0 14 2 $_->slug and lc $_->slug eq lc $slug
80 0 0 1 $item->stats and %{$item->stats;}
87 0 1 0 $item->crafting_requirements and @{$item->crafting_requirements;}
96 0 1 0 $item->sold_by and @{$item->sold_by;}
107 1 0 0 $item->recycle_yield and %{$item->recycle_yield;}

or 2 conditions

line l !l condition
44 0 0 $m->name // "Unknown"
0 0 ($m->slug // $m->id) // "-"
65 1 0 $item->name // "Unknown"
83 6 0 $item->stats->{$key} // "-"
90 0 0 ($req->{'item'} // $req->{'name'}) // "Unknown"
91 0 0 ($req->{'quantity'} // $req->{'amount'}) // 1
100 0 0 ($seller->{'name'} // $seller->{'trader'}) // "Unknown"

or 3 conditions

line l !l&&r !l&&!r condition
44 0 0 0 $m->slug // $m->id
68 1 0 0 $item->slug // $item->id
90 0 0 0 $req->{'item'} // $req->{'name'}
91 0 0 0 $req->{'quantity'} // $req->{'amount'}
100 0 0 0 $seller->{'name'} // $seller->{'trader'}