bin/xdr-parse

filter: Statementstmt 100% 12 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 15 / 15 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« xdr.yp ↑ Summary blib/lib/XDR/Parse.pm »
1 #!/usr/bin/env perl
2  
3 1 ▶use lib '.';
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use XDR::Parse;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 1 ▶use JSON::PP;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 1 my $json = JSON::PP->new;
8  
9 1 my $p = XDR::Parse->new;
10 1 print $json->encode( $p->parse( \*STDIN ) );
« xdr.yp ↑ Summary blib/lib/XDR/Parse.pm »