blib/lib/XML/RAI/TrackBack.pm

filter: Statementstmt 100% 10 / 10 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 13 / 13 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
import
1.0
CRAP 1.0
↑ Summary
1 package XML::RAI::TrackBack;
2 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3  
4 1 ▶use vars qw( $VERSION );
Subroutine BEGIN: called CC=1 SCAR=0.0
5 1 $VERSION = 0.1;
6  
7 1 ▶sub import {
Subroutine import: called CC=1 SCAR=0.0
8  
9 # XML::RSS::Parser already knows about the TrackBack namespace. If we were
10 # using a namespace not known to the parser you would need to set it here
11 # before creating mappings.
12 # XML::RSS::Parser->register_ns_prefix('trackback','http://madskills.com/public/xml/rss/module/trackback/');
13 1 XML::RAI::Item->add_mapping(
14 'ping',
15 'trackback:ping/@rdf:resource',
16 'trackback:ping'
17 );
18 1 XML::RAI::Item->add_mapping(
19 'pinged',
20 'trackback:about/@rdf:resource',
21 'trackback:about'
22 );
23 }
24  
25 1 1;
26  
27 __END__
↑ Summary