In the research of OO metrics, many researchers study the metrics about internal attribute of Object-Oriented software. Coupling metrics is one of the important research aspects. Firstly, this thesis studies theory of software quality and software metrics, analyzes the effects of coupling on software quality characteristics, and then particularly introduces research on coupling metrics from two aspects: traditional software metrics and object-oriented metrics. Secondly, based on the analysis of several frameworks for coupling measurement in Object-Oriented systems, a framework for coupling measurement in Object-Oriented systems is depicted. This framework analyzes coupling mechanism in Object-Oriented systems and builds up the mapping relationship between coupling category and coupling mechanism which can improve the framework's practicability effectively. Thirdly, based on the idea of intermediate information representation, a coupling metrics tool used in object-oriented software is designed and implemented, and it can automatically collected metrics data. Then its characteristics are analyzed. At last, applying the coupling metrics tool to a project, different of coupling metrics indicators are collected automatically. Based on these metrics data, this thesis analyzes coupling characteristics of that system from various views. Then, aiming at different types of coupling, some decoupling approaches are put forwards to reduce coupling in Object-Oriented systems.
|