BackpackTF/Listing.pm

filter: Statementstmt 47.6% 10 / 21 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 23.0% 3 / 13 Podpod 90.0% 9 / 10 totaltotal 50.0% 22 / 44 SCAR 1.3
CC
1
Cov
48%
new
2.0
id
2.0
currencies
2.0
CRAP 1.1
« BackpackTF/Currency.pm ↑ Summary BackpackTF/MarketItem.pm »
1 package WWW::BackpackTF::Listing;
2  
3 2 ▶use 5.014000;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 2 our $VERSION = '0.002';
7  
8 sub new{
9 0 ▶ my ($class, $content) = @_;
Subroutine new: not called CC=1 SCAR=6.9
Pod undocumented
10 0 bless $content, $class
11 }
12  
13 0 ▶sub id { shift->{id} }
Subroutine id: not called CC=1 SCAR=6.9
Pod documented
14 0 ▶sub currencies { shift->{currencies} }
Subroutine currencies: not called CC=1 SCAR=6.9
Pod documented
15 0 ▶sub item { shift->{item} }
Subroutine item: not called CC=1 SCAR=6.9
Pod documented
16 0 ▶sub details { shift->{details} }
Subroutine details: not called CC=1 SCAR=6.9
Pod documented
17 0 ▶sub bump { shift->{bump} }
Subroutine bump: not called CC=1 SCAR=6.9
Pod documented
18 0 ▶sub created { shift->{created} }
Subroutine created: not called CC=1 SCAR=6.9
Pod documented
19 0 ▶sub intent { shift->{intent} }
Subroutine intent: not called CC=1 SCAR=6.9
Pod documented
20 0 ▶sub is_selling { shift->intent == 1 }
Subroutine is_selling: not called CC=1 SCAR=6.9
Pod documented
21 0 ▶sub is_buying { shift->intent == 0 }
Subroutine is_buying: not called CC=1 SCAR=6.9
Pod documented
22  
23 2 1;
24 __END__
« BackpackTF/Currency.pm ↑ Summary BackpackTF/MarketItem.pm »