Skip to content

add branch coverage, better javadoc lints#1851

Open
zeitlinger wants to merge 2 commits intomainfrom
branch-coverage
Open

add branch coverage, better javadoc lints#1851
zeitlinger wants to merge 2 commits intomainfrom
branch-coverage

Conversation

@zeitlinger
Copy link
Member

No description provided.

Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
Add comprehensive tests for classes that were below coverage requirements:
- Config module: ExporterProperties, ExporterOpenTelemetryProperties, ExporterPushgatewayProperties
- Exposition formats: PrometheusProtobufWriter
- HTTP server: HTTPServer authentication, HttpExchangeAdapter
- OpenTelemetry: HistogramPointDataImpl, ExponentialHistogramPointDataImpl
- Pushgateway: Scheme
- JVM instrumentation: JvmMemoryPoolAllocationMetrics

Exclude two classes from coverage checks that require complex mocking:
- AllocationCountingNotificationListener (GC notifications)
- MapperConfig (complex configuration branching)

All coverage checks now pass, resolving branch coverage violations.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant