Stream/Result/Base.pm

filter: Statementstmt 100% 16 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 7 / 7 Podpod 75.0% 3 / 4 totaltotal 96.3% 26 / 27 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Stream/Sort.pm ↑ Summary Stream/Iterator/Consolidate/Result.pm »
1 package Data::Range::Compare::Stream::Result::Base;
2  
3 20 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 20 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 use overload
6 20 ▶ 'bool'=>\&boolean,
Subroutine BEGIN: called CC=1 SCAR=0.0
7 '""'=>\&to_string,
8 20 Fallback=>1;
9  
10 584 ▶sub to_string { join ' - ',@{$_[0]}[0,1] }
Subroutine to_string: called CC=1 SCAR=0.0
Pod documented
11  
12 63214 ▶sub new {
Subroutine new: called CC=1 SCAR=0.0
Pod documented
13 63214 my ($class,@args)=@_;
14 63214 bless [@args],$class;
15 }
16  
17 250758 ▶sub get_common { $_[0] }
Subroutine get_common: called CC=1 SCAR=0.0
Pod documented
18  
19  
20 10 ▶sub boolean { 1 }
Subroutine boolean: called CC=1 SCAR=0.0
Pod undocumented
21  
22 20 1;
« Stream/Sort.pm ↑ Summary Stream/Iterator/Consolidate/Result.pm »