-
Notifications
You must be signed in to change notification settings - Fork 8
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 informal diagram consistency pipeline steps #308
Conversation
# Conflicts: # pom.xml
Release 0.23.0 # Conflicts: # framework/common/src/main/java/edu/kit/kastel/mcse/ardoco/core/api/models/arcotl/code/Datatype.java # pom.xml # stages/model-provider/src/main/java/edu/kit/kastel/mcse/ardoco/core/models/connectors/generators/code/java/JavaModel.java
Release 0.26.0 # Conflicts: # pom.xml
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some comments before CI build :)
Co-authored-by: Dominik Fuchß <[email protected]>
Two points:
|
# Conflicts: # framework/common/pom.xml
PR in benchmark is here: ArDoCo/Benchmark#12 |
…m 7675243a..daeaee7e daeaee7e Update code models to contain parent class and reference info (ArDoCo#12) 4fae195e Format Code Model. Fix ArDoCo#13 814aa945 Remove duplicate in GS git-subtree-dir: tests/tests-base/src/main/resources/benchmark git-subtree-split: daeaee7e6273722b44a1a82b5d7bdd204edd743c
Thanks :) I've updated the benchmark. Let's wait for the CI |
@jeanpmathes can you look at
|
The commits might fix the first failure, but I am not sure as I can't reproduce it. For the other two problems I am still looking for a reason. |
Maybe you have to clear some AppData/ArDoCo folders. |
@jeanpmathes in #315 we beautified the JSON of the Code Model. Could you regenerate the Code Model (adapted version) and create another PR in benchmark again :) Then the review should be easy. |
# Conflicts: # framework/common/src/main/java/edu/kit/kastel/mcse/ardoco/core/api/models/arcotl/code/Datatype.java
The new PR is here: ArDoCo/Benchmark#16 Concerning the failed tests, the problem seems to be an empty code model. When loading the model, no cloned code is available to extract from and just reading in does not work. The last commit clones when loading, this might not be an ideal solution. |
…m daeaee7e..9bbc3a89 9bbc3a89 Update code models to contain parent class and reference info, using new formatting (ArDoCo#16) fe5a8549 Update the codemodel to be more (human) readable git-subtree-dir: tests/tests-base/src/main/resources/benchmark git-subtree-split: 9bbc3a89677ffba98bb861f0c0206a93c61ec5d1
...common/src/main/java/edu/kit/kastel/mcse/ardoco/core/api/diagramconsistency/common/Edge.java
Outdated
Show resolved
Hide resolved
...mmon/src/main/java/edu/kit/kastel/mcse/ardoco/core/api/diagramconsistency/common/Vertex.java
Outdated
Show resolved
Hide resolved
Something seems wrong with coverage calculation, it fails even before verify is done. Checking coverage locally leads to a higher value, which also makes sense because multiple of the tests run the entire pipeline that is added. |
It works now :) I'll have a look at the code again but I think it will be good 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In summary, it looks good to me. Thanks a lot.
.../main/java/edu/kit/kastel/mcse/ardoco/core/api/diagramconsistency/common/TextSimilarity.java
Outdated
Show resolved
Hide resolved
...t/java/edu/kit/kastel/mcse/ardoco/core/diagramconsistency/evaluation/EvaluationTestBase.java
Show resolved
Hide resolved
stages/model-provider/src/test/resources/interface/edu/AClass.java
Outdated
Show resolved
Hide resolved
|
@jeanpmathes thanks for the PR. Well done :) I'll merge it now ! |
This PR adds a module containing steps to find trace links between diagrams and models (architecture, code). Addionally, the code model is adapted to contain more information, including references to used types and parent classes for nested classes.