Recommending Method Invocation Context Changes

Recommending Method Invocation Context Changes

inproceedings
Beat Fluri, Harald C. Gall, Jonas Zuberbuehler
Our investigations of bug fixes in Eclipse showed that a significant amount of bugs were fixed by moving invocations of certain methods into the then or else-part of if-statements with similar conditions. Based on this finding, we leverage such context changes applied in the past to support developers while adding invocations of the same method. In this paper we present ChangeCommander, an Eclipse plugin that implements our approach to recommend insertions of particular if-statements before calling a method. ChangeCommander presents context change suggestions by highlighting affected method invocations in the source code and provides automated code adaptation support.
Recommending Method Invocation Context Changes
2008
ACM
Proceedings of the 1st International Workshop on Recommender Systems for Software Engineering
November
4 (to appear)
s.e.a.l.