{"title":"Towards a Multi-view Approach to Model-Driven Refactoring","authors":"Mohammed Misbhauddin, M. Alshayeb","doi":"10.1109/ACSEAC.2012.21","DOIUrl":null,"url":null,"abstract":"Model-driven engineering, an emerging trend in software engineering, has enabled the application of refactoring to UML models. One of the important steps in refactoring is the identification of refactoring opportunities within the model, also referred to as Model Smells. An Object-Oriented system modeled by UML is built up from many different views. Model refactoring, in recent proposals, is applied to a single view in the model. Hence information from other views are either not considered or later synchronized for consistency preservation. In this paper we outline an approach to refactor UML models using a multi-view approach. We exploit the inter-view relationship to suggest model smells by combining information from each UML view. We restrict our scope to one diagram from each UML view, class diagram (structural view), sequence diagram (behavioral view) and use case diagram (functional view). For each model smell, we describe (a) steps to detect the existence of the model smell (b) set of composite refactorings to remove the detected smell and (c) demonstration using a running example. We also propose a Multi-view Model Refactoring framework to realize the approach proposed in this paper.","PeriodicalId":395297,"journal":{"name":"2012 African Conference for Sofware Engineering and Applied Computing","volume":"50 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2012-09-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2012 African Conference for Sofware Engineering and Applied Computing","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ACSEAC.2012.21","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1
Abstract
Model-driven engineering, an emerging trend in software engineering, has enabled the application of refactoring to UML models. One of the important steps in refactoring is the identification of refactoring opportunities within the model, also referred to as Model Smells. An Object-Oriented system modeled by UML is built up from many different views. Model refactoring, in recent proposals, is applied to a single view in the model. Hence information from other views are either not considered or later synchronized for consistency preservation. In this paper we outline an approach to refactor UML models using a multi-view approach. We exploit the inter-view relationship to suggest model smells by combining information from each UML view. We restrict our scope to one diagram from each UML view, class diagram (structural view), sequence diagram (behavioral view) and use case diagram (functional view). For each model smell, we describe (a) steps to detect the existence of the model smell (b) set of composite refactorings to remove the detected smell and (c) demonstration using a running example. We also propose a Multi-view Model Refactoring framework to realize the approach proposed in this paper.