Automated Cross-Platform Code Synthesis from Web-Based Programming Resources

dc.contributor.authorByalik, Antuanen
dc.contributor.committeechairTilevich, Elien
dc.contributor.committeememberBatra, Dhruven
dc.contributor.committeememberRaghvendra, Sharathen
dc.contributor.departmentComputer Scienceen
dc.date.accessioned2015-08-05T08:01:05Zen
dc.date.available2015-08-05T08:01:05Zen
dc.date.issued2015-08-04en
dc.description.abstractFor maximal market penetration, popular mobile applications are typically supported on all major platforms, including Android and iOS. Despite the vast differences in the look-and-feel of major mobile platforms, applications running on these platforms in essence provide the same core functionality. As an application is maintained and evolved, programmers need to replicate the resulting changes on all the supported platforms, a tedious and error-prone programming process. Commercial automated source-to-source translation tools prove inadequate due to the structural and idiomatic differences in how functionalities are expressed across major platforms. In this thesis, we present a new approach---Native-2-Native---that automatically synthesizes code for a mobile application to make use of native resources on one platform, based on the equivalent program transformations performed on another platform. First, the programmer modifies a mobile application's Android version to make use of some native resource, with a plugin capturing code changes. Based on the changes, the system then parameterizes a web search query over popular programming resources (e.g., Google Code, StackOverflow, etc.), to discover equivalent iOS code blocks with the closest similarity to the programmer-written Android code. The discovered iOS code block is then presented to the programmer as an automatically synthesized Swift source file to further fine-tune and subsequently integrate in the mobile application's iOS version. Our evaluation, enhancing mobile applications to make use of common native resources, shows that the presented approach can correctly synthesize more than 86% of Swift code for the subject applications' iOS versions.en
dc.description.degreeMaster of Scienceen
dc.format.mediumETDen
dc.identifier.othervt_gsexam:6052en
dc.identifier.urihttp://hdl.handle.net/10919/55273en
dc.publisherVirginia Techen
dc.rightsIn Copyrighten
dc.rights.urihttp://rightsstatements.org/vocab/InC/1.0/en
dc.subjectRecommendation Systemsen
dc.subjectCode Synthesisen
dc.subjectMobile Computingen
dc.subjectAndroiden
dc.subjectiOSen
dc.subjectJavaen
dc.subjectSwiften
dc.titleAutomated Cross-Platform Code Synthesis from Web-Based Programming Resourcesen
dc.typeThesisen
thesis.degree.disciplineComputer Science and Applicationsen
thesis.degree.grantorVirginia Polytechnic Institute and State Universityen
thesis.degree.levelmastersen
thesis.degree.nameMaster of Scienceen

Files

Original bundle
Now showing 1 - 2 of 2
Loading...
Thumbnail Image
Name:
Byalik_A_T_2015.pdf
Size:
3.2 MB
Format:
Adobe Portable Document Format
Loading...
Thumbnail Image
Name:
Byalik_A_T_2015_support_1.pdf
Size:
2.14 MB
Format:
Adobe Portable Document Format
Description:
Supporting documents

Collections