The Study of Object Oriented Software Complexity Metrics

Author
ZhangWei
Advisor
XiaHongXia
School
Wuhan University of Technology
Major
Computer Software and Theory
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2006
Downloads
168
Citations
5

Request the full text

Abstract

The increasingly wide software applications, people are increasingly high requirements on software quality. Object-oriented software technology has been widely used object-oriented software metrics has become even more important. Currently, many object-oriented metrics have been proposed, and continues to be validated and mature. However, these metrics are also shortcomings need to continue to study and perfect, so these metrics are easier to understand and easier to apply, in order to better guide the development of object-oriented software design and improve software quality. This paper analyzes the characteristics of object-oriented software, and existing impact of object-oriented software complexity metrics, research, and object-oriented metrics group such as CK, MOOD metrics set. Particular, they are CK for the defects of the object measure group, for its shortcomings, improved, further, analysis of these metrics application methods. A calculation of the number of each class weighted method (Weighted Methods per Class, WMC) algorithm is divided into three parts, in order to overcome the WMC would have the presence of defects, inherited from ancestors like relatively easy to calculate. being the class of WMC. Inheritance tree depth (Depth of Inheritance Tree DIT) calculation has been improved to calculate the number of all ancestor class instead, thus taking into account the measure of multiple inheritance, while overcoming the ambiguities exist in the original DIT and other defects, more comprehensive reflection class characteristics in succession. The children measure of the number of each class, the analysis of the number of indirect child inherited the feasibility of this measure, it is recommended to be included, to thereby obtain a more realistic measure results. Lack of encapsulation, polymorphism metrics for CK measure group, while MOOD is a system-level metrics, also did not in the class-level encapsulation, polymorphism metrics to supplement these two in the class-level metrics. Improved or new metric, its availability, and application method, and these metrics will eventually modify or increase the metrics tool CCCC (called the C and C Code Counter, C and C code statistics) . Use this tool for object-oriented software metrics, collected data in the actual software, and analysis of these data. Will be improved metrics added to the metrics tool CCCC, or modify the existing algorithms in the tools, to verify improved algorithm feasibility, and ease of use. At the same time, other metrics tools to develop and measure algorithm, which also has a certain reference value.

Table of contents

Summary 4-5 Abstract 5-8 Chapter 1 Introduction the 8-12 1.1 research purpose and meaning 8-9 the 1.2 topics technology research status 9-10 1.3 thesis work the 1.4 article 10 chapters -12 Chapter 2 software quality and software metrics 12-23 2.1 Software Quality the 12-13 2.1.1 Quality 2.1.2 software quality 12-13 2.2 software metrics the 13-16 metric 2.2.1 concept 13-14 2.2 .2 metric necessity 14 2.2.3 purpose of the measure 14-15 2.2.4 effective software metrics attributes 15-16 <br / > 2.3 metric basic theory 16-20 2.3.1 metric notation the 16-17 metric 2.3.2 Classification 17 of 2.3.3 measure assessment Theorem 17-20 2.4 software metrics framework 20-22 2.4.1 software metrics object 2.4. 2 software basic metric 20-21 2.4.3 software metrics framework 21-22 2.5 Chapter Summary 22-23 Chapter 3 structure of program complexity metrics 23-28 3.1 structured program complexity metrics classification the 3.1.1 module 23-24 complexity metrics 23 3.1.2 structural complexity metric the overall complexity metrics 23-24 3.1.3 24 3.2 code line 24-25 3.3 ring complex 25 3.4 Halstead Software Science 25-26 3.5 axiomatic measure 26-27 3.6 Chapter Summary 27-28 Chapter 4 of object-oriented software complexity metrics 28-46 4.1 object-oriented concepts and features 28-31 4.1. an object-oriented concepts nbsp 28-29 4.1.2 object-oriented method of characteristics; 29-31 4.1.3 object-oriented method to measure 31 4.2 object-oriented software complexity metrics 31-39 4.2.1 CK OO metrics group are found; 31-33 4.2.2 Lorenz metric the 33-36 4.2.3 MOOD metrics set 36-39 4.3 object-oriented metrics analysis and improvement 39-45 4.3.1 Number of each class weighted method 39-41 4.3.2 inheritance tree depth 41-42 4.3.3 for each class of children number 42 4.3.4 response 42-43 4.3.5 coupled 43 4.3.6 cohesive lack 43 4.3.7 package 43-44 4.3.8 polymorphism the 44-45 4.4 Chapter Summary 45-46 first Chapter 5 object-oriented software complexity metrics tool design the 46-58 existing 5.1 metric tools 46-47 5.1.1 SDMetrics 46 < br /> 5.1.2 Together 46-47 5.1.3 ZD-MIS 47 5.1.4 SCES bit in the metrics tool 47 5.2 metric tool for the analysis and design of 47-51 5.2.1 metrics tool structure 48 5.2.2 command line processor 48 5.2. 3 speech recognition processing module 48-49 5.2.4 internal database 49-50 5.2.5 Output Module 50-51 5.3 surface to object complexity metrics algorithm 51-54 5.4 metric data analysis the 54-57 5.5 Chapter Summary 57-58 6 Chapter Conclusion and Outlook 58-59 6.1 Conclusion 58 of 6.2 further work 58-59 Reference 59-62 < br /> Acknowledgements 62-63 Appendix: during the master's degree to participate in research and published papers and publishing specialized books 63

Related dissertations

  1. The Influence of Other’s Presence on Consumer’s Self-control
    CuiXuMei ·Dongbei University of Finance ·2013 ·Master's thesis
  2. Effect of Music Auditory Stimuli during Exercise on Fatigue Caused by Aerobic Treadmill Exercise
  3. The Effects of Secure Priming on Adult Creative Problem Solving
    ZhangZi ·Liaoning Normal University ·2013 ·Master's thesis
  4. The Effects of College Students' Dual Filial Piety on Pro-social Behavior in the Different State of Mind
    DongLan ·Jiangxi Normal University ·2013 ·Master's thesis
  5. The Effect of Violent Video Games on University Student's Aggression and Emotion
    WangZuoZuo ·Central China Normal University ·2014 ·Master's thesis
  6. Discussion on the Beauty of Artistic Conception in Chinese Painting Creation Vitality
    WangZuo ·Northeast Normal University ·2013 ·Master's thesis
  7. On the China landscape painting freehand brushwork in traditional Chinese painting
    ZhangHaiYing ·Shaanxi Normal University ·2013 ·Master's thesis
  8. Learning and Exploration to Talk about My Experience of Creation
    MengXinYing ·Guangzhou University ·2013 ·Master's thesis
  9. Aesthetic Orientation of Imagery Expressionism Painting Mood Perspective
    GaoZuo ·Zhejiang Normal University ·2013 ·Master's thesis
  10. Some Form of Emotional Expression in Painting
    MengZhiHua ·Hebei Normal ·2013 ·Master's thesis
  11. Report of Creation of Jing Series
    ZhuAiZhen ·Hunan Normal University ·2014 ·Master's thesis
  12. The Landscape of the Modern Landscape Painting Midpoint Environmental Research
    WuSuZhi ·Bohai University ·2014 ·Master's thesis
  13. Erhu Psychological Adjustment and Mood in Training
    WangLeYao ·Hunan Normal University ·2014 ·Master's thesis
  14. A Study of Interpersonal Meaning of Teacher Talk in College English Classes for English Majors
    YangLiPing ·Northwest Normal University ·2013 ·Master's thesis
  15. The Study on Interpersonal Function in English Medical Inserts
    LuLiLi ·Central South University ·2013 ·Master's thesis
  16. A Contrastive Study of Interpersonal Meanings in Bush's and Obama's Counterterrorism Speeches
    ZhangZuo ·Shanxi Normal University ·2014 ·Master's thesis
  17. Contrastive Analysis of Successful and Unsuccessful Persuasion from the Perspective of Systemic-functional Grammar
    HaiZuo ·Shanxi Normal University ·2014 ·Master's thesis
  18. A Comparative Study of Chinese and American Real Estate Advertisements from the Perspective of Interpersonal Meaning
  19. A Study of Interpersonal Meaning of Shanxi Folk Songs
  20. A Contrastive Study of the Interpersonal Meaning in Chinese and English Political TV Interviews
    ZuoXiangXiang ·Wuhan University of Technology ·2013 ·Master's thesis