Open Access Open Access  Restricted Access Subscription Access

Providing an Approach to Locating the Semantic Error of Application using Data Mining Techniques


Affiliations
1 Department of Computer Engineering, Bandar Abbas Branch, Islamic Azad University, Bandar Abbas, Iran, Islamic Republic of
2 Department of Computer Engineering and Information Technology, Payame Noor University, Iran, Islamic Republic of
 

Regardless of the efforts taken to produce a computer program, the program may still have some bugs and defects. In fact, the larger and more complex programs are more likely to contain errors. The purpose of this paper is to present an approach to detect erroneous performance of application using clustering technique. Because the program passed different execution paths based on different inputs, there is impossible to discover all errors in the program before delivery the software. Monitoring all execution paths before delivery of program is very difficult or maybe impossible, so a lot of errors are hidden in the program and is revealed after delivery. Solutions that have been proposed to achieve this goal are trying to compare the information in the implementation of the program to be successful or unsuccessful which called determinant and introduces the points suspended to the error to programmer. But the main problem is that the analysis carried out at the decisive time information regardless of affiliation between predicate, leading to the inability of these methods to detect certain types of errors. To solve these problems, in this paper a new solution based on behavior analysis and runtime of executable paths in the form of taking into account the interactions between determinants are provided. For this purpose, a clustering method was used for classification of graphs based on the similarities and the ultimate determination of areas suspected of error in the erroneous code paths. Assessment of the proposed strategy on the collection of real programs shows the success of the proposed approach more accurate in detecting errors compared to previous.

Keywords

Clustering, Dynamic Analysis, Data Mining, Locating Error, Semantic Error.
User

Abstract Views: 165

PDF Views: 0




  • Providing an Approach to Locating the Semantic Error of Application using Data Mining Techniques

Abstract Views: 165  |  PDF Views: 0

Authors

Abdollah Rahimi
Department of Computer Engineering, Bandar Abbas Branch, Islamic Azad University, Bandar Abbas, Iran, Islamic Republic of
Ahmad Faraahi
Department of Computer Engineering and Information Technology, Payame Noor University, Iran, Islamic Republic of
Azam Ghaedi
Department of Computer Engineering, Bandar Abbas Branch, Islamic Azad University, Bandar Abbas, Iran, Islamic Republic of

Abstract


Regardless of the efforts taken to produce a computer program, the program may still have some bugs and defects. In fact, the larger and more complex programs are more likely to contain errors. The purpose of this paper is to present an approach to detect erroneous performance of application using clustering technique. Because the program passed different execution paths based on different inputs, there is impossible to discover all errors in the program before delivery the software. Monitoring all execution paths before delivery of program is very difficult or maybe impossible, so a lot of errors are hidden in the program and is revealed after delivery. Solutions that have been proposed to achieve this goal are trying to compare the information in the implementation of the program to be successful or unsuccessful which called determinant and introduces the points suspended to the error to programmer. But the main problem is that the analysis carried out at the decisive time information regardless of affiliation between predicate, leading to the inability of these methods to detect certain types of errors. To solve these problems, in this paper a new solution based on behavior analysis and runtime of executable paths in the form of taking into account the interactions between determinants are provided. For this purpose, a clustering method was used for classification of graphs based on the similarities and the ultimate determination of areas suspected of error in the erroneous code paths. Assessment of the proposed strategy on the collection of real programs shows the success of the proposed approach more accurate in detecting errors compared to previous.

Keywords


Clustering, Dynamic Analysis, Data Mining, Locating Error, Semantic Error.



DOI: https://doi.org/10.17485/ijst%2F2016%2Fv9i18%2F132948