GithubHelp home page GithubHelp logo

ufwt / feature-location-on-android-source-code Goto Github PK

View Code? Open in Web Editor NEW

This project forked from johnwenjunwu/feature-location-on-android-source-code

0.0 1.0 0.0 12.25 MB

Used LDA model to do Feature Location on Android Source Code

License: Other

Makefile 0.09% Shell 0.23% Batchfile 0.06% Java 99.49% HTML 0.12%

feature-location-on-android-source-code's Introduction

Feature Location on Android Source Code

Software maintenance and evolution tasks first require programmers to understand the implementation of specific parts of an existing software system. To do so requires locating the source code that implements functionality, that’s an activity called feature location.

In other words, a feature is a functional requirement of a program, such as spelling checking in a word processor or drawing a shape in a paint program. And the location is the activity of identifying the source code elements, such as methods or files, that implement the feature.

In my research, the scenario is that we have two inputs: the Android source code and a natural language-like query provided by commits in the Github. The output is a list of java files that implement the feature. The group truth is the records with significant change compared to the previous version, which is listed in the Commit file.

Our goal is to find near-complete implementations of features.

Traditionally, there are three approaches to locate the11 source code: Textual, Static and Dynamic. The biggest challenge and difference to previous work is that the flow chart on Android Source Code is not complete compared to that of Java since it runs on the Android Operating System. Right now, we have adapted textual and static feature location techniques to Android Source Code, and have achieved higher accuracy by combining these two techniques according to the characteristics of Android.

Flowchart:

Flowchart

Result:

top

feature-location-on-android-source-code's People

Contributors

johnwenjunwu avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.