blib/lib/Data/Favorites.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 21 | 28 | 75.0 |
line | true | false | branch |
---|---|---|---|
93 | 1 | 0 | if ref $_[0] |
132 | 0 | 6 | unless defined $item |
138 | 1 | 3 | unless exists $$disp{'tally'} or @_ |
139 | 1 | 4 | unless @_ |
149 | 4 | 0 | $$self{'stamper'} ? : |
180 | 0 | 1 | unless defined $item |
226 | 3 | 1 | if (@_ and exists $$disp{$_[0]}) |
229 | 3 | 0 | if @_ |
230 | 1 | 2 | if (($$disp{$item}{'tally'} -= $tally) <= 0) |
242 | 1 | 0 | if @_ |
275 | 1 | 1 | if $$disp{$item}{'stamp'} < $stamp |
308 | 3 | 1 | unless @_ or wantarray |
310 | 0 | 6 | unless $$disp{$b}{'tally'} <=> $$disp{$a}{'tally'} |
316 | 1 | 1 | if @faves > $limit |