lib/DBIx/ActiveRecord/Arel/Native.pm

filter: Statementstmt 85.7% 12 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 83.3% 5 / 6 Podpod 0.0% 0 / 4 totaltotal 70.8% 17 / 24 CC 1 SCAR 1.5
CC
1
Cov
86%
binds
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« lib/DBIx/ActiveRecord/Arel.pm ↑ Summary lib/DBIx/ActiveRecord.pm »
1 package DBIx::ActiveRecord::Arel::Native;
2 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 2 ▶sub new {
Subroutine new: called CC=1 SCAR=0.0
Pod undocumented
6 2 my ($self, $func) = @_;
7 2 bless {func => $func}, $self;
8 }
9  
10 2 ▶sub placeholder {
Subroutine placeholder: called CC=1 SCAR=0.0
Pod undocumented
11 2 my $self = shift;
12 2 return $self->{func};
13 }
14  
15 2 ▶sub name {shift->placeholder}
Subroutine name: called CC=1 SCAR=0.0
Pod undocumented
16  
17 0 ▶sub binds {@{[]}}
Subroutine binds: not called CC=1 SCAR=6.9
Pod undocumented
18 2 1;
« lib/DBIx/ActiveRecord/Arel.pm ↑ Summary lib/DBIx/ActiveRecord.pm »