Title: Missed source file for nested class · Issue #1359 · UnitTestBot/UTBotJava · GitHub
Open Graph Title: Missed source file for nested class · Issue #1359 · UnitTestBot/UTBotJava
X Title: Missed source file for nested class · Issue #1359 · UnitTestBot/UTBotJava
Description: Description Summarization for nested classes are not generated due to the not found source file in the call Instrumenter.adapter.computeSourceFileByClass(this.method.classId.jClass, searchDirectory) File not found, nothing to parse as a ...
Open Graph Description: Description Summarization for nested classes are not generated due to the not found source file in the call Instrumenter.adapter.computeSourceFileByClass(this.method.classId.jClass, searchDirectory...
X Description: Description Summarization for nested classes are not generated due to the not found source file in the call Instrumenter.adapter.computeSourceFileByClass(this.method.classId.jClass, searchDirectory...
Opengraph URL: https://github.com/UnitTestBot/UTBotJava/issues/1359
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Missed source file for nested class","articleBody":"**Description**\r\n\r\nSummarization for nested classes are not generated due to the not found source file in the call\r\n` Instrumenter.adapter.computeSourceFileByClass(this.method.classId.jClass, searchDirectory)`\r\n\r\nFile not found, nothing to parse as a result the summaries are not generated.\r\n\r\n**To Reproduce**\r\n\r\n1. Run the snippet of code in IntelliJ Idea\r\n2. Run plugin via runIde\r\n3. Disable Fuzzing in the Settings Panel (Fuzzing = 0 %, Symbolic = 100 %)\r\n4. Use plugin to generate tests\r\n5. Set breakpoint at the RdInstrumenterKt:33\r\n6. See, that the source file is not found.\r\n\r\nCode for test generation:\r\n\r\n```\r\npublic class DeepNested {\r\n public class Nested1 {\r\n public class Nested2 {\r\n public int f(int i) {\r\n if (i \u003e 0) {\r\n return 10;\r\n }\r\n return 0;\r\n }\r\n }\r\n }\r\n}\r\n```\r\n\r\n\r\n**Expected behavior**\r\n\r\nSource file should not be empty.\r\n\r\n**Actual behavior**\r\n\r\nSource file is not found\r\n\r\n**Visual proofs (screenshots, logs, images)**\r\n\r\n\r\n\r\n\r\n**Additional context**\r\n\r\nRelated to the #710 \r\n\r\n\r\n","author":{"url":"https://github.com/amandelpie","@type":"Person","name":"amandelpie"},"datePublished":"2022-11-14T07:26:44.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/1359/UTBotJava/issues/1359"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:6677d3a1-674e-725f-ac2f-75088ba2a17c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B054:26EB3D:18B0F9:1FD7B7:69902E85 |
| html-safe-nonce | 2b15bdbbe888840e1460fcb988199cfa9296a17510659e9bbc4b14b9788c153d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMDU0OjI2RUIzRDoxOEIwRjk6MUZEN0I3OjY5OTAyRTg1IiwidmlzaXRvcl9pZCI6IjE0NzM0OTI3NzE1MjAxMzA2OTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | fbfe51756485e9c5852b58b3b80cee398c5a78e129182c9bbb2169e367de8a61 |
| hovercard-subject-tag | issue:1447533443 |
| 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/_view_fragments/issues/show/UnitTestBot/UTBotJava/1359/issue_layout |
| twitter:image | https://opengraph.githubassets.com/99b95c69837f8fabda02a8e55e69cfe56cf51bb0ea3a1c9854c877be74c289e1/UnitTestBot/UTBotJava/issues/1359 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/99b95c69837f8fabda02a8e55e69cfe56cf51bb0ea3a1c9854c877be74c289e1/UnitTestBot/UTBotJava/issues/1359 |
| og:image:alt | Description Summarization for nested classes are not generated due to the not found source file in the call Instrumenter.adapter.computeSourceFileByClass(this.method.classId.jClass, searchDirectory... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | amandelpie |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| 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 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3b33c5aedc9808f45bc5fcf0b1e4404cf749dac7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width