Patent attributes
A code dependency influenced bug localization apparatus and method receive bug reports and source code changes of a software program. Each source code change includes a syntax component and a location component. Each bug report includes a functional description of an aspect of the software program. The apparatus and method obtain a vectorized feature representation of each bug report, apply a learning process to the source code changes based on a code dependency among the source code changes, obtain a vectorized feature representation of each source code change based on the code dependency, merge the feature representations of the bug reports and the feature representations of the source code changes into a plurality of unified feature representations, and apply a ranking process to the unified feature representations to produce a source code relating function for relating a bug report and a source code change.