Change search
ReferencesLink to record
Permanent link

Direct link
Using Data Mining for Static Code Analysis of C
Blekinge Institute of Technology, School of Computing.
Blekinge Institute of Technology, School of Computing.
Blekinge Institute of Technology, School of Computing.
2012 (English)Conference paper (Refereed) Published
Abstract [en]

Static analysis of source code is one way to find bugs and problems in large software projects. Many approaches to static analysis have been proposed. We proposed a novel way of performing static analysis. Instead of methods based on semantic/logic analysis we apply machine learning directly to the problem. This has many benefits. Learning by example means trivial programmer adaptability (a problem with many other approaches), learning systems also has the advantage to be able to generalise and find problematic source code constructs that are not exactly as the programmer initially thought, to name a few. Due to the general interest in code quality and the availability of large open source code bases as test and development data, we believe this problem should be of interest to the larger data mining community. In this work we extend our previous approach and investigate a new way of doing feature selection and test the suitability of many different learning algorithms. This on a selection of problems we adapted from large publicly available open source projects. Many algorithms were much more successful than our previous proof-of-concept, and deliver practical levels of performance. This is clearly an interesting and minable problem.

Place, publisher, year, edition, pages
Nanjing, China: Springer , 2012.
Keyword [en]
software engineering, static analysis, application
National Category
Computer Science
URN: urn:nbn:se:bth-7112Local ID: diva2:834693
8th International Conference on Advanced Data Mining and Applications (ADMA 2012)
Available from: 2012-12-10 Created: 2012-12-05 Last updated: 2015-06-30Bibliographically approved

Open Access in DiVA

fulltext(442 kB)17 downloads
File information
File name FULLTEXT01.pdfFile size 442 kBChecksum SHA-512
Type fulltextMimetype application/pdf

Search in DiVA

By author/editor
Axelsson, Stefan
By organisation
School of Computing
Computer Science

Search outside of DiVA

GoogleGoogle Scholar
Total: 17 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

Total: 21 hits
ReferencesLink to record
Permanent link

Direct link