System Development & Application
|
2763-2767

Empirical study on code smell co-occurrences in Android applications

Bian Yixin1
Wang Luying1
Zhao Song1
Zhu Xiao2
1. College of Computer Science & Information Engineering, Harbin Normal University, Harbin 150025, China
2. School of Computer & Control Engineering, Yantai University, Yantai Shandong 264005, China

Abstract

Code smell co-occurrences are more harmful to the systems than the individual smell type. Although multiple research works have focused on the code smell co-occurrences in traditional desktop applications, the researchers pay less attention to the code smell co-occurrences in Android applications. In order to study the phenomenon of object-oriented code smells co-occurrences in Android applications and then compared it with the phenomenon of code smell co-occurrences in desktop applications. This paper analyzed 10 object-oriented code smell types detected in 285 Android Apps and 30 desktop Apps. Firstly, it calculated the percentage of classes affected by various kinds of smells according to the detection results. Secondly, it analyzed the frequency of code smell co-occurrences with a formula. Finally, it used the Spearman correlation coefficient to analyze the relationship between code smell co-occurrences and the size of the application. The results show that: a) In Android applications, 31.04% of smelly classes were affected by more than one type of code smells. b) In the applications of the two platforms, two pairs of code smells, brain class-brain method and god class-brain method, frequently co-occur. c) One type of smells, the co-occurrences of two types of smells, and the co-occurrences of three types of smells are strongly correlated with the size of Android applications.

Foundation Support

国家自然科学基金资助项目(61902094)
哈尔滨师范大学博士科研启动基金资助项目(XKB201801)
黑龙江省自然科学基金资助项目(QC2018082)
黑龙江省普通本科高等学校青年创新人才培养计划资助项目(UNPYSCT-2018183)
哈尔滨师范大学计算机科学与信息工程学院科研项目(JKYKYY202004,JKYKYZ202104)

Publish Information

DOI: 10.19734/j.issn.1001-3695.2022.02.0060
Publish at: Application Research of Computers Printed Article, Vol. 39, 2022 No. 9
Section: System Development & Application
Pages: 2763-2767
Serial Number: 1001-3695(2022)09-031-2763-05

Publish History

[2022-04-26] Accepted Paper
[2022-09-05] Printed Article

Cite This Article

边奕心, 王露颖, 赵松, 等. Android应用程序中代码异味共存现象的实证研究 [J]. 计算机应用研究, 2022, 39 (9): 2763-2767. (Bian Yixin, Wang Luying, Zhao Song, et al. Empirical study on code smell co-occurrences in Android applications [J]. Application Research of Computers, 2022, 39 (9): 2763-2767. )

About the Journal

  • Application Research of Computers Monthly Journal
  • Journal ID ISSN 1001-3695
    CN  51-1196/TP

Application Research of Computers, founded in 1984, is an academic journal of computing technology sponsored by Sichuan Institute of Computer Sciences under the Science and Technology Department of Sichuan Province.

Aiming at the urgently needed cutting-edge technology in this discipline, Application Research of Computers reflects the mainstream technology, hot technology and the latest development trend of computer application research at home and abroad in a timely manner. The main contents of the journal include high-level academic papers in this discipline, the latest scientific research results and major application results. The contents of the columns involve new theories of computer discipline, basic computer theory, algorithm theory research, algorithm design and analysis, blockchain technology, system software and software engineering technology, pattern recognition and artificial intelligence, architecture, advanced computing, parallel processing, database technology, computer network and communication technology, information security technology, computer image graphics and its latest hot application technology.

Application Research of Computers has many high-level readers and authors, and its readers are mainly senior and middle-level researchers and engineers engaged in the field of computer science, as well as teachers and students majoring in computer science and related majors in colleges and universities. Over the years, the total citation frequency and Web download rate of Application Research of Computers have been ranked among the top of similar academic journals in this discipline, and the academic papers published are highly popular among the readers for their novelty, academics, foresight, orientation and practicality.


Indexed & Evaluation

  • The Second National Periodical Award 100 Key Journals
  • Double Effect Journal of China Journal Formation
  • the Core Journal of China (Peking University 2023 Edition)
  • the Core Journal for Science
  • Chinese Science Citation Database (CSCD) Source Journals
  • RCCSE Chinese Core Academic Journals
  • Journal of China Computer Federation
  • 2020-2022 The World Journal Clout Index (WJCI) Report of Scientific and Technological Periodicals
  • Full-text Source Journal of China Science and Technology Periodicals Database
  • Source Journal of China Academic Journals Comprehensive Evaluation Database
  • Source Journals of China Academic Journals (CD-ROM Version), China Journal Network
  • 2017-2019 China Outstanding Academic Journals with International Influence (Natural Science and Engineering Technology)
  • Source Journal of Top Academic Papers (F5000) Program of China's Excellent Science and Technology Journals
  • Source Journal of China Engineering Technology Electronic Information Network and Electronic Technology Literature Database
  • Source Journal of British Science Digest (INSPEC)
  • Japan Science and Technology Agency (JST) Source Journal
  • Russian Journal of Abstracts (AJ, VINITI) Source Journals
  • Full-text Journal of EBSCO, USA
  • Cambridge Scientific Abstracts (Natural Sciences) (CSA(NS)) core journals
  • Poland Copernicus Index (IC)
  • Ulrichsweb (USA)