Bidirectional Program Dependency–Guided Attention for Improved Method‐Level Software Defect Prediction.

Saved in:
Bibliographic Details
Title: Bidirectional Program Dependency–Guided Attention for Improved Method‐Level Software Defect Prediction.
Authors: Lin, Jing‐Rong1 (AUTHOR), Huang, Chin‐Yu1,2 (AUTHOR) cyhuang@cs.nthu.edu.tw, Fang, Chih‐Chiang2 (AUTHOR)
Source: Journal of Software: Evolution & Process. May2026, Vol. 38 Issue 5, p1-20. 20p.
Subjects: Transformer models, Defect tracking (Computer software development), Programming language semantics, Software engineering
Abstract: Software defect prediction (SDP) is an active area of research in software engineering, with numerous approaches proposed over the years to assist practitioners in identifying potential software defects. However, most existing SDP approaches predict software defects at a coarse‐grained level. Practitioners must still invest considerable time and effort to manually inspect large code segments. Another critical issue lies in the contextual understanding affected by code structures. Some SDP approaches attempt to learn the context from consecutive lines of code, which may not always constitute a meaningful semantic unit. Furthermore, the data preprocessing techniques employed in many SDP studies raise concerns about preserving code semantics. In this study, we propose bidirectional program dependency–guided attention for defect prediction (BiPDG‐DP), a hierarchical Transformer‐based language model that learns the contextual information of a method‐level PDG considering both the control and data dependencies in the directions of both source‐to‐target and target‐to‐source for method‐level SDP. Based on the comparative experimental results on the 32 releases of nine Java projects, our proposed approach outperforms other baseline approaches with significant relative improvements of 11.8%–35.7% in terms of the non‐effort‐aware evaluation metrics and 14.2%–218.5% in terms of the effort‐aware evaluation metrics, respectively. [ABSTRACT FROM AUTHOR]
Copyright of Journal of Software: Evolution & Process is the property of Wiley-Blackwell and its content may not be copied or emailed to multiple sites without the copyright holder's express written permission. Additionally, content may not be used with any artificial intelligence tools or machine learning technologies. However, users may print, download, or email articles for individual use. This abstract may be abridged. No warranty is given about the accuracy of the copy. Users should refer to the original published version of the material for the full abstract. (Copyright applies to all Abstracts.)
Database: Engineering Source
FullText Text:
  Availability: 0
Header DbId: egs
DbLabel: Engineering Source
An: 194054116
AccessLevel: 6
PubType: Academic Journal
PubTypeId: academicJournal
PreciseRelevancyScore: 0
IllustrationInfo
Items – Name: Title
  Label: Title
  Group: Ti
  Data: Bidirectional Program Dependency–Guided Attention for Improved Method‐Level Software Defect Prediction.
– Name: Author
  Label: Authors
  Group: Au
  Data: <searchLink fieldCode="AR" term="%22Lin%2C+Jing‐Rong%22">Lin, Jing‐Rong</searchLink><relatesTo>1</relatesTo> (AUTHOR)<br /><searchLink fieldCode="AR" term="%22Huang%2C+Chin‐Yu%22">Huang, Chin‐Yu</searchLink><relatesTo>1,2</relatesTo> (AUTHOR)<i> cyhuang@cs.nthu.edu.tw</i><br /><searchLink fieldCode="AR" term="%22Fang%2C+Chih‐Chiang%22">Fang, Chih‐Chiang</searchLink><relatesTo>2</relatesTo> (AUTHOR)
– Name: TitleSource
  Label: Source
  Group: Src
  Data: <searchLink fieldCode="JN" term="%22Journal+of+Software%3A+Evolution+%26+Process%22">Journal of Software: Evolution & Process</searchLink>. May2026, Vol. 38 Issue 5, p1-20. 20p.
– Name: Subject
  Label: Subjects
  Group: Su
  Data: <searchLink fieldCode="DE" term="%22Transformer+models%22">Transformer models</searchLink><br /><searchLink fieldCode="DE" term="%22Defect+tracking+%28Computer+software+development%29%22">Defect tracking (Computer software development)</searchLink><br /><searchLink fieldCode="DE" term="%22Programming+language+semantics%22">Programming language semantics</searchLink><br /><searchLink fieldCode="DE" term="%22Software+engineering%22">Software engineering</searchLink>
– Name: Abstract
  Label: Abstract
  Group: Ab
  Data: Software defect prediction (SDP) is an active area of research in software engineering, with numerous approaches proposed over the years to assist practitioners in identifying potential software defects. However, most existing SDP approaches predict software defects at a coarse‐grained level. Practitioners must still invest considerable time and effort to manually inspect large code segments. Another critical issue lies in the contextual understanding affected by code structures. Some SDP approaches attempt to learn the context from consecutive lines of code, which may not always constitute a meaningful semantic unit. Furthermore, the data preprocessing techniques employed in many SDP studies raise concerns about preserving code semantics. In this study, we propose bidirectional program dependency–guided attention for defect prediction (BiPDG‐DP), a hierarchical Transformer‐based language model that learns the contextual information of a method‐level PDG considering both the control and data dependencies in the directions of both source‐to‐target and target‐to‐source for method‐level SDP. Based on the comparative experimental results on the 32 releases of nine Java projects, our proposed approach outperforms other baseline approaches with significant relative improvements of 11.8%–35.7% in terms of the non‐effort‐aware evaluation metrics and 14.2%–218.5% in terms of the effort‐aware evaluation metrics, respectively. [ABSTRACT FROM AUTHOR]
– Name: AbstractSuppliedCopyright
  Label:
  Group: Ab
  Data: <i>Copyright of Journal of Software: Evolution & Process is the property of Wiley-Blackwell and its content may not be copied or emailed to multiple sites without the copyright holder's express written permission. Additionally, content may not be used with any artificial intelligence tools or machine learning technologies. However, users may print, download, or email articles for individual use. This abstract may be abridged. No warranty is given about the accuracy of the copy. Users should refer to the original published version of the material for the full abstract.</i> (Copyright applies to all Abstracts.)
PLink https://search.ebscohost.com/login.aspx?direct=true&site=eds-live&db=egs&AN=194054116
RecordInfo BibRecord:
  BibEntity:
    Identifiers:
      – Type: doi
        Value: 10.1002/smr.70115
    Languages:
      – Code: eng
        Text: English
    PhysicalDescription:
      Pagination:
        PageCount: 20
        StartPage: 1
    Subjects:
      – SubjectFull: Transformer models
        Type: general
      – SubjectFull: Defect tracking (Computer software development)
        Type: general
      – SubjectFull: Programming language semantics
        Type: general
      – SubjectFull: Software engineering
        Type: general
    Titles:
      – TitleFull: Bidirectional Program Dependency–Guided Attention for Improved Method‐Level Software Defect Prediction.
        Type: main
  BibRelationships:
    HasContributorRelationships:
      – PersonEntity:
          Name:
            NameFull: Lin, Jing‐Rong
      – PersonEntity:
          Name:
            NameFull: Huang, Chin‐Yu
      – PersonEntity:
          Name:
            NameFull: Fang, Chih‐Chiang
    IsPartOfRelationships:
      – BibEntity:
          Dates:
            – D: 01
              M: 05
              Text: May2026
              Type: published
              Y: 2026
          Identifiers:
            – Type: issn-print
              Value: 20477473
          Numbering:
            – Type: volume
              Value: 38
            – Type: issue
              Value: 5
          Titles:
            – TitleFull: Journal of Software: Evolution & Process
              Type: main
ResultId 1