Open
Conversation
c737a9e to
b2f1806
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related Issue
Closes #188
What does this PR do?
Increases JaCoCo test coverage from 67.47% to 80.01% (instruction-level) by adding targeted branch and edge-case tests across high-miss classes.
Approach: iteratively identified the classes with the most uncovered instructions via
jacoco.csv, wrote focused tests for guard clauses, error paths, and fallback branches, verified each batch with the full suite, and repeated until the 80% threshold was crossed.Coverage results
Tests
New test classes (6):
OperationStepExecutorBranchTest— orchestration private/branch coverageJettyStreamableHandlerTest— MCP HTTP transport POST/GET/DELETE behaviorProtocolDispatcherCoverageTest— protocol error envelopes and edge casesResourceHandlerDynamicTest— dynamic resource execution and fallback mappingInputParameterSerializerTest— input serializer nested/property branchesOutputParameterSerializerTest— output serializer mapping/value semanticsExpanded test classes (5):
ConverterTest— format guard clauses, JSONPath root selectors, maxLength edge casesResolverTest— resolver and mapping branch pathsOperationStepExecutorIntegrationTest— invalid call/mode pathsResourceHandlerSafetyTest— static-resource safety and template edge casesResourceRestletTest— REST response/fallback behavior, forward-mode header propagationValidation:
mvn test --no-transfer-progress→ 328 tests, 0 failures, 0 errors, 2 skipped, BUILD SUCCESSChecklist
mainAgent Context (optional)