blib/lib/Games/TF2/Demo/GameState/Building.pm

filter: Statementstmt 50.7% 35 / 69 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 28.5% 6 / 21 Podpod 100% 15 / 15 totaltotal 53.3% 56 / 105 CC 1 SCAR 2.1
CC
1
Cov
51%
kind_name
1.5
team_name
1.5
entity_index
1.3
CRAP 1.2
« blib/lib/Games/TF2/Demo/GameState/Player.pm ↑ Summary blib/lib/Games/TF2/Demo/GameState.pm »
1 package Games::TF2::Demo::GameState::Building;
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::GameState::Building :strict(params) {
13 11 ▶ use Games::TF2::Demo::Names ();
Subroutine BEGIN: called CC=1 SCAR=0.0
14  
15 0 ▶ field $entity_index :param :reader;
Subroutine entity_index: not called CC=1 SCAR=2.6
Pod documented
16 0 ▶ field $kind :param :reader;
Subroutine kind: not called CC=1 SCAR=2.6
Pod documented
17 0 ▶ field $team :param :reader;
Subroutine team: not called CC=1 SCAR=2.6
Pod documented
18 0 ▶ field $builder :param :reader;
Subroutine builder: not called CC=1 SCAR=2.6
Pod documented
19 0 ▶ field $level :param :reader;
Subroutine level: not called CC=1 SCAR=2.6
Pod documented
20 0 ▶ field $health :param :reader;
Subroutine health: not called CC=1 SCAR=2.6
Pod documented
21 0 ▶ field $max_health :param :reader;
Subroutine max_health: not called CC=1 SCAR=2.6
Pod documented
22 0 ▶ field $origin :param :reader;
Subroutine origin: not called CC=1 SCAR=2.6
Pod documented
23 0 ▶ field $yaw :param :reader;
Subroutine yaw: not called CC=1 SCAR=2.6
Pod documented
24 0 ▶ field $under_construction :param :reader;
Subroutine under_construction: not called CC=1 SCAR=2.6
Pod documented
25 0 ▶ field $construction :param :reader;
Subroutine construction: not called CC=1 SCAR=2.6
Pod documented
26 0 ▶ field $sapped :param :reader;
Subroutine sapped: not called CC=1 SCAR=2.6
Pod documented
27 0 ▶ field $mini :param :reader;
Subroutine mini: not called CC=1 SCAR=2.6
Pod documented
28  
29 0 ▶ method kind_name () { return Games::TF2::Demo::Names::building_kind_name($kind) }
Subroutine kind_name: not called CC=1 SCAR=4.1
Pod documented
30 0 ▶ method team_name () { return Games::TF2::Demo::Names::team_name($team) }
Subroutine team_name: not called CC=1 SCAR=4.1
Pod documented
31 }
32  
33 11 1;
34  
35 __END__
« blib/lib/Games/TF2/Demo/GameState/Player.pm ↑ Summary blib/lib/Games/TF2/Demo/GameState.pm »