RefactoringMiner
RefactoringMiner copied to clipboard
**Problem** Refactoring Miner was not able to detect that `getData` was extracted from `dataAttr` **Steps to Reproduce** 1. Go to https://github.com/mkshiblu/practice/commit/d521357223d71fb57dba9d61afbe84a6d2672ac5 2. Run the chrome extension **Observed Behavior** - No...
**Observation** The parameter of the Extract Method has been wrongly argumentized. **Commit** [Here](https://github.com/spring-projects/spring-boot/commit/b47634176fa48ad925f79886c6aaca225cb9af64) **Extracted Method** findAll(Predicate predicate) which is extracted two times **Explanation** The parameter of the aforementioned method has...
Hello! I noticed that RefactoringMiner doesn't detect Inline Variable refactoring at the following code changes: Before: ``` public String getName() { String name = "A"; return name; } ``` After:...
**Problem** Refactoring Miner was not able to detect that variable *d* was renamed to *responseData*. **Steps to Reproduce** 1. Go to https://github.com/mkshiblu/practice/commit/b582281fe26daf8a4b8247e63fce7b9690ef24f0 2. Run the chrome extension **Observed Behavior** -...
[JavaRecreation of JS Extract Method] Cannot detect relatively simple Extract Operation refactoring
**Problem** Refactoring Miner was not able to detect that *stringifyFn()* was extracted from *extractArgs()*. **Steps to Reproduce** 1. Go to https://github.com/mkshiblu/practice/commit/e6c793bfa5c087e41d1d32af87757411ca96b08b 2. Run the chrome extension **Observed Behavior** - No...
@tsantalis I was wondering if you plan on (or open to ) add another RMiner API (like `detectAtCommit` we could have `detectBetweenDirectories`) that mines Refactorings between 2 versions of a...
**Title** Sub-expression matching **Commit** [giraph/87f3c4d](https://github.com/apache/giraph/commit/87f3c4d8572ee8f7244af8a92dc3312ce24260e3) **Refactroing** Extract method **private getWorkerCommunications()** at the very end of the commit. **Observation** This refactoring is **correctly reported by RefactroingMiner**. Through this extract method operation,...
#### Problem **Q1:** Move Operation **cssMatcher** to *Matchers.java* file. True or False? **Q2:** Move Operation **toEqualData** and **toEqualError**, to *Matchers.java* file. True or False? #### Steps to Reproduce 1. Go...
Contributions: - Refactored existing code (decreasing code duplication and verbosity and increasing reuse, readability, and testability) - Added 48 test methods - Added lombok annotations for getter, setter, and Builder...
https://github.com/belaban/JGroups/commit/7d95e45b760c33dc56efcc8ba76dcfbb9875b2aa#diff-1e64fda7a561f18937972f295f9198f21b7f6c1a8fcbafdaf7f0c4b965fa1abeL104 This should have been a one-to-many statement mapping, but was reported as one-to-one between l.104 - r.105