Title: build: exclude the generated CCJSqlParser from JaCoCo by minleejae · Pull Request #2867 · JSQLParser/JSqlParser · GitHub
Open Graph Title: build: exclude the generated CCJSqlParser from JaCoCo by minleejae · Pull Request #2867 · JSQLParser/JSqlParser
X Title: build: exclude the generated CCJSqlParser from JaCoCo by minleejae · Pull Request #2867 · JSQLParser/JSqlParser
Description: Implements the short-term fix proposed in #2866. Instrumented by JaCoCo, the generated CCJSqlParser class has 808 constant-pool entries left on master (c84ad0ebc). When a grammar change crosses the limit, the agent fails with ClassTooLargeException, loads the parser uninstrumented, and jacocoTestCoverageVerification fails. The parser is now excluded from the agent (test.jacoco.excludes), from jacocoTestReport and from jacocoTestCoverageVerification. The agent already excluded CCJSqlParserTokenManager this way. The report and verification exclusions use the exact class-file paths **/parser/CCJSqlParserTokenManager.class and **/parser/CCJSqlParser.class, so nested classes such as CCJSqlParser$ObjectNames stay instrumented and measured. This also closes two gaps in the existing TokenManager exclusion, which together counted the uninstrumented TokenManager as 0% covered in both tasks: The verification pattern **CCJSqlParserTokenManager** did not match the class-file path. The report had no exclusion at all. The coverage thresholds, the rule-level excludes and the Maven build are unchanged. Validation: Java 17 Gradle check passes: 12,262 tests with 0 failures and 25 skipped. Grammar ambiguity, formatting (Spotless ratchet against upstream/master), Checkstyle, PMD, SpotBugs and JaCoCo all pass. The test execution data contains the nested CCJSqlParser$… classes but neither CCJSqlParser nor CCJSqlParserTokenManager. The HTML report lists neither class. Bundle totals checked by the verification rules: master this change Instruction covered ratio 0.7537 0.8274 Missed lines 14,892 7,336 The numbers change because two classes leave the bundle, not because coverage improves: the TokenManager: 815 lines, 0% covered; the parser: 82.19% covered, 6,741 of 37,575 lines missed. AI assistance: prepared with Claude Code.
Open Graph Description: Implements the short-term fix proposed in #2866. Instrumented by JaCoCo, the generated CCJSqlParser class has 808 constant-pool entries left on master (c84ad0ebc). When a grammar change crosses the...
X Description: Implements the short-term fix proposed in #2866. Instrumented by JaCoCo, the generated CCJSqlParser class has 808 constant-pool entries left on master (c84ad0ebc). When a grammar change crosses the...
Opengraph URL: https://github.com/JSQLParser/JSqlParser/pull/2867
X: @github
Domain: github.com
IPv4 address: 140.82.112.3
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:dba08502-63b2-6a96-0022-a37aa0b35a1c |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9B14:D9868:E4E8D1:1411154:6B044334 |
| html-safe-nonce | a97a35315b8a3a4e935a608439c185d43536e2e0a1a4b269aa67d109a9fb69f4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QjE0OkQ5ODY4OkU0RThEMToxNDExMTU0OjZCMDQ0MzM0IiwidmlzaXRvcl9pZCI6IjQyMTc5MTY2MzY3NzIxODg5ODAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 6f4ca21b6c47f3f0e4f332789f72a7e606b2edb6a4eba0e5ac75d849c95689e6 |
| hovercard-subject-tag | pull_request:5046717386 |
| 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/JSQLParser/JSqlParser/pull/2867/files |
| twitter:image | https://avatars.githubusercontent.com/u/55116920?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/55116920?s=400&v=4 |
| og:image:alt | Implements the short-term fix proposed in #2866. Instrumented by JaCoCo, the generated CCJSqlParser class has 808 constant-pool entries left on master (c84ad0ebc). When a grammar change crosses the... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9185ccfefd80c1ff2d9ddcdb0cd2becf46b5a1efbbf30741a895e4bb8de25e64 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/JSQLParser/JSqlParser git https://github.com/JSQLParser/JSqlParser.git |
| octolytics-dimension-user_id | 4643847 |
| octolytics-dimension-user_login | JSQLParser |
| octolytics-dimension-repository_id | 1944709 |
| octolytics-dimension-repository_nwo | JSQLParser/JSqlParser |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1944709 |
| octolytics-dimension-repository_network_root_nwo | JSQLParser/JSqlParser |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 06dc448a76fe4751ac1db26524aefa3aa3e889a8 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | no-cache |
Viewport: width=device-width