Title: GitHub · Where software is built
Open Graph Title: UnitTestBot/java-stdlib-approximations
X Title: UnitTestBot/java-stdlib-approximations
Description: Contribute to UnitTestBot/java-stdlib-approximations development by creating an account on GitHub.
Open Graph Description: Contribute to UnitTestBot/java-stdlib-approximations development by creating an account on GitHub.
X Description: Contribute to UnitTestBot/java-stdlib-approximations development by creating an account on GitHub.
Opengraph URL: https://github.com/UnitTestBot/java-stdlib-approximations
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Simplify `StringBuilder` and `StringBuffer` approximations","articleBody":"The current approximations for `java.lang.StringBuilder` and `java.lang.StringBuffer` use an instance of `java.lang.String` as an internal storage and the `java.lang.String#concat` method for approximating `java.lang.AbstractStringBuilder#append` methods. Such approximation is still very complex for symbolic analysis, taking into account that the `java.lang.String#concat` uses the non-trivial method `java.lang.StringConcatHelper#simpleConcat` (that includes even `jdk.internal.misc.Unsafe` invocations`).\r\n\r\nInstead of current approximations, it is suggested to use a hand-written dynamic array of characters for simpler approximations. For reference, use `org.utbot.engine.overrides.strings.UtStringBuilder` implementation in [UTBotJava](https://github.com/UnitTestBot/UTBotJava/blob/main/utbot-framework/src/main/java/org/utbot/engine/overrides/strings/UtStringBuilder.java).","author":{"url":"https://github.com/Damtev","@type":"Person","name":"Damtev"},"datePublished":"2023-12-11T07:53:00.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/9/java-stdlib-approximations/issues/9"}
| route-pattern | /:user_id/:repository/issues/:id(.:format) |
| route-controller | issues |
| route-action | show |
| fetch-nonce | v2:6b69b42d-ee48-5cfa-feeb-48ee7c977008 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E4AC:531A6:652504E:8A03B48:698D03FE |
| html-safe-nonce | b45859aa7970a49a2baaf00aedbd122c9b28e901728973f080302dbd6dd50288 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNEFDOjUzMUE2OjY1MjUwNEU6OEEwM0I0ODo2OThEMDNGRSIsInZpc2l0b3JfaWQiOiI4MzEzMzMxODYyMzIwNTE0MDQ2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 3d19f18523e5fb9e9af6d49cc01f5eb8a394a1beba552413e3c946cd2d4f2dd6 |
| hovercard-subject-tag | repository:693336930 |
| github-keyboard-shortcuts | repository,issues,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/UnitTestBot/java-stdlib-approximations/issues/9 |
| twitter:image | https://opengraph.githubassets.com/10c70a4f0475163cf5f776dde2cd0183468202c2a9dd0c31d90337b157daf86a/UnitTestBot/java-stdlib-approximations |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/10c70a4f0475163cf5f776dde2cd0183468202c2a9dd0c31d90337b157daf86a/UnitTestBot/java-stdlib-approximations |
| og:image:alt | Contribute to UnitTestBot/java-stdlib-approximations development by creating an account on GitHub. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | f2da95634bce8a94cfa4123788169bfabdf845fd1d790fbaaaaab09dcfebdf28 |
| turbo-cache-control | no-cache |
| go-import | github.com/UnitTestBot/java-stdlib-approximations git https://github.com/UnitTestBot/java-stdlib-approximations.git |
| octolytics-dimension-user_id | 87413538 |
| octolytics-dimension-user_login | UnitTestBot |
| octolytics-dimension-repository_id | 693336930 |
| octolytics-dimension-repository_nwo | UnitTestBot/java-stdlib-approximations |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 693336930 |
| octolytics-dimension-repository_network_root_nwo | UnitTestBot/java-stdlib-approximations |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | c21843b18feba17d11efb1895a7db61e8672f2cf |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width