Safe-DS / Library-Analyzer

Analysis of Python libraries and of code that uses them.
https://library-analyzer.safeds.com
MIT License
5 stars 0 forks source link

Correct origins for `CombinedCallGraphNodes` #267

Closed lukarade closed 4 months ago

lukarade commented 6 months ago

Is your feature request related to a problem?

Currently, the origins of the Reasons of nodes combined by a CombinedCallGraphNode are determined when the combined node is separated. Sometimes the origin cannot be found and the combined NodeID is used instead. This leads to very long results when the NodeID is stringified for the output json file.

Desired solution

Store the origin with the Symbol in the corresponding set of the Reasons object. With this, every origin of each node in the CombinedCallGraphNodes can be determined.

Possible alternatives (optional)

No response

Screenshots (optional)

No response

Additional Context (optional)

No response