Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Converter from PCM to DFD #9

Merged
merged 38 commits into from
Sep 9, 2024
Merged

Conversation

Entenwilli
Copy link
Member

This PR adds a complete converter from PCM models to DFD models

@Entenwilli Entenwilli added the enhancement New feature or request label Jul 16, 2024
@Entenwilli Entenwilli marked this pull request as draft July 16, 2024 12:34
@Entenwilli
Copy link
Member Author

@01Parzival10 Done the Renaming in DataFlowAnalysis/DataFlowAnalysis#190

@01Parzival10 01Parzival10 marked this pull request as ready for review July 26, 2024 12:32
@sebinside
Copy link
Member

sebinside commented Jul 30, 2024

Tasks:

  • make behavior converter readable
  • add test: same violations if PCM -> TFG vs. PCM -> DFD -> TFG
  • add test: grap a specific DFD node and manually compare the behavior against stoex

01Parzival10 and others added 2 commits July 30, 2024 13:39
…straint based Tests, works in conjunction with dfdEfficiency branch
@01Parzival10
Copy link
Contributor

01Parzival10 commented Aug 16, 2024

Currently, the pipeline fails due to crashing resulted from insufficient heap space

And it will continue to do so until #198 of the Analysis is reviewed and merged

@Entenwilli
Copy link
Member Author

PR is merged now, updatesite should update today

@Entenwilli
Copy link
Member Author

This PR is now ready for review, @sebinside @Nicolas-Boltz @uuqjz

Copy link
Collaborator

@uuqjz uuqjz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Found some stuff mostly regarding testing and some oversights
As i hopped between files the comments are not in file order

@Entenwilli
Copy link
Member Author

@uuqjz This PR is ready for re-review!

@Entenwilli Entenwilli requested a review from uuqjz August 31, 2024 13:57
Copy link
Collaborator

@uuqjz uuqjz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

uuqjz
uuqjz previously approved these changes Aug 31, 2024
Copy link
Collaborator

@uuqjz uuqjz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@uuqjz
Copy link
Collaborator

uuqjz commented Sep 3, 2024

@sebinside @Nicolas-Boltz, please review at your earliest convenience

Copy link
Member

@sebinside sebinside left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The fact that the PCMConverter class is nearly 1000 lines long underlines its complexity - maybe that's something to refactor in a future version. For now, I'm impressed, the PR ist fine from my side.

Copy link
Member

@Nicolas-Boltz Nicolas-Boltz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks good to me and can be merged for the 3.0.0 release.

However, the code should be refactored to improve some of the very complex and long methods, missing documentation and general length of the PCMConverter class.
I have created DataFlowAnalysis/DataFlowAnalysis#203 that covers these points as improvements for a future release.

@Nicolas-Boltz Nicolas-Boltz merged commit 03b0743 into main Sep 9, 2024
1 check passed
@Nicolas-Boltz Nicolas-Boltz deleted the assignmentAndBehaviourChange branch September 24, 2024 11:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants