# Functions
PassedTestsRate rate of passed tests calculated using passed / (passed + failed) * 100, i.e 96.54 if input t is nil, will return "0.00".
# Constants
CodeRatingRateA A rating.
CodeRatingRateB B rating.
CodeRatingRateC C rating.
CodeRatingRateD D rating.
CodeRatingRateE E rating.
Maintainability metrics is based on the number of code smells found during code analysis.
Reliability metrics is based on the number of bugs found during code analysis.
SecurityHotspots metrics is based on the number of possible security issues found during code analysis.
Vunerability metrics is based on the number of security issues found during code analysis.
Failed alias for metav1alpha1.FailedReason.
Succeeded alias for metav1alpha1.SucceededReason.
# Variables
AddToScheme adds the types in this group-version to the given scheme.
GroupVersion is group version used to register these objects.
SchemeBuilder is used to add go types to the GroupVersionKind scheme.
# Structs
AnalisysMetrics b.
AnalysisRating ratings by type supports adding customized types Rate describe the analysis rate, such as: - A - B - C - D - E IssuesCount stores the related issues number.
AnalysisResult stores the result of a code analysis performed storing the specific Result, the remote report address, the specific task id used for the project id, with optional metrics.
AutomatedTestResult automatic test result encapsulation.
CodeChangeMetrics common metrics for code such as: CoverageRate: test coverage rate based on automated tests DuplicationRate: code duplication rate detected by code analysis tool.
CodeChangeRates stores changes in a specific rate for new and already existing code used as code duplications, test coverage, etc.
CodeLintIssues issues found during linting count stores the total number of issues detected.
CodeLintResult stores code linting results.
CodeSize metrics of code base.
NamedAnalysisResult adds name over integrated AnalysisResult.
NamedAutomatedTestResults adds name over integrated UnitTestsResult.
NamedCodeLintResult adds name over integrated CodeLintResult.
NamedUnitTestsResult adds name over integrated UnitTestsResult.
ReportFile refers to a report object, could be a directory or a file depending on contentType.
TestCoverage stores coverage data for unit tests.
TestResult test results aggregation stores the number of passed, skipped and failed test cases also stores a calculated passed tests rate value.
UnitTestsResult unit tests results encapsulating coverage and number of passed, failed and skipped tests.
# Type aliases
NamedAnalysisResults list of NamedAnalysisResult.
NamedCodeLintResults list of NamedCodeLintResult.
NamedUnitTestsResults list of NamedUnitTestsResult.