blib/lib/SQL/Translator/Producer/PlantUML.pm

filter: Statementstmt 100% 20 / 20 Branchbran 75.0% 3 / 4 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 7 / 7 Podpod 66.6% 2 / 3 totaltotal 94.1% 32 / 34 CC 3 SCAR 5.1
CC
3
Cov
96%
tt_schema
3.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.7
↑ Summary
1 package SQL::Translator::Producer::PlantUML;
2 2 ▶use 5.008001;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 2 our $VERSION = "0.05";
7  
8 2 ▶use base qw/SQL::Translator::Producer::TT::Base/;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 1 ▶sub produce { return __PACKAGE__->new( translator => shift )->run; };
Subroutine produce: called CC=1 SCAR=0.0
Pod undocumented
11  
12 1 ▶sub tt_config { INTERPOLATE => 1 }
Subroutine tt_config: called CC=1 SCAR=0.0
Pod documented
13  
14 1 ▶sub tt_schema {
Subroutine tt_schema: called CC=3 SCAR=11.0
Pod documented
15 1 my $data = "";
16 1 ▶ while (<DATA>) {
Branch: 1 branch
BranchTrueFalseTotal
if (defined($_ = readline DATA)) 17 0 17
17 17 ▶ last if (/__END__/);
Branch: 1 branch
BranchTrueFalseTotal
if /__END__/ 1 16 17
18 16 $data .= $_;
19 }
20 1 \$data;
21 }
22  
23 2 1;
24  
25 __DATA__
↑ Summary