3
1.3.2. Benefits
1. Framework
which can
make recommendations that are best used,
khsusunya in building web applications. 2. The method I use may be used to
analyze the software that diiginkan back and of course that has the same
domain
or Functions.
3. Can become a reference in learning to measure the quality of the other
design software,
both desktop
applications and web applications.
1.4. Platform
Theory 1.4.1
Metrics FOR
OBJECT ORIENTED
SOFTWARE ENGINEERING
CHIDAMBER, KEMERER
Moose CK
Moose CK is one metric that is used to measure the quality of a software
design based on six parameters by looking at the perspective of Object
Oriented
Design
1. Weighted Methods Per Class WMC
WMC relates directly to the complexity of an object, because the method is a
property of
an object
and the
complexity of an object is determined by
the property.
The number of methods and complexity of the method is one indicator of how
much time and effort required to build and maintain the object. Objects with a
number of methods to limit the possibility of more such objects to be
reused
reuse. High WMC values have a tendency
software failure. According to WMC www.aivosto.com tolerance value is
between 20-50 in a class, or a maximum of 10 of the method in a
class. Another study by Basili, with a sample of 30 projects of C + +, showed
the higher value of WMC will improve the bugs and reduce the quality.
But the study also did not mention how the optimum range that can be used. In
the same study said that high value for VB
project looks
allowed.
2. Depth of Inheritance Tree DIT The depth of a class in the inheritance
hierarchy in which the maximum number of classes begins to decline in
leaf and root class in a hierarchy. So who in the hierarchy will result in a
high complexity of the design because more and more methods and classes
involved. Recommendations www.aivosto.com
DIT value is 5 or less. Documentation Visual Studio.Net mentioned the value
of DIT ≤ 5. Several other sources to allow the value of DIT to 8.
3. Number of Children NOC
NOC is the number of subclasses in a class hierarchy. NOC is an indicator of
the level of influence a class to design the overall system. The greater the
value of the NOC, the greater the potential incompatibility of a sub class
with abstraction in the parent class. This can lead to errors such as the use
of sub-classes when using one sub-class of the many other sub-classes in one
program. 4. Coupling Between Object Classes
CBO CBO calculates class associated with
another class. This was calculated on the non-inheritance class. So the fewer
classes relating it indicates good class. Because of increasing modularity and
reuse. More and more classes are not
independent of one another would be better for use in other applications. This
is very consistent with the level of interdependency
between modules.
What is the maximum value permitted? CBO 14 is too high by Houari A
Sahraoui. 5. Response for a Class RFC
RFC is the sum of all the methods called in response to the outside of the
object of a class. RFC also measured the communication between objects.
This applies to all methods accessible within the class hierarchy. So the more
methods used to respond to increasingly complex objects from outside and
increase
testing time.
4
6. Lack
of Cohesion
Methods LCOM
LCOM measures the dissimilarity of methods in a class instance variables or
attributes. With high cohesion means indicates
the better
class. So much simpler and have a high
reusability properties. Meanwhile, the lower the cohesion or lack of cohesion,
the more
complex class.
1.4.2. PROPERTY
QUALITY SOFTWARE
DESIGN
The quality of design in aspects of object-oriented software and adapted to
OO Metric
then only
a few
characteristics or properties of quality which can be evaluated to measure the
quality of code and design is efficiency, complexity,
Understandability, reusability, maintainability testability.
1. Efficiency:
Is the design and software implementation has been done
efficiently? 2. Complexity:
Can the software implementation is used more effectively
so that the lower level of complexity? 3. Understandability:
Is the design of the software easier to understand?
4. Reusability: Is the quality of software design to support reuse reuse?
5. Maintainability Testability: Is the design of software support for easy
testing
and changes?
1. Property Relations Quality Design Software and Parameter Moose CK
Table 1. Property Relations and Parameters Software Quality Metric
Properti Kualitas
Software Parameter
Metric
Efficiency LCOM, CBO, DIT, NOC
Complexity CC Traditional Metric
Understandabili ty
WMC, RFC, DIT Reusability
WMC, LCOM, CBO, DIT, NOC Maintainability
Testability WMC, RFC, DIT, NOC
In table 1 above it appears that research Linda H. Rosenberg and Lawrence E
Hyaat in 2003, shows the complexity properties Moose CK does not use
parameters, but using the cyclomatic Complexity CC. In another research
in 1993,
mainly property
maintainability testability
using similar parameters, DIT, NOC, RFC,
LCOM, WMC, DAC, NOM, SIZE1, SIZE2, MPC
. Meanwhile, according Magiel and Arie Van Deursen Bruntink
in the Journal of MTI UI, 2007: 13, DIT, LCOM, NOC, RFC, WMC,
FOUT, LOCC,
NOF, NOM
, parameters in bold are not included
moose CK.
2. Effect of Parameters on the Properties
Moose CK
Design Software
Quality
Research Linda
Rosenberg and
Lawrence H E Hyatt on the relationship and influence between the parameters
and properties Metric OO software design quality shows that parameter
values inversely Moose CK-quality software
design 1.4.3. Analytic Hierarchy Process
AHP Method of Analytic Hierarchy Process
AHP was developed by Thomas L. Saaty in the 70s when the Warston
School. AHP is one method that can be used in the decision system by
observing the factors of perception, preference, experience and intuition.
AHP
incorporates judgments
and personal values into a single logical
way. Analytic Hierarchy Process AHP to
solve the complex problem of multiple criteria into a hierarchy. Complex
problem can be interpreted that the criteria of a problem that so many
multiple criteria, the structure of the problem
is unclear,
uncertainty opinions of decision makers, decision
makers more than one person, and inaccuracies
of data
available. According to Saaty, the hierarchy is
defined as a representation of a complex problem in a multi-level
structure where the first level is the goal, which followed the level of
factors, criteria, sub criteria, and so on down to the last level of the alternative.