Pretty/Database/ANSI/Quote.pm

filter: Statementstmt 89.4% 17 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 71.4% 5 / 7 Podpod 100% 2 / 2 totaltotal 85.7% 24 / 28 CC 1 SCAR 2.5
CC
1
Cov
89%
order
2.0
match
2.0
BEGIN
1.0
CRAP 1.3
« Pretty/Database/ANSI/Operator.pm ↑ Summary Pretty/Database/MySQL.pm »
1 #!/usr/bin/perl
2 package SQL::QueryBuilder::Pretty::Database::ANSI::Quote;
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 20 }
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 \'\'(?!\')
18 |
19 \"\"(?!\"")
20 |
21 ".*?(?:(?:""){1,}"|(?<!["\\])"(?!")|\\"{2})
22 |
23 `.*?(?:(?:``){1,}`|(?<![`\\])`(?!`)|\\`{2})
24 |
25 '.*?(?:(?:''){1,}'|(?<!['\\])'(?!')|\\'{2})
26 /x;
27 }
28  
29 1 1;
30 __END__
« Pretty/Database/ANSI/Operator.pm ↑ Summary Pretty/Database/MySQL.pm »