Skip to content

Refactor builder and Implement builder for DFD#92

Merged
sebinside merged 15 commits intomainfrom
dfd-builder
Jan 10, 2024
Merged

Refactor builder and Implement builder for DFD#92
sebinside merged 15 commits intomainfrom
dfd-builder

Conversation

@Entenwilli
Copy link
Member

@Entenwilli Entenwilli commented Dec 27, 2023

This PR refactors and simplifies the builder for creating subtypes of the dataflow analysis. Furthermore, it implements the builder for the DFD Analysis.

This PR resolves #87, #102 and #88

@Entenwilli Entenwilli added the enhancement New feature or request label Dec 27, 2023
@Entenwilli Entenwilli self-assigned this Dec 27, 2023
@Entenwilli Entenwilli linked an issue Dec 27, 2023 that may be closed by this pull request
@Entenwilli Entenwilli mentioned this pull request Dec 27, 2023
13 tasks
@Entenwilli Entenwilli marked this pull request as ready for review December 27, 2023 19:31
@Entenwilli
Copy link
Member Author

For this PR, I would prefer if we perform a thorough code review, because there is some code duplication in the changes i do not know how to avoid

@Nicolas-Boltz
Copy link
Member

@Entenwilli As there are a lot of changes, could you highlight the critical spots for us? For example, just by adding comments to the code in this PR.

@Entenwilli
Copy link
Member Author

Added some comments about parts to review @Nicolas-Boltz @sebinside

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.

I had a quick look at the changes and played with code in Eclipse. I'm happy with new look and feel of the builders.

Besides the already ongoing discussion, I only have two additional points:

  • The refactoring into three separate projects: I like it, but I would also like to hear @Nicolas-Boltz opinion on that as he recently already cleaned up the project
  • There seems to be some code duplication in the resource provider, e.g. findElement and lookupElementWithId. As these are technical and hard-to-understand methods, we should avoid this.

@Entenwilli
Copy link
Member Author

@sebinside @Nicolas-Boltz This PR is now ready to be reviewed again 🎉

@Entenwilli Entenwilli linked an issue Jan 9, 2024 that may be closed by this pull request
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.

Thank you for the quick reaction and for addressing our concerns! I think the only thing missing is the replacement of the AnalysisData class by its content. But I would opt for addressing this in a subsequent PR in order to merge this PR as fast as possible :)

@sebinside sebinside merged commit b86a4bc into main Jan 10, 2024
@sebinside sebinside deleted the dfd-builder branch January 10, 2024 14:27
@sebinside sebinside added this to the 1.0.0 milestone Jan 24, 2024
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.

lookupElementOfType does not work as intended Refactor and clean up builder Create builder for analysis of DFD models

3 participants