lib/BalanceOfPower/Relations/Crisis.pm

filter: Statementstmt 85.7% 12 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 75.0% 3 / 4 Podpod 0.0% 0 / 1 totaltotal 78.9% 15 / 19 CC 1 SCAR 2.2
CC
1
Cov
86%
print
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« blib/lib/BalanceOfPower/Role/Player.pm ↑ Summary lib/BalanceOfPower/Commands/Progress.pm »
1 package BalanceOfPower::Relations::Crisis;
2 11 $BalanceOfPower::Relations::Crisis::VERSION = '0.300010';
3 #DEPRECATED
4  
5 11 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 11 ▶use v5.10;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 11 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 11 has factor => (
11 is => 'rw',
12 default => 1
13 );
14  
15 11 with 'BalanceOfPower::Relations::Role::Relation';
16  
17 sub print
18 {
19 0 ▶ my $self = shift;
Subroutine print: not called CC=1 SCAR=6.9
Pod undocumented
20 0 return $self->node1 . " <-> " . $self->node2 . " (" . $self->factor . ")";
21 }
22  
23 11 1;
« blib/lib/BalanceOfPower/Role/Player.pm ↑ Summary lib/BalanceOfPower/Commands/Progress.pm »