An Improvement Method for Program Structure Using Code Clone Detection, Impact Analysis, and Refactoring Formats

This paper proposes a method that aggregates similar portions (code clones) in the developed program and redesigns the current program structure to an adequate program structure. The procedure of the proposed method is the following: Code clones are detected, and their characteristics are extracted,...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Veröffentlicht in:SICE Journal of Control, Measurement, and System Integration Measurement, and System Integration, 2017, Vol.10(3), pp.184-191
Hauptverfasser: TAKAHASHI, Masakazu, NANBA, Reiji, ANANG, Yunarso, WATANABE, Yoshimichi
Format: Artikel
Sprache:eng
Schlagworte:
Online-Zugang:Volltext
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
container_end_page 191
container_issue 3
container_start_page 184
container_title SICE Journal of Control, Measurement, and System Integration
container_volume 10
creator TAKAHASHI, Masakazu
NANBA, Reiji
ANANG, Yunarso
WATANABE, Yoshimichi
description This paper proposes a method that aggregates similar portions (code clones) in the developed program and redesigns the current program structure to an adequate program structure. The procedure of the proposed method is the following: Code clones are detected, and their characteristics are extracted, the design methods that code clones are aggregated are proposed, the program is modified, and the affected portions in the program are clarified and retested. Furthermore, a tool that supports the proposed method is created. As a result of applying the proposed method and the tool, it is found that 45% CCs are aggregated and 13% instructions of the program are deleted. Additionally, it is found that an adequate program structure is realized by using the proposed method and the tool.
doi_str_mv 10.9746/jcmsi.10.184
format Article
fullrecord <record><control><sourceid>proquest_doaj_</sourceid><recordid>TN_cdi_proquest_journals_2014453411</recordid><sourceformat>XML</sourceformat><sourcesystem>PC</sourcesystem><doaj_id>oai_doaj_org_article_2bfb3efe72e141aa8b7db1c1555f61b6</doaj_id><sourcerecordid>2014453411</sourcerecordid><originalsourceid>FETCH-LOGICAL-c3354-20d88c2bd075f95b3983b4d65737b6071f64353123357f00c0272b823a5411683</originalsourceid><addsrcrecordid>eNo9kU1PGzEQhlcVlYqAGz_AEtcs-HPtPaEoEIgEatXC2bK947BRdh1sB4l_XyeBnMYzfuYde96quiT4upW8uVm5IfXXJSOK_6hOiVK8bluJT_ZnWnOl2l_VRUq9xZw0gnMqT6vNdESLYRPDBwwwZvQM-S10yIeI_sSwjGZA_3LcuryNgF5TPy7RLHSAZuswArqDDC73YZzsRIzLaDqa9Wfq0wSZsUN_wZdiiLu2eYiDyem8-unNOsHFVzyrXuf3L7PH-un3w2I2faodY4LXFHdKOWo7LIVvhWWtYpZ3jZBM2gZL4hvOBCO00NJj7DCV1CrKjOCENIqdVYuDbhfMSm9iP5j4qYPp9b4Q4lKbmHu3Bk2ttww8SAqEE2OUlZ0ljgghfENsU7SuDlplT-9bSFmvwjaWnyZNMeFcsDKzUJMD5WJIKYI_TiVY7yzSe4t2WbGo4LcHfJWyWcIR_n7VEWZfHccb92aihpH9BxaYmmw</addsrcrecordid><sourcetype>Open Website</sourcetype><iscdi>true</iscdi><recordtype>article</recordtype><pqid>2014453411</pqid></control><display><type>article</type><title>An Improvement Method for Program Structure Using Code Clone Detection, Impact Analysis, and Refactoring Formats</title><source>Elektronische Zeitschriftenbibliothek - Frei zugängliche E-Journals</source><creator>TAKAHASHI, Masakazu ; NANBA, Reiji ; ANANG, Yunarso ; WATANABE, Yoshimichi</creator><creatorcontrib>TAKAHASHI, Masakazu ; NANBA, Reiji ; ANANG, Yunarso ; WATANABE, Yoshimichi</creatorcontrib><description>This paper proposes a method that aggregates similar portions (code clones) in the developed program and redesigns the current program structure to an adequate program structure. The procedure of the proposed method is the following: Code clones are detected, and their characteristics are extracted, the design methods that code clones are aggregated are proposed, the program is modified, and the affected portions in the program are clarified and retested. Furthermore, a tool that supports the proposed method is created. As a result of applying the proposed method and the tool, it is found that 45% CCs are aggregated and 13% instructions of the program are deleted. Additionally, it is found that an adequate program structure is realized by using the proposed method and the tool.</description><identifier>ISSN: 1882-4889</identifier><identifier>EISSN: 1884-9970</identifier><identifier>DOI: 10.9746/jcmsi.10.184</identifier><language>eng</language><publisher>Tokyo: The Society of Instrument and Control Engineers</publisher><subject>code clone ; Computer programs ; Impact analysis ; object oriented method ; refactoring</subject><ispartof>SICE Journal of Control, Measurement, and System Integration, 2017, Vol.10(3), pp.184-191</ispartof><rights>2017 The Society of Instrument and Control Engineers</rights><rights>Copyright Japan Science and Technology Agency 2017</rights><oa>free_for_read</oa><woscitedreferencessubscribed>false</woscitedreferencessubscribed><cites>FETCH-LOGICAL-c3354-20d88c2bd075f95b3983b4d65737b6071f64353123357f00c0272b823a5411683</cites></display><links><openurl>$$Topenurl_article</openurl><openurlfulltext>$$Topenurlfull_article</openurlfulltext><thumbnail>$$Tsyndetics_thumb_exl</thumbnail><link.rule.ids>314,776,780,27901,27902</link.rule.ids></links><search><creatorcontrib>TAKAHASHI, Masakazu</creatorcontrib><creatorcontrib>NANBA, Reiji</creatorcontrib><creatorcontrib>ANANG, Yunarso</creatorcontrib><creatorcontrib>WATANABE, Yoshimichi</creatorcontrib><title>An Improvement Method for Program Structure Using Code Clone Detection, Impact Analysis, and Refactoring Formats</title><title>SICE Journal of Control, Measurement, and System Integration</title><addtitle>SICE JCMSI</addtitle><description>This paper proposes a method that aggregates similar portions (code clones) in the developed program and redesigns the current program structure to an adequate program structure. The procedure of the proposed method is the following: Code clones are detected, and their characteristics are extracted, the design methods that code clones are aggregated are proposed, the program is modified, and the affected portions in the program are clarified and retested. Furthermore, a tool that supports the proposed method is created. As a result of applying the proposed method and the tool, it is found that 45% CCs are aggregated and 13% instructions of the program are deleted. Additionally, it is found that an adequate program structure is realized by using the proposed method and the tool.</description><subject>code clone</subject><subject>Computer programs</subject><subject>Impact analysis</subject><subject>object oriented method</subject><subject>refactoring</subject><issn>1882-4889</issn><issn>1884-9970</issn><fulltext>true</fulltext><rsrctype>article</rsrctype><creationdate>2017</creationdate><recordtype>article</recordtype><sourceid>DOA</sourceid><recordid>eNo9kU1PGzEQhlcVlYqAGz_AEtcs-HPtPaEoEIgEatXC2bK947BRdh1sB4l_XyeBnMYzfuYde96quiT4upW8uVm5IfXXJSOK_6hOiVK8bluJT_ZnWnOl2l_VRUq9xZw0gnMqT6vNdESLYRPDBwwwZvQM-S10yIeI_sSwjGZA_3LcuryNgF5TPy7RLHSAZuswArqDDC73YZzsRIzLaDqa9Wfq0wSZsUN_wZdiiLu2eYiDyem8-unNOsHFVzyrXuf3L7PH-un3w2I2faodY4LXFHdKOWo7LIVvhWWtYpZ3jZBM2gZL4hvOBCO00NJj7DCV1CrKjOCENIqdVYuDbhfMSm9iP5j4qYPp9b4Q4lKbmHu3Bk2ttww8SAqEE2OUlZ0ljgghfENsU7SuDlplT-9bSFmvwjaWnyZNMeFcsDKzUJMD5WJIKYI_TiVY7yzSe4t2WbGo4LcHfJWyWcIR_n7VEWZfHccb92aihpH9BxaYmmw</recordid><startdate>20170501</startdate><enddate>20170501</enddate><creator>TAKAHASHI, Masakazu</creator><creator>NANBA, Reiji</creator><creator>ANANG, Yunarso</creator><creator>WATANABE, Yoshimichi</creator><general>The Society of Instrument and Control Engineers</general><general>Japan Science and Technology Agency</general><general>Taylor &amp; Francis Group</general><scope>AAYXX</scope><scope>CITATION</scope><scope>7SP</scope><scope>7TA</scope><scope>7TB</scope><scope>8FD</scope><scope>FR3</scope><scope>JG9</scope><scope>L7M</scope><scope>DOA</scope></search><sort><creationdate>20170501</creationdate><title>An Improvement Method for Program Structure Using Code Clone Detection, Impact Analysis, and Refactoring Formats</title><author>TAKAHASHI, Masakazu ; NANBA, Reiji ; ANANG, Yunarso ; WATANABE, Yoshimichi</author></sort><facets><frbrtype>5</frbrtype><frbrgroupid>cdi_FETCH-LOGICAL-c3354-20d88c2bd075f95b3983b4d65737b6071f64353123357f00c0272b823a5411683</frbrgroupid><rsrctype>articles</rsrctype><prefilter>articles</prefilter><language>eng</language><creationdate>2017</creationdate><topic>code clone</topic><topic>Computer programs</topic><topic>Impact analysis</topic><topic>object oriented method</topic><topic>refactoring</topic><toplevel>online_resources</toplevel><creatorcontrib>TAKAHASHI, Masakazu</creatorcontrib><creatorcontrib>NANBA, Reiji</creatorcontrib><creatorcontrib>ANANG, Yunarso</creatorcontrib><creatorcontrib>WATANABE, Yoshimichi</creatorcontrib><collection>CrossRef</collection><collection>Electronics &amp; Communications Abstracts</collection><collection>Materials Business File</collection><collection>Mechanical &amp; Transportation Engineering Abstracts</collection><collection>Technology Research Database</collection><collection>Engineering Research Database</collection><collection>Materials Research Database</collection><collection>Advanced Technologies Database with Aerospace</collection><collection>DOAJ Directory of Open Access Journals</collection><jtitle>SICE Journal of Control, Measurement, and System Integration</jtitle></facets><delivery><delcategory>Remote Search Resource</delcategory><fulltext>fulltext</fulltext></delivery><addata><au>TAKAHASHI, Masakazu</au><au>NANBA, Reiji</au><au>ANANG, Yunarso</au><au>WATANABE, Yoshimichi</au><format>journal</format><genre>article</genre><ristype>JOUR</ristype><atitle>An Improvement Method for Program Structure Using Code Clone Detection, Impact Analysis, and Refactoring Formats</atitle><jtitle>SICE Journal of Control, Measurement, and System Integration</jtitle><addtitle>SICE JCMSI</addtitle><date>2017-05-01</date><risdate>2017</risdate><volume>10</volume><issue>3</issue><spage>184</spage><epage>191</epage><pages>184-191</pages><issn>1882-4889</issn><eissn>1884-9970</eissn><abstract>This paper proposes a method that aggregates similar portions (code clones) in the developed program and redesigns the current program structure to an adequate program structure. The procedure of the proposed method is the following: Code clones are detected, and their characteristics are extracted, the design methods that code clones are aggregated are proposed, the program is modified, and the affected portions in the program are clarified and retested. Furthermore, a tool that supports the proposed method is created. As a result of applying the proposed method and the tool, it is found that 45% CCs are aggregated and 13% instructions of the program are deleted. Additionally, it is found that an adequate program structure is realized by using the proposed method and the tool.</abstract><cop>Tokyo</cop><pub>The Society of Instrument and Control Engineers</pub><doi>10.9746/jcmsi.10.184</doi><tpages>8</tpages><oa>free_for_read</oa></addata></record>
fulltext fulltext
identifier ISSN: 1882-4889
ispartof SICE Journal of Control, Measurement, and System Integration, 2017, Vol.10(3), pp.184-191
issn 1882-4889
1884-9970
language eng
recordid cdi_proquest_journals_2014453411
source Elektronische Zeitschriftenbibliothek - Frei zugängliche E-Journals
subjects code clone
Computer programs
Impact analysis
object oriented method
refactoring
title An Improvement Method for Program Structure Using Code Clone Detection, Impact Analysis, and Refactoring Formats
url https://sfx.bib-bvb.de/sfx_tum?ctx_ver=Z39.88-2004&ctx_enc=info:ofi/enc:UTF-8&ctx_tim=2025-02-05T07%3A03%3A19IST&url_ver=Z39.88-2004&url_ctx_fmt=infofi/fmt:kev:mtx:ctx&rfr_id=info:sid/primo.exlibrisgroup.com:primo3-Article-proquest_doaj_&rft_val_fmt=info:ofi/fmt:kev:mtx:journal&rft.genre=article&rft.atitle=An%20Improvement%20Method%20for%20Program%20Structure%20Using%20Code%20Clone%20Detection,%20Impact%20Analysis,%20and%20Refactoring%20Formats&rft.jtitle=SICE%20Journal%20of%20Control,%20Measurement,%20and%20System%20Integration&rft.au=TAKAHASHI,%20Masakazu&rft.date=2017-05-01&rft.volume=10&rft.issue=3&rft.spage=184&rft.epage=191&rft.pages=184-191&rft.issn=1882-4889&rft.eissn=1884-9970&rft_id=info:doi/10.9746/jcmsi.10.184&rft_dat=%3Cproquest_doaj_%3E2014453411%3C/proquest_doaj_%3E%3Curl%3E%3C/url%3E&disable_directlink=true&sfx.directlink=off&sfx.report_link=0&rft_id=info:oai/&rft_pqid=2014453411&rft_id=info:pmid/&rft_doaj_id=oai_doaj_org_article_2bfb3efe72e141aa8b7db1c1555f61b6&rfr_iscdi=true