skip to main content
research-article

New complexity model for classes in object oriented system

Published: 22 October 2010 Publication History

Abstract

Minimizing software complexity is the foremost objective of each software development paradigm because it affects all other attributes of software such as maintainability, reliability, testability, reusability etc. Measuring software complexity is always essential for predicting fault proneness, computing development efforts and evaluating maintainability of software. This paper proposes a complexity model for classes in object oriented systems. The model computes Class Complexity (CC) as a sum of Method Complexity (MC) and MC is further computed as a sum of Control Flow Complexity (CFC), Total Method Call Complexity (TMCC) and Total Data Call Complexity (TDCC). CFC is computed using McCabe's cyclomatic complexity. TMCC and TDCC are computed with adherence to the principle that "The higher the number of classes involved in method/data calls and polymorphic method calls, makes the object oriented software difficult to understand and maintain". The proposed model is also compared with four Chidamber's and Kemerer's metrics-Weighted Methods per Class (WMC), Response For a Class (RFC), Depth of Inheritance Tree (DIT) and Coupling Between Objects (CBO).

References

[1]
A. Fothi, J. Nyeky-Gaizler, Z. PorkolLab(2003): The Structured Complexity of Object-Oriented Programs, Mathematical and Computer Modeling 2003, vol. 38 pp. 815--827.
[2]
E Da-wei(2007): The software complexity model and metrics for object-oriented, IEEE International Workshop on Anticounterfeiting, Security, Identification 2007, pp. 464--469.
[3]
Fredrick P. Brooks(1995): The Mythical Man Month: Essays on Software Engineering, Addison-Wesley, 1995.
[4]
S.R. Chidamber, C.F. Kemerer(1994): A Metrics Suite for Object Oriented Design, IEEE Transactions on Software Engineering, June 1994 Vol.20, No.6.
[5]
V. Basili(1980) : Qualitative Software Complexity Models: A Summary, In Tutorial on Models and Methods for Software Management and Engineering, IEEE Computer Society Press, Los Alamitos, CA, 1980.
[6]
Zuse H.(1991): Software Complexity Measures and Methods, W. de Gruyter, New York, 1991.
[7]
B. Henderson-Sellers(1996): Object-Oriented Metrics: Measures of complexity, Prentice Hall, New Jersey, 1996.
[8]
Bill Curtis(1980): Measurement and experimentation in software engineering, Proceedings of the IEEE September 1980 68(9) pp. 1144--1157.
[9]
Sanjay Mishra(2007) : An Object Oriented Complexity Metric Based on Cognitive Weights, Proceedings of 6th IEEE International Conference on Cognitive Informatics (ICCI'07).
[10]
A. Yadav, R. A. Khan(2009): Measuring Design Complexity -- An Inherited Method Perspective, SIGSOFT Software Engineering Notes July 2009 Vol. 34 No. 4.

Cited By

View all
  • (2018)Optimised class point approach for software effort estimation using adaptive neuro-fuzzy inference system modelInternational Journal of Computer Applications in Technology10.1504/IJCAT.2016.08048854:4(323-333)Online publication date: 28-Dec-2018
  • (2014)Class point approach for software effort estimation using stochastic gradient boosting techniqueACM SIGSOFT Software Engineering Notes10.1145/2597716.259772539:3(1-6)Online publication date: 4-Jun-2014
  • (2014)Class point approach for software effort estimation using various support vector regression kernel methodsProceedings of the 7th India Software Engineering Conference10.1145/2590748.2590752(1-10)Online publication date: 19-Feb-2014
  • Show More Cited By

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM SIGSOFT Software Engineering Notes
ACM SIGSOFT Software Engineering Notes  Volume 35, Issue 5
September 2010
134 pages
ISSN:0163-5948
DOI:10.1145/1838687
Issue’s Table of Contents

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 22 October 2010
Published in SIGSOFT Volume 35, Issue 5

Check for updates

Author Tags

  1. data call
  2. method call
  3. object oriented metrics
  4. software complexity

Qualifiers

  • Research-article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)2
  • Downloads (Last 6 weeks)0
Reflects downloads up to 15 Feb 2025

Other Metrics

Citations

Cited By

View all
  • (2018)Optimised class point approach for software effort estimation using adaptive neuro-fuzzy inference system modelInternational Journal of Computer Applications in Technology10.1504/IJCAT.2016.08048854:4(323-333)Online publication date: 28-Dec-2018
  • (2014)Class point approach for software effort estimation using stochastic gradient boosting techniqueACM SIGSOFT Software Engineering Notes10.1145/2597716.259772539:3(1-6)Online publication date: 4-Jun-2014
  • (2014)Class point approach for software effort estimation using various support vector regression kernel methodsProceedings of the 7th India Software Engineering Conference10.1145/2590748.2590752(1-10)Online publication date: 19-Feb-2014
  • (2012)Cyclomatic Complexity for WCFProceedings of the 2012 10th International Conference on Frontiers of Information Technology10.1109/FIT.2012.39(175-180)Online publication date: 17-Dec-2012

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media