File Coverage

blib/lib/CPAN/Cover/Results/Release.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package CPAN::Cover::Results::Release;
2             $CPAN::Cover::Results::Release::VERSION = '0.02';
3 1     1   5 use Moo;
  1         2  
  1         8  
4              
5             has 'distname' => ( is => 'ro' );
6             has 'version' => ( is => 'ro' );
7             has 'branch' => ( is => 'ro' );
8             has 'condition' => ( is => 'ro' );
9             has 'pod' => ( is => 'ro' );
10             has 'statement' => ( is => 'ro' );
11             has 'subroutine' => ( is => 'ro' );
12             has 'total' => ( is => 'ro' );
13              
14             1;
15              
16             =head1 NAME
17              
18             CPAN::Cover::Results::Release - CPAN coverage results for one release
19              
20             =head1 SYNOPSIS
21              
22             use CPAN::Cover::Results::Release;
23             my $release = CPAN::Cover::Results::Release->new(
24             distname => 'Graph',
25             version => '0.96_01',
26             branch => '77.56',
27             condition => '67.61',
28             pod => '87.15',
29             statement => '91.56',
30             subroutine => '94.98',
31             total => '86.12',
32             );
33              
34             =head1 DESCRIPTION
35              
36             This module holds the test coverage results for one release,
37             as generated by CPAN Cover.
38              
39             =head1 SEE ALSO
40              
41             L
42              
43             =head1 AUTHOR
44              
45             Neil Bowers Eneilb@cpan.orgE
46              
47             =head1 COPYRIGHT AND LICENSE
48              
49             This software is copyright (c) 2014 by Neil Bowers .
50              
51             This is free software; you can redistribute it and/or modify it under
52             the same terms as the Perl 5 programming language system itself.
53              
54             =cut
55