# MEASURING THE QUALITY OF OBJECT ORIENTED SOFTWARE MODULARIZATION DEFINING METRICS AND ALGORITHM

MEASURING THE QUALITY OF OBJECT ORIENTED SOFTWARE MODULARIZATION DEFINING METRICS AND ALGORITHM

A. Index Factor for module communication (IFMC):

This metric calculates the index factor for module communication and how well API functions of modules are

used by the other modules in the system for communication. Assume that a module has n functions from 1 to n,

of which the n1 API functions are given by the subset {f1

api

…….

f

n1

api}. Cext is used to denote the total number of

external calls coming from the other modules. It is a java file as module. Also assume that system has m1 to mi

modules. Total number of modules is M. Index Factor for module communication (IFMC) for a given module

and for the entire software system by

IFMC (module) = {SUM [Cext (fapi)]} / Cext (module), where fapi is in range from f1

api to fn1

api

= 0, when there are No external calls made to the particular module

IFMC (system) = {SUM [IFMC (module)i ]} / M,

where i is in range from 1 to M

B. Index Factor for API function Calls (IFAC):

This index factor determines the usefulness of calling the API function by the other modules. Some times in one

java file (module) may consists of various classes and API functions with different functionalities. If any other

single module is calling the API but need only small part of it then it is unnecessarily calling the big API.

Hence to avoid the formation of such module this index factor is used. Suppose module has n API functions and

let’s say that nj numbers of API functions are called by another module mj. Also assume that there are z numbers

of modules from module1 to modulez that calls one or more API functions of module.

IFAC (module) = (n1+n2+…nz) / (n * z)

= 0, if n i. e. number of API function

is zero

If we assume that moduleapi is the total number of modules having more than zero API functions. Then

IFAC (system) = SUM [IFAC (module)i] / moduleapi,

Where i = 1 to moduleapi (2)

The maximum value of this metric IFAC (system) will be 1, depending on the focus and nature of the modules

with similar purpose.

C. Index Factor for Non API function Calls (IFNC):

If the big software system is not modularized fully then there can be the use of non API functions. This is not

preferable. As there should not be a use of non API function outside the module or a java file.

Let us represent API function as functionapi and non API functions as functionnapi for given module.

Then total function will be function = function api + functionnapi

Total number of modules is M.

IFNC (module) = functionnapi / (function - function api)

= 0, if the non API functions are zero.

IFNC (system) = SUM [IFNC (module)i] / M,

Where i =1 to M. (3)

In good modularized object oriented software, functions will be either API or non API type of functions. And

non API functions are not used outside the module.

Then function - function api will be equal to functionnapi. So that IFNC (module) = 1.

Here sometimes the value of the IFNC (module) can be between 0 and 1.

Kemahiran: Pengaturcaraan C, HTML, MySQL, PHP, Kejuruteraan Perisian

Tentang Majikan:
( 0 ulasan ) India

ID Projek: #4031526

## 3 pekerja bebas membida secara purata \$883 untuk pekerjaan ini

pentium10

Professional work from professionals!

\$1500 USD dalam 15 hari
(217 Ulasan)
6.8
precioussoftware

Hi, Thanks for sharing your insights with Precious Softwares. Our company background, current work and work reviews will make you sure about our experience, capability of project deliverance and quality. Kindly ch Lagi

\$650 USD dalam 15 hari
(5 Ulasan)
5.0
M4U97lZXc

We are freelance software developers. If you contact me I can give a quote for your project and we can discuss the details. www.<b><i>Removed by Admin</i></b>

\$500 USD dalam sehari
(0 Ulasan)
0.0