Verify that all 13 tools are configured correctly by finding test PRs that produce at least 1 finding per tool.
- SpotBugs - Bug Detection (needs compiled Java with bugs)
- JDepend - Architecture (needs compiled Java classes)
- dependency-check - Dependency Scan (needs vulnerable dependencies)
- spectral - API Schema (needs OpenAPI/Swagger files)
- graphql-cop - GraphQL Security (needs GraphQL schema/endpoints)
Goal: Find a Java PR with actual bugs that SpotBugs can detect Steps:
- Search for Java repos with known SpotBugs issues or buggy code
- Look for repos like
spotbugs/spotbugs-samplesor Java projects with null pointer issues - Run test with
test-v9-lite-e2e.tsto verify SpotBugs finds issues - Document the test PR that produces SpotBugs findings
Goal: Find a Java PR with architecture/dependency issues Steps:
- JDepend analyzes package dependencies and cycles
- Find a Java project with circular dependencies or poor package structure
- Verify JDepend produces architecture metrics
- Document findings
Goal: Find a PR with known CVE vulnerabilities in dependencies Steps:
- Search for Java projects with outdated/vulnerable dependencies
- Look for repos with known Log4j, Spring, or Jackson vulnerabilities
- Test with dependency-check and verify CVE detection
- Document the vulnerable dependencies found
Goal: Find a PR with OpenAPI/Swagger specs that have issues Steps:
- Search for repos with
openapi.yaml,swagger.json, orapi-specfiles - Look for API-first projects like
swagger-api/swagger-petstore - Run test and verify Spectral finds API schema issues
- Document the API validation findings
Goal: Find a PR with GraphQL schema/endpoint security issues Steps:
- Search for repos with GraphQL schemas (
.graphqlfiles,schema.graphql) - Look for GraphQL servers like
graphql-java/graphql-javaor Apollo projects - Run test and verify graphql-cop finds security issues
- Document the GraphQL security findings
Goal: Document all tool validation results Steps:
- Create a markdown report showing each tool with example findings
- List test repositories used for each tool
- Confirm all 13 tools are properly configured
- Update CLAUDE.md if any tool configuration issues found
| Tool | Potential Test Repo | Why |
|---|---|---|
| SpotBugs | iluwatar/java-design-patterns |
Large Java codebase |
| JDepend | spring-projects/spring-framework |
Complex package structure |
| dependency-check | Older Java projects with Log4j 2.x | Known CVEs |
| spectral | swagger-api/swagger-petstore |
OpenAPI specs |
| graphql-cop | graphql-java/graphql-java |
GraphQL schemas |
- SpotBugs: >= 1 bug finding
- JDepend: >= 1 architecture metric
- dependency-check: >= 1 CVE finding
- spectral: >= 1 API schema issue
- graphql-cop: >= 1 GraphQL security issue