blib/lib/Games/TF2/Demo/Entity.pm

filter: Statementstmt 60.5% 23 / 38 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 45.4% 5 / 11 Podpod 100% 6 / 6 totaltotal 61.8% 34 / 55 CC 1 SCAR 2.0
CC
1
Cov
61%
prop
2.0
index
1.3
serial
1.3
CRAP 1.2
« blib/lib/Games/TF2/Demo/GameState/Projectile.pm ↑ Summary blib/lib/Games/TF2/Demo/Header.pm »
1 package Games::TF2::Demo::Entity;
2  
3 11 ▶use v5.26;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 11 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 11 ▶use feature 'signatures';
Subroutine BEGIN: called CC=1 SCAR=0.0
6 11 ▶no warnings 'experimental::signatures';
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 11 our $VERSION = '0.01';
9  
10 11 ▶use Object::Pad 0.800;
Subroutine BEGIN: called CC=1 SCAR=0.0
11  
12 class Games::TF2::Demo::Entity :strict(params) {
13 0 ▶ field $index :param :reader;
Subroutine index: not called CC=1 SCAR=2.6
Pod documented
14 0 ▶ field $serial :param :reader;
Subroutine serial: not called CC=1 SCAR=2.6
Pod documented
15 0 ▶ field $class_name :param :reader;
Subroutine class_name: not called CC=1 SCAR=2.6
Pod documented
16 0 ▶ field $in_pvs :param :reader;
Subroutine in_pvs: not called CC=1 SCAR=2.6
Pod documented
17 0 ▶ field $props :param :reader;
Subroutine props: not called CC=1 SCAR=2.6
Pod documented
18  
19 0 ▶ method prop ($key) {
Subroutine prop: not called CC=1 SCAR=6.9
Pod documented
20 0 return $props->{$key};
21 11 }
22 }
23  
24 11 1;
25  
26 __END__
« blib/lib/Games/TF2/Demo/GameState/Projectile.pm ↑ Summary blib/lib/Games/TF2/Demo/Header.pm »