最后我们用所有得到的输入进行一个POPs计算,如图6所示。虽然这个例子是采用的一个已经完成的项目,也可以用早在分析阶段的工作产品进行一个相类似的分析。当用例分析已经完成的时候,应该包含有用的动作者,他们的行为和初步的类结构,从这些可以近似地推出其他参数。
POPs展望
研究到今天,我们已经得到一个度量方法和计算过程,我们目前收集研究的数据,提供了面向对象度量和工作量之间的相互关系。但我们还有些问题需要克服。首先,无论如何我们研究的数据没有完全覆盖所有软件类型和现行的技术。我们需要收集另外的数据,并继续修正我们的最初结果。我们也需要填补早在分析时有的工作产品和POPs计算所需的工作产品之间差距。为了简化估计过程,下一步我们要开始研究用例图(或其他用例工作产品)和POPs的直接关系。最终,一旦项目完成,我们要能自动计算POPs,这非常重要。如果想对一个组织的现有度量方法的校准(改变),一个必须接受的最大的障碍是任何一种新的规模度量方法是否能自动计算。自动计算能使得pops很容易进入存在有历史数据的领域。
图6 例子的POPs计算
参考文献
1.Booch, G. 1994, Object Oriented Analysis with Applications - 2nd Edition, enjamin/Cummings Publishing Co. Inc., Redwood City, CA.
2.Henderson-Sellers, B.,1996, Object Oriented Metrics -Measures of Complexity, Prentice Hall, Upper Saddle River, NJ.
3.Albrecht, A & Gaffney, J., 1983, Software Function, Source Lines of Code, and Development Effort Prediction: A Software Science Validation, IEEE Transactions on Software Engineering, Vol. SE-9, No. 6,pp 639-648, November
4.Chidamber, S. R. & Kemerer C. F., 1994, A Metrics Suite for Object Oriented Design, IEEE Transactions on Software Engineering, Vol. 20, No. 6, pp476-493, June 5.Churcher, N.I. & Shepperd, 1995, M. J., Comments on “A Metric Suite for Object Oriented Design”, IEEE Transactions on Software Engineering, Vol. 21, No. 3, pp. 263-264, March
6.Banker, R.D, et. al. 1992, An Empirical Test of Object-based Output Measurement Metrics in a Computer Aided Software Engineering (CASE) Environment, Journal of Management Information Systems, Vol. 8, No. 3, pp. 127-150, Winter.
7.Boehm, B. et. al.,1995,Cost Models for Future Software Life Cycle Processes : COCOMO 2.0, Annals of Software Engineering, Special Volume on Software Process and Product Measurement.
8.Banker, R. D. et. al., 1994, Automating Output Size and Reuse Metrics in a Repository-Based Computer Aided Software Engineering (CASE) Environment, IEEE Transactions on Software Engineering, Vol. 20, No. 3, pp169-186, March.
9.Pittman, M., 1993, Lessons Learned in Managing Object-Oriented Development, IEEE Software, January
10.Laranjeira, L., 1990, Software Size Estimation of Object-Oriented Systems, IEEE Transactions on Software Engineering, Vol. 16, No. 5, pp510 - 522, May
11.Jenson, R. L. & Bartley, J. W., 1991, Parametric Estimation of Programming Effort: An Object-Oriented Model, Journal of Systems and Software, Vol. 15, pp. 107-114
12.Lockheed Martin, Advanced Concept Center training materials, 1994, Object Oriented Size and Cost Estimation.
13.Basili, V., 1980, Qualitative software complexity models: a summary, Tutorial on Models and Methods for Software Management and Engineering, IEEE Computer Society Press, Los Alamos, CA.
14.Weyuker, E., 1988, Evaluating software complexity measures, IEEE Transactions on Software Engineering, Vol. 14, No. 9, September
15. McCabe T.J., 1976, A complexity measure, IEEE Transactions on Software Engineering, Vol. No. 4, April
16.Minkiewicz,A.F.,1997, ‘Objective Measures’, Software Development, June 1997, pp43-47.
17. Lorenz , M. 1993, Object-Oriented Software Development: A Practical Guide, Prentice Hall, Englewood, NJ. p227.
18. Jacobson, I., et al, 1992, Object-Oriented Software Engineering: A Use Case Driven Approach, Addison- Wesley, Reading MA
19. Whitmire, Scott, 1996, 3D Function Points: Applications for Object-Oriented Software, ASM ’96 Conference Proceedings, San Diego CA
延伸阅读
文章来源于领测软件测试网 https://www.ltesting.net/