File Coverage

blib/lib/HTML/WidgetValidator/Widget/ShockwaveBloggames.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::ShockwaveBloggames;
2 1     1   4 use base qw(HTML::WidgetValidator::Widget);
  1         2  
  1         62  
3 1     1   4 use warnings;
  1         2  
  1         19  
4 1     1   3 use strict;
  1         2  
  1         124  
5            
6             __PACKAGE__->name('Shockwave Bloggames');
7             __PACKAGE__->url('http://www.shockwave.co.jp/bloggames/');
8             __PACKAGE__->models([
9             [ { type => 'start', name => 'script',
10             attr => {
11             type => 'text/javascript',
12             charset => 'UTF-8',
13             language => 'javascript',
14             src => qr{http://www[.]shockwave[.]co[.]jp/bloggame/blogame[.]php[?]idu=[A-Za-z0-9+/=]+&dtreg=[A-Za-z0-9+/=]+&typ=(?:s|e)&nmgb=[A-Za-z0-9+/=]+},
15             }},
16             { type => 'end', name=>'script' } ],
17             ]);
18            
19             1;
20             __END__