blib/lib/Paws/CodeBuild/GetReportGroupTrend.pm untested

filter: Statementstmt 0.0% 0 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 17 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::CodeBuild::GetReportGroupTrend;
3 use Moose;
4 has NumOfReports => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'numOfReports' );
5 has ReportGroupArn => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'reportGroupArn' , required => 1);
6 has TrendField => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'trendField' , required => 1);
7  
8 use MooseX::ClassAttribute;
9  
10 class_has _api_call => (isa => 'Str', is => 'ro', default => 'GetReportGroupTrend');
11 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::CodeBuild::GetReportGroupTrendOutput');
12 class_has _result_key => (isa => 'Str', is => 'ro');
13 1;
14  
15 ### main pod documentation begin ###
16  
17 =head1 NAME
18  
19 Paws::CodeBuild::GetReportGroupTrend - Arguments for method GetReportGroupTrend on L<Paws::CodeBuild>
20  
21 =head1 DESCRIPTION
22  
23 This class represents the parameters used for calling the method GetReportGroupTrend on the
24 L<AWS CodeBuild|Paws::CodeBuild> service. Use the attributes of this class
25 as arguments to method GetReportGroupTrend.
26  
27 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to GetReportGroupTrend.
28  
29 =head1 SYNOPSIS
30  
31 my $codebuild = Paws->service('CodeBuild');
32 my $GetReportGroupTrendOutput = $codebuild->GetReportGroupTrend(
33 ReportGroupArn => 'MyNonEmptyString',
34 TrendField => 'PASS_RATE',
35 NumOfReports => 1, # OPTIONAL
36 );
37  
38 # Results:
39 my $RawData = $GetReportGroupTrendOutput->RawData;
40 my $Stats = $GetReportGroupTrendOutput->Stats;
41  
42 # Returns a L<Paws::CodeBuild::GetReportGroupTrendOutput> object.
43  
44 Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object.
45 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/codebuild/GetReportGroupTrend>
46  
47 =head1 ATTRIBUTES
48  
49  
50 =head2 NumOfReports => Int
51  
52 The number of reports to analyze. This operation always retrieves the
53 most recent reports.
54  
55 If this parameter is omitted, the most recent 100 reports are analyzed.
56  
57  
58  
59 =head2 B<REQUIRED> ReportGroupArn => Str
60  
61 The ARN of the report group that contains the reports to analyze.
62  
63  
64  
65 =head2 B<REQUIRED> TrendField => Str
66  
67 The test report value to accumulate. This must be one of the following
68 values:
69  
70 =over
71  
72 =item Test reports:
73  
74 =over
75  
76 =item DURATION
77  
78 Accumulate the test run times for the specified reports.
79  
80 =item PASS_RATE
81  
82 Accumulate the percentage of tests that passed for the specified test
83 reports.
84  
85 =item TOTAL
86  
87 Accumulate the total number of tests for the specified test reports.
88  
89 =back
90  
91 =back
92  
93 =over
94  
95 =item Code coverage reports:
96  
97 =over
98  
99 =item BRANCH_COVERAGE
100  
101 Accumulate the branch coverage percentages for the specified test
102 reports.
103  
104 =item BRANCHES_COVERED
105  
106 Accumulate the branches covered values for the specified test reports.
107  
108 =item BRANCHES_MISSED
109  
110 Accumulate the branches missed values for the specified test reports.
111  
112 =item LINE_COVERAGE
113  
114 Accumulate the line coverage percentages for the specified test
115 reports.
116  
117 =item LINES_COVERED
118  
119 Accumulate the lines covered values for the specified test reports.
120  
121 =item LINES_MISSED
122  
123 Accumulate the lines not covered values for the specified test reports.
124  
125 =back
126  
127 =back
128  
129  
130 Valid values are: C<"PASS_RATE">, C<"DURATION">, C<"TOTAL">, C<"LINE_COVERAGE">, C<"LINES_COVERED">, C<"LINES_MISSED">, C<"BRANCH_COVERAGE">, C<"BRANCHES_COVERED">, C<"BRANCHES_MISSED">
131  
132  
133 =head1 SEE ALSO
134  
135 This class forms part of L<Paws>, documenting arguments for method GetReportGroupTrend in L<Paws::CodeBuild>
136  
137 =head1 BUGS and CONTRIBUTIONS
138  
139 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
140  
141 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
142  
143 =cut
144