Title: Fix issue 87, 88, 90, and 91 by rahlk · Pull Request #92 · codellm-devkit/codeanalyzer-java · GitHub
Open Graph Title: Fix issue 87, 88, 90, and 91 by rahlk · Pull Request #92 · codellm-devkit/codeanalyzer-java
X Title: Fix issue 87, 88, 90, and 91 by rahlk · Pull Request #92 · codellm-devkit/codeanalyzer-java
Description: This pull request add a static cyclomatic complexity computation (issue #91) and fixed the mangled comments in constructor declarations (issue #90) Also addressed issues #88 and #87. There, I found that when executing Maven wrapper using its absolute path (/path/to/codeanalyzer-failing-projects/portfolio-spring/mvnw), it was looking for just .mvn/wrapper files in the wrong working directory, causing a ClassNotFoundException. I fixed this by splitting the absolute command path into directory and filename components. Now ProcessBuilder uses the command's parent directory as the working directory and the filename as the command. // Before: Using wrong working directory Process process = new ProcessBuilder(command, "--version").start(); // After: Split command path to get correct working directory Process process = new ProcessBuilder() .directory(new File(projectRootPom)) // Use mvnw's directory .command(commandFile.getName(), "--version") // Use just "mvnw" .start(); I checked to make sure this applied to gradlew projects as well, and I made sure that the gradlew path is absolute.
Open Graph Description: This pull request add a static cyclomatic complexity computation (issue #91) and fixed the mangled comments in constructor declarations (issue #90) Also addressed issues #88 and #87. There, I foun...
X Description: This pull request add a static cyclomatic complexity computation (issue #91) and fixed the mangled comments in constructor declarations (issue #90) Also addressed issues #88 and #87. There, I foun...
Opengraph URL: https://github.com/codellm-devkit/codeanalyzer-java/pull/92
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:3245476e-2890-dd80-3ed3-9dc92d4f8f99 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | C75C:C4F7F:29C52D:3591DC:698E7D40 |
| html-safe-nonce | 9d1fd2885980794b8745ce7fe3e5c37fb10db85a64fdcd28347807231bf49dd2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNzVDOkM0RjdGOjI5QzUyRDozNTkxREM6Njk4RTdENDAiLCJ2aXNpdG9yX2lkIjoiMjcwNzQ0OTk2MjQyNjE3MDY4OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 06000d62bf69fb35a005a7e02866015bc662fe0aa84d3bb432d4d1c75c8456d8 |
| hovercard-subject-tag | pull_request:2280499181 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,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/92/checks |
| 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 | This pull request add a static cyclomatic complexity computation (issue #91) and fixed the mangled comments in constructor declarations (issue #90) Also addressed issues #88 and #87. There, I foun... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | cb2828a801ee6b7be618f3ac76fbf55def35bbc30f053a9c41bf90210b8b72ba |
| turbo-cache-control | no-preview |
| 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 full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f7a12861f7011eecb14bcc4388a767d829a52dfc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width