Sitemap/Pinger/Yahoo.pm

filter: Statementstmt 100% 26 / 26 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 7 / 7 Podpod 100% 1 / 1 totaltotal 100% 34 / 34 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Sitemap/Pinger/Live.pm ↑ Summary
1 package Search::Sitemap::Pinger::Yahoo;
2 1 $Search::Sitemap::Pinger::Yahoo::VERSION = '2.13_01';
3 1 ▶use 5.008003;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 1 our $AUTHORITY = 'cpan:JASONK';
7 1 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 1 extends 'Search::Sitemap::Pinger';
9 1 ▶use namespace::clean -except => 'meta';
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 1 ▶sub submit_url_for {
Subroutine submit_url_for: called CC=1 SCAR=0.0
Pod documented
12 1 my ( $self, $url ) = @_;
13 1 my $submit = URI->new( 'http://search.yahooapis.com/SiteExplorerService/V1/ping' );
14 1 $submit->query_form( sitemap => $url );
15 1 return $submit;
16 }
17  
18 1 ▶no Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
19 1 __PACKAGE__->meta->make_immutable;
20 1 1;
21 __END__
« Sitemap/Pinger/Live.pm ↑ Summary