New Way to Quantify and Measure Program Complexity——Improved McCabe Method
暂无分享,去创建一个
This paper introduces two mature methods-Halstead method and McCabe method, which are used to fixedly quantify and measure the complexity of a program and points out some shortcomings of the two Methods. By using the idea of the McCabe Method, this paper presents a more reasonable and maneuverable new method-Improved McCabe Method. While using the method, it is not necessary to draw the flow chat and the complexity of the program is measured through the number of the trunk rings in the program. The paper has also summarized three methods to reduce the program complexity. When you are designing a program, you can refer to them.