Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[recommenders-dev] Evaluation of a Prototype Identifying Unnecessary Code

Dear Recommenders developers,

you are working on an amazing project and I am sure you are investing a lot of time to keep it up and running!

I am researching in the field of software maintenance and I implemented a tool to identify unnecessary code in code bases using a static code analysis. The aim of my work is to support developers like you in deleting parts of the system that are not needed anymore, resulting in less wasted maintenance time due to maintaining irrelevant code. The hypothesis of my work is that stable and decentral classes are good candidates for unnecessary code and could be taken care of in a future clean-up of the software system.

I evaluated my work on the history of some open source systems and the results are promising. Nevertheless, I would like to extend my evaluation using the feedback of developers. It would be great if you could help me with your expert knowledge about your system.

Using my tool, I generated some candidates for unnecessary code for your software system, i.e. classes or even whole packages that may be unnecessary and therefore could be deleted. Unfortunately, I am not able to classify whether the recommendations are helpful. You could help me a lot by taking a look at the suggestions (I generated ten of them for you) and answering one simple question for each of them ("Do you consider the suggested file(s) or package(s) as unnecessary?"). I estimate that you do not need to invest more than 10-15 minutes into this evaluation. In addition, I hope that the 10-15 minutes also pay off for you when my work supports you in maintaining and maybe even cleaning up your project.

In the attachment, you find a file that lists ten suggestions for unnecessary code in your code base. Each suggestion consists of one or more files or packages; if there are several elements they are part of the same package. Please use the link to the evaluation form in the attached file to provide your feedback.

Please do not hesitate to ask me if there are any questions regarding my research, the prototype in general or the suggestions for your project.

I am looking forward to your feedback! Thank you very much for your help and interest in my work.

Best regards,

Roman Haas
Master's Student at the Technical University of Munich

####################################################################
###                                                              ###
###    EVALUATION OF A PROTOTYPE IDENTIFYING UNNECESSARY CODE    ###
###                                                              ###
####################################################################

####################################################################
###                         INFORMATION                          ###
####################################################################

This file contains 10 suggestions of a research prototype that tries to identify unnecessary code.
Each suggestion consists of at least one file or package identifier. If several elements are part of a suggestion, all of them will have the same parent directory.

The following TOKEN is needed for the evaluation form:
	eclipse-code-recommenders

Please copy the TOKEN above and enter it on the feedback form that is available at 
	https://goo.gl/forms/QqcIm2VeixAWuxKO2

Thank you very much for your interest in and support of my research :)

####################################################################
###                         SUGGESTIONS                          ###
####################################################################

+++ Suggestion #01 (304 LoC) +++
plugins/org.eclipse.recommenders.rcp/src/org/eclipse/recommenders/rcp/utils/Shells.java (39 LoC)
plugins/org.eclipse.recommenders.rcp/src/org/eclipse/recommenders/rcp/utils/PartListener2Adapter.java (50 LoC)
plugins/org.eclipse.recommenders.rcp/src/org/eclipse/recommenders/rcp/utils/Jobs.java (74 LoC)
plugins/org.eclipse.recommenders.rcp/src/org/eclipse/recommenders/rcp/utils/BrowserDialog.java (77 LoC)
plugins/org.eclipse.recommenders.rcp/src/org/eclipse/recommenders/rcp/utils/PreferencesHelper.java (64 LoC)

+++ Suggestion #02 (255 LoC) +++
plugins/org.eclipse.recommenders.jayes/src/org/eclipse/recommenders/internal/jayes/util/ArrayUtils.java (85 LoC)
plugins/org.eclipse.recommenders.jayes/src/org/eclipse/recommenders/internal/jayes/util/UnionFind.java (67 LoC)
plugins/org.eclipse.recommenders.jayes/src/org/eclipse/recommenders/internal/jayes/util/BidirectionalMap.java (103 LoC)

+++ Suggestion #03 (180 LoC) +++
plugins/org.eclipse.recommenders.utils/src/org/eclipse/recommenders/utils/Nonnull.java (31 LoC)
plugins/org.eclipse.recommenders.utils/src/org/eclipse/recommenders/utils/AnonymousId.java (54 LoC)
plugins/org.eclipse.recommenders.utils/src/org/eclipse/recommenders/utils/Uuidable.java (21 LoC)
plugins/org.eclipse.recommenders.utils/src/org/eclipse/recommenders/utils/NonNullByDefault.java (26 LoC)
plugins/org.eclipse.recommenders.utils/src/org/eclipse/recommenders/utils/Executors.java (48 LoC)

+++ Suggestion #04 (156 LoC) +++
plugins/org.eclipse.recommenders.net (156 LoC)

+++ Suggestion #05 (117 LoC) +++
plugins/org.eclipse.recommenders.jayes/src/org/eclipse/recommenders/jayes/util/sharing/CanonicalArrayWrapperManager.java (49 LoC)
plugins/org.eclipse.recommenders.jayes/src/org/eclipse/recommenders/jayes/util/sharing/Entry.java (44 LoC)
plugins/org.eclipse.recommenders.jayes/src/org/eclipse/recommenders/jayes/util/sharing/CanonicalIntArrayManager.java (24 LoC)

+++ Suggestion #06 (111 LoC) +++
plugins/org.eclipse.recommenders.completion.rcp/src/org/eclipse/recommenders/completion/rcp/tips/ICompletionTipProposal.java (21 LoC)
plugins/org.eclipse.recommenders.completion.rcp/src/org/eclipse/recommenders/completion/rcp/tips/AbstractCompletionTipProposal.java (90 LoC)

+++ Suggestion #07 (101 LoC) +++
plugins/org.eclipse.recommenders.testing/src/org/eclipse/recommenders/testing/jdt/JdtMockUtils.java (54 LoC)
plugins/org.eclipse.recommenders.testing/src/org/eclipse/recommenders/testing/jdt/SimpleCompletionRequestor.java (47 LoC)

+++ Suggestion #08 (85 LoC) +++
plugins/org.eclipse.recommenders.snipmatch.rcp/src/org/eclipse/recommenders/internal/snipmatch/rcp/editors/SnippetEditorActionBarContributor.java (85 LoC)

+++ Suggestion #09 (82 LoC) +++
plugins/org.eclipse.recommenders.jayes/src/org/eclipse/recommenders/jayes/factor/opcache (82 LoC)

+++ Suggestion #10 (71 LoC) +++
plugins/org.eclipse.recommenders.injection/src/org/eclipse/recommenders/injection/ExtensionFactory.java (71 LoC)


Back to the top