Automatic detection of the cohesion type in the UML sequence diagram

Hajarisena Razafimahatratra, Thomas Mahatody, Josvah Paul Razafimandimby, Tiandrainy Mandresy Billy Andriamahazomandimby · 2018

Nowadays, maintenance is the most expensive activity in the software life cycle. The modular system is easy to maintain. A system is said to be modular if its components have weak coupling and strong cohesion. Cohesion is a very important software feature in the design of a computer application. We propose to evaluate this characteristic in the design level. In this article, we propose an approach to automatically detect the type of cohesion in the object-oriented design level. We have developed an algorithm to detect the weakest type of cohesion. Designers and developers focus then on maximizing the possible cohesion through the meaning of the redesign to achieve strong cohesion for the future system. Therefore, the proposed strategy detects the cohesion types for each object in a UML sequence diagram. We also provided a case study in which the proposed approach has been applied. Then, to validate the proposed strategy, we adapted the results obtained in a fuzzy architecture. And finally, the output of fuzzy architecture is a fuzzy membership function of total output cohesion. Results show that our approach helps designers and software developers to get software products of better quality.

Read the paper · More papers on PaperTik