Studying the relationship between source code quality and mobile platform dependence

Authors: Mark D. Syer Meiyappan Nagappan Bram Adams Ahmed E. Hassan

Venue: Software Quality Journal, Vol. 23, No. 3, pp. 485-508, 2014

Year: 2014

Abstract: The recent meteoric rise in the use of smartphones and other mobile devices has led to a new class of software applications (i.e., mobile apps). One reason for this success is the extensive support available to mobile app developers through the APIs provided by mobile platforms (e.g., Android). In our previous research, we found that mobile apps tend to depend highly on these platform-specific APIs. High dependence on a particular mobile platform may introduce instability and defects, as these mobile platforms are rapidly evolving. Therefore, the extent of platform dependence may be an indicator of software quality. In this paper, we examine the relationship between platform dependence and defect proneness of the source code files of an Android app to determine whether software metrics based on platform dependence can be used to prioritize software quality assurance efforts. We find that (1) source code files that are defect prone have a higher dependence on the platform than defect-free files and (2) increasing the platform dependence increases the likelihood of a defect being present in a source code file. Thus, platform dependence may be used to prioritize the most defect-prone source code files for code reviews and unit testing by the software quality assurance team.

BibTeX:

@article{markd.syer2014strbscqampd,
    author = "Mark D. Syer and Meiyappan Nagappan and Bram Adams and Ahmed E. Hassan",
    title = "Studying the relationship between source code quality and mobile platform dependence",
    year = "2014",
    pages = "485-508",
    journal = "Software Quality Journal",
    volume = "23",
    number = "3"
}

Plain Text:

Mark D. Syer, Meiyappan Nagappan, Bram Adams, and Ahmed E. Hassan, "Studying the relationship between source code quality and mobile platform dependence," Software Quality Journal, pp. 485-508