Defect Prediction with Content-based Features

Hung Viet Pham, Tung Thanh Nguyen
9/27/2024
cs.SEcs.CLcs.LG

No confident code implementation found for this paper.

Abstract

Traditional defect prediction approaches often use metrics that measure the complexity of the design or implementing code of a software system, such as the number of lines of code in a source file. In this paper, we explore a different approach based on content of source code. Our key assumption is that source code of a software system contains information about its technical aspects and those aspects might have different levels of defect-proneness. Thus, content-based features such as words, topics, data types, and package names extracted from a source code file could be used to predict its defects. We have performed an extensive empirical evaluation and found that: i) such content-based features have higher predictive power than code complexity metrics and ii) the use of feature selection, reduction, and combination further improves the prediction performance.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{pham2024defect,
  title  = {Defect Prediction with Content-based Features},
  author = {Hung Viet Pham and Tung Thanh Nguyen},
  year   = {2024},
  eprint = {2409.18365},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2409.18365v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2409.18365.svg)](https://codeofpaper.com/paper/2409.18365)

Discussion