Skip to content
This repository was archived by the owner on Nov 23, 2024. It is now read-only.
This repository was archived by the owner on Nov 23, 2024. It is now read-only.

Data model for Purity-Information #5

Closed
@lukarade

Description

@lukarade

Is your feature request related to a problem?

To infer the Purity-Information as suggested in #6 a new data model is needed

Desired solution

The new data model should be able to represent all possible read and write accesses.
Therefore, it should consider all kinds of accesses:

  • global variables
  • attributes
  • parameters
  • fields

It should also be able to represent the reasons for impurity:

  • variables (read/write)
  • files (read/write)
  • 'unknown'- calls (case if reason could not be inferred)
  • function calls (which function with which arguments)

It should also be possible to identify an object, so each object should have its own unique ID.

Define the _purity data class in package-parser/package_parser/processing/api/model/.

Possible alternatives (optional)

No response

Screenshots (optional)

No response

Additional Context (optional)

No response

Metadata

Metadata

Assignees

Labels

enhancement 💡New feature or requestpurityInferring the purity of functions

Type

No type

Projects

Status

✔️ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions