2,268 Hits in 3.3 sec

Search-Based Refactoring Detection from Source Code Revisions

Shinpei HAYASHI, Yasuyuki TSUDA, Motoshi SAEKI
2010 IEICE transactions on information and systems  
This paper proposes a technique for detecting the occurrences of refactoring from source code revisions.  ...  In order to detect these impure refactorings, we model the detection within a graph search.  ...  Introduction This paper proposes a technique for detecting the occurrences of refactoring [1] , [2] from two versions of source code stored in a software version archive.  ... 
doi:10.1587/transinf.e93.d.754 fatcat:so6ztxrcijfuja5i2mmo37wv3q

Search-Based Refactoring Detection Using Software Metrics Variation [chapter]

Rim Mahouachi, Marouane Kessentini, Mel Ó Cinnéide
2013 Lecture Notes in Computer Science  
To this end, we have developed an approach to automate the detection of source code refactorings using structural information extracted from the source code.  ...  This refactoring sequence is determined by a search-based process that minimizes the metrics variation between the revised version of the software and the version yielded by the application of the refactoring  ...  between the metrics value of the revised code and the code that results from applying the detected refactorings.  ... 
doi:10.1007/978-3-642-39742-4_11 fatcat:b5qoxql3v5gytewhyxa2mqmgbe

A Trace Mechanism of Change History in the Presence of Refactoring

Seonghye Yoon, Chaeyoung Lee, Sooyong Park, Mansoo Hwang
2015 International Journal of Software Engineering and Its Applications  
In this approach, we define four rules based on M.Flower's refactoring techniques and find an origin method matching the pattern of changed source code with the pre-defined rules.  ...  The case study shows that the proposed mechanism is effective Also, case study looking for open source project code changes about the origin method show the proposed mechanism's effectiveness.  ...  The last revision exist the function, which we want to trace, is searched in the source code repository.  ... 
doi:10.14257/ijseia.2015.9.9.03 fatcat:farhhmuhfzcjnetqgmtidvjtdi

Circumventing refactoring masking using fine-grained change recording

Quinten David Soetens, Javier Pérez, Serge Demeyer, Andy Zaidman
2015 Proceedings of the 14th International Workshop on Principles of Software Evolution - IWPSE 2015  
Today, refactoring reconstruction techniques are snapshotbased: they compare two revisions from a source code management system and calculate the shortest path of edit operations to go from the one to  ...  An inherent risk with snapshot-based approaches is that a refactoring may be concealed by later edit operations acting on the same source code entity, a phenomenon we call refactoring masking.  ...  in a source code repository.  ... 
doi:10.1145/2804360.2804362 dblp:conf/iwpse/SoetensPDZ15 fatcat:6k5cclr3uzh4hlkbyshgranofu

Non-Source Code Refactoring: A Systematic Literature Review

Siti Rochimah, Siska Arifiani, Vika F. Insanittaqwa
2015 International Journal of Software Engineering and Its Applications  
Refactoring detection at non-source code level can be done in the software design model, source code with nonconventional detection, and other software artifacts.  ...  The 20 selected literatures then processed based on certain criteria, including the refactoring method and refactoring identification source.  ...  There are also studies which detect the refactoring opportunity from source code with non-conventional detection method.  ... 
doi:10.14257/ijseia.2015.9.6.19 fatcat:k263tdpqt5f7bbeqx7hdeyvdei

Active support for clone refactoring

Norihiro Yoshida, Eunjong Choi, Katsuro Inoue
2013 Proceedings of the 2013 ACM workshop on Workshop on refactoring tools - WRT '13  
Clone refactoring (merging duplicate code) is a promising solution to improve the maintainability of source code.  ...  In this position paper, we discuss directions towards the advancement of clone refactoring, and show a perspective of active support based on online analysis of code modification on an editor of IDE.  ...  Also, search-based approaches have been proposed for scheduling clone refactoring based on its benefit and effort [3, 17, 24] .  ... 
doi:10.1145/2541348.2541352 dblp:conf/oopsla/YoshidaCI13 fatcat:l6brm4l4tzhahjxrhi4x73jrly

On the use of many quality attributes for software refactoring: a many-objective search-based software engineering approach

Mohamed Wiem Mkaouer, Marouane Kessentini, Slim Bechikh, Mel Ó Cinnéide, Kalyanmoy Deb
2015 Empirical Software Engineering  
technique not based on heuristic search.  ...  Search-based software engineering (SBSE) solutions are still not scalable enough to handle high-dimensional objectives space.  ...  Mäntylä proposed refactoring solutions based on developers' opinions and driven by an automatic detection of structural anomalies at the source code level.  ... 
doi:10.1007/s10664-015-9414-4 fatcat:wbizyzpgpbdetpmnmxl5qiad6a

A Systematic Review of the Literature of the Techniques to Perform Transformations in Software Engineering

Reudismam Rolim de Sousa
2020 Brazilian Journal of Development  
As a result, this systematic review returned 51 works ranging from the domains programming-byexamples, linked editing, API usage, bug fixing, complex refactoring, and complex transformations, which can  ...  These edits can be identical or similar to different codebase locations, which may occur as developers add features, refactor, or fix a bug.  ...  The key idea ofMeng et al. (2015) is to remove code clones from the source code based on examples.  ... 
doi:10.34117/bjdv6n7-361 fatcat:dj43wxhojjbivajsipzzgmokea

Zsmell – Code Smell Detection for Open Source Software

Aziz Nanthaamornphong, Tanawat Saeang, Panyaprach Tularak
2020 International Journal on Advanced Science, Engineering and Information Technology  
code smells in the source code saved in GitHub.  ...  Developed systems display data related to code smells in each source code version that was modified by collaborators.  ...  Thus, there are advantages from using these GitHub APIs to develop the Zsmell system, which can detect code smells in OSS based on software metrics.  ... 
doi:10.18517/ijaseit.10.3.10182 fatcat:ahbtsu7mbjbgnhlgeppet5c64y

Refactoring--Does It Improve Software Quality?

Konstantinos Stroggylos, Diomidis Spinellis
2007 Fifth International Workshop on Software Quality (WoSQ'07: ICSE Workshops 2007)  
We analyzed source code version control system logs of popular open source software systems to detect changes marked as refactorings and examine how the software metrics are affected by this process, in  ...  order to evaluate whether refactoring is effectively used as a means to improve software quality within the open source community.  ...  Search through the log entries for mentions of words stemming from the verb 'refactor' (e.g. refactoring, refactored, etc.) 3.  ... 
doi:10.1109/wosq.2007.11 dblp:conf/icse/StroggylosS07 fatcat:ylbrv4vmnra5fomobs4ozg5uxa

Detecting and Visualizing Change Smells Based on Revision History and Code Hunk's Lifecycle

Woosung JUNG, Eunjoo LEE, Chisu WU
2011 IEICE transactions on information and systems  
In this paper, we propose a practical approach to detect various change smells based on revision history and code hunk tracking.  ...  Based on these assumptions, suspicious cases can be predicted and the project's developers can be alerted.  ...  And then, source code files are downloaded from the local repository based on the log data. A unique ID is given to each file.  ... 
doi:10.1587/transinf.e94.d.1575 fatcat:lwv5lqtmmffktcuddq3nmdvjku

Search-Based Refactoring Using Recorded Code Changes

A. Ouni, M. Kessentini, H. Sahraoui
2013 2013 17th European Conference on Software Maintenance and Reengineering  
We start from the observation that these recorded code changes can be used to propose new refactoring solutions in similar contexts.  ...  We report the results of our experiments on different open source java projects.  ...  the number of design defects detected on the source code.  ... 
doi:10.1109/csmr.2013.31 dblp:conf/csmr/OuniKS13 fatcat:jmd3wfbbczcf7c5hz2lrsaryk4

Mining system specific rules from change patterns

Andre Hora, Nicolas Anquetil, Stephane Ducasse, Marco Tulio Valente
2013 2013 20th Working Conference on Reverse Engineering (WCRE)  
applied over source code.  ...  Thus, there are some works dedicated to provide better rules by mining them from source code history, analyzing bug-fixes or changes between system releases.  ...  MINING CHANGES FROM HISTORY When analyzing source code history, information can be extracted from system releases or from revisions (commits) found in source code repositories.  ... 
doi:10.1109/wcre.2013.6671308 dblp:conf/wcre/HoraADV13 fatcat:b4bbniirancp3pzbloc3d4ar4q

A toolkit for constructing refactoring engines

Jeffrey Overbey
2012 Journal of Computer Science and Technology  
These features allow the programmer to select a portion of the source code and select a particular refactoring to apply.  ...  If the behavior will not change, the IDE modifies the source code, showing the user a side-by-side, before-andafter view of the source code so that he can visually inspect the changes  ...  There are API methods for adding, moving, copying, modifying, and deleting AST nodes, as well as emitting revised source code from a modified AST.  ... 
doaj:1d15abfcf2ea48d5ad1b18bf985850a1 fatcat:zwd6mloebbaj3kiodrfwsvduj4

Improving multi-objective code-smells correction using development history

Ali Ouni, Marouane Kessentini, Houari Sahraoui, Katsuro Inoue, Mohamed Salah Hamdi
2015 Journal of Systems and Software  
From another perspective, development history was proven as a powerful source of knowledge in many maintenance tasks.  ...  We propose a multi-objective optimization-based approach to find good refactoring sequences that (1) minimize the number of code-smells, and (2) maximize the use of development history while (3) preserving  ...  The search-based process takes as inputs, the source code, code-smells detection rules, a set of refactoring operations, and a call graph for the whole program.  ... 
doi:10.1016/j.jss.2015.03.040 fatcat:itujkbxyb5dmdop7efnxt7bove
« Previous Showing results 1 — 15 out of 2,268 results