Knit/DOM/WebQuery.pm

filter: Statementstmt 100% 21 / 21 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod n/a totaltotal 100% 26 / 26 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Knit/DOM/Mojo.pm ↑ Summary Knit/Manual.pm »
1 package Pod::Knit::DOM::WebQuery;
2 16 our $AUTHORITY = 'cpan:YANICK';
3 16 $Pod::Knit::DOM::WebQuery::VERSION = '0.0.1';
4 16 ▶use Moose::Util qw/ apply_all_roles /;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 16 ▶use HTML::TreeBuilder::LibXML;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 16 ▶use Moose::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 16 ▶use experimental qw/
Subroutine BEGIN: called CC=1 SCAR=0.0
11 signatures
12 postderef
13 16 /;
14  
15 16 requires 'munge';
16  
17 15 ▶around munge => sub($orig, $self,$doc) {
Subroutine __ANON__: called CC=1 SCAR=0.0
18 15 apply_all_roles( $doc, 'Pod::Knit::Document::WebQuery' );
19  
20 15 $orig->($self,$doc);
21  
22 15 $doc->xml_pod( $doc->dom->as_html );
23  
24 15 return $doc;
25 16 };
26  
27 16 1;
28  
29 __END__
« Knit/DOM/Mojo.pm ↑ Summary Knit/Manual.pm »