File Coverage

blib/lib/HTML/WidgetValidator/Widget/Rilakkuma.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::Rilakkuma;
2 1     1   5 use base qw(HTML::WidgetValidator::Widget);
  1         1  
  1         62  
3 1     1   5 use strict;
  1         2  
  1         23  
4 1     1   4 use warnings;
  1         1  
  1         81  
5              
6             __PACKAGE__->name('Rilakkuma');
7             __PACKAGE__->url('http://www.san-xchara.jp/setting_tag.php');
8             __PACKAGE__->models([
9             [
10             { type => 'start', name => 'script',
11             attr => {
12             language => 'JavaScript',
13             type => 'text/javascript',
14             src => qr{http://www[.]san-xchara[.]jp/js/[0-9a-zA-Z]{32}.js},
15             }},
16             { type => 'end', name=>'script' }
17             ],
18             ]);
19              
20             1;
21             __END__