Where2Change: Change request localization for app reviews
Million of mobile apps have been released to the market. Developers need to maintain these apps so that they can continue to benefit end users. Developers usually extract useful information from user reviews to maintain and evolve mobile apps. One of the important activities that developers need to...
Saved in:
Main Authors: | , , , , , |
---|---|
Format: | text |
Language: | English |
Published: |
Institutional Knowledge at Singapore Management University
2021
|
Subjects: | |
Online Access: | https://ink.library.smu.edu.sg/sis_research/4503 https://ink.library.smu.edu.sg/context/sis_research/article/5506/viewcontent/Where2Change_Change_Request_Localization_for_App_Reviews_pvoa.pdf |
Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
Institution: | Singapore Management University |
Language: | English |
id |
sg-smu-ink.sis_research-5506 |
---|---|
record_format |
dspace |
spelling |
sg-smu-ink.sis_research-55062022-07-26T08:56:49Z Where2Change: Change request localization for app reviews ZHANG, Tao CHEN, Jiachi ZHAN, Xian LUO, Xiapu LO, David JIANG, He Million of mobile apps have been released to the market. Developers need to maintain these apps so that they can continue to benefit end users. Developers usually extract useful information from user reviews to maintain and evolve mobile apps. One of the important activities that developers need to do while reading user reviews is to locate the source code related to requested changes. Unfortunately, this manual work is costly and time consuming since: (1) an app can receive thousands of reviews, and (2) a mobile app can consist of hundreds of source code files. To address this challenge, Palomba et al. recently proposed CHANGEADVISOR that utilizes user reviews to locate source code to be changed. However, we find that it cannot identify real source code to be changed for part of reviews. In this work, we aim to advance Palomba et al.’s work by proposing a novel approach that can achieve higher accuracy in change localization. Our approach first extracts the informative sentences (i.e., user feedback) from user reviews and identifies user feedback related to various problems and feature requests, and then cluster the corresponding user feedback into groups. Each group reports the similar users’ needs. Next, these groups are mapped to issue reports by using W ord2V ec. The resultant enriched text consisting of user feedback and their corresponding issue reports is used to identify source code classes that should be changed by using our novel weight selection-based cosine similarity metric. We have evaluated the new proposed change request localization approach (Where2Change) on 31,597 user reviews and 3,272 issue reports of 10 open source mobile apps. The experiments demonstrate that Where2Change can successfully locate more source code classes related to the change requests for more user feedback clusters than CHANGEADVISOR as demonstrated by higher Top-N and Recall values. The differences reach up to 17 for Top-1, 18.1 for Top-3, 17.9 for Top-5, and 50.08% for Recall. In addition, we also compare the performance of Where2Change and two previous Information Retrieval (IR)-based fault localization technologies:BLUiR and BLIA. The results showed that our approach performs better than them. As an important part of our work, we conduct an empirical study to investigate the value of using both user reviews and historical issue reports for change request localization; the results shown that historical issue reports can help to improve the performance of change localization. 2021-11-01T07:00:00Z text application/pdf https://ink.library.smu.edu.sg/sis_research/4503 info:doi/10.1109/TSE.2019.2956941 https://ink.library.smu.edu.sg/context/sis_research/article/5506/viewcontent/Where2Change_Change_Request_Localization_for_App_Reviews_pvoa.pdf http://creativecommons.org/licenses/by/4.0/ Research Collection School Of Computing and Information Systems eng Institutional Knowledge at Singapore Management University User review Issue report Mobile app Change Request localization Software maintenance Software Engineering |
institution |
Singapore Management University |
building |
SMU Libraries |
continent |
Asia |
country |
Singapore Singapore |
content_provider |
SMU Libraries |
collection |
InK@SMU |
language |
English |
topic |
User review Issue report Mobile app Change Request localization Software maintenance Software Engineering |
spellingShingle |
User review Issue report Mobile app Change Request localization Software maintenance Software Engineering ZHANG, Tao CHEN, Jiachi ZHAN, Xian LUO, Xiapu LO, David JIANG, He Where2Change: Change request localization for app reviews |
description |
Million of mobile apps have been released to the market. Developers need to maintain these apps so that they can continue to benefit end users. Developers usually extract useful information from user reviews to maintain and evolve mobile apps. One of the important activities that developers need to do while reading user reviews is to locate the source code related to requested changes. Unfortunately, this manual work is costly and time consuming since: (1) an app can receive thousands of reviews, and (2) a mobile app can consist of hundreds of source code files. To address this challenge, Palomba et al. recently proposed CHANGEADVISOR that utilizes user reviews to locate source code to be changed. However, we find that it cannot identify real source code to be changed for part of reviews. In this work, we aim to advance Palomba et al.’s work by proposing a novel approach that can achieve higher accuracy in change localization. Our approach first extracts the informative sentences (i.e., user feedback) from user reviews and identifies user feedback related to various problems and feature requests, and then cluster the corresponding user feedback into groups. Each group reports the similar users’ needs. Next, these groups are mapped to issue reports by using W ord2V ec. The resultant enriched text consisting of user feedback and their corresponding issue reports is used to identify source code classes that should be changed by using our novel weight selection-based cosine similarity metric. We have evaluated the new proposed change request localization approach (Where2Change) on 31,597 user reviews and 3,272 issue reports of 10 open source mobile apps. The experiments demonstrate that Where2Change can successfully locate more source code classes related to the change requests for more user feedback clusters than CHANGEADVISOR as demonstrated by higher Top-N and Recall values. The differences reach up to 17 for Top-1, 18.1 for Top-3, 17.9 for Top-5, and 50.08% for Recall. In addition, we also compare the performance of Where2Change and two previous Information Retrieval (IR)-based fault localization technologies:BLUiR and BLIA. The results showed that our approach performs better than them. As an important part of our work, we conduct an empirical study to investigate the value of using both user reviews and historical issue reports for change request localization; the results shown that historical issue reports can help to improve the performance of change localization. |
format |
text |
author |
ZHANG, Tao CHEN, Jiachi ZHAN, Xian LUO, Xiapu LO, David JIANG, He |
author_facet |
ZHANG, Tao CHEN, Jiachi ZHAN, Xian LUO, Xiapu LO, David JIANG, He |
author_sort |
ZHANG, Tao |
title |
Where2Change: Change request localization for app reviews |
title_short |
Where2Change: Change request localization for app reviews |
title_full |
Where2Change: Change request localization for app reviews |
title_fullStr |
Where2Change: Change request localization for app reviews |
title_full_unstemmed |
Where2Change: Change request localization for app reviews |
title_sort |
where2change: change request localization for app reviews |
publisher |
Institutional Knowledge at Singapore Management University |
publishDate |
2021 |
url |
https://ink.library.smu.edu.sg/sis_research/4503 https://ink.library.smu.edu.sg/context/sis_research/article/5506/viewcontent/Where2Change_Change_Request_Localization_for_App_Reviews_pvoa.pdf |
_version_ |
1770574876984213504 |