Empirical Study of Co-Renamed Identifiers
Background: The renaming of program identifiers is the most common refactoring operation. Because some identifiers are related to each other, developers may need to rename related identifiers together. Aims: To understand how developers rename multiple identifiers simultaneously, it is necessary to...
Gespeichert in:
Veröffentlicht in: | arXiv.org 2022-12 |
---|---|
Hauptverfasser: | , , , |
Format: | Artikel |
Sprache: | eng |
Schlagworte: | |
Online-Zugang: | Volltext |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
container_end_page | |
---|---|
container_issue | |
container_start_page | |
container_title | arXiv.org |
container_volume | |
creator | Osumi, Yuki Umekawa, Naotaka Komata, Hitomi Hayashi, Shinpei |
description | Background: The renaming of program identifiers is the most common refactoring operation. Because some identifiers are related to each other, developers may need to rename related identifiers together. Aims: To understand how developers rename multiple identifiers simultaneously, it is necessary to consider the relationships between identifiers in the program and the brief matching for non-identical but semantically similar identifiers. Method: We investigate the relationships between co-renamed identifiers and identify the types of their relationships that contribute to improving the recommendation using more than 1M of renaming instances collected from the histories of open-source software projects. We also evaluate and compare the impact of co-renaming and the relationships between identifiers when inflections occur in the words in identifiers are taken into account. Results: We revealed several relationships of identifiers that are frequently found in the co-renamed identifiers, such as the identifiers of methods in the same class or an identifier defining a variable and another used for initializing the variable, depending on the type of the renamed identifiers. Additionally, the consideration of inflections did not affect the tendency of the relationships. Conclusion: These results suggest an approach that prioritizes the identifiers to be recommended depending on their types and the type of the renamed identifier. |
doi_str_mv | 10.48550/arxiv.2212.02035 |
format | Article |
fullrecord | <record><control><sourceid>proquest_arxiv</sourceid><recordid>TN_cdi_arxiv_primary_2212_02035</recordid><sourceformat>XML</sourceformat><sourcesystem>PC</sourcesystem><sourcerecordid>2747737115</sourcerecordid><originalsourceid>FETCH-LOGICAL-a525-ce29f13780cefba532f8d7f9d90e6f20379ecd0d780f645791a93ff5029af97b3</originalsourceid><addsrcrecordid>eNotj09LwzAYh4MgOOY-gCcLnjykvnnTNM1RytTBQNDdS9bkhYz1j2kr7ttbN0-_y8OP52HsTkCaFUrBk40_4TtFFJgCglRXbIFSCl5kiDdsNQwHAMBco1JywR7XTR9iqO0x-Rwnd0o6SsqOf_jWNt4lG-fbMVDwcbhl12SPg1_975LtXta78o1v31835fOWW4WK1x4NCakLqD3trZJIhdNknAGf0-yjja8duBmgPFPaCGskkQI0lozeyyW7v9yeO6o-hsbGU_XXU517ZuLhQvSx-5r8MFaHbort7FShzrSWWgglfwH6I0vg</addsrcrecordid><sourcetype>Open Access Repository</sourcetype><iscdi>true</iscdi><recordtype>article</recordtype><pqid>2747737115</pqid></control><display><type>article</type><title>Empirical Study of Co-Renamed Identifiers</title><source>arXiv.org</source><source>Free E- Journals</source><creator>Osumi, Yuki ; Umekawa, Naotaka ; Komata, Hitomi ; Hayashi, Shinpei</creator><creatorcontrib>Osumi, Yuki ; Umekawa, Naotaka ; Komata, Hitomi ; Hayashi, Shinpei</creatorcontrib><description>Background: The renaming of program identifiers is the most common refactoring operation. Because some identifiers are related to each other, developers may need to rename related identifiers together. Aims: To understand how developers rename multiple identifiers simultaneously, it is necessary to consider the relationships between identifiers in the program and the brief matching for non-identical but semantically similar identifiers. Method: We investigate the relationships between co-renamed identifiers and identify the types of their relationships that contribute to improving the recommendation using more than 1M of renaming instances collected from the histories of open-source software projects. We also evaluate and compare the impact of co-renaming and the relationships between identifiers when inflections occur in the words in identifiers are taken into account. Results: We revealed several relationships of identifiers that are frequently found in the co-renamed identifiers, such as the identifiers of methods in the same class or an identifier defining a variable and another used for initializing the variable, depending on the type of the renamed identifiers. Additionally, the consideration of inflections did not affect the tendency of the relationships. Conclusion: These results suggest an approach that prioritizes the identifiers to be recommended depending on their types and the type of the renamed identifier.</description><identifier>EISSN: 2331-8422</identifier><identifier>DOI: 10.48550/arxiv.2212.02035</identifier><language>eng</language><publisher>Ithaca: Cornell University Library, arXiv.org</publisher><subject>Computer Science - Software Engineering</subject><ispartof>arXiv.org, 2022-12</ispartof><rights>2022. This work is published under http://arxiv.org/licenses/nonexclusive-distrib/1.0/ (the “License”). Notwithstanding the ProQuest Terms and Conditions, you may use this content in accordance with the terms of the License.</rights><rights>http://arxiv.org/licenses/nonexclusive-distrib/1.0</rights><oa>free_for_read</oa><woscitedreferencessubscribed>false</woscitedreferencessubscribed></display><links><openurl>$$Topenurl_article</openurl><openurlfulltext>$$Topenurlfull_article</openurlfulltext><thumbnail>$$Tsyndetics_thumb_exl</thumbnail><link.rule.ids>228,230,780,784,885,27925</link.rule.ids><backlink>$$Uhttps://doi.org/10.1109/APSEC57359.2022.00019$$DView published paper (Access to full text may be restricted)$$Hfree_for_read</backlink><backlink>$$Uhttps://doi.org/10.48550/arXiv.2212.02035$$DView paper in arXiv$$Hfree_for_read</backlink></links><search><creatorcontrib>Osumi, Yuki</creatorcontrib><creatorcontrib>Umekawa, Naotaka</creatorcontrib><creatorcontrib>Komata, Hitomi</creatorcontrib><creatorcontrib>Hayashi, Shinpei</creatorcontrib><title>Empirical Study of Co-Renamed Identifiers</title><title>arXiv.org</title><description>Background: The renaming of program identifiers is the most common refactoring operation. Because some identifiers are related to each other, developers may need to rename related identifiers together. Aims: To understand how developers rename multiple identifiers simultaneously, it is necessary to consider the relationships between identifiers in the program and the brief matching for non-identical but semantically similar identifiers. Method: We investigate the relationships between co-renamed identifiers and identify the types of their relationships that contribute to improving the recommendation using more than 1M of renaming instances collected from the histories of open-source software projects. We also evaluate and compare the impact of co-renaming and the relationships between identifiers when inflections occur in the words in identifiers are taken into account. Results: We revealed several relationships of identifiers that are frequently found in the co-renamed identifiers, such as the identifiers of methods in the same class or an identifier defining a variable and another used for initializing the variable, depending on the type of the renamed identifiers. Additionally, the consideration of inflections did not affect the tendency of the relationships. Conclusion: These results suggest an approach that prioritizes the identifiers to be recommended depending on their types and the type of the renamed identifier.</description><subject>Computer Science - Software Engineering</subject><issn>2331-8422</issn><fulltext>true</fulltext><rsrctype>article</rsrctype><creationdate>2022</creationdate><recordtype>article</recordtype><sourceid>ABUWG</sourceid><sourceid>AFKRA</sourceid><sourceid>AZQEC</sourceid><sourceid>BENPR</sourceid><sourceid>CCPQU</sourceid><sourceid>DWQXO</sourceid><sourceid>GOX</sourceid><recordid>eNotj09LwzAYh4MgOOY-gCcLnjykvnnTNM1RytTBQNDdS9bkhYz1j2kr7ttbN0-_y8OP52HsTkCaFUrBk40_4TtFFJgCglRXbIFSCl5kiDdsNQwHAMBco1JywR7XTR9iqO0x-Rwnd0o6SsqOf_jWNt4lG-fbMVDwcbhl12SPg1_975LtXta78o1v31835fOWW4WK1x4NCakLqD3trZJIhdNknAGf0-yjja8duBmgPFPaCGskkQI0lozeyyW7v9yeO6o-hsbGU_XXU517ZuLhQvSx-5r8MFaHbort7FShzrSWWgglfwH6I0vg</recordid><startdate>20221205</startdate><enddate>20221205</enddate><creator>Osumi, Yuki</creator><creator>Umekawa, Naotaka</creator><creator>Komata, Hitomi</creator><creator>Hayashi, Shinpei</creator><general>Cornell University Library, arXiv.org</general><scope>8FE</scope><scope>8FG</scope><scope>ABJCF</scope><scope>ABUWG</scope><scope>AFKRA</scope><scope>AZQEC</scope><scope>BENPR</scope><scope>BGLVJ</scope><scope>CCPQU</scope><scope>DWQXO</scope><scope>HCIFZ</scope><scope>L6V</scope><scope>M7S</scope><scope>PIMPY</scope><scope>PQEST</scope><scope>PQQKQ</scope><scope>PQUKI</scope><scope>PRINS</scope><scope>PTHSS</scope><scope>AKY</scope><scope>GOX</scope></search><sort><creationdate>20221205</creationdate><title>Empirical Study of Co-Renamed Identifiers</title><author>Osumi, Yuki ; Umekawa, Naotaka ; Komata, Hitomi ; Hayashi, Shinpei</author></sort><facets><frbrtype>5</frbrtype><frbrgroupid>cdi_FETCH-LOGICAL-a525-ce29f13780cefba532f8d7f9d90e6f20379ecd0d780f645791a93ff5029af97b3</frbrgroupid><rsrctype>articles</rsrctype><prefilter>articles</prefilter><language>eng</language><creationdate>2022</creationdate><topic>Computer Science - Software Engineering</topic><toplevel>online_resources</toplevel><creatorcontrib>Osumi, Yuki</creatorcontrib><creatorcontrib>Umekawa, Naotaka</creatorcontrib><creatorcontrib>Komata, Hitomi</creatorcontrib><creatorcontrib>Hayashi, Shinpei</creatorcontrib><collection>ProQuest SciTech Collection</collection><collection>ProQuest Technology Collection</collection><collection>Materials Science & Engineering Collection</collection><collection>ProQuest Central (Alumni Edition)</collection><collection>ProQuest Central UK/Ireland</collection><collection>ProQuest Central Essentials</collection><collection>ProQuest Central</collection><collection>Technology Collection</collection><collection>ProQuest One Community College</collection><collection>ProQuest Central Korea</collection><collection>SciTech Premium Collection</collection><collection>ProQuest Engineering Collection</collection><collection>Engineering Database</collection><collection>Publicly Available Content Database</collection><collection>ProQuest One Academic Eastern Edition (DO NOT USE)</collection><collection>ProQuest One Academic</collection><collection>ProQuest One Academic UKI Edition</collection><collection>ProQuest Central China</collection><collection>Engineering Collection</collection><collection>arXiv Computer Science</collection><collection>arXiv.org</collection><jtitle>arXiv.org</jtitle></facets><delivery><delcategory>Remote Search Resource</delcategory><fulltext>fulltext</fulltext></delivery><addata><au>Osumi, Yuki</au><au>Umekawa, Naotaka</au><au>Komata, Hitomi</au><au>Hayashi, Shinpei</au><format>journal</format><genre>article</genre><ristype>JOUR</ristype><atitle>Empirical Study of Co-Renamed Identifiers</atitle><jtitle>arXiv.org</jtitle><date>2022-12-05</date><risdate>2022</risdate><eissn>2331-8422</eissn><abstract>Background: The renaming of program identifiers is the most common refactoring operation. Because some identifiers are related to each other, developers may need to rename related identifiers together. Aims: To understand how developers rename multiple identifiers simultaneously, it is necessary to consider the relationships between identifiers in the program and the brief matching for non-identical but semantically similar identifiers. Method: We investigate the relationships between co-renamed identifiers and identify the types of their relationships that contribute to improving the recommendation using more than 1M of renaming instances collected from the histories of open-source software projects. We also evaluate and compare the impact of co-renaming and the relationships between identifiers when inflections occur in the words in identifiers are taken into account. Results: We revealed several relationships of identifiers that are frequently found in the co-renamed identifiers, such as the identifiers of methods in the same class or an identifier defining a variable and another used for initializing the variable, depending on the type of the renamed identifiers. Additionally, the consideration of inflections did not affect the tendency of the relationships. Conclusion: These results suggest an approach that prioritizes the identifiers to be recommended depending on their types and the type of the renamed identifier.</abstract><cop>Ithaca</cop><pub>Cornell University Library, arXiv.org</pub><doi>10.48550/arxiv.2212.02035</doi><oa>free_for_read</oa></addata></record> |
fulltext | fulltext |
identifier | EISSN: 2331-8422 |
ispartof | arXiv.org, 2022-12 |
issn | 2331-8422 |
language | eng |
recordid | cdi_arxiv_primary_2212_02035 |
source | arXiv.org; Free E- Journals |
subjects | Computer Science - Software Engineering |
title | Empirical Study of Co-Renamed Identifiers |
url | https://sfx.bib-bvb.de/sfx_tum?ctx_ver=Z39.88-2004&ctx_enc=info:ofi/enc:UTF-8&ctx_tim=2024-12-29T08%3A27%3A21IST&url_ver=Z39.88-2004&url_ctx_fmt=infofi/fmt:kev:mtx:ctx&rfr_id=info:sid/primo.exlibrisgroup.com:primo3-Article-proquest_arxiv&rft_val_fmt=info:ofi/fmt:kev:mtx:journal&rft.genre=article&rft.atitle=Empirical%20Study%20of%20Co-Renamed%20Identifiers&rft.jtitle=arXiv.org&rft.au=Osumi,%20Yuki&rft.date=2022-12-05&rft.eissn=2331-8422&rft_id=info:doi/10.48550/arxiv.2212.02035&rft_dat=%3Cproquest_arxiv%3E2747737115%3C/proquest_arxiv%3E%3Curl%3E%3C/url%3E&disable_directlink=true&sfx.directlink=off&sfx.report_link=0&rft_id=info:oai/&rft_pqid=2747737115&rft_id=info:pmid/&rfr_iscdi=true |