blib/lib/Games/TF2/Demo/Summary/Round.pm

filter: Statementstmt 67.5% 25 / 37 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 54.5% 6 / 11 Podpod 100% 5 / 5 totaltotal 67.9% 36 / 53 CC 1 SCAR 1.4
CC
1
Cov
68%
winner_name
1.5
end_tick
1.3
winner
1.3
CRAP 1.2
« blib/lib/Games/TF2/Demo/Player.pm ↑ Summary blib/lib/Games/TF2/Demo/Summary/ChatLine.pm »
1 package Games::TF2::Demo::Summary::Round;
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::Summary::Round :strict(params) {
13 11 ▶ use Games::TF2::Demo::Names ();
Subroutine BEGIN: called CC=1 SCAR=0.0
14  
15 0 ▶ field $end_tick :param :reader;
Subroutine end_tick: not called CC=1 SCAR=2.6
Pod documented
16 0 ▶ field $winner :param :reader;
Subroutine winner: not called CC=1 SCAR=2.6
Pod documented
17 0 ▶ field $win_reason :param :reader;
Subroutine win_reason: not called CC=1 SCAR=2.6
Pod documented
18 0 ▶ field $length :param :reader;
Subroutine length: not called CC=1 SCAR=2.6
Pod documented
19  
20 0 ▶ method winner_name () { return Games::TF2::Demo::Names::team_name($winner) }
Subroutine winner_name: not called CC=1 SCAR=4.1
Pod documented
21 }
22  
23 11 1;
24  
25 __END__
« blib/lib/Games/TF2/Demo/Player.pm ↑ Summary blib/lib/Games/TF2/Demo/Summary/ChatLine.pm »