You are on page 1of 2

OBJECT ORIENTED METRICS

Software Metrics - PA 2559 - Assignment -1- GROUP 11

1st AHMED MAHFOOZ ALI KHAN 2nd SYED TAFAZZUL HAZQUEEL 3rd SATISH RAJ SOMAROUTHU
Dept of Computer Science Dept of Comptuer Science Dept of Comptuer Science
Blekinge Institute of Technology Blekinge Institute of Technology Blekinge institute of Technology
Karlskrona, Sweden Karlskrona, Sweden karlskrona

4th KOSARI SUHAS


Dept of Comptuer Science
Blekinge institute of Technology
Karlskrona, Sweden

Abstract—This paper looks at how software metrics give a Additionally, this review will discuss the use of tools for
diverse review on certain measurements, called object-oriented extracting OO metrics to analyze software systems effectively.
(OO) metrics, to understand how they work, impact and improve
software development. We looked at ten different research papers II. O BJECT-O RIENTED M ETRICS
to see which metrics are commonly used and how they’re helpful.
By studying these metrics and how they’re used in actual software A. Description
projects, we gained more knowledge about them. This research Object-oriented metrics are quantitative measurements that
can be valuable for software developers or software managers
because it helps them pick the best metrics for their projects and are employed to assess the characteristics of OO software
make sure that it makes sense as well as maturity to compare applications. Numerous software metrics have been devised
between the metrics. for OO paradigms, encompassing aspects such as classes,
Index Terms—Object-oriented (OO) metrics, goals, attributes, objects, abstraction, inheritance and so on to calculate various
metrics maturity assessing criteria, open source systems(object- attributes like software quality, cohesion, size, complexity,
oriented)
maintainability, coupling etc. Table 1 presents a comprehensive
I. I NTRODUCTION list of the metrics identified across various research papers.
Software metrics involve quantifiable measures of various B. Characterisation
characteristics within software systems. The aim of identifying Process,product and project metrics are three primary cat-
and analyzing these metrics is to evaluate ongoing projects, egories of metrics used in software development realm.In
products, or processes and enhance the overall quality of the similar fashion,Object-oriented metrics can be classified into
software system upon completion. This process provides valu- two major categories.
able insights into performance, reliability, and maintainability. a)Static Metrics: Size Metrics, Complexity metrics, Cohe-
Given the widespread adoption of the Object-Oriented (OO) sion metrics, Coupling metrics,etc.
paradigm, this review concentrates on OO design metrics,
b)Dynamic Metrics: Test coverage metrics, Execution met-
essential for assessing and improving the quality of OO
rics, Memory Metrics,.etc.
applications. These metrics not only highlight potential design
However, given that the research papers focus specifically
flaws or anti-patterns that can affect code quality but also
on static metrics that assess code quality, the following cate-
identify performance bottlenecks that impact scalability and
gories of metrics will be considered in this context:
responsiveness. OO metrics are instrumental in assessing code
• Size Metrics: These metrics quantify the size of software
complexity, as well as evaluating reliability (such as error
handling, fault tolerance, and defensive programming) and components, typically in terms of lines of code (LOC),
maintainability (including readability, ease of modification, number of classes, methods, or other structural elements.
and re-usability). • Complexity Metrics: These metrics evaluate the com-

Therefore, the purpose of this review is to examine selected plexity of the codebase, measuring factors such as cyclo-
research papers focusing on: (a) Identification and categoriza- matic complexity, nesting depth, or number of dependen-
tion of OO metrics, (b) Categorizing the goals of employed OO cies.
metrics, (c) Classifying attributes of the code based on these • Cohesion Metrics: These metrics gauge how well the
metrics, (d) Proposing maturity criteria to assess these metrics, elements within a module or class are related to each
(e) Applying the proposed criteria to evaluate OO metrics, and other. High cohesion indicates that elements within a
(f) Categorizing the systems studied in the referenced papers. module are closely related and focused on a single task.
Table-1 Categorisation of OO Metrics

S.NO CATEGORY METRICS


1 Size WMC, LOC, SLOC, AvgLOC, NIM, NCM, NLM, NPM, DAM
2 Complexity SDMC, AMC, CCMax, CC, EVG, NPATH, FANIN, FANOUT, WMC McCabe
3 Coupling MPC, RFC, CBO, Ca Afferent coupling, Ce Efferent coupling, CBM, IC
4 Cohesion LCOM, LCOMN, CAM, MOA, TCC, DCD, DCI, CAMC, NHD, SNHD, D3C2, SCC
5 Inheritance DIT, NOC, CBC, NOCC

You might also like