International Journal of Engineering Research and Development
e-ISSN : 2278-067X, p-ISSN : 2278-800X, www.ijerd.com
Volume 2, Issue 5 (July 2012), PP. 78-82


 Design of Hybrid Neural Network Model for Quality Evaluation
             of Object Oriented Software Modules
                             Amandeep Kaur1, Arjan Singh2, Baljit Singh3
       1,3
             Department of Computer Science Engineering, BBSB Engineering College, Fatehgarh Sahib. Punjab, India
                        2
                          Department of Mathematics, Punjabi University, Patiala-14002, Punjab, India.



Abstract––The aim of this paper is to evaluate the quality of object oriented modules. In this work neural network
approach is used along with PSO (particle swarm optimization) to find out fault prone components of software. The
evaluation measures used are Accuracy, MAE (Mean absolute error), RMSE (Root mean square error) and the results
are calculated on different iterations. The Accuracy, MAE, RMSE is improved as number of iterations increases.

Keywords––Software engineering, Fault proneness, Neural Network, Particle Swarm Optimization.

                                            I.          INTRODUCTION
           Software quality is the degree to which software possesses a desired combination of attributes such as reliability,
maintainability, efficiency, portability, usability, and reusability [1]. This desired combination of attributes must be clearly
defined. Various software metrics have been identified for the purpose of evaluating these characteristics of software
systems. The aim of software metrics is to predict the quality of the object oriented software products.
           Fault-proneness of a software module is the probability that the module contains faults. A corelation exists
between the fault-proneness of the software and the measurable attributes of the code and testing [9]. Accurate prediction of
fault-prone modules enables the verification and validation activities focused on the critical software components Yan Ma
and Bojan Cukic [3]. Therefore, software developers have a keen interest in software quality models. It is required that fault-
prone prediction models should be efficient and accurate.
           Predicting the number of faults in each module or identifying the fault-prone modules in the early stages of the
software development life cycle will help the development Renu Kumar Louisiana [2]. Software complexity metrics play a
useful role in this regard because they are numerical measures that can be obtained early in the software life cycle. There
exists a relationship between measures of software complexity and the number of errors later found in test and validation.
           Faults in software systems continue to be a major problem. Many systems are delivered to users with excessive
faults. It has long been recognized that seeking out fault-prone parts of the system and targeting those parts for increased
quality control and testing is an effective approach to fault reduction. It is difficult to identify a reliable approach to
identifying fault-prone software components Parvinder S. Sandhu [9].
           Basili et al. [4] empirically validated CK metrics and found no correlation among metrics. The paper stated that all
metrics were effective in predicting fault proneness except LCOM (Lack of Cohesion of Methods). However the metric suite
was applied to the source code because some of their metrics measure an inner complexity of a class, and such information
cannot be obtained until the algorithm and structure of the class are determined at the end of design phase.
           Khoshgoftarr et al. [6] introduced the use of the neural networks as a tool for predicting software quality. They
compared the neural-network model with a nonparametric discriminant model, and found the neural network model had
better predictive accuracy. This model used domain metrics derived from the complexity metric data. These metrics are not
adequate for detecting object-oriented faults. Since the object-oriented paradigm exhibits different characteristics from the
procedural paradigm, software metrics in object-oriented paradigm need to be used. With the increasing use of object-
oriented methods in new software development there is a growing need to improve current practice in object-oriented design
and development
           Toshihiro Kamiya et al. [7] presented a method to estimate the fault-proneness of the class in the early phase, using
several complexity metrics for object oriented software. They introduced four checkpoints into the
analysis/design/implementation phase, and estimate the fault-prone classes using the applicable metrics at each checkpoint.
They estimate the fault-proneness by using the multivariate logistic regression analysis.
           Atchara Mahaweerawat [8] proposed fault prediction model based on supervised learning using Multilayer
Perceptron Neural Network and the results are analyzed in terms of classification correctness and based on the results of
classification, faulty classes are further analyzed and classified according to the particular type of fault.
           Munson & Khoshgoftaar [10] use discriminant analysis technique to investigate some aspects of the relationship
between program complexity measures and program faults.
           Mie mie thet thwin, tong-seng quah [11] proposed neural network model along with object oriented metrics. This
empirical study presents the prediction of faults in three industrial real time system using multiple regression model and a
neural network model and found that neural network model can predict the number of faults more exactly than multiple
regression model.


                                                              78
Design of Hybrid Neural Network Model for Quality Evaluation of Object Oriented Software Modules

          A variety of software fault predictions techniques have been proposed, but none has proven to be consistently
accurate. Therefore, there is a need to find the best prediction techniques for a given prediction problem.
     1. The techniques used in Khoshgoftarr et al. [6] used to predict faults that use traditional metrics are not generally
          applicable to object oriented system.
     2 The data collected in Basili et al. [4] is not of industry. So there can be increased complexity when it comes to
          large object oriented system of organization.
     3 CK metrics evaluate static complexity of object oriented software in Basili et al. [4], V. R. Basili [5]. Several OOD
          specifications include dynamic information. It is necessary to evaluate such dynamic complexity.
     4. Models used in Khoshgoftaar [12] take Increase time to design and develop quality cases.

So, in this study a PSO Technique is used along with Neural Network to predict fault prone modules in object oriented.

                                             II.   MATERIALS AND METHODS
          The proposed study find out the fault proneness of object oriented modules. The technique used in this study is
Particle swarm optimization along with Neural Network. The evaluation measures used are Accuracy, Mean Absolute Error,
Root Mean Squared Error.
     Step-1: Find the structural code and design attributes of software. The dataset taken is from NASA KC1.The dataset is
     related to software defect prediction which contains 2109 modules and 22 metrics.
     Step-2: Load the training data .In this step the 80% of KC1 dataset is used for training.
     Step-3: Perform Particle Swarm Optimization based Neural Network training. In this step Particle Swarm Optimization
     toolbox for Matlab is used and the training is performed with the help of this toolbox.
     Step-4: Load testing data. In this step 20% of kc1 dataset is used for testing.
     Step-5: In this step testing is done and the performance is calculated on the basis of Accuracy, MAE (Mean Absolute
     Error), RMSE (Root Mean Squared Error)

The evaluation measures that are used to carry out the results are discussed below:
        Mean absolute error (MAE)
        Root mean square error (RMSE)
        Accuracy

          Mean absolute error
     Mean absolute error, MAE is the average of the difference between predicted and actual value in all test cases; it is the
average prediction error. The formula for calculating MAE is given in equation shown below:



                                                                                              (1)
    a c  a c
     1   1    2           2
                               ...    a c
                                         n     n

                      n




Assuming that the actual output is a, expected output is c

          Root mean-squared error
RMSE is frequently used measure of differences between values predicted by a model or estimator and the values actually
observed from the thing being modeled or estimated.



     a1 c1  a 2  c 2  ...  a n  c n
                  2                           2              2                                      (2)

                                         n



The basic flow of proposed model is given below:




                                                                 79
Design of Hybrid Neural Network Model for Quality Evaluation of Object Oriented Software Modules


                                                           Start


                                                 Find the structural code and
                                                 design attributes of S/W



                                                  Load the training data


                                               Perform the training of NN with
                                                             PSO



                                                     Load the testing data



                                              PSO trained with NN is evaluated
                                              against the testing data


                                              The performance is evaluated in
                                              terms of Accuracy, MAE (mean
                                              absolute error) and RMSE(root
                                              mean square error).



                                                            Stop

                               III.         RESULTS AND DISCUSSIONS
           The PSO technique along with Neural network is used to find the fault prone components of object oriented
software modules .The results are calculated on different iterations and neural network gives better results as umber of
iterations increases.




                               Fig1: Finding Gbest value by PSO by different iteration

                  No. of     Dimensi        No. of     Gbest        Accura       MAE          RMSE
                 particle      ons        iterations    value         cy
                                              100     21.4691        94.22       0.0299       0.1109
                                              500     21.8190        94.78       0.0290       0.1102
                    30          150          1000     21.8173        96.25       0.0279       0.1022
                                             1500     21.8609        96.98       0.0197       0.0990
                                             2000     21.8709        97.75       0.0178       0.0957
                            Table1: Performance on the basis of different iterations by PSO


                                                          80
Design of Hybrid Neural Network Model for Quality Evaluation of Object Oriented Software Modules




                              Graph1:Showing performance by PSO on different iterations

PSO used with neural network is giving better results as the number of iterations increases.

The comparison is shown in table given below:
  S.no.   Algorithm                                             Accuracy           MAE                 RMSE
  1         PSO with NN                                         97.75              0.0178              0.0957
  2         Generalized regression network                      97.66              0.0265              0.1056


      Table 2: Comparison of PSO with NN with generalized regression network on the basis of different measures




                                       Graph 2 :Comparison on the basis of accuracy




           Graph3: Comparison on the basis of MAE                 Graph 4: Comparison on the basis of RMSE

                                           IV.           CONCLUSION
           A variety of software fault prediction techniques have been proposed, which have been already applied in software
engineering applications. A neural network is trained to reproduce a given set of correct classification examples, instead to
produce formula or rules. Neural networks are non linear techniques that are able to model complex functions. In this work
NN approach is used along with PSO to find out fault prone components of software. The evaluation measures used are
Accuracy, MAE, RMSE and the results are calculated on different iterations. Result is calculated on different iterations. The
accuracy is improved as the number of iterations increases. The results showed that proposed technique is better as compared
to traditional approach and give better results.

                                                             81
Design of Hybrid Neural Network Model for Quality Evaluation of Object Oriented Software Modules

                                                       REFERENCES
 [1].    [1]IEEE Standard for a Software Quality Metrics Methodology, Institute of Electrical and electronics engineers Inc.1993.
 [2].    [2] Renu Kumar Louisiana State University Baton Rouge Suresh Rai Louisiana State University Baton Rouge Jerry L. Trahan
         Louisiana State University Baton Rouge Neural-Network Techniques for Software-Quality Evaluation
 [3].    [3] Yan Ma, Lan Guo and Bojan Cukic, “A Statistical Framework for the Prediction of Fault-Proneness”, Department of
         Statistics, West Virginia University, Morgantown.
 [4].    [4] S. Chidamber, and C. Kemerer, "A metrics suite for object-oriented design", IEEE Transactions on Software Engineering,
         20(6), 1994, pp.476-493.
 [5].    [5] V. R. Basili, L. C. Briand, W. L. Mélo((1996)): A validation of object-oriented design metrics as quality indicators, IEEE
         Trans. on Software Eng., Vol. 20, No. 22, pp. 751-761.
 [6].    [6] P.M. Khoshgoftaar, E.B. Allen, J.P. Hudepohl, and S.J.Aud, “Application of neural networks to software quality modeling of
         a very large telecommunications system”, IEEE Transactions on Neural Network, vol. 8, pp. 902-909, 1997.
 [7].    [7] T. Kamiya, Kusumoto, S., K. Inoue,”Prediction of fault proneness at early phase in object-oriented development”,
         Proceedings of the Second IEEE International Svmposium on Object-Oriented Real-Time Distributed Computing, pp., 253-
         258,1999.
 [8].    [8]Mahaweerawat, A. (2004), “Fault-Prediction in object oriented software‟s using neural network techniques”, Advanced
         Virtual and Intelligent Computing Center (AVIC), Department of Mathematics, Faculty of Science, Chulalongkorn University,
         Bangkok, Thailand, pp.1-8.Proceedings of the 9th International Conference on Neural Information Processing (ICONIP„OZ) ,
         Vol. 5 Lip0 W a g Jagath C. Rajapakse, Kunihiko Fukushima,Soo-Young Lee, and Xin Yao (Editors)
 [9].    [9] Parvinder S. Sandhu, Satish Kumar Dhiman, Anmol Goyal World Academy of Science, Engineering and Technology 60
         2009.
[10].    A Genetic Algorithm Based Classification Approach for Finding Fault Prone Classes
[11].    [10] Munson, J. C. & Khoshgoftaar, T. M., "The detection of fault-prone programs", IEEE Transactions on Software
         Engineering, (1992), 18(5), 423-433.
[12].    [11] Mie Mie Thet Thwin Tong-Seng Quah School of Electronic & Electrical Engineering Nanyang Technological University
         Application of neural network for predicting software development faults using object-oriented design metrics.
[13].    [12] Khoshgoftaar, T. M., Allen, E. B., Ross, F. D., Munikoti, R., Goel, N. & Nandi, A., "Predicting fault -prone modules with
         case-based reasoning". ISSRE 1997, the Eighth International Symposium on Software Engineering (pp. 27 -35), IEEE Computer
         Society (1997).




                                                                82

More Related Content

PDF
The International Journal of Engineering and Science (IJES)
PDF
Genetic algorithm based approach for
PDF
ICST11.ppt
PDF
Yolinda chiramba Survey Paper
PDF
Robust Fault-Tolerant Training Strategy Using Neural Network to Perform Funct...
PDF
Evaluation of network intrusion detection using markov chain
PDF
1806 1810
PDF
Intrusion Detection System Based on K-Star Classifier and Feature Set Reduction
The International Journal of Engineering and Science (IJES)
Genetic algorithm based approach for
ICST11.ppt
Yolinda chiramba Survey Paper
Robust Fault-Tolerant Training Strategy Using Neural Network to Perform Funct...
Evaluation of network intrusion detection using markov chain
1806 1810
Intrusion Detection System Based on K-Star Classifier and Feature Set Reduction

What's hot (19)

PDF
Cv32608610
PDF
A Novel Classification via Clustering Method for Anomaly Based Network Intrus...
PDF
Class quality evaluation using class quality
PDF
IRJET - Threat Prediction using Speech Analysis
PDF
Robust Malware Detection using Residual Attention Network
PDF
IRJET- Intrusion Detection using IP Binding in Real Network
PDF
IRJET- An Extensive Study of Sentiment Analysis Techniques and its Progressio...
PDF
An Empirical Study for Defect Prediction using Clustering
PDF
A NOVEL INTRUSION DETECTION MODEL FOR MOBILE AD-HOC NETWORKS USING CP-KNN
PDF
AN EFFICIENT INTRUSION DETECTION SYSTEM WITH CUSTOM FEATURES USING FPA-GRADIE...
PDF
IRJET- Improving Cyber Security using Artificial Intelligence
PDF
A survey of Network Intrusion Detection using soft computing Technique
PDF
On the Use of Different Statistical Tests for Alert Correlation -- Short Paper
DOCX
TOWARDS EFFECTIVE BUG TRIAGE WITH SOFTWARE DATA REDUCTION TECHNIQUES
PDF
V2I6_IJERTV2IS60721
PPSX
Itab innovative assessement tool
PDF
A State-based Model for Runtime Resource Reservation for Component-based Appl...
PDF
Unsupervised Distance Based Detection of Outliers by using Anti-hubs
Cv32608610
A Novel Classification via Clustering Method for Anomaly Based Network Intrus...
Class quality evaluation using class quality
IRJET - Threat Prediction using Speech Analysis
Robust Malware Detection using Residual Attention Network
IRJET- Intrusion Detection using IP Binding in Real Network
IRJET- An Extensive Study of Sentiment Analysis Techniques and its Progressio...
An Empirical Study for Defect Prediction using Clustering
A NOVEL INTRUSION DETECTION MODEL FOR MOBILE AD-HOC NETWORKS USING CP-KNN
AN EFFICIENT INTRUSION DETECTION SYSTEM WITH CUSTOM FEATURES USING FPA-GRADIE...
IRJET- Improving Cyber Security using Artificial Intelligence
A survey of Network Intrusion Detection using soft computing Technique
On the Use of Different Statistical Tests for Alert Correlation -- Short Paper
TOWARDS EFFECTIVE BUG TRIAGE WITH SOFTWARE DATA REDUCTION TECHNIQUES
V2I6_IJERTV2IS60721
Itab innovative assessement tool
A State-based Model for Runtime Resource Reservation for Component-based Appl...
Unsupervised Distance Based Detection of Outliers by using Anti-hubs
Ad

Viewers also liked (20)

PPTX
Gaurav assignment
PPTX
Centre for Natural Disaster Science (CNDS) – a strategic Swedish initiative f...
PPTX
SOCIAL MEDIA WORKSHOP
PPT
Integrated assessment of high mountain hazards and related prevention strateg...
PPTX
Networking
PDF
Memòria i avaluació del projecte 2003 aprofundiment anglès
PPTX
Swiss early warning system for natural hazards
PDF
Do not look where you fell, but where you slipped.
PPT
The role of economics in making better sustainable flood risk management deci...
PDF
Vaa0809
PDF
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...
PPT
Formation mechanism, process and risk evaluation system of disaster chain
PDF
3.1 memòria i avaluació projecte aprofundiment curs 11 12
PDF
Family provide the canvas and paints; the individual is the artist.
PPTX
Моя кубань
DOCX
θεατρικός όμιλος
PPTX
Capacity Building for Social-Ecological Resilience
DOCX
Advertisment and planing
PDF
Davos bationo full pc
PPT
User requirements assessment to support the integrated risk management decisi...
Gaurav assignment
Centre for Natural Disaster Science (CNDS) – a strategic Swedish initiative f...
SOCIAL MEDIA WORKSHOP
Integrated assessment of high mountain hazards and related prevention strateg...
Networking
Memòria i avaluació del projecte 2003 aprofundiment anglès
Swiss early warning system for natural hazards
Do not look where you fell, but where you slipped.
The role of economics in making better sustainable flood risk management deci...
Vaa0809
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...
Formation mechanism, process and risk evaluation system of disaster chain
3.1 memòria i avaluació projecte aprofundiment curs 11 12
Family provide the canvas and paints; the individual is the artist.
Моя кубань
θεατρικός όμιλος
Capacity Building for Social-Ecological Resilience
Advertisment and planing
Davos bationo full pc
User requirements assessment to support the integrated risk management decisi...
Ad

Similar to IJERD (www.ijerd.com) International Journal of Engineering Research and Development (20)

PDF
Function Point Software Cost Estimates using Neuro-Fuzzy technique
PDF
Software Defect Prediction Using Radial Basis and Probabilistic Neural Networks
PDF
Analysis of Software Complexity Measures for Regression Testing
PDF
A survey of fault prediction using machine learning algorithms
PDF
J034057065
PDF
TOWARDS PREDICTING SOFTWARE DEFECTS WITH CLUSTERING TECHNIQUES
PDF
A Hierarchical Feature Set optimization for effective code change based Defec...
PDF
IRJET - A Novel Approach for Software Defect Prediction based on Dimensio...
PDF
IRJET- Deep Learning Model to Predict Hardware Performance
PDF
IRJET- Analysis of PV Fed Vector Controlled Induction Motor Drive
PDF
Ijetcas14 468
DOCX
DETECTION OF NETWORK INTRUSION USING DCGANSEMI-SUPERVISED APPROACH.docx
PDF
EARLY STAGE SOFTWARE DEVELOPMENT EFFORT ESTIMATIONS – MAMDANI FIS VS NEURAL N...
PDF
Performancepredictionforsoftwarearchitectures 100810045752-phpapp02
PDF
Performance prediction for software architectures
PDF
Cm24585587
PDF
A simplified predictive framework for cost evaluation to fault assessment usi...
PDF
Class quality evaluation using class quality scorecards
PDF
20 54-1-pb
PDF
The Impact of Software Complexity on Cost and Quality - A Comparative Analysi...
Function Point Software Cost Estimates using Neuro-Fuzzy technique
Software Defect Prediction Using Radial Basis and Probabilistic Neural Networks
Analysis of Software Complexity Measures for Regression Testing
A survey of fault prediction using machine learning algorithms
J034057065
TOWARDS PREDICTING SOFTWARE DEFECTS WITH CLUSTERING TECHNIQUES
A Hierarchical Feature Set optimization for effective code change based Defec...
IRJET - A Novel Approach for Software Defect Prediction based on Dimensio...
IRJET- Deep Learning Model to Predict Hardware Performance
IRJET- Analysis of PV Fed Vector Controlled Induction Motor Drive
Ijetcas14 468
DETECTION OF NETWORK INTRUSION USING DCGANSEMI-SUPERVISED APPROACH.docx
EARLY STAGE SOFTWARE DEVELOPMENT EFFORT ESTIMATIONS – MAMDANI FIS VS NEURAL N...
Performancepredictionforsoftwarearchitectures 100810045752-phpapp02
Performance prediction for software architectures
Cm24585587
A simplified predictive framework for cost evaluation to fault assessment usi...
Class quality evaluation using class quality scorecards
20 54-1-pb
The Impact of Software Complexity on Cost and Quality - A Comparative Analysi...

More from IJERD Editor (20)

PDF
A Novel Method for Prevention of Bandwidth Distributed Denial of Service Attacks
PDF
MEMS MICROPHONE INTERFACE
PDF
Influence of tensile behaviour of slab on the structural Behaviour of shear c...
PDF
Gold prospecting using Remote Sensing ‘A case study of Sudan’
PDF
Reducing Corrosion Rate by Welding Design
PDF
Router 1X3 – RTL Design and Verification
PDF
Active Power Exchange in Distributed Power-Flow Controller (DPFC) At Third Ha...
PDF
Mitigation of Voltage Sag/Swell with Fuzzy Control Reduced Rating DVR
PDF
Study on the Fused Deposition Modelling In Additive Manufacturing
PDF
Spyware triggering system by particular string value
PDF
A Blind Steganalysis on JPEG Gray Level Image Based on Statistical Features a...
PDF
Secure Image Transmission for Cloud Storage System Using Hybrid Scheme
PDF
Application of Buckley-Leverett Equation in Modeling the Radius of Invasion i...
PDF
Gesture Gaming on the World Wide Web Using an Ordinary Web Camera
PDF
Hardware Analysis of Resonant Frequency Converter Using Isolated Circuits And...
PDF
Simulated Analysis of Resonant Frequency Converter Using Different Tank Circu...
PDF
Moon-bounce: A Boon for VHF Dxing
PDF
“MS-Extractor: An Innovative Approach to Extract Microsatellites on „Y‟ Chrom...
PDF
Importance of Measurements in Smart Grid
PDF
Study of Macro level Properties of SCC using GGBS and Lime stone powder
A Novel Method for Prevention of Bandwidth Distributed Denial of Service Attacks
MEMS MICROPHONE INTERFACE
Influence of tensile behaviour of slab on the structural Behaviour of shear c...
Gold prospecting using Remote Sensing ‘A case study of Sudan’
Reducing Corrosion Rate by Welding Design
Router 1X3 – RTL Design and Verification
Active Power Exchange in Distributed Power-Flow Controller (DPFC) At Third Ha...
Mitigation of Voltage Sag/Swell with Fuzzy Control Reduced Rating DVR
Study on the Fused Deposition Modelling In Additive Manufacturing
Spyware triggering system by particular string value
A Blind Steganalysis on JPEG Gray Level Image Based on Statistical Features a...
Secure Image Transmission for Cloud Storage System Using Hybrid Scheme
Application of Buckley-Leverett Equation in Modeling the Radius of Invasion i...
Gesture Gaming on the World Wide Web Using an Ordinary Web Camera
Hardware Analysis of Resonant Frequency Converter Using Isolated Circuits And...
Simulated Analysis of Resonant Frequency Converter Using Different Tank Circu...
Moon-bounce: A Boon for VHF Dxing
“MS-Extractor: An Innovative Approach to Extract Microsatellites on „Y‟ Chrom...
Importance of Measurements in Smart Grid
Study of Macro level Properties of SCC using GGBS and Lime stone powder

Recently uploaded (20)

PDF
Data Virtualization in Action: Scaling APIs and Apps with FME
PDF
Transform-Quality-Engineering-with-AI-A-60-Day-Blueprint-for-Digital-Success.pdf
PPTX
Training Program for knowledge in solar cell and solar industry
PPTX
Internet of Everything -Basic concepts details
PDF
The-2025-Engineering-Revolution-AI-Quality-and-DevOps-Convergence.pdf
PDF
A hybrid framework for wild animal classification using fine-tuned DenseNet12...
PDF
4 layer Arch & Reference Arch of IoT.pdf
PPTX
agenticai-neweraofintelligence-250529192801-1b5e6870.pptx
PDF
The-Future-of-Automotive-Quality-is-Here-AI-Driven-Engineering.pdf
PDF
Early detection and classification of bone marrow changes in lumbar vertebrae...
PDF
Introduction to MCP and A2A Protocols: Enabling Agent Communication
PDF
giants, standing on the shoulders of - by Daniel Stenberg
PDF
Advancing precision in air quality forecasting through machine learning integ...
PDF
Dell Pro Micro: Speed customer interactions, patient processing, and learning...
PDF
INTERSPEECH 2025 「Recent Advances and Future Directions in Voice Conversion」
PDF
Lung cancer patients survival prediction using outlier detection and optimize...
PDF
Transform-Your-Streaming-Platform-with-AI-Driven-Quality-Engineering.pdf
PDF
Convolutional neural network based encoder-decoder for efficient real-time ob...
PPTX
AI-driven Assurance Across Your End-to-end Network With ThousandEyes
PDF
Transform-Your-Supply-Chain-with-AI-Driven-Quality-Engineering.pdf
Data Virtualization in Action: Scaling APIs and Apps with FME
Transform-Quality-Engineering-with-AI-A-60-Day-Blueprint-for-Digital-Success.pdf
Training Program for knowledge in solar cell and solar industry
Internet of Everything -Basic concepts details
The-2025-Engineering-Revolution-AI-Quality-and-DevOps-Convergence.pdf
A hybrid framework for wild animal classification using fine-tuned DenseNet12...
4 layer Arch & Reference Arch of IoT.pdf
agenticai-neweraofintelligence-250529192801-1b5e6870.pptx
The-Future-of-Automotive-Quality-is-Here-AI-Driven-Engineering.pdf
Early detection and classification of bone marrow changes in lumbar vertebrae...
Introduction to MCP and A2A Protocols: Enabling Agent Communication
giants, standing on the shoulders of - by Daniel Stenberg
Advancing precision in air quality forecasting through machine learning integ...
Dell Pro Micro: Speed customer interactions, patient processing, and learning...
INTERSPEECH 2025 「Recent Advances and Future Directions in Voice Conversion」
Lung cancer patients survival prediction using outlier detection and optimize...
Transform-Your-Streaming-Platform-with-AI-Driven-Quality-Engineering.pdf
Convolutional neural network based encoder-decoder for efficient real-time ob...
AI-driven Assurance Across Your End-to-end Network With ThousandEyes
Transform-Your-Supply-Chain-with-AI-Driven-Quality-Engineering.pdf

IJERD (www.ijerd.com) International Journal of Engineering Research and Development

  • 1. International Journal of Engineering Research and Development e-ISSN : 2278-067X, p-ISSN : 2278-800X, www.ijerd.com Volume 2, Issue 5 (July 2012), PP. 78-82 Design of Hybrid Neural Network Model for Quality Evaluation of Object Oriented Software Modules Amandeep Kaur1, Arjan Singh2, Baljit Singh3 1,3 Department of Computer Science Engineering, BBSB Engineering College, Fatehgarh Sahib. Punjab, India 2 Department of Mathematics, Punjabi University, Patiala-14002, Punjab, India. Abstract––The aim of this paper is to evaluate the quality of object oriented modules. In this work neural network approach is used along with PSO (particle swarm optimization) to find out fault prone components of software. The evaluation measures used are Accuracy, MAE (Mean absolute error), RMSE (Root mean square error) and the results are calculated on different iterations. The Accuracy, MAE, RMSE is improved as number of iterations increases. Keywords––Software engineering, Fault proneness, Neural Network, Particle Swarm Optimization. I. INTRODUCTION Software quality is the degree to which software possesses a desired combination of attributes such as reliability, maintainability, efficiency, portability, usability, and reusability [1]. This desired combination of attributes must be clearly defined. Various software metrics have been identified for the purpose of evaluating these characteristics of software systems. The aim of software metrics is to predict the quality of the object oriented software products. Fault-proneness of a software module is the probability that the module contains faults. A corelation exists between the fault-proneness of the software and the measurable attributes of the code and testing [9]. Accurate prediction of fault-prone modules enables the verification and validation activities focused on the critical software components Yan Ma and Bojan Cukic [3]. Therefore, software developers have a keen interest in software quality models. It is required that fault- prone prediction models should be efficient and accurate. Predicting the number of faults in each module or identifying the fault-prone modules in the early stages of the software development life cycle will help the development Renu Kumar Louisiana [2]. Software complexity metrics play a useful role in this regard because they are numerical measures that can be obtained early in the software life cycle. There exists a relationship between measures of software complexity and the number of errors later found in test and validation. Faults in software systems continue to be a major problem. Many systems are delivered to users with excessive faults. It has long been recognized that seeking out fault-prone parts of the system and targeting those parts for increased quality control and testing is an effective approach to fault reduction. It is difficult to identify a reliable approach to identifying fault-prone software components Parvinder S. Sandhu [9]. Basili et al. [4] empirically validated CK metrics and found no correlation among metrics. The paper stated that all metrics were effective in predicting fault proneness except LCOM (Lack of Cohesion of Methods). However the metric suite was applied to the source code because some of their metrics measure an inner complexity of a class, and such information cannot be obtained until the algorithm and structure of the class are determined at the end of design phase. Khoshgoftarr et al. [6] introduced the use of the neural networks as a tool for predicting software quality. They compared the neural-network model with a nonparametric discriminant model, and found the neural network model had better predictive accuracy. This model used domain metrics derived from the complexity metric data. These metrics are not adequate for detecting object-oriented faults. Since the object-oriented paradigm exhibits different characteristics from the procedural paradigm, software metrics in object-oriented paradigm need to be used. With the increasing use of object- oriented methods in new software development there is a growing need to improve current practice in object-oriented design and development Toshihiro Kamiya et al. [7] presented a method to estimate the fault-proneness of the class in the early phase, using several complexity metrics for object oriented software. They introduced four checkpoints into the analysis/design/implementation phase, and estimate the fault-prone classes using the applicable metrics at each checkpoint. They estimate the fault-proneness by using the multivariate logistic regression analysis. Atchara Mahaweerawat [8] proposed fault prediction model based on supervised learning using Multilayer Perceptron Neural Network and the results are analyzed in terms of classification correctness and based on the results of classification, faulty classes are further analyzed and classified according to the particular type of fault. Munson & Khoshgoftaar [10] use discriminant analysis technique to investigate some aspects of the relationship between program complexity measures and program faults. Mie mie thet thwin, tong-seng quah [11] proposed neural network model along with object oriented metrics. This empirical study presents the prediction of faults in three industrial real time system using multiple regression model and a neural network model and found that neural network model can predict the number of faults more exactly than multiple regression model. 78
  • 2. Design of Hybrid Neural Network Model for Quality Evaluation of Object Oriented Software Modules A variety of software fault predictions techniques have been proposed, but none has proven to be consistently accurate. Therefore, there is a need to find the best prediction techniques for a given prediction problem. 1. The techniques used in Khoshgoftarr et al. [6] used to predict faults that use traditional metrics are not generally applicable to object oriented system. 2 The data collected in Basili et al. [4] is not of industry. So there can be increased complexity when it comes to large object oriented system of organization. 3 CK metrics evaluate static complexity of object oriented software in Basili et al. [4], V. R. Basili [5]. Several OOD specifications include dynamic information. It is necessary to evaluate such dynamic complexity. 4. Models used in Khoshgoftaar [12] take Increase time to design and develop quality cases. So, in this study a PSO Technique is used along with Neural Network to predict fault prone modules in object oriented. II. MATERIALS AND METHODS The proposed study find out the fault proneness of object oriented modules. The technique used in this study is Particle swarm optimization along with Neural Network. The evaluation measures used are Accuracy, Mean Absolute Error, Root Mean Squared Error. Step-1: Find the structural code and design attributes of software. The dataset taken is from NASA KC1.The dataset is related to software defect prediction which contains 2109 modules and 22 metrics. Step-2: Load the training data .In this step the 80% of KC1 dataset is used for training. Step-3: Perform Particle Swarm Optimization based Neural Network training. In this step Particle Swarm Optimization toolbox for Matlab is used and the training is performed with the help of this toolbox. Step-4: Load testing data. In this step 20% of kc1 dataset is used for testing. Step-5: In this step testing is done and the performance is calculated on the basis of Accuracy, MAE (Mean Absolute Error), RMSE (Root Mean Squared Error) The evaluation measures that are used to carry out the results are discussed below:  Mean absolute error (MAE)  Root mean square error (RMSE)  Accuracy  Mean absolute error Mean absolute error, MAE is the average of the difference between predicted and actual value in all test cases; it is the average prediction error. The formula for calculating MAE is given in equation shown below: (1) a c  a c 1 1 2 2  ...  a c n n n Assuming that the actual output is a, expected output is c  Root mean-squared error RMSE is frequently used measure of differences between values predicted by a model or estimator and the values actually observed from the thing being modeled or estimated. a1 c1  a 2  c 2  ...  a n  c n 2 2 2 (2) n The basic flow of proposed model is given below: 79
  • 3. Design of Hybrid Neural Network Model for Quality Evaluation of Object Oriented Software Modules Start Find the structural code and design attributes of S/W Load the training data Perform the training of NN with PSO Load the testing data PSO trained with NN is evaluated against the testing data The performance is evaluated in terms of Accuracy, MAE (mean absolute error) and RMSE(root mean square error). Stop III. RESULTS AND DISCUSSIONS The PSO technique along with Neural network is used to find the fault prone components of object oriented software modules .The results are calculated on different iterations and neural network gives better results as umber of iterations increases. Fig1: Finding Gbest value by PSO by different iteration No. of Dimensi No. of Gbest Accura MAE RMSE particle ons iterations value cy 100 21.4691 94.22 0.0299 0.1109 500 21.8190 94.78 0.0290 0.1102 30 150 1000 21.8173 96.25 0.0279 0.1022 1500 21.8609 96.98 0.0197 0.0990 2000 21.8709 97.75 0.0178 0.0957 Table1: Performance on the basis of different iterations by PSO 80
  • 4. Design of Hybrid Neural Network Model for Quality Evaluation of Object Oriented Software Modules Graph1:Showing performance by PSO on different iterations PSO used with neural network is giving better results as the number of iterations increases. The comparison is shown in table given below: S.no. Algorithm Accuracy MAE RMSE 1 PSO with NN 97.75 0.0178 0.0957 2 Generalized regression network 97.66 0.0265 0.1056 Table 2: Comparison of PSO with NN with generalized regression network on the basis of different measures Graph 2 :Comparison on the basis of accuracy Graph3: Comparison on the basis of MAE Graph 4: Comparison on the basis of RMSE IV. CONCLUSION A variety of software fault prediction techniques have been proposed, which have been already applied in software engineering applications. A neural network is trained to reproduce a given set of correct classification examples, instead to produce formula or rules. Neural networks are non linear techniques that are able to model complex functions. In this work NN approach is used along with PSO to find out fault prone components of software. The evaluation measures used are Accuracy, MAE, RMSE and the results are calculated on different iterations. Result is calculated on different iterations. The accuracy is improved as the number of iterations increases. The results showed that proposed technique is better as compared to traditional approach and give better results. 81
  • 5. Design of Hybrid Neural Network Model for Quality Evaluation of Object Oriented Software Modules REFERENCES [1]. [1]IEEE Standard for a Software Quality Metrics Methodology, Institute of Electrical and electronics engineers Inc.1993. [2]. [2] Renu Kumar Louisiana State University Baton Rouge Suresh Rai Louisiana State University Baton Rouge Jerry L. Trahan Louisiana State University Baton Rouge Neural-Network Techniques for Software-Quality Evaluation [3]. [3] Yan Ma, Lan Guo and Bojan Cukic, “A Statistical Framework for the Prediction of Fault-Proneness”, Department of Statistics, West Virginia University, Morgantown. [4]. [4] S. Chidamber, and C. Kemerer, "A metrics suite for object-oriented design", IEEE Transactions on Software Engineering, 20(6), 1994, pp.476-493. [5]. [5] V. R. Basili, L. C. Briand, W. L. Mélo((1996)): A validation of object-oriented design metrics as quality indicators, IEEE Trans. on Software Eng., Vol. 20, No. 22, pp. 751-761. [6]. [6] P.M. Khoshgoftaar, E.B. Allen, J.P. Hudepohl, and S.J.Aud, “Application of neural networks to software quality modeling of a very large telecommunications system”, IEEE Transactions on Neural Network, vol. 8, pp. 902-909, 1997. [7]. [7] T. Kamiya, Kusumoto, S., K. Inoue,”Prediction of fault proneness at early phase in object-oriented development”, Proceedings of the Second IEEE International Svmposium on Object-Oriented Real-Time Distributed Computing, pp., 253- 258,1999. [8]. [8]Mahaweerawat, A. (2004), “Fault-Prediction in object oriented software‟s using neural network techniques”, Advanced Virtual and Intelligent Computing Center (AVIC), Department of Mathematics, Faculty of Science, Chulalongkorn University, Bangkok, Thailand, pp.1-8.Proceedings of the 9th International Conference on Neural Information Processing (ICONIP„OZ) , Vol. 5 Lip0 W a g Jagath C. Rajapakse, Kunihiko Fukushima,Soo-Young Lee, and Xin Yao (Editors) [9]. [9] Parvinder S. Sandhu, Satish Kumar Dhiman, Anmol Goyal World Academy of Science, Engineering and Technology 60 2009. [10]. A Genetic Algorithm Based Classification Approach for Finding Fault Prone Classes [11]. [10] Munson, J. C. & Khoshgoftaar, T. M., "The detection of fault-prone programs", IEEE Transactions on Software Engineering, (1992), 18(5), 423-433. [12]. [11] Mie Mie Thet Thwin Tong-Seng Quah School of Electronic & Electrical Engineering Nanyang Technological University Application of neural network for predicting software development faults using object-oriented design metrics. [13]. [12] Khoshgoftaar, T. M., Allen, E. B., Ross, F. D., Munikoti, R., Goel, N. & Nandi, A., "Predicting fault -prone modules with case-based reasoning". ISSRE 1997, the Eighth International Symposium on Software Engineering (pp. 27 -35), IEEE Computer Society (1997). 82