Affiliation:
1. ETH Zurich, Zurich, Switzerland
2. IBM Thomas J. Watson Research Center, Yorktown Heights, NY, USA
Abstract
Mobile app markets have lowered the barrier to market entry for software producers. As a consequence, an increasing number of independent app developers offer their products, and recent platforms such as the MIT App Inventor and Microsoft's TouchDevelop enable even lay programmers to develop apps and distribute them in app markets.
A major challenge in this distribution model is to ensure the quality of apps. Besides the usual sources of software errors, mobile apps are susceptible to errors caused by the non-determinism of an event-based execution model, a volatile environment, diverse hardware, and others. Many of these errors are difficult to detect during testing, especially for independent app developers, who are not supported by test teams and elaborate test infrastructures.
To address this problem, we propose a static program analysis that captures the specifics of mobile apps and is efficient enough to provide feedback during the development process. Experiments involving 51,456 published TouchDevelop scripts show that our analysis analyzes 98% of the scripts in under a minute, and five seconds on average. Manual inspection of the analysis results for a selection of all scripts shows that most of the alarms are real errors.
Publisher
Association for Computing Machinery (ACM)
Subject
Computer Graphics and Computer-Aided Design,Software
Reference30 articles.
1. TouchDevelop Web API cloud statistics. https://www.touchdevelop.com/api/stats. Accessed: 2013-09-17. TouchDevelop Web API cloud statistics. https://www.touchdevelop.com/api/stats. Accessed: 2013-09-17.
2. A static analyzer for large safety-critical software
3. Cloud Types for Eventual Consistency
4. Analyzing inter-application communication in Android
Cited by
1 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Collaborative security code review;Proceedings of the 14th International Conference on Mobile and Ubiquitous Multimedia;2015-11-30