怎么找都是介绍一些概念的,,究竟应该如何计算呢...我把要求贴出来,大家帮我看看..e文的,不好意思...
Requirement Specification
You are to design and develop a system for Measurement and Reporting of Quality Factor, MARQF, composed of a three components. Each component ideally should be designed and developed and compiled separately and later integrated to form a complete application. The information used or produced by the application should be stored in a database, the third component. Following is a description of the system components:
1. A Quality Factor Calculation component which will calculate a quality factor based on the parameters provided. For example to calculate the program complexity using Halstead’s method based on number of operands and operators. This component ideally will allow calculating any specified quality factor.
2. A user interface allowing user to:
• Select the quality factor to be used.
• Set the parameters to be used, with specific type and limits ( may use scale or gauge).
• Display the single or multiple results over selected time interval, on same window or separate window, may include numerical values, a scale, or a chart.
3. A database which will include the parameter specification, and set of data required for each parameter and quality factor calculated in different time intervals.
Students can choose any programming language and database or file system to implement the this software system. The completed software system will satisfy the following criteria:
• Error checking, reject invalid data and invalid user input, user friendliness
• High level design including; class diagram, user interface and database design, etc
• Documented test design, evidence of test, and tabulated test results.