Loading…
Search-based refactoring: Towards semantics preservation
Refactoring restructures a program to improve its structure without altering its behavior. However, it is challenging to preserve the domain semantics of a program when refactoring is decided/implemented automatically. Indeed, a program could be syntactically correct, have the right behavior, but mo...
Saved in:
Main Authors: | , , , |
---|---|
Format: | Conference Proceeding |
Language: | English |
Subjects: | |
Online Access: | Request full text |
Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
cited_by | |
---|---|
cites | |
container_end_page | 356 |
container_issue | |
container_start_page | 347 |
container_title | |
container_volume | |
creator | Ouni, A. Kessentini, M. Sahraoui, H. Hamdi, M. S. |
description | Refactoring restructures a program to improve its structure without altering its behavior. However, it is challenging to preserve the domain semantics of a program when refactoring is decided/implemented automatically. Indeed, a program could be syntactically correct, have the right behavior, but model incorrectly the domain semantics. In this paper, we propose a multi-objective optimization approach to find the best sequence of refactorings that maximizes quality improvements (program structure) and minimizes semantic errors. To this end, we use the non-dominated sorting genetic algorithm (NSGA-II) to find the best compromise between these two conflicting objectives. We report the results of our experiments on different open source projects. |
doi_str_mv | 10.1109/ICSM.2012.6405292 |
format | conference_proceeding |
fullrecord | <record><control><sourceid>ieee_6IE</sourceid><recordid>TN_cdi_ieee_primary_6405292</recordid><sourceformat>XML</sourceformat><sourcesystem>PC</sourcesystem><ieee_id>6405292</ieee_id><sourcerecordid>6405292</sourcerecordid><originalsourceid>FETCH-LOGICAL-i284t-686c52cc00dbf503fa86cb3f0a08a815a45b238a33ce490f5ffc98abcd5c8efa3</originalsourceid><addsrcrecordid>eNo1kM1KAzEUheMfOK19AHEzL5DxJjfJZNxJqVqouGhdlzuZRCN2piSD4ttbsK4OnA8OH4exawGVENDcLufr50qCkJVRoGUjT9hEKFOjRCHtKSukrg1HoewZmzW1_WcI56wQYJCbusZLNsn5A0CrGlXB7NpTcu-8pey7MvlAbhxS7N_uys3wTanLZfY76sfocrlPPvv0RWMc-it2Eegz-9kxp-z1YbGZP_HVy-Nyfr_iUVo1cmON09I5gK4NGjDQoWgxAIElKzQp3Uq0hOi8aiDoEFxjqXWddvZgg1N287cbvffbfYo7Sj_b4wP4C--8TAI</addsrcrecordid><sourcetype>Publisher</sourcetype><iscdi>true</iscdi><recordtype>conference_proceeding</recordtype></control><display><type>conference_proceeding</type><title>Search-based refactoring: Towards semantics preservation</title><source>IEEE Electronic Library (IEL) Conference Proceedings</source><creator>Ouni, A. ; Kessentini, M. ; Sahraoui, H. ; Hamdi, M. S.</creator><creatorcontrib>Ouni, A. ; Kessentini, M. ; Sahraoui, H. ; Hamdi, M. S.</creatorcontrib><description>Refactoring restructures a program to improve its structure without altering its behavior. However, it is challenging to preserve the domain semantics of a program when refactoring is decided/implemented automatically. Indeed, a program could be syntactically correct, have the right behavior, but model incorrectly the domain semantics. In this paper, we propose a multi-objective optimization approach to find the best sequence of refactorings that maximizes quality improvements (program structure) and minimizes semantic errors. To this end, we use the non-dominated sorting genetic algorithm (NSGA-II) to find the best compromise between these two conflicting objectives. We report the results of our experiments on different open source projects.</description><identifier>ISSN: 1063-6773</identifier><identifier>ISBN: 9781467323130</identifier><identifier>ISBN: 1467323136</identifier><identifier>EISSN: 2576-3148</identifier><identifier>EISBN: 1467323128</identifier><identifier>EISBN: 9781467323123</identifier><identifier>DOI: 10.1109/ICSM.2012.6405292</identifier><language>eng</language><publisher>IEEE</publisher><subject>Design-defects ; Multi-objective Optimization ; Optimization ; Search-based Software Engineerng ; Semantic Similarity ; Semantics ; Sociology ; Software ; Software Maintenance ; Statistics ; Vectors ; Vocabulary</subject><ispartof>2012 28th IEEE International Conference on Software Maintenance (ICSM), 2012, p.347-356</ispartof><oa>free_for_read</oa><woscitedreferencessubscribed>false</woscitedreferencessubscribed></display><links><openurl>$$Topenurl_article</openurl><openurlfulltext>$$Topenurlfull_article</openurlfulltext><thumbnail>$$Tsyndetics_thumb_exl</thumbnail><linktohtml>$$Uhttps://ieeexplore.ieee.org/document/6405292$$EHTML$$P50$$Gieee$$H</linktohtml><link.rule.ids>309,310,776,780,785,786,2052,27902,54530,54895,54907</link.rule.ids><linktorsrc>$$Uhttps://ieeexplore.ieee.org/document/6405292$$EView_record_in_IEEE$$FView_record_in_$$GIEEE</linktorsrc></links><search><creatorcontrib>Ouni, A.</creatorcontrib><creatorcontrib>Kessentini, M.</creatorcontrib><creatorcontrib>Sahraoui, H.</creatorcontrib><creatorcontrib>Hamdi, M. S.</creatorcontrib><title>Search-based refactoring: Towards semantics preservation</title><title>2012 28th IEEE International Conference on Software Maintenance (ICSM)</title><addtitle>ICSM</addtitle><description>Refactoring restructures a program to improve its structure without altering its behavior. However, it is challenging to preserve the domain semantics of a program when refactoring is decided/implemented automatically. Indeed, a program could be syntactically correct, have the right behavior, but model incorrectly the domain semantics. In this paper, we propose a multi-objective optimization approach to find the best sequence of refactorings that maximizes quality improvements (program structure) and minimizes semantic errors. To this end, we use the non-dominated sorting genetic algorithm (NSGA-II) to find the best compromise between these two conflicting objectives. We report the results of our experiments on different open source projects.</description><subject>Design-defects</subject><subject>Multi-objective Optimization</subject><subject>Optimization</subject><subject>Search-based Software Engineerng</subject><subject>Semantic Similarity</subject><subject>Semantics</subject><subject>Sociology</subject><subject>Software</subject><subject>Software Maintenance</subject><subject>Statistics</subject><subject>Vectors</subject><subject>Vocabulary</subject><issn>1063-6773</issn><issn>2576-3148</issn><isbn>9781467323130</isbn><isbn>1467323136</isbn><isbn>1467323128</isbn><isbn>9781467323123</isbn><fulltext>true</fulltext><rsrctype>conference_proceeding</rsrctype><creationdate>2012</creationdate><recordtype>conference_proceeding</recordtype><sourceid>6IE</sourceid><recordid>eNo1kM1KAzEUheMfOK19AHEzL5DxJjfJZNxJqVqouGhdlzuZRCN2piSD4ttbsK4OnA8OH4exawGVENDcLufr50qCkJVRoGUjT9hEKFOjRCHtKSukrg1HoewZmzW1_WcI56wQYJCbusZLNsn5A0CrGlXB7NpTcu-8pey7MvlAbhxS7N_uys3wTanLZfY76sfocrlPPvv0RWMc-it2Eegz-9kxp-z1YbGZP_HVy-Nyfr_iUVo1cmON09I5gK4NGjDQoWgxAIElKzQp3Uq0hOi8aiDoEFxjqXWddvZgg1N287cbvffbfYo7Sj_b4wP4C--8TAI</recordid><startdate>201209</startdate><enddate>201209</enddate><creator>Ouni, A.</creator><creator>Kessentini, M.</creator><creator>Sahraoui, H.</creator><creator>Hamdi, M. S.</creator><general>IEEE</general><scope>6IE</scope><scope>6IH</scope><scope>CBEJK</scope><scope>RIE</scope><scope>RIO</scope></search><sort><creationdate>201209</creationdate><title>Search-based refactoring: Towards semantics preservation</title><author>Ouni, A. ; Kessentini, M. ; Sahraoui, H. ; Hamdi, M. S.</author></sort><facets><frbrtype>5</frbrtype><frbrgroupid>cdi_FETCH-LOGICAL-i284t-686c52cc00dbf503fa86cb3f0a08a815a45b238a33ce490f5ffc98abcd5c8efa3</frbrgroupid><rsrctype>conference_proceedings</rsrctype><prefilter>conference_proceedings</prefilter><language>eng</language><creationdate>2012</creationdate><topic>Design-defects</topic><topic>Multi-objective Optimization</topic><topic>Optimization</topic><topic>Search-based Software Engineerng</topic><topic>Semantic Similarity</topic><topic>Semantics</topic><topic>Sociology</topic><topic>Software</topic><topic>Software Maintenance</topic><topic>Statistics</topic><topic>Vectors</topic><topic>Vocabulary</topic><toplevel>online_resources</toplevel><creatorcontrib>Ouni, A.</creatorcontrib><creatorcontrib>Kessentini, M.</creatorcontrib><creatorcontrib>Sahraoui, H.</creatorcontrib><creatorcontrib>Hamdi, M. S.</creatorcontrib><collection>IEEE Electronic Library (IEL) Conference Proceedings</collection><collection>IEEE Proceedings Order Plan (POP) 1998-present by volume</collection><collection>IEEE Xplore All Conference Proceedings</collection><collection>IEEE/IET Electronic Library (IEL)</collection><collection>IEEE Proceedings Order Plans (POP) 1998-present</collection></facets><delivery><delcategory>Remote Search Resource</delcategory><fulltext>fulltext_linktorsrc</fulltext></delivery><addata><au>Ouni, A.</au><au>Kessentini, M.</au><au>Sahraoui, H.</au><au>Hamdi, M. S.</au><format>book</format><genre>proceeding</genre><ristype>CONF</ristype><atitle>Search-based refactoring: Towards semantics preservation</atitle><btitle>2012 28th IEEE International Conference on Software Maintenance (ICSM)</btitle><stitle>ICSM</stitle><date>2012-09</date><risdate>2012</risdate><spage>347</spage><epage>356</epage><pages>347-356</pages><issn>1063-6773</issn><eissn>2576-3148</eissn><isbn>9781467323130</isbn><isbn>1467323136</isbn><eisbn>1467323128</eisbn><eisbn>9781467323123</eisbn><abstract>Refactoring restructures a program to improve its structure without altering its behavior. However, it is challenging to preserve the domain semantics of a program when refactoring is decided/implemented automatically. Indeed, a program could be syntactically correct, have the right behavior, but model incorrectly the domain semantics. In this paper, we propose a multi-objective optimization approach to find the best sequence of refactorings that maximizes quality improvements (program structure) and minimizes semantic errors. To this end, we use the non-dominated sorting genetic algorithm (NSGA-II) to find the best compromise between these two conflicting objectives. We report the results of our experiments on different open source projects.</abstract><pub>IEEE</pub><doi>10.1109/ICSM.2012.6405292</doi><tpages>10</tpages><oa>free_for_read</oa></addata></record> |
fulltext | fulltext_linktorsrc |
identifier | ISSN: 1063-6773 |
ispartof | 2012 28th IEEE International Conference on Software Maintenance (ICSM), 2012, p.347-356 |
issn | 1063-6773 2576-3148 |
language | eng |
recordid | cdi_ieee_primary_6405292 |
source | IEEE Electronic Library (IEL) Conference Proceedings |
subjects | Design-defects Multi-objective Optimization Optimization Search-based Software Engineerng Semantic Similarity Semantics Sociology Software Software Maintenance Statistics Vectors Vocabulary |
title | Search-based refactoring: Towards semantics preservation |
url | http://sfxeu10.hosted.exlibrisgroup.com/loughborough?ctx_ver=Z39.88-2004&ctx_enc=info:ofi/enc:UTF-8&ctx_tim=2025-02-13T21%3A07%3A10IST&url_ver=Z39.88-2004&url_ctx_fmt=infofi/fmt:kev:mtx:ctx&rfr_id=info:sid/primo.exlibrisgroup.com:primo3-Article-ieee_6IE&rft_val_fmt=info:ofi/fmt:kev:mtx:book&rft.genre=proceeding&rft.atitle=Search-based%20refactoring:%20Towards%20semantics%20preservation&rft.btitle=2012%2028th%20IEEE%20International%20Conference%20on%20Software%20Maintenance%20(ICSM)&rft.au=Ouni,%20A.&rft.date=2012-09&rft.spage=347&rft.epage=356&rft.pages=347-356&rft.issn=1063-6773&rft.eissn=2576-3148&rft.isbn=9781467323130&rft.isbn_list=1467323136&rft_id=info:doi/10.1109/ICSM.2012.6405292&rft.eisbn=1467323128&rft.eisbn_list=9781467323123&rft_dat=%3Cieee_6IE%3E6405292%3C/ieee_6IE%3E%3Cgrp_id%3Ecdi_FETCH-LOGICAL-i284t-686c52cc00dbf503fa86cb3f0a08a815a45b238a33ce490f5ffc98abcd5c8efa3%3C/grp_id%3E%3Coa%3E%3C/oa%3E%3Curl%3E%3C/url%3E&rft_id=info:oai/&rft_id=info:pmid/&rft_ieee_id=6405292&rfr_iscdi=true |