File Coverage

blib/lib/HTML/WidgetValidator/Widget/Playlog.pm
Criterion Covered Total %
statement 9 9 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 12 12 100.0


line stmt bran cond sub pod time code
1             package HTML::WidgetValidator::Widget::Playlog;
2 1     1   5 use base qw(HTML::WidgetValidator::Widget);
  1         2  
  1         74  
3 1     1   5 use strict;
  1         3  
  1         27  
4 1     1   5 use warnings;
  1         2  
  1         112  
5              
6             __PACKAGE__->name('Playlog');
7             __PACKAGE__->url('http://playlog.jp/bp/showEntryForm?siteType=outside');
8             __PACKAGE__->models([
9             [
10             { type => 'start', name => 'script',
11             attr => {
12             language => 'JavaScript',
13             src => qr{http://playlog[.]jp/bp/js/\d+/[0-9A-Za-z]{32}.js},
14             }},
15             { type => 'end', name=>'script' }
16             ],
17             ]);
18              
19             1;
20             __END__