File Coverage

blib/lib/HTML/WidgetValidator/Widget/Uniqlock.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::Uniqlock;
2 1     1   4 use base qw(HTML::WidgetValidator::Widget);
  1         1  
  1         60  
3 1     1   4 use warnings;
  1         1  
  1         19  
4 1     1   4 use strict;
  1         1  
  1         86  
5              
6             __PACKAGE__->name('UNIQLOCK');
7             __PACKAGE__->url('http://www.uniqlo.jp/uniqlock/');
8             __PACKAGE__->models([
9             [
10             { type => 'start', name => 'script',
11             attr => {
12             src => qr{http://www[.]uniqlo[.]jp/uniqlock/user/js/[0-9A-Za-z]{16}[.]js},
13             type => 'text/javascript',
14             }
15             },
16             { type => 'end', name => 'script' }
17             ]
18             ]);
19              
20             1;
21             __END__