Abstract
Class methods are modules in a class that perform a specific behavior. The best software practice in defining a method is to assign a single task for each method. It is always expected that each method should carry out a unique task in its defining class. A series of similar tasks are usually defined by overloaded methods. Such a single-task practice of method definition is seldom imposed on individual software developers who extensively develop user-defined methods. In this research, a method efficiency model is developed with the objective of guiding the software developers in developing an individual cohesive method. Increased cohesion of methods is desirable because it contributes to the enhancement of software maintenance.
- Myers, G.J. 1978. Composite/Structured Design. New York: Van Nostrand Reinhold. Google ScholarDigital Library
- Yourdon, E, Constantine, L.L. 1979. Structured Design. New Jersey: Prentice Hall.Google Scholar
- Chidamber, S.R., and Kemerer, C.F. 1991. Towards a Metrics Suite for Object Oriented Design. In Proc. Conference on Object-Oriented Programming: System, Languages and Applications (OOPSLA'91), SIGPLAN Notices 26 (11). Pp 197--211. Google ScholarDigital Library
- Briand, L.C., Daly, J.W., and Wüst, J. 1998. A Unified Framework for Cohesion Measurement in Object-Oriented Systems. In Empirical Software Engineering. Pp 65--117. Google ScholarDigital Library
- Hitz, M., and Montazeri, B. 1995. Measuring Coupling and Cohesion in Object-Oriented Systems. In Proc. International Symposium on Applied Corporate Computing.Google Scholar
- Bieman, J., and Kang, B. 1995. Cohesion and Reuse In An Object-Oriented System. In Proc ACM Symposium of Software Reusability. Pp 259--262. Google ScholarDigital Library
- Lee, Y.S., Liang, B.S., Wu, S.F., and Wang, F.J. 1995. Measuring the Coupling and Cohesion of an Object-Oriented Program Based on Information Flow. In Proc International Conference on Software Quality.Google Scholar
Index Terms
- Method efficiency model based on value relevancy
Recommendations
Method cohesion analysis through concept lattices
Cohesion in object oriented technology is usually associated with a class and hence majority of the available cohesion metrics capture cohesion of classes. Methods which are the main contributors to class cohesion are not analyzed for their internal ...
Measuring Design-Level Cohesion
Cohesion was first introduced as a software attribute that, when measured, could be used to predict properties of implementations that would be created from a given design. Unfortunately, cohesion, as originally defined, could not be objectively ...
Measuring software stability based on complex networks in software
AbstractSoftware maintenance is regarded as an activity of high cost. Developing meaningful metrics to assess the quality characteristics of software has become one of the most effective ways to reduce the cost. In this paper, we propose metrics to ...
Comments