Proceedings of the 2nd International Workshop on Refactoring最新文献

筛选
英文 中文
A metamodel for the specification and verification of model refactoring actions 用于规范和验证模型重构操作的元模型
Proceedings of the 2nd International Workshop on Refactoring Pub Date : 2018-09-04 DOI: 10.1145/3242163.3242167
Davide Arcelli, V. Cortellessa, Daniele Di Pompeo
{"title":"A metamodel for the specification and verification of model refactoring actions","authors":"Davide Arcelli, V. Cortellessa, Daniele Di Pompeo","doi":"10.1145/3242163.3242167","DOIUrl":"https://doi.org/10.1145/3242163.3242167","url":null,"abstract":"Refactoring has become a valuable activity during the software development lifecycle, because it can be induced by different causes, like new requirements or quality improvement. In code-based development contexts this activity has been widely studied, whereas in model-driven ones, where models are first-class development entities, there are many issues yet to be tackled. In this paper we present a metamodel that supports the specification of pre- and post- conditions of model refactoring actions, and the automated derivation and verification of such conditions in specific modeling languages. Our work is aimed at helping users to implement refactoring actions in the adopted modelling language by providing an environment for guaranteeing the feasibility of refactoring actions. Our primary focus is on the definition of applicable sequences of refactoring actions, rather than on the user-driven step-by-step application of refactoring actions. As an example, we illustrate the applicability of our metamodel for UML models refactoring.","PeriodicalId":404412,"journal":{"name":"Proceedings of the 2nd International Workshop on Refactoring","volume":"36 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2018-09-04","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"125009639","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 3
Support for architectural smell refactoring 支持架构气味重构
Proceedings of the 2nd International Workshop on Refactoring Pub Date : 2018-09-04 DOI: 10.1145/3242163.3242165
Luca Rizzi, F. Fontana, Riccardo Roveda
{"title":"Support for architectural smell refactoring","authors":"Luca Rizzi, F. Fontana, Riccardo Roveda","doi":"10.1145/3242163.3242165","DOIUrl":"https://doi.org/10.1145/3242163.3242165","url":null,"abstract":"To preserve high quality of a project, it is necessary to perform many refactoring steps during the development and maintenance phases. Code refactoring received a great attention in the literature, often directed to the refactoring of code smells. While at the architectural level, architectural smells received less attention. One of the most common architectural smell which may affect many parts of a software application is the Cyclic Dependency smell. This position paper presents a tool prototype that suggests which path a developer could follow to remove Cyclic Dependency smells in Java applications. The tool has been developed as an extension of the Arcan tool for architectural smells detection. In this paper we describe how the tool identifies the path to follow for the refactoring of Cyclic Dependency on real projects. The tool has been thought only to suggest a possible refactoring approach which a developer could considerate to resolve Cyclic Dependency.","PeriodicalId":404412,"journal":{"name":"Proceedings of the 2nd International Workshop on Refactoring","volume":"67 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2018-09-04","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"128636750","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 20
A study on developer perception of transformation languages for refactoring 开发人员对重构转换语言认知的研究
Proceedings of the 2nd International Workshop on Refactoring Pub Date : 2018-09-04 DOI: 10.1145/3242163.3242170
Christian D. Newman, Mohamed Wiem Mkaouer, M. Collard, Jonathan I. Maletic
{"title":"A study on developer perception of transformation languages for refactoring","authors":"Christian D. Newman, Mohamed Wiem Mkaouer, M. Collard, Jonathan I. Maletic","doi":"10.1145/3242163.3242170","DOIUrl":"https://doi.org/10.1145/3242163.3242170","url":null,"abstract":"Although there is much research advancing state-of-art of program transformation tools, their application in industry source code change problems has not yet been gauged. In this context, the purpose of this paper is to better understand developer familiarity and comfort with these languages by conducting a survey. It poses, and answers, four research questions to understand how frequently source code transformation languages are applied to refactoring tasks, how well-known these languages are in industry, what developers think are obstacles to adoption, and what developer refactoring habits tell us about their current use, or underuse, of transformation languages. The results show that while source code transformation languages can fill a needed niche in refactoring, research must motivate their application. We provide explanations and insights based on data, aimed at the program transformation and refactoring communities, with a goal to motivate future research and ultimately improve industry adoption of transformation languages for refactoring tasks.","PeriodicalId":404412,"journal":{"name":"Proceedings of the 2nd International Workshop on Refactoring","volume":"10 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2018-09-04","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"127977155","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 10
Proceedings of the 2nd International Workshop on Refactoring 第二届重构国际研讨会论文集
Proceedings of the 2nd International Workshop on Refactoring Pub Date : 2018-09-04 DOI: 10.1145/3242163
{"title":"Proceedings of the 2nd International Workshop on Refactoring","authors":"","doi":"10.1145/3242163","DOIUrl":"https://doi.org/10.1145/3242163","url":null,"abstract":"","PeriodicalId":404412,"journal":{"name":"Proceedings of the 2nd International Workshop on Refactoring","volume":"42 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2018-09-04","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"125554553","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Automatic recommendation of move method refactorings using clustering ensembles 使用聚类集成自动推荐移动方法重构
Proceedings of the 2nd International Workshop on Refactoring Pub Date : 2018-09-04 DOI: 10.1145/3242163.3242171
T. Bryksin, Evgenii Novozhilov, A. Shpilman
{"title":"Automatic recommendation of move method refactorings using clustering ensembles","authors":"T. Bryksin, Evgenii Novozhilov, A. Shpilman","doi":"10.1145/3242163.3242171","DOIUrl":"https://doi.org/10.1145/3242163.3242171","url":null,"abstract":"In this paper, we are approaching the problem of automatic refactoring recommendation for object-oriented systems. An approach based on clustering ensembles is proposed, several heuristics to existing algorithms and to filtering and combining their results are discussed. Experimental validation of the proposed approach on an open source project is presented. The obtained preliminary results illustrate that the introduced approach could be successfully used to improve existing integrated development environments, providing developers with one more tool to reduce the complexity of their projects. The paper concludes with a discussion on the applicability of such automatic refactoring recommendation approaches to real-world software developed using common object-oriented techniques.","PeriodicalId":404412,"journal":{"name":"Proceedings of the 2nd International Workshop on Refactoring","volume":"1 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2018-09-04","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"128296564","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 5
Migrating towards microservices: migration and architecture smells 向微服务迁移:迁移和架构气味
Proceedings of the 2nd International Workshop on Refactoring Pub Date : 2018-09-04 DOI: 10.1145/3242163.3242164
A. Carrasco, B. V. Bladel, S. Demeyer
{"title":"Migrating towards microservices: migration and architecture smells","authors":"A. Carrasco, B. V. Bladel, S. Demeyer","doi":"10.1145/3242163.3242164","DOIUrl":"https://doi.org/10.1145/3242163.3242164","url":null,"abstract":"Migrating to microservices is an error-prone process with deep pitfalls resulting in high costs for mistakes. Microservices is a relatively new architectural style, resulting in the lack of general guidelines for migrating monoliths towards microservices. We present 9 common pitfalls in terms of bad smells with their potential solutions. Using these bad smells, pitfalls can be identified and corrected in the migration process.","PeriodicalId":404412,"journal":{"name":"Proceedings of the 2nd International Workshop on Refactoring","volume":"68 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2018-09-04","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"116320042","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 55
Architectural refactoring as a strategic tool in the evolution of a web-based SaaS product 架构重构作为基于web的SaaS产品发展的战略工具
Proceedings of the 2nd International Workshop on Refactoring Pub Date : 2018-09-04 DOI: 10.1145/3242163.3242166
Rory McTague, Paddy Fagan
{"title":"Architectural refactoring as a strategic tool in the evolution of a web-based SaaS product","authors":"Rory McTague, Paddy Fagan","doi":"10.1145/3242163.3242166","DOIUrl":"https://doi.org/10.1145/3242163.3242166","url":null,"abstract":"Working in the highly agile world of Software As-A-Service (SaaS) enterprise software products, the authors describe their experience of the constant evolution in terms of continuous refactoring. This paper examines several of the key drivers for this refactoring, their impact on product architecture and code, as well as the factors that influence timing of such impacts. The drivers examined are speed to market and associated viability, cost, organisational productivity, market demands/changing technology trends, changing underlying technical services, increased scale and the associated necessity for increased agility, and changing regulatory frameworks.","PeriodicalId":404412,"journal":{"name":"Proceedings of the 2nd International Workshop on Refactoring","volume":"7 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2018-09-04","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"131627334","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Test behaviour detection as a test refactoring safety 测试行为检测作为一种测试重构安全
Proceedings of the 2nd International Workshop on Refactoring Pub Date : 2018-09-04 DOI: 10.1145/3242163.3242168
B. V. Bladel, S. Demeyer
{"title":"Test behaviour detection as a test refactoring safety","authors":"B. V. Bladel, S. Demeyer","doi":"10.1145/3242163.3242168","DOIUrl":"https://doi.org/10.1145/3242163.3242168","url":null,"abstract":"When refactoring production code, software developers rely on an automated test suite as a safeguard. However, when refactoring the test suite itself, there is no such safeguard. Therefore, there is a need for tool support that can verify if a refactored test suite preserves its behaviour pre- and post-refactoring. In this work we present T-CORE (Test COde REfactoring tool); a tool that captures the behaviour of Java tests in the form of a Test Behaviour Tree. T-CORE allows developers to verify that the refactoring of a test suite has preserved the behaviour of the test.","PeriodicalId":404412,"journal":{"name":"Proceedings of the 2nd International Workshop on Refactoring","volume":"19 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2018-09-04","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"132584376","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 5
An empirical investigation of how and why developers rename identifiers 关于开发人员如何以及为什么重命名标识符的实证调查
Proceedings of the 2nd International Workshop on Refactoring Pub Date : 2018-09-04 DOI: 10.1145/3242163.3242169
Anthony S Peruma, Mohamed Wiem Mkaouer, M. J. Decker, Christian D. Newman
{"title":"An empirical investigation of how and why developers rename identifiers","authors":"Anthony S Peruma, Mohamed Wiem Mkaouer, M. J. Decker, Christian D. Newman","doi":"10.1145/3242163.3242169","DOIUrl":"https://doi.org/10.1145/3242163.3242169","url":null,"abstract":"Renaming is vital to software maintenance and evolution. Developers rename entities when their original names no longer fit their behavioral role within the program. This may happen if the entity's original name was of poor quality or if the system has evolved such that the original name needs to be updated to reflect some of this evolution. In the end, the reason for the rename ultimately falls under increasing understandability and comprehension. Because comprehension is so important, and identifiers are the primary way developers comprehend code, it is critical to understand empirically how and why identifier names evolve. Armed with an understanding of these two facets of identifier evolution, researchers will be able to train algorithms to recognize, recommend, or even automatically generate high-quality identifier names. We present an empirical study of how method, class and package identifier names evolve to better understand the motives of their evolution. The empirical validation involves a set of 524,113 rename refactorings, performed on 3,795 Java systems. In a nutshell, our findings demonstrate that most rename refactorings narrow the meaning of the identifiers for which they are applied. Further, we analyze commit messages to contextualize these renames.","PeriodicalId":404412,"journal":{"name":"Proceedings of the 2nd International Workshop on Refactoring","volume":"172 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2018-09-04","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"126209073","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 42
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
相关产品
×
本文献相关产品
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信