line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#!/usr/bin/perl |
2
|
37
|
|
|
37
|
|
15481
|
use strict; |
|
37
|
|
|
|
|
112
|
|
|
37
|
|
|
|
|
1131
|
|
3
|
37
|
|
|
37
|
|
287
|
use warnings; |
|
37
|
|
|
|
|
104
|
|
|
37
|
|
|
|
|
1063
|
|
4
|
37
|
|
|
37
|
|
232
|
use utf8; |
|
37
|
|
|
|
|
102
|
|
|
37
|
|
|
|
|
244
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
package WWW::Shopify::Liquid::Filter::IsUtf8; |
7
|
37
|
|
|
37
|
|
1441
|
use base 'WWW::Shopify::Liquid::Filter'; |
|
37
|
|
|
|
|
101
|
|
|
37
|
|
|
|
|
6876
|
|
8
|
|
|
|
|
|
|
|
9
|
2
|
|
|
2
|
0
|
23
|
sub min_arguments { return 0; } |
10
|
4
|
|
|
4
|
0
|
22
|
sub max_arguments { return 0; } |
11
|
|
|
|
|
|
|
sub operate { |
12
|
2
|
|
|
2
|
0
|
9
|
my ($self, $hash, $operand, @arguments) = @_; |
13
|
2
|
|
|
|
|
9
|
return utf8::is_utf8($operand); |
14
|
|
|
|
|
|
|
} |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
1; |