blib/lib/Lingy/Emitter/YAML.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 6 | 8 | 75.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 2 | 3 | 66.6 |
pod | 0 | 1 | 0.0 |
total | 8 | 12 | 66.6 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Lingy::Emitter::YAML; | ||||||
2 | 1 | 1 | 1167 | use Lingy::Base; | |||
1 | 1 | ||||||
1 | 5 | ||||||
3 | extends 'Lingy::Emitter'; | ||||||
4 | |||||||
5 | 1 | 1 | 430 | use YAML::XS; | |||
1 | 2195 | ||||||
1 | 78 | ||||||
6 | |||||||
7 | sub emit { | ||||||
8 | 0 | 0 | 0 | my ($self, $ast) = @_; | |||
9 | 0 | YAML::XS::Dump($ast); | |||||
10 | } | ||||||
11 | |||||||
12 | 1; |