Open Access Open Access  Restricted Access Subscription or Fee Access

A Fuzzy Logic Approach to Measure the Complexity of Component-based Software

Aditya Pratap Singh, Pradeep Tomar


Component-Based Software (CBS) Development is now a widely accepted software methodology to manage the increasing complexity and maximize the reuse of code. This paper presents a complexity metric combined with three submetrics for measuring the complexity of a CBS. This complexity metric incorporates three key aspects—coupling, cohesion and interface complexities. To automate the complexity measurement of a CBS, a tool has been developed using fuzzy logic. For this tool, a set of rules has been defined as a rule base. The complexity of a majority of CBS applications can be measured using this tool.

Keywords: Component-based software (CBS), complexity, coupling, cohesion,
fuzzy logic

Full Text:



Singh AP, Tomar P., A New Model for Reliability Estimation of Component-Based Software. Proceedings of the 3rd

IEEE International Advance Computing Conference (IACC); 2013 Feb 22–23; Ghaziabad, India. USA: IEEE; 2013. 1431–36p.

Sharma A, Kumar R., Grover PS. Estimation of Quality for Software Components: An Empirical Approach. ACM SIGSOFT Software Engineering Notes. 2008; 33(6): 1–10p.

Zadeh LA. Fuzzy Logic, Neural Networks, and Soft Computing. Communications of the ACM. 1994; 37(3): 77 84p.

Sedigh-Ali S, Ghafoor A, Paul RA. Software Engineering Metrics for COTSBased Systems. IEEE Transactions of Computer. 2001; 34(5): 44–50p.

Halstead MH. Elements of Software Science (Operating and programming systems series). New York, USA: Elsevier Science Inc.; 1977.

McCabe TJ. A complexity measure. IEEE Trans Softw Eng.1976; 4: 308–20p.

Henry S, Kafura D. Software structure metrics based on information flow. IEEE Trans Softw Eng. 1981; 5: 510–18p.

Gill NS, Grover PS. Component-Based Measurement: Few Useful Guidelines. ACM SIGSOFT Software Engineering Notes. 2003; 28(6): 1–4p.

Gill NS, Balkishan. Dependency and Interaction Oriented Complexity Metrics of Component-Based Systems. ACM

SIGSOFT Software Engineering Notes. 2008; 33(2): 1–5p.

Sengupta S, Kanjilal A. Measuring Complexity of Component Based Architecture: A Graph Based Approach.

ACM SIGSOFT Software Engineering Notes. 2011; 36(1): 1–10p.

Sharma A, Grover PS, Kumar, R. Dependency Analysis for Component- Based Software Systems. ACM SIGSOFT

Software Engineering Notes. 2009; 34(4): 1–6p.

Kharb L, Singh R. Complexity Metrics for Component-Oriented Software Systems. ACM SIGSOFT Software Engineering Notes. 2008; 33(2): 1–3p.

Chen J, Wang H, Zhou Y, et al. Complexity Metrics for Component-based Software Systems. JDCTA. 2011; 5(3): 235–44p.

Arisholm E, Briand LC, Foyen A. Dynamic Coupling Measurement for Object-Oriented Software. IEEE Trans Softw Eng. 2004; 30(8): 491–506p.

Choi M, Lee J, Ha J. A Component Cohesion Metric Applying the Properties of Linear Increment by Dynamic Dependency Relationships between Classes. In: Choo H, Gavrilova ML (Eds.) Proceedings of the International Conference on Computational Science and its Applications ICCSA; 2006 May 8–11; Glasgow, UK. USA: Springer-Verlag;


Sharma A, Grover PS, Kumar R. Reusability Assessment for Software Components. ACM SIGSOFT Software Engineering Notes. 2009; 34(2): 1–6p.

Cho E, Kim M, Kim S. Component Metrics to Measure Component Quality. Proceedings of 8th Asia-Pacific Software

Engineering Conference (APSEC 2001); 2001 Dec 4–7; Macao, China. USA: IEEE; 2001. 419–26p.

IEEE Standard for a Software Quality Metrics Methodology. IEEE STD 1061- 1992. 1998: 1p. JoSETTT (2014) 1-8 © STM Journals 2014. All Rights Reserved Page 8

Singh AP, Kumar E, Tomar P. A Classified Survey of Component Based Software Engineering. In: Proceedings of

st International Conference on Innovations and Advancements in Information and Communication Technology (ICIAICT’12) Vol 1; 2012 May 30–31; Greater Noida, India. India: Gautam Buddha University; 2012. 128– 36p.

Zadeh LA. Fuzzy Sets. Information and Control.1965; 8: 338–53p.

MATLAB: version 7.10.0 (R2010a). USA: The MathWorks Inc.; 2010.

Mamdani EH, Assilian S. An Experiment in Linguistic Synthesis with a Fuzzy Logic Controller. Int J Man-Mach Stud.1975; 7: 1–13p.

Sen CG, Baracli H. Expert Systems with Applications: Fuzzy Quality Function Deployment Based Methodology for

Acquiring Enterprise Software Selection Requirements. USA: Elsevier; 2010.

Kumar R, Grover PS, Kumar A. A Fuzzy Logic Approach to Measure Complexity of Generic Aspect-Oriented Systems. JOT. 2010; 9(3): 43–57p.

Yen J. Fuzzy Logic—A Modern Perspective. IEEE Transactions on Knowledge and Data Engineering. 1999;

(1): 153–65p.

Sivanandam SN, Sumathi S, Deepa SN. Introduction to Fuzzy Logic Using MATLAB. New York, USA: Springer

Berlin Heidelber; 2007.


  • There are currently no refbacks.