Title: Too many tests generated by Fuzzer #1225 by Markoutte · Pull Request #1239 · UnitTestBot/UTBotJava · GitHub
Open Graph Title: Too many tests generated by Fuzzer #1225 by Markoutte · Pull Request #1239 · UnitTestBot/UTBotJava
X Title: Too many tests generated by Fuzzer #1225 by Markoutte · Pull Request #1239 · UnitTestBot/UTBotJava
Description: Description The problem was the instrumentation doesn't change bytecode for classes which have space-character in the path on Windows. java.net.URL can keep both options: with character " " or " " in the path. Because of this the code source path (that contains ) cannot be found in the list of sources to be transformed. Therefore instrumentation doesn't supply any coverage to minimization and plenty of tests are generated. To fix this, URL is converted into URI first and then full path of file is requested. Fixes #1225 Type of Change Breaking change (fix or feature that would cause existing functionality to not work as expected) How Has This Been Tested? Automated Testing All tests should pass Manual Scenario Try to reproduce example from the issue. Nearly 29 tests should be generated. Checklist: The change followed the style guidelines of the UTBot project Self-review of the code is passed The change contains enough commentaries, particularly in hard-to-understand areas New documentation is provided or existed one is altered No new warnings New tests have been added All tests pass locally with my changes
Open Graph Description: Description The problem was the instrumentation doesn't change bytecode for classes which have space-character in the path on Windows. java.net.URL can keep both options: with character "%...
X Description: Description The problem was the instrumentation doesn't change bytecode for classes which have space-character in the path on Windows. java.net.URL can keep both options: with character &am...
Opengraph URL: https://github.com/UnitTestBot/UTBotJava/pull/1239
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:d775ad12-8899-2c84-7b0f-12b3280407f8 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | B6B2:21106F:193CD4:21AE96:698F1A8A |
| html-safe-nonce | 243eafa6d961be8c6597a95770b8e52af89b5778f5121723dea85293743e18f6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNkIyOjIxMTA2RjoxOTNDRDQ6MjFBRTk2OjY5OEYxQThBIiwidmlzaXRvcl9pZCI6IjUyOTAxMTIwNTM0Nzc4NDE1NDYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 1333dcf770220c77891d05008a59887f170477e9c94857bbf9afc7c024c7a18a |
| hovercard-subject-tag | pull_request:1100245503 |
| 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/UnitTestBot/UTBotJava/pull/1239/checks |
| twitter:image | https://avatars.githubusercontent.com/u/720952?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/720952?s=400&v=4 |
| og:image:alt | Description The problem was the instrumentation doesn't change bytecode for classes which have space-character in the path on Windows. java.net.URL can keep both options: with character "%... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 2da1a0d1318592c9965539b12269c4641177dfabfc86c3807992efb13e1d96ff |
| turbo-cache-control | no-preview |
| go-import | github.com/UnitTestBot/UTBotJava git https://github.com/UnitTestBot/UTBotJava.git |
| octolytics-dimension-user_id | 87413538 |
| octolytics-dimension-user_login | UnitTestBot |
| octolytics-dimension-repository_id | 480810501 |
| octolytics-dimension-repository_nwo | UnitTestBot/UTBotJava |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 480810501 |
| octolytics-dimension-repository_network_root_nwo | UnitTestBot/UTBotJava |
| 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 | c9646ffd6f86b00952c2b39e3c62e15904eff1e5 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width