1 COMPARATIVE ANALYSIS FRAMEWORK PHP BASED MOOSE CK AND
QUALITY PROPERTY DESIGN METHOD USING ANALYTIC HIERARCHY PROCESS AHP
Wahyu Rifa’i Dwi Septian
Program Studi Teknik Informatika, Fakultas Sains dan Teknologi, Universitas Islam Negeri Syarif Hidayatullah Jakarta, Indonesia, 2010
rifai_mcs88yahoo.co.id
Abstrak
The existence of the PHP framework becomes a challenge to try its use in creating web-based applications. The existence of the PHP Framework is very much available to be obstacles for a
person to choose to use it. Due to the lack of comparative research on this PHP framework, so the author tries to compare and find the best PHP framework quality. So the research was focused on
getting the best PHP framework objectives based on the quality of the design model. In a study of this thesis the author tries to compare 5 PHP framework based on the quality of the design model
using the parameters of MOOSE CK and design quality properties, then combined with the method of Analytic Hierarchy Process AHP to determine the best framework model of design
quality. The author also uses a PHP Depend tool to calculate the value of MOOSE CK Depend on each PHP framework. PHP Framework is Yii, CodeIgniter, CakePHP, Symfony and Zend. The
final results of this study indicate CakePHP that the various frameworks have the best quality design framework model compared with Yii framework, CodeIgniter framework, Symfony
framework and Zend framework.
Keywords: framework PHP, Analytic Hierarchy Process AHP, MOOSE CK, Properti kualitas disain, PHP Depend.
1. Preface
1.1. Background
The presence
of information
technology currently
plays a
very significant, especially for medium-scale
firms and above. Undeniably, this happens because with this information technology
will be able to support and raise corporate income, so any company trying to apply
information technology in it. As an example is the companys e-commerce website or
applications to support corporate activities, such
as accounting
applications. Selection of the appropriate applications
with the need to address existing problems, a thing that should be kept. Because this can
lead to good or bad a performance of the companies concerned in running the
business.
Will be
felt even
more complicated if the applications offered are
very diverse
kinds. In this research, the author tries to use
existing methods to be applied in a world of informatics in the choice of the best
software framework. But of course this method is not limited to the world of
information technology, but also in other cases. For example, this method can also be
used in a comparison of the feasibility of road asphalt or concrete and can also be
used as a decision making tool selection of job
seekers. In this research the authors tried to compare
the quality of design software on the PHP framework. The reason why the author
examines the quality of software design, because design a software application
greatly affect the performance performance of a software, both desktop applications and
web
applications.
2
Some previous research has produced a measure of quality software that is
manifested in several parameters such as MOOD, MOOD2 Metric for Object
Oriented Design and Moose Metric for Object Oriented Software Engineering.
Software quality measurement parameters is usually called the Metric Object Oriented
OO
Metric. In the application of OO Metric, software
quality parameters are interpreted in accordance with OO Metric used. But the
values of these parameters is not sufficient to determine the quality of the software
which one is better than other software, so that the necessary methods to combine the
overall value becomes a value that interpret the quality of the software relative to other
software in the application domain function
the same.
In this research, the author tries to retrieve the 5 sample PHP framework most
requested by a web programmer by phpframeworks.com
version. Fifth framework will be measured and made
ratings based on an objective assessment of the quantitative value Moose CK Metric for
Object Oriented Software Engineering, Chidamber, Kemerer, property quality and
processed using the method Hierarcy Analytic Process AHP.
1.2. Problem formulation and Limitations
Based on the explanation of the background above, the use of OO
metric alone is not sufficient to determine the quality of a software with
other software. So, we need a general method that can incorporate additional
parameters generated OO metrics to be processed so as to provide a quality
value of the relevant software. So this method can also be used by people who
want to evaluate other software, but it is recommended with the same domain.
Having obtained the value of quality then it will be made ranking software
which has the best quality value. Many factors can affect the results of
this study, such as the type of OO Metric, tools used, types of applications
are evaluated and many other factors that influence it. Therefore the scope of
this
study are
as follows:
1. The case study will use a PHP application framework that is well
known and much in demand by web programmers
www.phpframeworks.com version.
This is because the PHP framework has implemented the concept of Object
Oriented Programming, as we know that creating a code at the moment now
is not like spaghety code again. Then came the ease in building web
applications with the framework that has been provided. Besides, research on
the comparison between the quality design of web applications is still
relatively very rare when compared with
desktop applications.
2. Measuring the quality of software design using the parameter Moose CK
and PHP tool Depend. At this time was much like MOOD OO Metric, MOOD2
and others. Moose CK deliberately chosen because of previous research
has produced a mapping between Moose CK and property quality.
Depend PHP was chosen because it has most of the parameters together with
parameters
Moose CK.
3. This study did not compare the parameters of OO Metric calculator
tool. The author does not compare the calculation results between the one tool
with other tools. This is because for more focused research to produce a
method of measuring the quality of software design framework for PHP.
4. This study did not compare between OO Metric other parameters. This is
because
every OO
Metric characteristics of different parameters.
And not all OO Metric has been mapped to the properties of quality. So
it is not possible for writers to try all OO Metric into this study.
1.3. Objectives
and Benefits
1.3.1. Goal
The purpose of comparing the quality of the fifth framework was to evaluate
the quality of software design from the fifth framework, where the most good.
So that will be able to provide recommendations to web programmers
to build web applications using PHP framework.
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.