首页 > 最新文献
paperpass

2021 IEEE/ACM 8th International Conference on Mobile Software Engineering and Systems (MobileSoft)最新文献

英文 中文
Quantifying the adoption of Kotlin on Android stores: Insight from the bytecode 量化Kotlin在Android商店的应用:来自字节码的洞察
Geoffrey Hecht, Alexandre Bergel
Android apps have been traditionally built using Java since the inception of Android. However, Google announced Kotlin as an official supported language for the Android platform in May 2017. Since then, the popularity of Kotlin for Android projects has steadily increased, to the point that Google announced in 2019 that "Android development will be Kotlin-first" with nearly 60% of the top 1,000 Android apps containing Kotlin code. Yet, the transition from Java to Kotlin seems gradual and most applications still partially use Java. Outside open-source apps, little is known about the real proportion of code written in Kotlin inside apps. This paper supports a better understanding of the adoption of Kotlin in the Android ecosystem. We propose an approach to identify the language, Java or Kotlin, in which a class bytecode of an Android Package Kit (APK) originate from. We applied our model on more than 200k closed-source APKs from app stores and found that (i) most of the apps classes are still written in Java, indicating a mitigated adoption of Kotlin in less popular apps, (ii) the penetration of Kotlin is steadily increasing since 2017. We believe our insights are valuable to assess the adoption of Kotlin at large.
自Android诞生以来,Android应用程序一直是使用Java构建的。然而,谷歌在2017年5月宣布Kotlin为Android平台的官方支持语言。从那时起,Kotlin在Android项目中的受欢迎程度稳步上升,以至于谷歌在2019年宣布“Android开发将以Kotlin为优先”,前1000个Android应用程序中有近60%包含Kotlin代码。然而,从Java到Kotlin的过渡似乎是渐进的,大多数应用程序仍然部分地使用Java。在开源应用之外,很少有人知道在应用内部用Kotlin编写的代码的真实比例。本文有助于更好地理解Kotlin在Android生态系统中的应用。我们提出了一种方法来识别语言,Java或Kotlin,其中一个类字节码的Android包工具包(APK)的起源。我们将我们的模型应用于来自应用商店的20多万个闭源apk,发现(i)大多数应用程序类仍然用Java编写,这表明Kotlin在不太受欢迎的应用程序中的采用有所减少,(ii) Kotlin的渗透率自2017年以来稳步增长。我们相信我们的见解对于评估Kotlin的广泛采用是有价值的。
{"title":"Quantifying the adoption of Kotlin on Android stores: Insight from the bytecode","authors":"Geoffrey Hecht, Alexandre Bergel","doi":"10.1109/MobileSoft52590.2021.00019","DOIUrl":"https://doi.org/10.1109/MobileSoft52590.2021.00019","url":null,"abstract":"Android apps have been traditionally built using Java since the inception of Android. However, Google announced Kotlin as an official supported language for the Android platform in May 2017. Since then, the popularity of Kotlin for Android projects has steadily increased, to the point that Google announced in 2019 that \"Android development will be Kotlin-first\" with nearly 60% of the top 1,000 Android apps containing Kotlin code. Yet, the transition from Java to Kotlin seems gradual and most applications still partially use Java. Outside open-source apps, little is known about the real proportion of code written in Kotlin inside apps. This paper supports a better understanding of the adoption of Kotlin in the Android ecosystem. We propose an approach to identify the language, Java or Kotlin, in which a class bytecode of an Android Package Kit (APK) originate from. We applied our model on more than 200k closed-source APKs from app stores and found that (i) most of the apps classes are still written in Java, indicating a mitigated adoption of Kotlin in less popular apps, (ii) the penetration of Kotlin is steadily increasing since 2017. We believe our insights are valuable to assess the adoption of Kotlin at large.","PeriodicalId":257528,"journal":{"name":"2021 IEEE/ACM 8th International Conference on Mobile Software Engineering and Systems (MobileSoft)","volume":"140 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2021-05-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"115729633","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 2
ITDroid: A Tool for Automated Detection of i18n Issues on Android Apps ITDroid:用于自动检测Android应用程序中的i18n问题的工具
Camilo Escobar-Velásquez, Andrés Donoso-Diaz, M. Linares-Vásquez
Mobile markets allow developers to easily distribute mobile apps worldwide and collect complaints and feature requests in the form of user reviews and star ratings. Therefore, internationalization (i18n) of apps is a highly desired feature, which is currently supported in mobile platforms by using resources files with strings that can be internationalized manually. Nevertheless, since it requires human interaction it is a cumbersome and fault-prone process. Therefore, in this paper, we present ITDroid, an open source tool for automatically detecting i18n bad practices and collateral changes introduced in the GUIs of Android apps. We have validated our approach by executing ITDroid with 31 Android apps and we have identified different types of changes and bugs due to internationalization.GITHUB: https://bit.ly/38wC7uO VIDEO: https://bit.ly/3tXwSvy
手机市场允许开发者轻松地在全球范围内推广手机应用,并以用户评论和星级评价的形式收集投诉和功能请求。因此,应用程序的国际化(i18n)是一个非常需要的功能,目前在移动平台上通过使用可以手动国际化的字符串的资源文件来支持。然而,由于它需要人工交互,这是一个繁琐且容易出错的过程。因此,在本文中,我们介绍了ITDroid,这是一个开源工具,用于自动检测Android应用程序gui中引入的i18n不良实践和附带更改。我们通过在31个Android应用程序上执行ITDroid验证了我们的方法,我们已经确定了由于国际化而导致的不同类型的变化和错误。GITHUB: https://bit.ly/38wC7uO视频:https://bit.ly/3tXwSvy
{"title":"ITDroid: A Tool for Automated Detection of i18n Issues on Android Apps","authors":"Camilo Escobar-Velásquez, Andrés Donoso-Diaz, M. Linares-Vásquez","doi":"10.1109/MobileSoft52590.2021.00012","DOIUrl":"https://doi.org/10.1109/MobileSoft52590.2021.00012","url":null,"abstract":"Mobile markets allow developers to easily distribute mobile apps worldwide and collect complaints and feature requests in the form of user reviews and star ratings. Therefore, internationalization (i18n) of apps is a highly desired feature, which is currently supported in mobile platforms by using resources files with strings that can be internationalized manually. Nevertheless, since it requires human interaction it is a cumbersome and fault-prone process. Therefore, in this paper, we present ITDroid, an open source tool for automatically detecting i18n bad practices and collateral changes introduced in the GUIs of Android apps. We have validated our approach by executing ITDroid with 31 Android apps and we have identified different types of changes and bugs due to internationalization.GITHUB: https://bit.ly/38wC7uO VIDEO: https://bit.ly/3tXwSvy","PeriodicalId":257528,"journal":{"name":"2021 IEEE/ACM 8th International Conference on Mobile Software Engineering and Systems (MobileSoft)","volume":"157 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2021-05-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"127371345","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 1
GraphifyEvolution - A Modular Approach to Analysing Source Code Histories graphhifyevolution——分析源代码历史的模块化方法
Kristiina Rahkema, Dietmar Pfahl
The analysis of mobile applications has gained popularity in recent years. Multiple tools have been developed to find code smells in mobile applications. To analyse code evolution of mobile applications researchers have mostly written scripts to parse repository histories and apply existing code smell tools for each commit. Some specialised tools have been developed for analysing code smell histories but they only apply one specific method of finding code smells. We developed a modular and extendable tool called GraphifyEvolution that makes it possible to analyse code repositories by analysing changes in each commit and saving the application structure, including all changes, into a Neo4j graph database. We built the tool with Swift applications in mind, especially iOS applications and frameworks, but due to its modular nature it is possible to add support for other languages easily. Implementing analysers that allow for running external analysis tools for each commit and inserting the results into the application database are also possible. Combining information on the structure of applications and its evolution with results from external code analysis tools helps answer a multitude of research questions. Given its modular nature, we hope that our tool will be useful to researchers who wish to analyse source code histories. We have currently implemented support for the languages Swift, Java, C++ and for the external tools jscpd (code duplicate scanner) and insider (vulnerability scanner).
近年来,对移动应用程序的分析越来越受欢迎。已经开发了多种工具来查找移动应用程序中的代码气味。为了分析移动应用程序的代码演变,研究人员大多编写脚本来解析存储库历史,并为每次提交应用现有的代码气味工具。已经开发了一些专门的工具来分析代码气味历史,但它们只应用一种特定的方法来查找代码气味。我们开发了一个模块化和可扩展的工具GraphifyEvolution,它可以通过分析每次提交中的更改并将应用程序结构(包括所有更改)保存到Neo4j图形数据库中来分析代码库。我们在构建这个工具时考虑了Swift应用程序,尤其是iOS应用程序和框架,但由于它的模块化特性,它可以很容易地添加对其他语言的支持。实现允许为每次提交运行外部分析工具并将结果插入应用程序数据库的分析器也是可能的。将有关应用程序结构及其演变的信息与来自外部代码分析工具的结果相结合,有助于回答大量的研究问题。考虑到它的模块化特性,我们希望我们的工具对希望分析源代码历史的研究人员有用。我们目前已经实现了对Swift、Java、c++语言以及外部工具jscpd(代码重复扫描器)和insider(漏洞扫描器)的支持。
{"title":"GraphifyEvolution - A Modular Approach to Analysing Source Code Histories","authors":"Kristiina Rahkema, Dietmar Pfahl","doi":"10.1109/MobileSoft52590.2021.00009","DOIUrl":"https://doi.org/10.1109/MobileSoft52590.2021.00009","url":null,"abstract":"The analysis of mobile applications has gained popularity in recent years. Multiple tools have been developed to find code smells in mobile applications. To analyse code evolution of mobile applications researchers have mostly written scripts to parse repository histories and apply existing code smell tools for each commit. Some specialised tools have been developed for analysing code smell histories but they only apply one specific method of finding code smells. We developed a modular and extendable tool called GraphifyEvolution that makes it possible to analyse code repositories by analysing changes in each commit and saving the application structure, including all changes, into a Neo4j graph database. We built the tool with Swift applications in mind, especially iOS applications and frameworks, but due to its modular nature it is possible to add support for other languages easily. Implementing analysers that allow for running external analysis tools for each commit and inserting the results into the application database are also possible. Combining information on the structure of applications and its evolution with results from external code analysis tools helps answer a multitude of research questions. Given its modular nature, we hope that our tool will be useful to researchers who wish to analyse source code histories. We have currently implemented support for the languages Swift, Java, C++ and for the external tools jscpd (code duplicate scanner) and insider (vulnerability scanner).","PeriodicalId":257528,"journal":{"name":"2021 IEEE/ACM 8th International Conference on Mobile Software Engineering and Systems (MobileSoft)","volume":"238 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2021-05-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"121067782","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 3
SequalsK—A Bidirectional Swift-Kotlin-Transpiler sequalsk -双向Swift-Kotlin-Transpiler
Dominik Schultes
Developing two separate versions of an app for iOS and Android causes considerable efforts. Therefore, a lot of cross-platform development frameworks are available that are able to produce apps for both platforms out of a single code base. However, there are tradeoffs that are connected with these frameworks, in particular, a high tool dependency. Therefore, we propose to stick with native development but to take advantage of the shrinking gap between both platforms due to the fact that the current programming languages, Swift for iOS and Kotlin for Android, are considerably more alike than their respective predecessors. Relating to the model-view- controller design pattern, we propose to automatically transpile the model part (which includes the business logic) of the app in a bidirectional fashion, i.e., from Kotlin to Swift and vice versa. This way, iOS experts can concentrate on optimizing the user interface (view- and controller-part) for iOS, and Android experts can do the same for Android, but all developers can jointly work on the shared model part: each developer can read, correct, and enhance the source code of the model using their own preferred programming language; the resulting version is then transpiled to an equivalent version in the other language.We present a working prototype of a transpiler—which we call SequalsK—that supports the majority of the important constructs of both languages and is able to generate syntactically and semantically correct Kotlin code out of Swift code and vice versa.In a case study we show that the model part of a board game app can be transpiled in both directions without any limitations. Starting with a working Swift version, the Android version can be derived with little manual effort: the automatically transpiled model part forms 86 percent of the resulting source code.
为iOS和Android开发两个不同版本的应用需要付出相当大的努力。因此,有很多跨平台开发框架可以用一个代码库为两个平台开发应用程序。然而,与这些框架相关的权衡,特别是对工具的高度依赖。因此,我们建议坚持原生开发,但要利用两个平台之间不断缩小的差距,因为当前的编程语言,iOS的Swift和Android的Kotlin,比它们各自的前辈更加相似。关于模型-视图-控制器设计模式,我们建议以双向方式自动转换应用程序的模型部分(包括业务逻辑),即从Kotlin到Swift,反之亦然。这样,iOS专家可以专注于优化iOS的用户界面(视图和控制器部分),Android专家也可以为Android做同样的事情,但所有开发人员可以共同致力于共享模型部分:每个开发人员可以使用自己喜欢的编程语言阅读、修改和增强模型的源代码;然后将结果版本翻译成另一种语言的等效版本。我们展示了一个翻译器的工作原型——我们称之为sequalsk——它支持两种语言的大多数重要结构,并且能够从Swift代码中生成语法和语义正确的Kotlin代码,反之亦然。在一个案例研究中,我们展示了桌面游戏应用的模型部分可以在没有任何限制的情况下向两个方向转换。从一个工作的Swift版本开始,Android版本可以通过很少的手工工作派生出来:自动转译的模型部分占最终源代码的86%。
{"title":"SequalsK—A Bidirectional Swift-Kotlin-Transpiler","authors":"Dominik Schultes","doi":"10.1109/MobileSoft52590.2021.00017","DOIUrl":"https://doi.org/10.1109/MobileSoft52590.2021.00017","url":null,"abstract":"Developing two separate versions of an app for iOS and Android causes considerable efforts. Therefore, a lot of cross-platform development frameworks are available that are able to produce apps for both platforms out of a single code base. However, there are tradeoffs that are connected with these frameworks, in particular, a high tool dependency. Therefore, we propose to stick with native development but to take advantage of the shrinking gap between both platforms due to the fact that the current programming languages, Swift for iOS and Kotlin for Android, are considerably more alike than their respective predecessors. Relating to the model-view- controller design pattern, we propose to automatically transpile the model part (which includes the business logic) of the app in a bidirectional fashion, i.e., from Kotlin to Swift and vice versa. This way, iOS experts can concentrate on optimizing the user interface (view- and controller-part) for iOS, and Android experts can do the same for Android, but all developers can jointly work on the shared model part: each developer can read, correct, and enhance the source code of the model using their own preferred programming language; the resulting version is then transpiled to an equivalent version in the other language.We present a working prototype of a transpiler—which we call SequalsK—that supports the majority of the important constructs of both languages and is able to generate syntactically and semantically correct Kotlin code out of Swift code and vice versa.In a case study we show that the model part of a board game app can be transpiled in both directions without any limitations. Starting with a working Swift version, the Android version can be derived with little manual effort: the automatically transpiled model part forms 86 percent of the resulting source code.","PeriodicalId":257528,"journal":{"name":"2021 IEEE/ACM 8th International Conference on Mobile Software Engineering and Systems (MobileSoft)","volume":"50 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2021-05-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"115621020","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 3
KotlinDetector: Towards Understanding the Implications of Using Kotlin in Android Applications KotlinDetector:了解在Android应用程序中使用Kotlin的含义
Fadi Mohsen, Loran Oosterhaven, F. Turkmen
Java programming language has been long used to develop native Android mobile applications. In the last few years many companies and freelancers have switched into using Kotlin partially or entirely. As such, many projects are released as binaries and employ a mix of Java and Kotlin language constructs. Yet, the true security and privacy implications of this shift have not been thoroughly studied. In this work, a state-of-the-art tool, KotlinDetector, is developed to directly extract any Kotlin presence, percentages, and numerous language features from Android Application Packages (APKs) by performing heuristic pattern scanning and invocation tracing. Our evaluation study shows that the tool is considerably efficient and accurate. We further provide a use case in which the output of the KotlinDetector is combined with the output of an existing vulnerability scanner tool called AndroBugs to infer any security and/or privacy implications.
Java编程语言长期以来一直用于开发原生Android移动应用程序。在过去的几年里,许多公司和自由职业者已经部分或全部地使用Kotlin。因此,许多项目以二进制文件的形式发布,并混合使用Java和Kotlin语言结构。然而,这种转变的真正安全和隐私影响尚未得到彻底研究。在这项工作中,开发了一个最先进的工具KotlinDetector,通过执行启发式模式扫描和调用跟踪,直接从Android应用程序包(apk)中提取任何Kotlin存在,百分比和许多语言特性。我们的评估研究表明,该工具是相当有效和准确的。我们进一步提供了一个用例,其中KotlinDetector的输出与现有的漏洞扫描工具AndroBugs的输出相结合,以推断任何安全和/或隐私影响。
{"title":"KotlinDetector: Towards Understanding the Implications of Using Kotlin in Android Applications","authors":"Fadi Mohsen, Loran Oosterhaven, F. Turkmen","doi":"10.1109/MobileSoft52590.2021.00018","DOIUrl":"https://doi.org/10.1109/MobileSoft52590.2021.00018","url":null,"abstract":"Java programming language has been long used to develop native Android mobile applications. In the last few years many companies and freelancers have switched into using Kotlin partially or entirely. As such, many projects are released as binaries and employ a mix of Java and Kotlin language constructs. Yet, the true security and privacy implications of this shift have not been thoroughly studied. In this work, a state-of-the-art tool, KotlinDetector, is developed to directly extract any Kotlin presence, percentages, and numerous language features from Android Application Packages (APKs) by performing heuristic pattern scanning and invocation tracing. Our evaluation study shows that the tool is considerably efficient and accurate. We further provide a use case in which the output of the KotlinDetector is combined with the output of an existing vulnerability scanner tool called AndroBugs to infer any security and/or privacy implications.","PeriodicalId":257528,"journal":{"name":"2021 IEEE/ACM 8th International Conference on Mobile Software Engineering and Systems (MobileSoft)","volume":"11 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2021-05-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"130866821","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
An earthquake alert system based on a collaborative approach using smart devices 一种基于智能设备协同方法的地震警报系统
I. Khan, Manish Pandey, Young-Woo Kwon
Recently, mobile devices such as smartphones and IoT devices have been successfully used for detecting earthquakes using their built-in accelerometers. To utilize such devices as a seismic sensor, there are two approaches including a standalone or a client-server approach. The client-server approach is more accurate than the stand-alone approach but requires high-performance servers and network infrastructures to process acceleration data captured from many client devices. In the standalone approach, straightforward earthquake detection algorithms can be easily implemented on less powerful mobile devices, but there is a possibility of false alarms. To address this limitation, in this paper, we present a collaborative approach that detects an earthquake using multiple smartphones located in a near area so as to improve the earthquake detection ability of the standalone approach without system and network infrastructures. In our approach, smartphones located in a near area construct a seismic network to detect earthquakes together and then wait for any shakings caused by human activities, mechanical vibrations, earthquakes, etc. When a smartphone detects an earthquakelike motion using an earthquake detection algorithm based on a simple neural network, it broadcasts the detection result to nearby smartphones in a multi-hop manner. Upon receipt of the detection results from nearby smartphones, each smartphone participating in the seismic network performs a decision-making process and confirms an earthquake and then instantiates an alert. The experimental results show the effectiveness of the proposed approach, so we believe that our approach can be effectively used in high seismic countries that lack an earthquake early warning system (EEWS).
最近,智能手机和物联网设备等移动设备已经成功地使用内置的加速度计来检测地震。要利用这些设备作为地震传感器,有两种方法,包括独立或客户机-服务器方法。客户机-服务器方法比独立方法更准确,但需要高性能服务器和网络基础设施来处理从许多客户机设备捕获的加速数据。在独立的方法中,直接的地震检测算法可以很容易地在功能不太强大的移动设备上实现,但存在假警报的可能性。为了解决这一限制,在本文中,我们提出了一种协作方法,该方法使用位于附近区域的多个智能手机检测地震,从而提高了没有系统和网络基础设施的独立方法的地震检测能力。在我们的方法中,位于附近区域的智能手机共同构建地震网络来检测地震,然后等待人类活动,机械振动,地震等引起的任何震动。当智能手机使用基于简单神经网络的地震检测算法检测到类似地震的运动时,它会以多跳的方式将检测结果广播给附近的智能手机。在收到附近智能手机的检测结果后,参与地震网络的每个智能手机都会执行决策过程,确认地震,然后发出警报。实验结果表明了该方法的有效性,因此我们相信该方法可以有效地用于缺乏地震预警系统(EEWS)的高地震国家。
{"title":"An earthquake alert system based on a collaborative approach using smart devices","authors":"I. Khan, Manish Pandey, Young-Woo Kwon","doi":"10.1109/MobileSoft52590.2021.00014","DOIUrl":"https://doi.org/10.1109/MobileSoft52590.2021.00014","url":null,"abstract":"Recently, mobile devices such as smartphones and IoT devices have been successfully used for detecting earthquakes using their built-in accelerometers. To utilize such devices as a seismic sensor, there are two approaches including a standalone or a client-server approach. The client-server approach is more accurate than the stand-alone approach but requires high-performance servers and network infrastructures to process acceleration data captured from many client devices. In the standalone approach, straightforward earthquake detection algorithms can be easily implemented on less powerful mobile devices, but there is a possibility of false alarms. To address this limitation, in this paper, we present a collaborative approach that detects an earthquake using multiple smartphones located in a near area so as to improve the earthquake detection ability of the standalone approach without system and network infrastructures. In our approach, smartphones located in a near area construct a seismic network to detect earthquakes together and then wait for any shakings caused by human activities, mechanical vibrations, earthquakes, etc. When a smartphone detects an earthquakelike motion using an earthquake detection algorithm based on a simple neural network, it broadcasts the detection result to nearby smartphones in a multi-hop manner. Upon receipt of the detection results from nearby smartphones, each smartphone participating in the seismic network performs a decision-making process and confirms an earthquake and then instantiates an alert. The experimental results show the effectiveness of the proposed approach, so we believe that our approach can be effectively used in high seismic countries that lack an earthquake early warning system (EEWS).","PeriodicalId":257528,"journal":{"name":"2021 IEEE/ACM 8th International Conference on Mobile Software Engineering and Systems (MobileSoft)","volume":"30 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2021-05-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"130661175","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 5
An Empirical Study on the Impact of Refactoring on Quality Metrics in Android Applications 重构对Android应用质量指标影响的实证研究
Oumayma Hamdi, Ali Ouni, E. Alomar, Mel Ó Cinnéide, Mohamed Wiem Mkaouer
Mobile applications must continuously evolve, sometimes under such time pressure that poor design or implementation choices are made, which inevitably result in structural software quality problems. Refactoring is the widely-accepted approach to ameliorating such quality problems. While the impact of refactoring on software quality has been widely studied in object-oriented software, its impact is still unclear in the context of mobile apps. This paper reports on the first empirical study that aims to address this gap. We conduct a large empirical study that analyses the evolution history of 300 open-source Android apps exhibiting a total of 42,181 refactoring operations. We analyze the impact of these refactoring operations on 10 common quality metrics using a causal inference method based on the Difference-in-Differences (DiD) model. Our results indicate that when refactoring affects the metrics it generally improves them. In many cases refactoring has no significant impact on the metrics, whereas one metric (LCOM) deteriorates overall as a result of refactoring. These findings provide practical insights into the current practice of refactoring in the context of Android app development.
移动应用程序必须不断发展,有时在时间压力下做出糟糕的设计或实现选择,这不可避免地导致结构性软件质量问题。重构是一种被广泛接受的改善这类质量问题的方法。虽然重构对软件质量的影响已经在面向对象的软件中得到了广泛的研究,但它对移动应用程序的影响仍然不清楚。本文报告了旨在解决这一差距的第一个实证研究。我们进行了一项大型实证研究,分析了300个开源Android应用的演变历史,共展示了42,181个重构操作。我们使用基于差中差(DiD)模型的因果推理方法分析了这些重构操作对10个常见质量指标的影响。我们的结果表明,当重构影响指标时,它通常会改进它们。在许多情况下,重构对指标没有显著的影响,而一个指标(LCOM)由于重构而整体恶化。这些发现为当前Android应用程序开发中的重构实践提供了实用的见解。
{"title":"An Empirical Study on the Impact of Refactoring on Quality Metrics in Android Applications","authors":"Oumayma Hamdi, Ali Ouni, E. Alomar, Mel Ó Cinnéide, Mohamed Wiem Mkaouer","doi":"10.1109/MobileSoft52590.2021.00010","DOIUrl":"https://doi.org/10.1109/MobileSoft52590.2021.00010","url":null,"abstract":"Mobile applications must continuously evolve, sometimes under such time pressure that poor design or implementation choices are made, which inevitably result in structural software quality problems. Refactoring is the widely-accepted approach to ameliorating such quality problems. While the impact of refactoring on software quality has been widely studied in object-oriented software, its impact is still unclear in the context of mobile apps. This paper reports on the first empirical study that aims to address this gap. We conduct a large empirical study that analyses the evolution history of 300 open-source Android apps exhibiting a total of 42,181 refactoring operations. We analyze the impact of these refactoring operations on 10 common quality metrics using a causal inference method based on the Difference-in-Differences (DiD) model. Our results indicate that when refactoring affects the metrics it generally improves them. In many cases refactoring has no significant impact on the metrics, whereas one metric (LCOM) deteriorates overall as a result of refactoring. These findings provide practical insights into the current practice of refactoring in the context of Android app development.","PeriodicalId":257528,"journal":{"name":"2021 IEEE/ACM 8th International Conference on Mobile Software Engineering and Systems (MobileSoft)","volume":"25 3 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2021-05-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"130601622","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 13
Towards Understanding iOS App Store Search Advertising: An Explorative Study 理解iOS App Store搜索广告:一项探索性研究
Siming Su, Haoyu Wang, Guoai Xu
With millions of apps competing in the market, one major issue for app developers is to get their apps discovered by intended users. iOS App Store Search Advertisement (ASA) is a mechanism that provides app developers a chance to increasing the awareness of their apps within the iOS App Store by bidding related searching keywords. However, as one of the most efficient methods to promoting apps, ASA has not been touched by our research community, to the best of our knowledge. To fill the void, in this paper, we present the first large scale explorative study on understanding iOS app store search advertising. Specifically, we have created the first dataset on ASA promotion, covering over 47K popular apps across 22 categories and over 2.8 million ASA bidding keywords during the first week of 2021. Based on this dataset, we investigate the adoption of ASA in the wild and the characteristics of the bidding keywords. Furthermore, we created a large-scale app-keyword relation graph, based on which we infer the app competitive relations. We observed two types of app competitive relations, i.e., explicit competition that the advertised apps intended to attract users who search the corresponding target apps by embedding their names into the ASA keywords, and implicit competitions that apps share a large portion of bidding keywords with others. Our efforts reveal interesting implications to stakeholders in the mobile app ecosystem, including app markets and app developers, etc. our study is the first step towards understanding and improving the in-market mobile app promotion mechanisms.
市场上有数百万应用竞争,应用开发者面临的一个主要问题是如何让目标用户发现他们的应用。iOS App Store搜索广告(ASA)是一种让应用开发者通过竞标相关搜索关键词来提高应用在iOS App Store中的知名度的机制。然而,据我们所知,作为推广应用程序最有效的方法之一,ASA并没有被我们的研究社区所触及。为了填补这一空白,本文首次对理解iOS应用商店搜索广告进行了大规模的探索性研究。具体来说,我们已经创建了第一个关于ASA推广的数据集,涵盖了2021年第一周22个类别的47K多个流行应用程序和超过280万个ASA竞价关键词。基于此数据集,我们研究了ASA在野外的采用情况以及竞价关键词的特征。此外,我们创建了一个大规模的应用程序-关键字关系图,在此基础上我们推断应用程序的竞争关系。我们观察到两种类型的应用竞争关系,即显性竞争,即广告应用试图通过在ASA关键字中嵌入用户的名字来吸引搜索相应目标应用的用户,以及隐性竞争,即应用与其他应用共享大部分竞标关键字。我们的研究为手机应用生态系统中的利益相关者(包括应用市场和应用开发者等)揭示了有趣的启示。我们的研究是理解和改进市场内手机应用推广机制的第一步。
{"title":"Towards Understanding iOS App Store Search Advertising: An Explorative Study","authors":"Siming Su, Haoyu Wang, Guoai Xu","doi":"10.1109/MobileSoft52590.2021.00011","DOIUrl":"https://doi.org/10.1109/MobileSoft52590.2021.00011","url":null,"abstract":"With millions of apps competing in the market, one major issue for app developers is to get their apps discovered by intended users. iOS App Store Search Advertisement (ASA) is a mechanism that provides app developers a chance to increasing the awareness of their apps within the iOS App Store by bidding related searching keywords. However, as one of the most efficient methods to promoting apps, ASA has not been touched by our research community, to the best of our knowledge. To fill the void, in this paper, we present the first large scale explorative study on understanding iOS app store search advertising. Specifically, we have created the first dataset on ASA promotion, covering over 47K popular apps across 22 categories and over 2.8 million ASA bidding keywords during the first week of 2021. Based on this dataset, we investigate the adoption of ASA in the wild and the characteristics of the bidding keywords. Furthermore, we created a large-scale app-keyword relation graph, based on which we infer the app competitive relations. We observed two types of app competitive relations, i.e., explicit competition that the advertised apps intended to attract users who search the corresponding target apps by embedding their names into the ASA keywords, and implicit competitions that apps share a large portion of bidding keywords with others. Our efforts reveal interesting implications to stakeholders in the mobile app ecosystem, including app markets and app developers, etc. our study is the first step towards understanding and improving the in-market mobile app promotion mechanisms.","PeriodicalId":257528,"journal":{"name":"2021 IEEE/ACM 8th International Conference on Mobile Software Engineering and Systems (MobileSoft)","volume":"8 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2021-05-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"115099804","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
The Impact of Instant Messaging on the Energy Consumption of Android Devices 即时通讯对Android设备能耗的影响
S. Rammos, Mansi Mundra, Guijin Xu, Chuyi Tong, Wojciech Ziolkowski, I. Malavolta
Context. One of the primary uses of mobile devices is to send and receive instant messages via messaging apps. However, no evidence is still available about how receiving instant messages impacts the energy consumption of mobile devices.Goal. With this study we aim to empirically assess to what extent the number and distribution of received instant messages impact the energy consumption of Android devices.Method. The subjects of our experiment are WhatsApp and Telegram, two of the most known and used messaging apps. Each run of the experiment lasts 5 minutes and is executed on a Nexus 9 Android device. The independent variables of the experiment are: (i) the frequency of the received messages (i.e., 0, 10, 25, 50 per minute) and (ii) the distribution of messages arrival (i.e., evenly or in bursts). The dependent variable of the experiment is the energy consumption of the Android device in Joules.Results. We confirm that the energy consumption of the Android device tends to be proportional with the number of received messages across both apps. When the number of received messages is fixed, the frequency of their arrival does not significantly impact the energy consumption of the Android device.Conclusions. This study provides evidence that receiving instant messages can largely reduce the battery life of a user’s Android device, even when the number of received messages is relatively low (i.e., 10 messages per minute). Moreover, sending bursts of messages does not lead to significant changes in terms of energy consumption. Developers can use this information to develop new features for their Instant Messaging apps for aggressively bundling messages without the risk of impacting the energy consumption of end users’ devices.
上下文。移动设备的主要用途之一是通过即时通讯应用程序发送和接收即时消息。然而,目前还没有证据表明接收即时消息会如何影响移动设备的能耗。通过本研究,我们旨在实证评估收到的即时消息的数量和分布对Android设备能耗的影响程度。我们实验的对象是WhatsApp和Telegram,这两款最知名、最常用的即时通讯应用。每次实验持续5分钟,并在Nexus 9 Android设备上执行。实验的自变量是:(i)接收消息的频率(即每分钟0、10、25、50)和(ii)到达消息的分布(即均匀或突发)。实验的因变量为Android设备的焦耳能耗。我们确认Android设备的能耗与两个应用程序接收到的消息数量成正比。当接收到的消息数量固定时,它们到达的频率不会显著影响Android设备的能耗。这项研究提供的证据表明,即使接收到的消息数量相对较低(即每分钟10条消息),接收即时消息也会大大减少用户Android设备的电池寿命。此外,发送突发消息不会导致能源消耗方面的重大变化。开发人员可以使用这些信息为他们的即时消息应用程序开发新功能,以积极捆绑消息,而不会影响最终用户设备的能耗。
{"title":"The Impact of Instant Messaging on the Energy Consumption of Android Devices","authors":"S. Rammos, Mansi Mundra, Guijin Xu, Chuyi Tong, Wojciech Ziolkowski, I. Malavolta","doi":"10.1109/MobileSoft52590.2021.00007","DOIUrl":"https://doi.org/10.1109/MobileSoft52590.2021.00007","url":null,"abstract":"Context. One of the primary uses of mobile devices is to send and receive instant messages via messaging apps. However, no evidence is still available about how receiving instant messages impacts the energy consumption of mobile devices.Goal. With this study we aim to empirically assess to what extent the number and distribution of received instant messages impact the energy consumption of Android devices.Method. The subjects of our experiment are WhatsApp and Telegram, two of the most known and used messaging apps. Each run of the experiment lasts 5 minutes and is executed on a Nexus 9 Android device. The independent variables of the experiment are: (i) the frequency of the received messages (i.e., 0, 10, 25, 50 per minute) and (ii) the distribution of messages arrival (i.e., evenly or in bursts). The dependent variable of the experiment is the energy consumption of the Android device in Joules.Results. We confirm that the energy consumption of the Android device tends to be proportional with the number of received messages across both apps. When the number of received messages is fixed, the frequency of their arrival does not significantly impact the energy consumption of the Android device.Conclusions. This study provides evidence that receiving instant messages can largely reduce the battery life of a user’s Android device, even when the number of received messages is relatively low (i.e., 10 messages per minute). Moreover, sending bursts of messages does not lead to significant changes in terms of energy consumption. Developers can use this information to develop new features for their Instant Messaging apps for aggressively bundling messages without the risk of impacting the energy consumption of end users’ devices.","PeriodicalId":257528,"journal":{"name":"2021 IEEE/ACM 8th International Conference on Mobile Software Engineering and Systems (MobileSoft)","volume":"6 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2021-05-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"130455673","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 3
Logging Practices with Mobile Analytics: An Empirical Study on Firebase 移动分析的日志记录实践:对Firebase的实证研究
Julian Harty, Haonan Zhang, Lili Wei, L. Pascarella, M. Aniche, Weiyi Shang
Software logs are of great value in both industrial and open-source projects. Mobile analytics logging enables developers to collect logs remotely from their apps running on end user devices at the cost of recording and transmitting logs across the Internet to a centralised infrastructure.This paper makes a first step in characterising logging practices with a widely adopted mobile analytics logging library, namely Firebase Analytics. We provide an empirical evaluation of the use of Firebase Analytics in 57 open-source Android applications by studying the evolution of code-bases to understand: a) the needs-in-common that push practitioners to adopt logging practices on mobile devices, and b) the differences in the ways developers use local and remote logging.Our results indicate mobile analytics logs are less pervasive and less maintained than traditional logging code. Based on our analysis, we believe logging using mobile analytics is more user centered compared to traditional logging, where the latter is mainly used to record information for debugging purposes.
软件日志在工业和开源项目中都很有价值。移动分析日志使开发人员能够从运行在终端用户设备上的应用程序远程收集日志,其成本是记录日志并通过互联网将日志传输到集中的基础设施。本文用一个被广泛采用的移动分析日志库,即Firebase analytics,在描述日志记录实践方面迈出了第一步。我们通过研究代码库的演变,对57个开源Android应用程序中Firebase Analytics的使用进行了实证评估,以了解:a)推动从业者在移动设备上采用日志记录实践的共同需求,以及b)开发人员使用本地和远程日志记录方式的差异。我们的结果表明,与传统的日志代码相比,移动分析日志不那么普遍,维护也更少。根据我们的分析,我们认为与传统日志相比,使用移动分析的日志记录更以用户为中心,传统日志记录主要用于记录调试目的的信息。
{"title":"Logging Practices with Mobile Analytics: An Empirical Study on Firebase","authors":"Julian Harty, Haonan Zhang, Lili Wei, L. Pascarella, M. Aniche, Weiyi Shang","doi":"10.1109/MobileSoft52590.2021.00013","DOIUrl":"https://doi.org/10.1109/MobileSoft52590.2021.00013","url":null,"abstract":"Software logs are of great value in both industrial and open-source projects. Mobile analytics logging enables developers to collect logs remotely from their apps running on end user devices at the cost of recording and transmitting logs across the Internet to a centralised infrastructure.This paper makes a first step in characterising logging practices with a widely adopted mobile analytics logging library, namely Firebase Analytics. We provide an empirical evaluation of the use of Firebase Analytics in 57 open-source Android applications by studying the evolution of code-bases to understand: a) the needs-in-common that push practitioners to adopt logging practices on mobile devices, and b) the differences in the ways developers use local and remote logging.Our results indicate mobile analytics logs are less pervasive and less maintained than traditional logging code. Based on our analysis, we believe logging using mobile analytics is more user centered compared to traditional logging, where the latter is mainly used to record information for debugging purposes.","PeriodicalId":257528,"journal":{"name":"2021 IEEE/ACM 8th International Conference on Mobile Software Engineering and Systems (MobileSoft)","volume":"13 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2021-04-06","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"125047760","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 14
期刊
2021 IEEE/ACM 8th International Conference on Mobile Software Engineering and Systems (MobileSoft)
全部 Acc. Chem. Res. ACS Applied Bio Materials ACS Appl. Electron. Mater. ACS Appl. Energy Mater. ACS Appl. Mater. Interfaces ACS Appl. Nano Mater. ACS Appl. Polym. Mater. ACS BIOMATER-SCI ENG ACS Catal. ACS Cent. Sci. ACS Chem. Biol. ACS Chemical Health & Safety ACS Chem. Neurosci. ACS Comb. Sci. ACS Earth Space Chem. ACS Energy Lett. ACS Infect. Dis. ACS Macro Lett. ACS Mater. Lett. ACS Med. Chem. Lett. ACS Nano ACS Omega ACS Photonics ACS Sens. ACS Sustainable Chem. Eng. ACS Synth. Biol. Anal. Chem. BIOCHEMISTRY-US Bioconjugate Chem. BIOMACROMOLECULES Chem. Res. Toxicol. Chem. Rev. Chem. Mater. CRYST GROWTH DES ENERG FUEL Environ. Sci. Technol. Environ. Sci. Technol. Lett. Eur. J. Inorg. Chem. IND ENG CHEM RES Inorg. Chem. J. Agric. Food. Chem. J. Chem. Eng. Data J. Chem. Educ. J. Chem. Inf. Model. J. Chem. Theory Comput. J. Med. Chem. J. Nat. Prod. J PROTEOME RES J. Am. Chem. Soc. LANGMUIR MACROMOLECULES Mol. Pharmaceutics Nano Lett. Org. Lett. ORG PROCESS RES DEV ORGANOMETALLICS J. Org. Chem. J. Phys. Chem. J. Phys. Chem. A J. Phys. Chem. B J. Phys. Chem. C J. Phys. Chem. Lett. Analyst Anal. Methods Biomater. Sci. Catal. Sci. Technol. Chem. Commun. Chem. Soc. Rev. CHEM EDUC RES PRACT CRYSTENGCOMM Dalton Trans. Energy Environ. Sci. ENVIRON SCI-NANO ENVIRON SCI-PROC IMP ENVIRON SCI-WAT RES Faraday Discuss. Food Funct. Green Chem. Inorg. Chem. Front. Integr. Biol. J. Anal. At. Spectrom. J. Mater. Chem. A J. Mater. Chem. B J. Mater. Chem. C Lab Chip Mater. Chem. Front. Mater. Horiz. MEDCHEMCOMM Metallomics Mol. Biosyst. Mol. Syst. Des. Eng. Nanoscale Nanoscale Horiz. Nat. Prod. Rep. New J. Chem. Org. Biomol. Chem. Org. Chem. Front. PHOTOCH PHOTOBIO SCI PCCP Polym. Chem.
﹀
mjeditor
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
Book学术官方微信
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1