Object Oriented Metrics to measure the quality of software upon PHP source code with PHP_depend

INTRODUCTION Astra Graphia Information Technology PT. is an Information Technology (IT) consultant company which sale, distributed, and maintain both hardware and software for all level customer with either in-house or reseller software. Astra Graphia run SAP application from www.SAP.com which supports their daily business activity processes. However, there are some improvement and update on implemented SAP application on daily basis, which is needed by departments in order to supports their business activity processes. Request online system is a web based application which is built with Personal Home Page (PHP) language programming in order to record and control all improvement or update request in SAP application. For future implementation, the intelligent of this application will be extended with such as technology such as Data Warehouse [19,20,21,22,23] or Data Mining with some options algorithms such as Attribute Oriented Induction(AOI)[24,25,26,27,28,29,30,31] or Attribute Oriented Induction High level Emerging Patterns (AOIHEP)[32,33,34,35,36]. Meanwhile, Open Source Software has impacted software industry and recently became extremely popular such as Personal Home Pages (PHP), Java Server Pages (JSP), Java and so on. This paper will investigate how to measure PHP source code with PHP_depend. The investigation will examine 32 PHP source codes from Request online system application which supports improvement or update request upon SAP application, PHP_Depend is a small program that performs static code analysis on a given source base , According to G. Kour and S. Evolution PHP_Depend can generate a large set of software metrics from a given code base and identify parts of an application where refactoring should be applied [1]. Object Oriented that makes designs more powerfull, more maintainable, and more reusable for design system. Recently, almost all system design already uses a technique Object Oriented, in the design of a system designed to ensure software quality meet the standard Object Oriented Programming (OOP) need be tested to detect and subsequently handle all errors in it. A number of schemes are used for testing purpose and this measurement will make the result software which easy maintenance, understandability and reusability. This paper present how to perform a software measurement and presents the results in the a report that is easily understood by management, with this report can be used to predict the level of error and how much cost to spend on developing the program

RELATED WORK IN THE LITERATURE Measuring the discriminative power of object-oriented class cohesion metrics [2], this paper obtain the same cohesion values for different classes that have the same number of methods and attributes but different CPCIs. Software Quality Estimation through Object Oriented Design Metrics [3], this paper obtain how these metrics are useful in determining the quality of any software designed by using object oriented paradigm. Critical Analysis of Object Oriented Metrics in Software Development [4], this paper obtain to a review and analysis of object oriented metrics is presented for identification and validation of object oriented metrics and out of various metrics. Evaluating the impact of different types of inheritance on the object oriented software metrics [5], this paper discuss focuses on effects of inheritance on object oriented metrics. Implementation of ISO 9126-1 quality model for asset inventory information system by utilizing object oriented metrics[6], this paper aim Proposed ISO 9126-1 quality model has been internally evaluated by object oriented metric using case study on Politeknik Caltex Riau (PCR) which is one of the organization that engaged in academic area. Software Product Quality[7], this chapter by Martin Glinz discus about software product quality. Effectiveness of encapsulation and object-oriented metrics to refactor code and identify error prone classes using bad smells [8], this research develop a metrics model to identify smelly classes to improve Encapsulation and Object-oriented Metrics. Applying the ISO 9126 quality model to test specifications [9], this paper apply ISO 9126 for model to test specifications. An ISO 9126-based Quality Model to Assess the Quality of TTCN-3 Test Specifications 2 Software Quality Models [10], this chapter apply ISO 9126 to Assess the Quality of TTCN-3 Test Specifications, TTCN-3 is ETSI Centre for Testing and Interoperability.

CONCLUSION This paper presents how to perform measurements based on Object Oriented Metrics for PHP programming language, many tools that can be used to measurements for this paper used PHP_depend and source codes of Request online system application for testing, PHP_depend experiments generate summary XML, Pyramid report and Report Charts. The conclusion of after testing we suggest Request online application system developed using PHP framework such as Codeigniter Framework, Laravel Framework or Zend framework, so we get a system that is more reliable and easier to develop. For PHP_Depend we suggest for Pyramid report and Chart Report continue to be developed to make it more easier to understand for user.