7 叶类属性
定义只提供服务的“类”构件,即没有复用连接关系的“类” 构件的属性。因为它处于复用的低层,所以称之为“叶类”构件。它们的特征是粒度小、具有公共功能和接口。为很多构件复用。
7.1 说明属性
“类”说明属性::= “构件说明属性”
7.2 使用属性
“类”使用属性:: = “ 构件使用属性 ”
7.3 内容属性
“类”内容属性::= “构件体”
7.4 结构属性
“类”结构属性::= “构件结构属性”
7.5 评价属性
“类”评价属性:: = “构件评价属性”
8 叶方法 属性
定义只提供服务的方法或函数的构件,它们没有复用连接关系。因为它处于复用的低层,所以称之为“叶方法”构件。特征是粒度小、具有公共功能和接口。为很多构件复用。
8.1 说明属性
方法说明属性:: = “构件说明属性”
8.2 使用属性
方法使用属性::= “构件使用属性”
8.3 内容属性
方法内容属性::= “构件体”
8.5 结构属性
方法结构属性:: = <方法内聚度> [22]
<方法内聚度>::= Dhama内聚度
8.6 评价属性
方法评价属性::= McCabe复杂度
9 附则
本规范由“青鸟生产线技术引进、开发、应用、示范”项目组负责解释并执行。
10 参考资料
[1] NATO Standard for Management of A Reusable Software Component Library, issued and maintained by NATO Communication and Information System Agency
[2] Jon Hopkins, Component Primer (see definitions of D.D'Souza and A.C.Wills, and B.Meyer et al), Communications of ACM, October 2000-Volume 43, Number 10.
[3] Mohamed E. Fayad and Douglas C. Schmidt, Object-Oriented Application Frameworks, Communications of the ACM, October 1997, V0l. 40, No, 10.
[4] Grady Booch, The Unified Modeling Language User Guide, Addison Wesley, Reading , MA , USA , 1998.
[5] D. D'Souza and A. C. Wills, Objects, Components and Frameworks with UML: The Catalysis Approach. Addison Wesley, Reading , MA , USA , 1999.
[6] Grady Booch, Object-Oriented Analysis and Design with Applications, Addision Wesley, Reading , MA , USA , 1994.
[7] Richard C. Lee and William M. Tepfenhart, UML and C++: A Practical Guide to Object-Oriented Development, Prentice Hall, Reading , NJ , USA , 1997.
[8] Ivar Jacobson, Martin Griss and Patrik Jonsson, Software Reuse: Architecture, Process and Organization for Business Success, Addison Wesley, Reading , NY , USA , 1997.
[9] Roger S. Pressman, Software Engineering: A Practitioner's Approach, 4 th Edition, Reading, the McGraw-Hill Companies, Inc. NY, 1997.
[10] Norman E. Fenton and Shari L. Pfleeger, Software Metrics: A Rigorous & Practical Approach, International Thomson Computer Press, 2 nd Edition, Reading , London , UK , 1997.
[11] Albrecht A. J., Measuring Application Development Productivity, Proceedings, IBM Application Development Symposium, Monterey , CA , October 1979.
[12] Barry Boehm et al., Cost Model for Future Software Life Cycle Processes: COCOMO 2.0, Annals of Software Engineering 1(1), November 1995.
[13] DeMarco T., Controlling Software Projects, Reading , Yourdon Press , NY , 1982.
[14] Thomas J. McCabe and Charles W. Butler, Design Complexity Measurement and Testing, Communications of the ACM, December 1989, Volume 32 Number 12.
[15] Coad P. and E. Yourdon , Object-Oriented Design, Reading , Prentice-Hill, 1991.
[16] E. Yourdon, Object-Oriented System Design: An Integrated Approach, Reading , Prentice-Hill, 1994.
[17] Chidamber S. R. and Kemerer C. F., A Metrics Suite for Object-Oriented Design, IEEE Trans. Software Engineering, Vol. 20, no. 6, June 1994.
[18] Bansiya J., Evaluating Framework Architecture Structural Stability, ACM Computing Surveys, vol. 32, no. 1, 2000.
[19] Lionel C. Briand, John W. Daly and Juren Wust, A Unified Framework for Cohesion Measurement in Object-Oriented Systems, Reading, ISERN-97-05, Fraunhofer Institute for Experimental Software Engineering, Kaiserslautem, Germany.
[20] Lionel C. Briand, John W. Daly and Juren Wust, A Unified Framework for Coupling Measurement in Object-Oriented Systems, Reading, ISERN-96-14, Fraunhofer Institute for Experimental Software Engineering, Kaiserslautem, Germany.
[21] Ivar Jacobson, Martin Griss and Patrik Jonsson, Software Reuse: Architecture, Process and Organization for Business Success, Reading , Addison Wesley Longman, NY, 1997.
[22] H. Dhama, Quantitative Models of Cohesion and Coupling in Software, Journal of System and Software, vol. 29, no. 4, April 1995.
文章来源于领测软件测试网 https://www.ltesting.net/