Title: Add logical locations to SARIF reports by mmvpm · Pull Request #1456 · UnitTestBot/UTBotJava · GitHub
Open Graph Title: Add logical locations to SARIF reports by mmvpm · Pull Request #1456 · UnitTestBot/UTBotJava
X Title: Add logical locations to SARIF reports by mmvpm · Pull Request #1456 · UnitTestBot/UTBotJava
Description: Description A new field has been introduced in SARIF reports: locations.logialLocations. It is used to store the class name in which an error was detected. Example: "locations" : [ { "physicalLocation" : { "artifactLocation" : { "uri" : "src/main/java/io/github/ideaseeker/Main.java", "uriBaseId" : "%SRCROOT%" }, "region" : { "startLine" : 6, "startColumn" : 9 } } }, { "logicalLocations" : [ { // new field "fullyQualifiedName" : "io.github.ideaseeker.Main" } ] } ], It helps to fix #1381 because errors from the one class may refer to another class. Also this PR fixes #1383 by adding org.utbot.sarif.SarifReport#getMethodDefinitionLineNumber for methods without the last line number in the execution path: Fixes #1381, #1383 Type of Change Bug fix (non-breaking change which fixes an issue) How Has This Been Tested? Regression and integration tests org.utbot.sarif.SarifReportTest Manual Scenario Please, repeat the scenario from the issues and check the result 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 A new field has been introduced in SARIF reports: locations.logialLocations. It is used to store the class name in which an error was detected. Example: "locations" : [ { &q...
X Description: Description A new field has been introduced in SARIF reports: locations.logialLocations. It is used to store the class name in which an error was detected. Example: "locations" : ...
Opengraph URL: https://github.com/UnitTestBot/UTBotJava/pull/1456
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:fb9421d3-310c-7084-eb7a-0693b233be90 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B170:1D6B7A:106A32:16D145:698F47F5 |
| html-safe-nonce | 53f598a00568541ba712845f37d6e549b3745e91c45279dd56d00cb2817b75ee |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMTcwOjFENkI3QToxMDZBMzI6MTZEMTQ1OjY5OEY0N0Y1IiwidmlzaXRvcl9pZCI6IjM4NjExODQzOTI2NzMwNTI2NjEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a9fe36d2424850f5b13a82680040c8f03d5d43b8f732af2df92b047dca6757f5 |
| hovercard-subject-tag | pull_request:1147002252 |
| 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/UnitTestBot/UTBotJava/pull/1456/files |
| twitter:image | https://avatars.githubusercontent.com/u/54814796?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/54814796?s=400&v=4 |
| og:image:alt | Description A new field has been introduced in SARIF reports: locations.logialLocations. It is used to store the class name in which an error was detected. Example: "locations" : [ { &q... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 6102991c714c1a6a27d05fb4f96ea6ca87a6750b4f093b95cc57ed1b84b145a1 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 6a0e76b4dbdd86599b4b518abe0e57175194496e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width