line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Module::Untested; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
140396
|
use strict; |
|
1
|
|
|
|
|
30
|
|
|
1
|
|
|
|
|
32
|
|
4
|
1
|
|
|
1
|
|
7
|
use warnings; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
41
|
|
5
|
1
|
|
|
1
|
|
6
|
use Test::Tdd::Generator; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
118
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
$Example::VARIABLE = 'foo'; |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
sub untested_subroutine { |
11
|
9
|
|
|
9
|
0
|
648
|
my @params = @_; |
12
|
|
|
|
|
|
|
|
13
|
9
|
|
|
|
|
255
|
Test::Tdd::Generator::create_test('returns params plus foo', { globals => ['Example::'] }); |
14
|
|
|
|
|
|
|
|
15
|
9
|
|
|
|
|
1305
|
return join(',', @params) . $Example::VARIABLE; |
16
|
|
|
|
|
|
|
} |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
sub another_untested_subroutine { |
20
|
4
|
|
|
4
|
0
|
1926
|
Test::Tdd::Generator::create_test('returns the first param'); |
21
|
|
|
|
|
|
|
|
22
|
4
|
|
|
|
|
197
|
return $_[0]; |
23
|
|
|
|
|
|
|
} |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
1; |