Loader/DBI/mysql.pm

filter: Statementstmt 58.8% 10 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 75.0% 3 / 4 Podpod 0.0% 0 / 1 totaltotal 59.0% 13 / 22 CC 3 SCAR 18.7
CC
3
Cov
59%
tables
12.0
BEGIN
1.0
BEGIN
1.0
CRAP 6.5
↑ Summary Loader.pm »
1 package DBIx::Skinny::Schema::Loader::DBI::mysql;
2 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 1 ▶use base qw/DBIx::Skinny::Schema::Loader::DBI/;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 0 ▶sub tables {
Subroutine tables: not called CC=3 SCAR=24.8
Pod undocumented
8 0 my $self = shift;
9 0 my $quoter = $self->quoter;
10 0 my $namesep = $self->namesep;
11 0 my @tables = $self->{ dbh }->tables(undef, undef, '', 'TABLE');
12 0 s/\Q$quoter\E//g for @tables;
13 0 s/^.*\Q$namesep\E// for @tables;
14 0 return \@tables;
15 }
16  
17 1 1;
↑ Summary Loader.pm »