line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Test2::Harness::Util::File::JSONL; |
2
|
1
|
|
|
1
|
|
136976
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
24
|
|
3
|
1
|
|
|
1
|
|
4
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
51
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
our $VERSION = '0.001007'; |
6
|
|
|
|
|
|
|
|
7
|
1
|
|
|
1
|
|
5
|
use Carp qw/croak/; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
39
|
|
8
|
1
|
|
|
1
|
|
234
|
use Test2::Harness::Util::JSON qw/encode_json decode_json/; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
49
|
|
9
|
|
|
|
|
|
|
|
10
|
1
|
|
|
1
|
|
215
|
use parent 'Test2::Harness::Util::File::Stream'; |
|
1
|
|
|
|
|
210
|
|
|
1
|
|
|
|
|
3
|
|
11
|
1
|
|
|
1
|
|
35
|
use Test2::Harness::Util::HashBase; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
4
|
|
12
|
|
|
|
|
|
|
|
13
|
1
|
|
|
1
|
0
|
1171
|
sub decode { shift; decode_json($_[0]) } |
|
1
|
|
|
|
|
5
|
|
14
|
1
|
|
|
1
|
0
|
2
|
sub encode { shift; encode_json(@_) . "\n" } |
|
1
|
|
|
|
|
4
|
|
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
1; |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
__END__ |