JSONY.pm

filter: Statementstmt 100% 23 / 23 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 8 / 8 Podpod 0.0% 0 / 2 totaltotal 93.9% 31 / 33 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« JSONY/Receiver.pm ↑ Summary JSONY/Grammar.pm »
1 6 ▶use strict; use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
Subroutine BEGIN: called CC=1 SCAR=0.0
2 package JSONY;
3  
4 6 ▶use version;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 6 our $VERSION = '0.1.20'; $VERSION = version->declare("v$VERSION");
6  
7 6 ▶use Pegex::Parser;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 6 ▶use JSONY::Grammar;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 6 ▶use JSONY::Receiver;
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 sub new {
12 2 ▶ bless {}, $_[0];
Subroutine new: called CC=1 SCAR=0.0
Pod undocumented
13 }
14  
15 sub load {
16 44 ▶ Pegex::Parser->new(
Subroutine load: called CC=1 SCAR=0.0
Pod undocumented
17 grammar => JSONY::Grammar->new,
18 receiver => JSONY::Receiver->new,
19 # debug => 1,
20 )->parse($_[1]);
21 }
22  
23 6 1;
« JSONY/Receiver.pm ↑ Summary JSONY/Grammar.pm »