Title: Feature Request Issue 125: Analyze test classes optionally if the user wants to by rahlk · Pull Request #126 · codellm-devkit/codeanalyzer-java · GitHub
Open Graph Title: Feature Request Issue 125: Analyze test classes optionally if the user wants to by rahlk · Pull Request #126 · codellm-devkit/codeanalyzer-java
X Title: Feature Request Issue 125: Analyze test classes optionally if the user wants to by rahlk · Pull Request #126 · codellm-devkit/codeanalyzer-java
Description: Motivation and Context Currently, the tool ignores test classes when analyzing Java projects built with Maven and Gradle. This omission leads to incomplete analysis, as test classes often contain important dependencies, call sites, and code interactions that should be considered. This PR adds support for detecting and processing test classes from: Maven projects (src/test/java/, compiled to target/test-classes/) Gradle projects (src/test/java/, compiled to build/classes/java/test/) How Has This Been Tested? Manually verified that test classes are correctly recognized in Maven and Gradle projects. Checked that test class handling does not interfere with main class analysis. Since this is an enhancement to the processing pipeline rather than a functional feature, no new test cases are required. Breaking Changes No breaking changes; this is an additive feature to existing ones in PR #124 Existing functionality remains unchanged, but additional test-related data is now included in the analysis. Types of Changes Bug fix (non-breaking change which fixes an issue) New feature (non-breaking change which adds functionality to PR #124) Breaking change (fix or feature that would cause existing functionality to change) Documentation update Checklist I have read the Codellm-Devkit Documentation My code follows the repository's style guidelines New and existing tests pass locally I have added appropriate error handling I have added or updated documentation as needed Additional Context Codeanalyzer now adds a new flag --include-test-classes which forces the application to be built by compiling test classes. To enable this feature, you are to use that flag.
Open Graph Description: Motivation and Context Currently, the tool ignores test classes when analyzing Java projects built with Maven and Gradle. This omission leads to incomplete analysis, as test classes often contain i...
X Description: Motivation and Context Currently, the tool ignores test classes when analyzing Java projects built with Maven and Gradle. This omission leads to incomplete analysis, as test classes often contain i...
Opengraph URL: https://github.com/codellm-devkit/codeanalyzer-java/pull/126
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:24aa5594-aaaf-fa33-ca2f-041312de1ed8 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C872:F5841:1076009:150B2AA:69910A0B |
| html-safe-nonce | 1e82ff0840d0ed4888037c45b92d8f46d4b70615b4503b908d39ee866a3833ce |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDODcyOkY1ODQxOjEwNzYwMDk6MTUwQjJBQTo2OTkxMEEwQiIsInZpc2l0b3JfaWQiOiI0MDEzNjAwNjU2MDc1Njc4ODMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a13d937cd6b49a646109a40943e1a772f1daba146cc0a5638f34501607934b62 |
| hovercard-subject-tag | pull_request:2345591986 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/codellm-devkit/codeanalyzer-java/pull/126/files |
| twitter:image | https://avatars.githubusercontent.com/u/1433964?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1433964?s=400&v=4 |
| og:image:alt | Motivation and Context Currently, the tool ignores test classes when analyzing Java projects built with Maven and Gradle. This omission leads to incomplete analysis, as test classes often contain i... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/codellm-devkit/codeanalyzer-java git https://github.com/codellm-devkit/codeanalyzer-java.git |
| octolytics-dimension-user_id | 197800760 |
| octolytics-dimension-user_login | codellm-devkit |
| octolytics-dimension-repository_id | 731300153 |
| octolytics-dimension-repository_nwo | codellm-devkit/codeanalyzer-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 731300153 |
| octolytics-dimension-repository_network_root_nwo | codellm-devkit/codeanalyzer-java |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 848bc6032dcc93a9a7301dcc3f379a72ba13b96e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width