blib/lib/Inline/YAML.pm

filter: Statementstmt 100% 16 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod n/a totaltotal 100% 21 / 21 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
↑ Summary
1 1 ▶use strict; use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
Subroutine BEGIN: called CC=1 SCAR=0.0
2 package Inline::YAML;
3 1 our $VERSION = '0.15';
4  
5 1 ▶use Filter::Simple;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 1 ▶use YAML::XS;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 1 ▶FILTER {
Subroutine __ANON__: called CC=1 SCAR=0.0
9 1 s/(\r?\n\-\-\-.*?\n\.\.\.\r?\n)/ YAML::XS::Load(<<'...');$1/gs;
10 1 };
11  
12 1 1;
↑ Summary