paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Graph Learning for Extract Class Refactoring

面向提取类重构的图学习
ISSTA Proceedings of the 33rd ACM SIGSOFT International Symposium on Software Testing and Analysis2024匹配度 3/10 · 该论文属于机器学习/图神经网络在软件重构中的应用,与用户关注的“LLM/Agent 改进静态分析/形式化验证”“ML/Agentic 程序的静态分析”以及浮点/贝叶斯程序分析等核心方向均不直接相关。引用 0 inbox
Luqiao Wang
crossref: 2026-09-12

AI 速览

一句话:提出用深度类属性图和图神经网络自动识别提取类重构机会,以降低对专家度量的依赖并提升建议精度与适应性。

提取类重构用于分解大型复杂类,从而提升代码可维护性与可读性,但传统重构工具主要依赖内聚度、耦合度等度量,往往需要专家判断且难以普遍适用。本文提出一种基于深度类属性图与先进图神经网络的方法,通过融合深层语义属性和细粒度结构依赖,自动识别适合执行提取类重构的类。该方法旨在减少对专家知识的依赖,并提高重构建议的精确性与适应性。摘要未报告具体实验评估;未来工作将探索超图学习,以刻画更复杂的代码关系并进一步增强方法效果。

问题
如何自动识别大型复杂类中的提取类重构机会,以克服传统基于内聚/耦合度量工具对专家判断的依赖和通用性不足。
方法
构建深度类属性图表示代码的深层语义属性与细粒度结构依赖,并采用图神经网络自动识别提取类重构机会。
评估
摘要未给出具体实验评估;作者计划未来用超图学习建模更复杂代码关系,以验证并增强方法的精确性与适应性。
原文摘要(Abstract)

Extract Class refactoring is essential for decomposing large, complex classes to improve code maintainability and readability. Traditional refactoring tools rely heavily on metrics like cohesion and coupling, which often require expert judgment and are not universally applicable. This research proposes a novel approach leveraging deep class property graphs and advanced graph neural networks to automate the identification of refactoring opportunities. By integrating deep semantic properties and fine-grained structural dependencies, this method aims to reduce reliance on expert knowledge and improve the precision and adaptability of refactoring suggestions. Future work will explore hypergraph learning to capture more complex code relationships, further enhancing the proposed method's effectiveness.

链接与引用

DOI 原文 ·

BibTeX
@inproceedings{paperbot8539,
  title = {Graph Learning for Extract Class Refactoring},
  author = {Luqiao Wang},
  booktitle = {ISSTA},
  year = {2024},
  doi = {10.1145/3650212.3685561}
}