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

filter: Statementstmt 46.6% 42 / 90 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 21.4% 6 / 28 Podpod 100% 22 / 22 totaltotal 50.0% 70 / 140 CC 1 SCAR 2.2
CC
1
Cov
47%
team_name
1.5
player_class_name
1.5
entity_index
1.3
CRAP 1.2
« blib/lib/Games/TF2/Demo/ServerInfo.pm ↑ Summary blib/lib/Games/TF2/Demo/GameState/Building.pm »
1 package Games::TF2::Demo::GameState::Player;
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::Player :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 $user_id :param :reader;
Subroutine user_id: not called CC=1 SCAR=2.6
Pod documented
17 0 ▶ field $name :param :reader;
Subroutine name: not called CC=1 SCAR=2.6
Pod documented
18 0 ▶ field $steam_id :param :reader;
Subroutine steam_id: not called CC=1 SCAR=2.6
Pod documented
19 0 ▶ field $team :param :reader;
Subroutine team: not called CC=1 SCAR=2.6
Pod documented
20 0 ▶ field $player_class :param :reader;
Subroutine player_class: not called CC=1 SCAR=2.6
Pod documented
21 0 ▶ field $alive :param :reader;
Subroutine alive: not called CC=1 SCAR=2.6
Pod documented
22 0 ▶ field $in_pvs :param :reader;
Subroutine in_pvs: not called CC=1 SCAR=2.6
Pod documented
23 0 ▶ field $health :param :reader;
Subroutine health: not called CC=1 SCAR=2.6
Pod documented
24 0 ▶ field $max_health :param :reader;
Subroutine max_health: not called CC=1 SCAR=2.6
Pod documented
25 0 ▶ field $origin :param :reader;
Subroutine origin: not called CC=1 SCAR=2.6
Pod documented
26 0 ▶ field $pitch :param :reader;
Subroutine pitch: not called CC=1 SCAR=2.6
Pod documented
27 0 ▶ field $yaw :param :reader;
Subroutine yaw: not called CC=1 SCAR=2.6
Pod documented
28 0 ▶ field $ubercharge :param :reader;
Subroutine ubercharge: not called CC=1 SCAR=2.6
Pod documented
29 0 ▶ field $cloak :param :reader;
Subroutine cloak: not called CC=1 SCAR=2.6
Pod documented
30 0 ▶ field $conditions :param :reader;
Subroutine conditions: not called CC=1 SCAR=2.6
Pod documented
31 0 ▶ field $ping :param :reader;
Subroutine ping: not called CC=1 SCAR=2.6
Pod documented
32 0 ▶ field $score :param :reader;
Subroutine score: not called CC=1 SCAR=2.6
Pod documented
33 0 ▶ field $deaths :param :reader;
Subroutine deaths: not called CC=1 SCAR=2.6
Pod documented
34 0 ▶ field $damage :param :reader;
Subroutine damage: not called CC=1 SCAR=2.6
Pod documented
35  
36 0 ▶ method team_name () { return Games::TF2::Demo::Names::team_name($team) }
Subroutine team_name: not called CC=1 SCAR=4.1
Pod documented
37 0 ▶ method player_class_name () { return Games::TF2::Demo::Names::player_class_name($player_class) }
Subroutine player_class_name: not called CC=1 SCAR=4.1
Pod documented
38 }
39  
40 11 1;
41  
42 __END__
« blib/lib/Games/TF2/Demo/ServerInfo.pm ↑ Summary blib/lib/Games/TF2/Demo/GameState/Building.pm »