Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BuildCheck ¶
type BuildCheck struct {
Config *config.JavaLanguageConfig
}
BuildCheck verifies that the Java project compiles.
func (*BuildCheck) ID ¶
func (c *BuildCheck) ID() string
func (*BuildCheck) Name ¶
func (c *BuildCheck) Name() string
type CoverageCheck ¶
type CoverageCheck struct {
Threshold float64
}
CoverageCheck verifies Java test coverage using JaCoCo reports.
func (*CoverageCheck) ID ¶
func (c *CoverageCheck) ID() string
func (*CoverageCheck) Name ¶
func (c *CoverageCheck) Name() string
type DepsCheck ¶
type DepsCheck struct{}
DepsCheck verifies Java dependency security scanning configuration.
type FormatCheck ¶
type FormatCheck struct{}
FormatCheck detects Java code formatting configuration.
func (*FormatCheck) ID ¶
func (c *FormatCheck) ID() string
func (*FormatCheck) Name ¶
func (c *FormatCheck) Name() string
type JaCoCoCounter ¶
type JaCoCoCounter struct {
Type string `xml:"type,attr"`
Missed int `xml:"missed,attr"`
Covered int `xml:"covered,attr"`
}
JaCoCoCounter represents a counter element in JaCoCo report.
type JaCoCoReport ¶
type JaCoCoReport struct {
XMLName xml.Name `xml:"report"`
Counters []JaCoCoCounter `xml:"counter"`
}
JaCoCoReport represents the JaCoCo XML report structure.
type LintCheck ¶
type LintCheck struct{}
LintCheck detects Java static analysis tools configuration.
type LoggingCheck ¶
type LoggingCheck struct{}
LoggingCheck detects Java structured logging practices.
func (*LoggingCheck) ID ¶
func (c *LoggingCheck) ID() string
func (*LoggingCheck) Name ¶
func (c *LoggingCheck) Name() string
type ProjectCheck ¶
type ProjectCheck struct{}
ProjectCheck verifies that a Java project configuration exists.
func (*ProjectCheck) ID ¶
func (c *ProjectCheck) ID() string
func (*ProjectCheck) Name ¶
func (c *ProjectCheck) Name() string
type TestsCheck ¶
type TestsCheck struct {
Config *config.JavaLanguageConfig
}
TestsCheck runs Java tests.
func (*TestsCheck) ID ¶
func (c *TestsCheck) ID() string
func (*TestsCheck) Name ¶
func (c *TestsCheck) Name() string
Click to show internal directories.
Click to hide internal directories.