FusqlFS/Formatter/Native.pm

filter: Statementstmt 100% 15 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod 100% 2 / 2 totaltotal 100% 23 / 23 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« FusqlFS/Backend/SQLite.pm ↑ Summary FusqlFS/Version.pm »
1 4 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 4 ▶use 5.010;
Subroutine BEGIN: called CC=1 SCAR=0.0
3  
4 package FusqlFS::Formatter::Native;
5 4 ▶use parent 'FusqlFS::Formatter::Base';
Subroutine BEGIN: called CC=1 SCAR=0.0
6 4 ▶use FusqlFS::Version;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 4 our $VERSION = $FusqlFS::Version::VERSION;
8  
9 =head1 NAME
10  
11 FusqlFS::Formatter::Native - native formatter class
12  
13 =head1 DESCRIPTION
14  
15 This is a native formatter, it doesn't format data in any way. This is kind of
16 pass-through filter.
17  
18 =begin testing
19  
20 #!noinst
21 my $value = { a => 1, b => 2, c => 3 };
22 is {_tpkg}::Load({_tpkg}::Dump($value)), $value, "pass-through formatter";
23  
24 =end testing
25  
26 =cut
27  
28 sub Dump
29 1 ▶{
Subroutine Dump: called CC=1 SCAR=0.0
Pod documented
30 1 return $_[0];
31 }
32  
33 sub Load
34 1 ▶{
Subroutine Load: called CC=1 SCAR=0.0
Pod documented
35 1 return $_[0];
36 }
37  
38 4 1;
« FusqlFS/Backend/SQLite.pm ↑ Summary FusqlFS/Version.pm »