机构:
Hangzhou City Univ, Hangzhou 310015, Peoples R ChinaHangzhou City Univ, Hangzhou 310015, Peoples R China
Wang, Haoye
[1
]
Gao, Zhipeng
论文数: 0引用数: 0
h-index: 0
机构:
Zhejiang Univ, Shanghai Inst Adv Study, Shanghai 201210, Peoples R ChinaHangzhou City Univ, Hangzhou 310015, Peoples R China
Gao, Zhipeng
[2
]
Hu, Xing
论文数: 0引用数: 0
h-index: 0
机构:
Zhejiang Univ, Sch Technol, Hangzhou 310058, Peoples R ChinaHangzhou City Univ, Hangzhou 310015, Peoples R China
Hu, Xing
[3
]
Lo, David
论文数: 0引用数: 0
h-index: 0
机构:
Singapore Management Univ, Comp Sci, Singapore, 3800, SingaporeHangzhou City Univ, Hangzhou 310015, Peoples R China
Lo, David
[5
]
Grundy, John
论文数: 0引用数: 0
h-index: 0
机构:Hangzhou City Univ, Hangzhou 310015, Peoples R China
Grundy, John
Wang, Xinyu
论文数: 0引用数: 0
h-index: 0
机构:
Zhejiang Univ, Sch Technol, Hangzhou 310058, Peoples R China
Zhejiang Univ, Coll Comp Sci & Technol, Hangzhou 188065, Peoples R ChinaHangzhou City Univ, Hangzhou 310015, Peoples R China
Wang, Xinyu
[3
,4
]
机构:
[1] Hangzhou City Univ, Hangzhou 310015, Peoples R China
[2] Zhejiang Univ, Shanghai Inst Adv Study, Shanghai 201210, Peoples R China
[3] Zhejiang Univ, Sch Technol, Hangzhou 310058, Peoples R China
[4] Zhejiang Univ, Coll Comp Sci & Technol, Hangzhou 188065, Peoples R China
TODO comments play an important role in helping developers to manage their tasks and communicate with other team members. TODO comments are often introduced by developers as a type of technical debt, such as a reminder to add/remove features or a request to optimize the code implementations. These can all be considered as notifications for developers to revisit regarding the current suboptimal solutions. TODO comments often bring short-term benefits - higher productivity or shorter development cost - and indicate attention needs to be paid for the long-term software quality. Unfortunately, due to their lack of knowledge or experience and/or the time constraints, developers sometimes may forget or even not be aware of suboptimal implementations. The loss of the TODO comments for these suboptimal solutions may hurt the software quality and reliability in the long-term. Therefore it is beneficial to remind the developers of the suboptimal solutions whenever they change the code. In this work, we refer this problem to the task of detecting TODO-missed commits, and we propose a novel approach named TDReminder (TODO comment Reminder) to address the task. With the help of TDReminder, developers can identify possible missing TODO commits just-in-time when submitting a commit. Our approach has two phases: offline training and online inference. We first embed code change and commit message into contextual vector representations using two neural encoders respectively. The association between these representations is learned by our model automatically. In the online inference phase, TDReminder leverages the trained model to compute the likelihood of a commit being a TODO-missed commit. We evaluate TDReminder on datasets crawled from 10k popular Python and Java repositories in GitHub respectively. Our experimental results show that TDReminder outperforms a set of benchmarks by a large margin in TODO-missed commits detection. Moreover, to better help developers use TDReminder in practice, we have incorporated Large Language Models (LLMs) with our approach to provide explainable recommendations. The user study shows that our tool can effectively inform developers not only "when" to add TODOs, but also "where" and "what" TODOs should be added, verifying the value of our tool in practical application.
机构:
Zhejiang Univ, Coll Control Sci & Engn, Inst Ind Proc Control, State Key Lab Ind Control Technol, Hangzhou 310027, Peoples R ChinaZhejiang Univ, Coll Control Sci & Engn, Inst Ind Proc Control, State Key Lab Ind Control Technol, Hangzhou 310027, Peoples R China
Jiang, Xiaoyu
Ge, Zhiqiang
论文数: 0引用数: 0
h-index: 0
机构:
Zhejiang Univ, Coll Control Sci & Engn, Inst Ind Proc Control, State Key Lab Ind Control Technol, Hangzhou 310027, Peoples R ChinaZhejiang Univ, Coll Control Sci & Engn, Inst Ind Proc Control, State Key Lab Ind Control Technol, Hangzhou 310027, Peoples R China
机构:
Osaka Univ, Grad Sch Engn Sci, Div Math Sci Social Syst, Toyonaka, Osaka 5608531, JapanOsaka Univ, Grad Sch Engn Sci, Div Math Sci Social Syst, Toyonaka, Osaka 5608531, Japan
Nishida, Kosei
Nishi, Tatsushi
论文数: 0引用数: 0
h-index: 0
机构:
Okayama Univ, Grad Sch Nat Sci & Technol, Div Mech & Syst Engn, Okayama 7008530, JapanOsaka Univ, Grad Sch Engn Sci, Div Math Sci Social Syst, Toyonaka, Osaka 5608531, Japan
机构:
Zhejiang Univ Technol, Inst Proc Equipment & Control Engn, Minist Educ, Key Lab Pharmaceut Engn, Hangzhou 310032, Zhejiang, Peoples R ChinaZhejiang Univ Technol, Inst Proc Equipment & Control Engn, Minist Educ, Key Lab Pharmaceut Engn, Hangzhou 310032, Zhejiang, Peoples R China
Liu, Yi
Gao, Zengliang
论文数: 0引用数: 0
h-index: 0
机构:
Zhejiang Univ Technol, Inst Proc Equipment & Control Engn, Minist Educ, Key Lab Pharmaceut Engn, Hangzhou 310032, Zhejiang, Peoples R ChinaZhejiang Univ Technol, Inst Proc Equipment & Control Engn, Minist Educ, Key Lab Pharmaceut Engn, Hangzhou 310032, Zhejiang, Peoples R China
Gao, Zengliang
Li, Ping
论文数: 0引用数: 0
h-index: 0
机构:
Zhejiang Univ, Inst Ind Proc Control, State Key Lab Ind Control Technol, Hangzhou 310027, Zhejiang, Peoples R ChinaZhejiang Univ Technol, Inst Proc Equipment & Control Engn, Minist Educ, Key Lab Pharmaceut Engn, Hangzhou 310032, Zhejiang, Peoples R China
Li, Ping
Wang, Haiqing
论文数: 0引用数: 0
h-index: 0
机构:
Univ Petr E China, Coll Mech & Elect Engn, Qingdao 266555, Peoples R ChinaZhejiang Univ Technol, Inst Proc Equipment & Control Engn, Minist Educ, Key Lab Pharmaceut Engn, Hangzhou 310032, Zhejiang, Peoples R China
机构:
Chongqing Univ, Sch Big Data & Software Engn, Chongqing 400044, Peoples R China
Wuhan Univ, Sch Comp Sci, Wuhan 430072, Peoples R ChinaChongqing Univ, Sch Big Data & Software Engn, Chongqing 400044, Peoples R China
Zhao, Kunsong
Xu, Zhou
论文数: 0引用数: 0
h-index: 0
机构:
Chongqing Univ, Sch Big Data & Software Engn, Chongqing 400044, Peoples R China
Chongqing Univ, Minist Educ, Key Lab Dependable Serv Comp Cyber Phys Soc, Chongqing 40004, Peoples R ChinaChongqing Univ, Sch Big Data & Software Engn, Chongqing 400044, Peoples R China
Xu, Zhou
Zhang, Tao
论文数: 0引用数: 0
h-index: 0
机构:
Macau Univ Sci & Technol, Fac Informat Technol, Taipa 999078, Macao, Peoples R ChinaChongqing Univ, Sch Big Data & Software Engn, Chongqing 400044, Peoples R China
Zhang, Tao
Tang, Yutian
论文数: 0引用数: 0
h-index: 0
机构:
ShanghaiTech Univ, Sch Informat Sci & Technol, Shanghai 201210, Peoples R ChinaChongqing Univ, Sch Big Data & Software Engn, Chongqing 400044, Peoples R China
Tang, Yutian
Yan, Meng
论文数: 0引用数: 0
h-index: 0
机构:
Chongqing Univ, Sch Big Data & Software Engn, Chongqing 400044, Peoples R China
Chongqing Univ, Minist Educ, Key Lab Dependable Serv Comp Cyber Phys Soc, Chongqing 40004, Peoples R ChinaChongqing Univ, Sch Big Data & Software Engn, Chongqing 400044, Peoples R China
机构:
Amgen Inc, Digital Integrat & Predict Technol, Thousand Oaks, CA 91320 USAAmgen Inc, Digital Integrat & Predict Technol, Thousand Oaks, CA 91320 USA
Rashedi, Mohammad
Khodabandehlou, Hamid
论文数: 0引用数: 0
h-index: 0
机构:
Amgen Inc, Digital Integrat & Predict Technol, Thousand Oaks, CA 91320 USAAmgen Inc, Digital Integrat & Predict Technol, Thousand Oaks, CA 91320 USA
Khodabandehlou, Hamid
Wang, Tony
论文数: 0引用数: 0
h-index: 0
机构:
Amgen Inc, Digital Integrat & Predict Technol, West Greenwich, RI USAAmgen Inc, Digital Integrat & Predict Technol, Thousand Oaks, CA 91320 USA
Wang, Tony
Demers, Matthew
论文数: 0引用数: 0
h-index: 0
机构:
Amgen Inc, Digital Integrat & Predict Technol, West Greenwich, RI USAAmgen Inc, Digital Integrat & Predict Technol, Thousand Oaks, CA 91320 USA
Demers, Matthew
Tulsyan, Aditya
论文数: 0引用数: 0
h-index: 0
机构:
Amgen Inc, Digital Integrat & Predict Technol, West Greenwich, RI USAAmgen Inc, Digital Integrat & Predict Technol, Thousand Oaks, CA 91320 USA
Tulsyan, Aditya
Garvin, Christopher
论文数: 0引用数: 0
h-index: 0
机构:
Amgen Inc, Digital Integrat & Predict Technol, West Greenwich, RI USAAmgen Inc, Digital Integrat & Predict Technol, Thousand Oaks, CA 91320 USA
Garvin, Christopher
Undey, Cenk
论文数: 0引用数: 0
h-index: 0
机构:
Amgen Inc, Digital Integrat & Predict Technol, Thousand Oaks, CA 91320 USAAmgen Inc, Digital Integrat & Predict Technol, Thousand Oaks, CA 91320 USA