| Copyright | (c) 2013-2021 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
Amazonka.CodeGuruReviewer.Types.Metrics
Description
Synopsis
Documentation
Information about the statistics from the code review.
See: newMetrics smart constructor.
Constructors
| Metrics' | |
Fields
| |
Instances
| Eq Metrics Source # | |
| Read Metrics Source # | |
| Show Metrics Source # | |
| Generic Metrics Source # | |
| NFData Metrics Source # | |
Defined in Amazonka.CodeGuruReviewer.Types.Metrics | |
| Hashable Metrics Source # | |
Defined in Amazonka.CodeGuruReviewer.Types.Metrics | |
| FromJSON Metrics Source # | |
| type Rep Metrics Source # | |
Defined in Amazonka.CodeGuruReviewer.Types.Metrics type Rep Metrics = D1 ('MetaData "Metrics" "Amazonka.CodeGuruReviewer.Types.Metrics" "libZSservicesZSamazonka-codeguru-reviewerZSamazonka-codeguru-reviewer" 'False) (C1 ('MetaCons "Metrics'" 'PrefixI 'True) (S1 ('MetaSel ('Just "findingsCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "meteredLinesOfCodeCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)))) | |
newMetrics :: Metrics Source #
Create a value of Metrics with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:findingsCount:Metrics', metrics_findingsCount - Total number of recommendations found in the code review.
$sel:meteredLinesOfCodeCount:Metrics', metrics_meteredLinesOfCodeCount - MeteredLinesOfCode is the number of lines of code in the repository
where the code review happened. This does not include non-code lines
such as comments and blank lines.