vCard.pm

filter: Statementstmt 100% 16 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod 0.0% 0 / 1 totaltotal 95.4% 21 / 22 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« vCard/Grammar.pm ↑ Summary
1 package Pegex::vCard;
2 1 our $VERSION = '0.05';
3  
4 1 ▶use Pegex::Base;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 1 ▶use Pegex::Parser;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 1 ▶use Pegex::vCard::Grammar;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 1 ▶use Pegex::vCard::Data;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 1 ▶sub parse {
Subroutine parse: called CC=1 SCAR=0.0
Pod undocumented
11 1 my ($self, $input) = @_;
12  
13 1 return Pegex::Parser->new(
14 grammar => Pegex::vCard::Grammar->new,
15 receiver => Pegex::vCard::Data->new,
16 # debug => 1,
17 )->parse($input);
18 }
19  
20 1 1;
« vCard/Grammar.pm ↑ Summary