Verify/Solution/ExpandMultiCardMoves/Lax.pm

filter: Statementstmt 100% 16 / 16 Branchbran 100% 2 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 22 / 22 CC 2 SCAR 3.4
CC
2
Cov
100%
_assign_read_new_state
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.4
« Verify/LinesIter.pm ↑ Summary Verify/Column.pm »
1 package Games::Solitaire::Verify::Solution::ExpandMultiCardMoves::Lax;
2 2 $Games::Solitaire::Verify::Solution::ExpandMultiCardMoves::Lax::VERSION = '0.2601';
3 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 2 ▶use parent 'Games::Solitaire::Verify::Solution::ExpandMultiCardMoves';
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8  
9 sub _assign_read_new_state
10 217 ▶{
Subroutine _assign_read_new_state: called CC=2 SCAR=6.9
11 217 my ( $self, $str ) = @_;
12  
13 217 ▶ if ( !defined( $self->_st() ) )
Branch: 1 branch
BranchTrueFalseTotal
unless (defined $self->_st) 1 216 217
14 {
15 $self->_st(
16 Games::Solitaire::Verify::State->new(
17 {
18 string => $str,
19 1 @{ $self->_V },
20 }
21 )
22 );
23 }
24  
25 217 return;
26 }
27  
28  
29 2 1; # End of Games::Solitaire::Verify::Solution::ExpandMultiCardMoves::Lax
30  
31 __END__
« Verify/LinesIter.pm ↑ Summary Verify/Column.pm »