Skip to content

Addition of true difference detection for Famix-Simpl-Diff#15

Open
AntoninGoslin wants to merge 24 commits intomoosetechnology:differences-listfrom
AntoninGoslin:task4_implementation_of_differences_for_addition_and_deletion
Open

Addition of true difference detection for Famix-Simpl-Diff#15
AntoninGoslin wants to merge 24 commits intomoosetechnology:differences-listfrom
AntoninGoslin:task4_implementation_of_differences_for_addition_and_deletion

Conversation

@AntoninGoslin
Copy link
Copy Markdown
Contributor

A FamixDiff class has been added to the Famix-Simpl-Diff package.
Famix-Simpl-Diff now includes a list of the differences it will record whilst traversing the entities.
We have different type of differences:

  • propertyChanged
  • relationChanged
  • entityChanged
  • entityAdded
  • entityRemoved

I mainly changed the methods compareRelation: from: to: and compareEntity: to: in order to implement the differences logic

We need to fix some issues relating to the way we check for additions and removals. Some tests depend on the order in which we iterate through the lists of entities, and it's not normal.

We will also need to change the way we return informations. At the moment, we only return a boolean value, without the actual list of concrete differences.

…xpected: ' ' | Actual: 'private int something' | On Class1)
…ces between the two models, and not just a boolean. Need to add some tests now
…ist of one difference with the entityChanged reason
…ame methods or not. Used for TDD, not working for the moment
…ve a list of all the differences that represent deletion
…ve a list of all the differences that represent addition
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant