line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package ok; |
2
|
|
|
|
|
|
|
our $VERSION = '1.302180'; |
3
|
|
|
|
|
|
|
|
4
|
15
|
|
|
15
|
|
7785
|
use strict; |
|
15
|
|
|
|
|
38
|
|
|
15
|
|
|
|
|
437
|
|
5
|
15
|
|
|
15
|
|
8020
|
use Test::More (); |
|
15
|
|
|
|
|
55
|
|
|
15
|
|
|
|
|
1892
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
sub import { |
8
|
17
|
|
|
17
|
|
164
|
shift; |
9
|
|
|
|
|
|
|
|
10
|
17
|
50
|
|
|
|
69
|
if (@_) { |
11
|
17
|
100
|
|
|
|
56
|
goto &Test::More::pass if $_[0] eq 'ok'; |
12
|
16
|
|
|
|
|
110
|
goto &Test::More::use_ok; |
13
|
|
|
|
|
|
|
} |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
# No argument list - croak as if we are prototyped like use_ok() |
16
|
0
|
|
|
|
|
|
my (undef, $file, $line) = caller(); |
17
|
0
|
0
|
|
|
|
|
($file =~ /^\(eval/) or die "Not enough arguments for 'use ok' at $file line $line\n"; |
18
|
|
|
|
|
|
|
} |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
__END__ |