Experiments for Linking the Complexity of the Business UML Class Diagram to the Quality of the Associated Code

2021 ◽  
pp. 95-110
Author(s):  
Gaetanino Paolone ◽  
Martina Marinelli ◽  
Romolo Paesani ◽  
Paolino Di Felice
Author(s):  
Thi-Huong Dao ◽  
Xuan-Truong Nguyen ◽  
Ninh-Thuan Truong

In the field of software engineering, the term class invariants is known as a valuable term employed to delineate the semantic of UML class diagram elements (attributes and relationships) and must be held throughout the life-time of instances of the class. Refactoring, the activities of re-distributing classes, attributes and methods across the class hierarchy, is a powerful technique that is used to improve the quality of software systems. Performing refactoring on UML class diagrams obviously requires a special investigation of invariant-preserving on the refactored models. In this paper, we propose an approach to preserve class invariants in refactoring UML models. In order to achieve this aim, we first formalize the class diagram along with class invariants by mathematical notations. We then constitute the rules for five refactoring operations (deal with class hierarchies) in such a way to guarantee class invariants as well as proving correctness of the refactoring rules. Finally, the paper also makes provision of the proposed approach for practical applications in software re-engineering development process.


2009 ◽  
Vol 20 (6) ◽  
pp. 1487-1498 ◽  
Author(s):  
Xiao-Bo WANG ◽  
Huan WANG ◽  
Chao LIU

Author(s):  
Haider Boudjemline ◽  
Mohamed Touahria ◽  
Abdelhak Boubetra ◽  
Hamza Kaabeche

Purpose The development of context-aware applications in ubiquitous environments depends not only on the user interactions but also on several context parameters. The handling of these parameters is a fundamental problem in these systems. The key purpose of this work is to enrich the unified modeling language (UML) class diagram with new constructs to provide a universal model capable of coping with the context-awareness concerns. Design/methodology/approach The authors provide a review of existing context handling approaches. Afterward, they relied on the UML extensibility mechanisms to propose a heavyweight extension for the UML class diagram. This generic approach allows describing the different context parameters since the modeling phase. Findings Existing solutions for context handling apply the contextual constraints on finished applications or tend to be dependent on a specific development process. This paper presents a solution based on UML, which allows dealing with context since the modeling phase, and independently of development processes. This proposal is implemented as an eclipse editor and illustrated through a case study in the healthcare field. Originality/value This paper addresses the problem of context handling, and it presents a review of the foremost existing solutions. The paper also presents a heavyweight extension for the UML class diagram, which consists in enriching it with additional constructs, capable of monitoring how applications are linked to context parameters and how the values of these parameters may affect the application behavior.


Sign in / Sign up

Export Citation Format

Share Document