line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#!/usr/bin/perl |
2
|
37
|
|
|
37
|
|
16034
|
use strict; |
|
37
|
|
|
|
|
117
|
|
|
37
|
|
|
|
|
1239
|
|
3
|
37
|
|
|
37
|
|
270
|
use warnings; |
|
37
|
|
|
|
|
105
|
|
|
37
|
|
|
|
|
1542
|
|
4
|
|
|
|
|
|
|
|
5
|
37
|
|
|
37
|
|
254
|
package WWW::Shopify::Liquid::Filter::Sprintf; use base 'WWW::Shopify::Liquid::Filter'; |
|
37
|
|
|
|
|
99
|
|
|
37
|
|
|
|
|
7480
|
|
6
|
11
|
|
|
11
|
0
|
72
|
sub min_arguments { return 0; } |
7
|
11
|
|
|
11
|
0
|
54
|
sub max_arguments { return undef; } |
8
|
|
|
|
|
|
|
sub operate { |
9
|
2
|
|
|
2
|
0
|
13
|
my ($self, $hash, $operand, @arguments) = @_; |
10
|
2
|
50
|
|
|
|
10
|
return sprintf($operand, map { defined $_ ? $_ : '' } @arguments); |
|
2
|
|
|
|
|
31
|
|
11
|
|
|
|
|
|
|
} |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
1; |