blib/lib/Text/Scan.pm

filter: Statementstmt 100% 20 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod 0.0% 0 / 2 totaltotal 92.3% 24 / 26 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
serialize
1.0
CRAP 1.0
« Scan.xs ↑ Summary
1 package Text::Scan;
2  
3 35 require 5.005_62;
4 35 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 35 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 35 require Exporter;
8 35 our %EXPORT_TAGS = ( 'all' => [ qw() ] );
9 35 our @EXPORT_OK = ( @{ $EXPORT_TAGS{'all'} } );
10 35 our $VERSION = '0.31';
11 35 our @ISA = qw(Exporter);
12  
13 35 require XSLoader;
14 35 XSLoader::load('Text::Scan', $VERSION);
15  
16 1 ▶sub serialize {
Subroutine serialize: called CC=1 SCAR=0.0
Pod undocumented
17 1 my ($self, $filename) = @_;
18 1 return _serialize( $self, "$filename.trie", "$filename.vals" );
19 }
20  
21 1 ▶sub restore {
Subroutine restore: called CC=1 SCAR=0.0
Pod undocumented
22 1 my ($self, $filename) = @_;
23 1 return _restore( $self, "$filename.trie", "$filename.vals");
24 }
25  
26  
27 35 1;
28  
29 __DATA__
« Scan.xs ↑ Summary