blib/lib/BalanceOfPower/Relations/Crisis.pm untested

filter: Statementstmt 0.0% 0 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 19 CC 1 SCAR 6.9
CC
1
Cov
0%
print
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package BalanceOfPower::Relations::Crisis;
2 $BalanceOfPower::Relations::Crisis::VERSION = '0.200000';
3 #DEPRECATED
4  
5 use strict;
6 use v5.10;
7  
8 use Moo;
9  
10 has factor => (
11 is => 'rw',
12 default => 1
13 );
14  
15 with 'BalanceOfPower::Relations::Role::Relation';
16  
17 sub print
18 {
19 my $self = shift;
20 return $self->node1 . " <-> " . $self->node2 . " (" . $self->factor . ")";
21 }
22  
23 1;