| 1 | package WWW::BackpackTF::User; | ||||||||||||||||||||||||||||||||||||||||||
| 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 | 1 | ▶ | my ($class, $content) = @_; | ||||||||||||||||||||||||||||||||||||||||
|
Subroutine
new: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||||||||||||||||||||||||||||||||||
| 10 | 1 | bless $content, $class | |||||||||||||||||||||||||||||||||||||||||
| 11 | } | ||||||||||||||||||||||||||||||||||||||||||
| 12 | |||||||||||||||||||||||||||||||||||||||||||
| 13 | 0 | ▶ | sub steamid { shift->{steamid} } | ||||||||||||||||||||||||||||||||||||||||
|
Subroutine
steamid: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||||||||||||||||||||||||||||||||
| 14 | 0 | ▶ | sub name { shift->{name} } | ||||||||||||||||||||||||||||||||||||||||
|
Subroutine
name: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||||||||||||||||||||||||||||||||
| 15 | 0 | ▶ | sub reputation { shift->{backpack_tf_reputation} } | ||||||||||||||||||||||||||||||||||||||||
|
Subroutine
reputation: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||||||||||||||||||||||||||||||||
| 16 | 0 | ▶ | sub group { shift->{backpack_tf_group} } | ||||||||||||||||||||||||||||||||||||||||
|
Subroutine
group: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||||||||||||||||||||||||||||||||
| 17 | 0 | ▶ | sub positive { shift->{backpack_tf_trust}->{for} // 0 } | ||||||||||||||||||||||||||||||||||||||||
|
Subroutine
positive: not called CC=2 SCAR=17.9
Pod
documented
Condition0%0/2
+(shift())->{"backpack_tf_trust"}{"for"} // 0
MC/DC0%0/1
+(shift())->{"backpack_tf_trust"}{"for"} // 0
+(shift())->{"backpack_tf_trust"}{"for"}
Truth table0%0/2
A
A= +(shift())->{"backpack_tf_trust"}{"for"}
| |||||||||||||||||||||||||||||||||||||||||||
| 18 | 0 | ▶ | sub negative { shift->{backpack_tf_trust}->{against} // 0 } | ||||||||||||||||||||||||||||||||||||||||
|
Subroutine
negative: not called CC=2 SCAR=17.9
Pod
documented
Condition0%0/2
+(shift())->{"backpack_tf_trust"}{"against"} // 0
MC/DC0%0/1
+(shift())->{"backpack_tf_trust"}{"against"} // 0
+(shift())->{"backpack_tf_trust"}{"against"}
Truth table0%0/2
A
A= +(shift())->{"backpack_tf_trust"}{"against"}
| |||||||||||||||||||||||||||||||||||||||||||
| 19 | 0 | ▶ | sub scammer { shift->{steamrep_scammer} } | ||||||||||||||||||||||||||||||||||||||||
|
Subroutine
scammer: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||||||||||||||||||||||||||||||||
| 20 | 0 | ▶ | sub banned_backpack { shift->{backpack_tf_banned} } | ||||||||||||||||||||||||||||||||||||||||
|
Subroutine
banned_backpack: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||||||||||||||||||||||||||||||||
| 21 | 0 | ▶ | sub banned_economy { shift->{ban_economy} } | ||||||||||||||||||||||||||||||||||||||||
|
Subroutine
banned_economy: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||||||||||||||||||||||||||||||||
| 22 | 0 | ▶ | sub banned_community { shift->{ban_community} } | ||||||||||||||||||||||||||||||||||||||||
|
Subroutine
banned_community: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||||||||||||||||||||||||||||||||
| 23 | 0 | ▶ | sub banned_vac { shift->{ban_vac} } | ||||||||||||||||||||||||||||||||||||||||
|
Subroutine
banned_vac: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||||||||||||||||||||||||||||||||
| 24 | 0 | ▶ | sub notifications { shift->{notifications} // 0 } | ||||||||||||||||||||||||||||||||||||||||
|
Subroutine
notifications: not called CC=2 SCAR=17.9
Pod
documented
Condition0%0/2
+(shift())->{"notifications"} // 0
MC/DC0%0/1
+(shift())->{"notifications"} // 0
+(shift())->{"notifications"}
Truth table0%0/2
A
A= +(shift())->{"notifications"}
| |||||||||||||||||||||||||||||||||||||||||||
| 25 | 0 | ▶ | sub value { shift->{backpack_value}->{shift // WWW::BackpackTF::TF2} } | ||||||||||||||||||||||||||||||||||||||||
|
Subroutine
value: not called CC=2 SCAR=17.9
Pod
documented
Condition0%0/2
shift() // 440
MC/DC0%0/1
shift() // 440
shift()
Truth table0%0/2
A
A= shift()
| |||||||||||||||||||||||||||||||||||||||||||
| 26 | 0 | ▶ | sub update { shift->{backpack_update}->{shift // WWW::BackpackTF::TF2} } | ||||||||||||||||||||||||||||||||||||||||
|
Subroutine
update: not called CC=2 SCAR=17.9
Pod
documented
Condition0%0/2
shift() // 440
MC/DC0%0/1
shift() // 440
shift()
Truth table0%0/2
A
A= shift()
| |||||||||||||||||||||||||||||||||||||||||||
| 27 | |||||||||||||||||||||||||||||||||||||||||||
| 28 | sub banned { | ||||||||||||||||||||||||||||||||||||||||||
| 29 | 0 | ▶ | my ($self) = @_; | ||||||||||||||||||||||||||||||||||||||||
|
Subroutine
banned: not called CC=4 SCAR=30.0
Pod
documented
| |||||||||||||||||||||||||||||||||||||||||||
| 30 | 0 | ▶ | $self->banned_backpack || $self->banned_community || $self->banned_economy || $self->banned_vac | ||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/6
$self->banned_backpack or $self->banned_community or $self->banned_economy
$self->banned_backpack or $self->banned_community
MC/DC0%0/3
$self->banned_backpack or $self->banned_community or $self->banned_economy
$self->banned_backpack
$self->banned_community
$self->banned_economy
Truth table0%0/4
A or B or C
A= $self->banned_backpackB= $self->banned_communityC= $self->banned_economy
| |||||||||||||||||||||||||||||||||||||||||||
| 31 | } | ||||||||||||||||||||||||||||||||||||||||||
| 32 | |||||||||||||||||||||||||||||||||||||||||||
| 33 | 2 | 1; | |||||||||||||||||||||||||||||||||||||||||
| 34 | __END__ | ||||||||||||||||||||||||||||||||||||||||||