This paper describes a novel approach for detecting fault-prone modules using a spam filtering
technique. Fault-prone module detection in source code is important for the assurance of software
quality. Most previous fault-prone detection approaches have been based on using software metrics.
Such approaches, however, have difficulties in collecting the metrics and constructing mathematical
models based on the metrics. Because of the increase in the need for spam e-mail detection, the
spam filtering technique has progressed as a convenient and effective technique for text mining. In
our approach, fault-prone modules are detected in such a way that the source code modules are
considered text files and are applied to the spam filter directly. To show the applicability of our
approach, we conducted experimental applications using source code repositories of Java based open
source developments. The result of experiments shows that our approach can correctly predict 78% of
actual fault-prone modules as fault-prone.