-
Notifications
You must be signed in to change notification settings - Fork 1
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
CK not being able to link class/methods with RMiner data #10
Comments
Exampleshttps://github.com/fossasia/open-event-droidgen
https://github.com/lucko/LuckPerms
|
|
Examples from stress test 05:
|
For case 1: If you see the commit, drawNode is defined as (I informed RMiner folks: tsantalis/RefactoringMiner#91) For case 2: Code does not compile. Similar to a previous example we had, where you see that it was a bad merge. See commit. |
Example from the stress test 6 (thanks, @jan-gerling):
I'll debug it. |
First example that I just debugged: we couldn't find the class, because the refactoring is inside an anonymous class. Linking an anonymous class retuned by CK and by RMiner is tricky. See issue in CK: mauricioaniche/ck#54. |
Same thing for this other example. Anonymous class. |
And now, even from the log, I can see the problem directly from the logs. For example, I see Maybe this is a feature I should implement right now in CK. |
That's an important edge case, nice if it is handled. |
Shall we close this one? Last one seemed to be about anonymous classes, which we are ignoring now, if I recall correctly, right? |
Sometimes, our tool can't link the method that was refactored (coming from RMiner) and the metrics that CK extracts.
Below, we'll show some examples for debugging.
The text was updated successfully, but these errors were encountered: