Pretty/Database/ANSI/LogicOperator.pm

filter: Statementstmt 65.3% 17 / 26 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 62.5% 5 / 8 Podpod 100% 3 / 3 totaltotal 67.5% 25 / 37 CC 1 SCAR 3.2
CC
1
Cov
65%
order
2.0
match
2.0
action
2.0
CRAP 1.4
« Pretty/Database/ANSI/Statement.pm ↑ Summary Pretty/Database/MySQL/Clause.pm »
1 #!/usr/bin/perl
2 package SQL::QueryBuilder::Pretty::Database::ANSI::LogicOperator;
3 1 ▶use base qw(SQL::QueryBuilder::Pretty::Rule);
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 1 our $VERSION = '0.01';
9  
10 1 ▶use Carp qw(croak);
Subroutine BEGIN: called CC=1 SCAR=0.0
11 1 ▶use Data::Dumper;
Subroutine BEGIN: called CC=1 SCAR=0.0
12  
13 0 ▶sub order { return 70 }
Subroutine order: not called CC=1 SCAR=6.9
Pod documented
14  
15 0 ▶sub match {
Subroutine match: not called CC=1 SCAR=6.9
Pod documented
16 0 return qr/
17 AND|OR
18 /x;
19 }
20  
21 0 ▶sub action {
Subroutine action: not called CC=1 SCAR=6.9
Pod documented
22 0 my $self = shift;
23 0 my $print = shift;
24 0 my $token = shift;
25  
26 0 $print->new_line;
27 0 $print->var( $print->current_indent );
28 0 $print->var($token);
29  
30 0 return 1;
31 }
32  
33 1 1;
34 __END__
« Pretty/Database/ANSI/Statement.pm ↑ Summary Pretty/Database/MySQL/Clause.pm »