blib/lib/TAP/Formatter/JUnitREGRU/Result.pm

filter: Statementstmt 100% 6 / 6 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 7 / 7 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« blib/script/tap2junit ↑ Summary
1 package TAP::Formatter::JUnitREGRU::Result;
2  
3 4 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 4 has 'time' => (
6 is => 'ro',
7 isa => 'Num',
8 required => 1,
9 );
10  
11 4 has 'result' => (
12 is => 'ro',
13 isa => 'TAP::Parser::Result',
14 required => 1,
15 handles => [qw(
16 name
17 number
18 description
19 as_string
20 raw
21  
22 is_test
23 is_plan
24 is_unplanned
25 is_ok
26  
27 todo_passed
28 explanation
29 )],
30 );
31  
32 4 1;
33  
34 =head1 NAME
35  
36 TAP::Formatter::JUnitREGRU::Result - Wrapper for a TAP result
37  
38 =head1 DESCRIPTION
39  
40 C<TAP::Formatter::JUnitREGRU::Result> is an internal class, used to wrap/augment
41 C<TAP::Parser::Result> objects with timing information.
42  
43 B<NOT recommended for public consumption; internal use only.>
44  
45 =head1 AUTHOR
46  
47 Graham TerMarsch <cpan@howlingfrog.com>
48  
49 =head1 COPYRIGHT
50  
51 Copyright 2011, Graham TerMarsch. All Rights Reserved.
52  
53 This is free software; you can redistribute it and/or modify it under the same
54 terms as Perl itself.
55  
56 =cut
« blib/script/tap2junit ↑ Summary