Smart/Renderer/YAML.pm

filter: Statementstmt 100% 11 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod 0.0% 0 / 1 totaltotal 93.3% 14 / 15 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
render
1.0
CRAP 1.0
« Smart/Path.pm ↑ Summary Smart/Renderer/JSON.pm »
1 package Data::Hash::Diff::Smart::Renderer::YAML;
2  
3 6 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 6 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 25 ▶sub render {
Subroutine render: called CC=1 SCAR=0.0
Pod undocumented
7 25 my $changes = $_[0];
8  
9 25 require YAML::XS;
10 25 YAML::XS->import();
11  
12 # YAML::XS::Dump returns a trailing newline — that’s fine
13 25 return YAML::XS::Dump($changes);
14 }
15  
16 6 1;
« Smart/Path.pm ↑ Summary Smart/Renderer/JSON.pm »