Community Smell Occurrence Prediction on Multi-Granularity by Developer-Oriented Features and Process Metrics  

在线阅读下载全文

作  者:Zi-Jie Huang Zhi-Qing Shao Gui-Sheng Fan Hui-Qun Yu Xing-Guang Yang Kang Yang 黄子杰;邵志清;范贵生;虞慧群;杨星光;杨康(Department of Computer Science and Engineering,East China University of Science and Technology,Shanghai 200237,China;Shanghai Key Laboratory of Computer Software Testing and Evaluating,Shanghai 200237,China;Shanghai Engineering Research Center of Smart Energy,Shanghai 200237,China)

机构地区:[1]Department of Computer Science and Engineering,East China University of Science and Technology,Shanghai 200237,China [2]Shanghai Key Laboratory of Computer Software Testing and Evaluating,Shanghai 200237,China [3]Shanghai Engineering Research Center of Smart Energy,Shanghai 200237,China

出  处:《Journal of Computer Science & Technology》2022年第1期182-206,共25页计算机科学技术学报(英文版)

基  金:supported by the National Natural Science Foundation of China under Grant No.61772200;the Natural Science Foundation of Shanghai under Grant No.21ZR1416300.

摘  要:Community smells are sub-optimal developer community structures that hinder productivity.Prior studies performed smell prediction and provided refactoring guidelines from a top-down aspect to help community shepherds.Simultaneously,refactoring smells also requires bottom-up effort from every developer.However,supportive measures and guidelines for them are not available at a fine-grained level.Since recent work revealed developers'personalities and working states could influence community smells'emergence and variation,we build prediction models with experience,sentiment,and development process features of developers considering three smells including Organizational Silo,Lone Wolf,and Bottleneck,as well as two related classes including smelly developer and smelly quitter.We predict the five classes in the individual granularity,and we also generate forecasts for the number of smelly developers in the community granularity.The proposed models achieve F-measures ranging from 0.73 to 0.92 in individual-wide within-project,time-wise,and cross-project prediction,and mean R2 performance of 0.68 in community-wide Smelly Developer prediction.We also exploit SHAP(SHapley Additive exPlanations)to assess feature importance to explain our predictors.In conclusion,we suggest developers with heavy workload should foster more frequent communication in a straightforward and polite way to build healthier communities,and we recommend community shepherds to use the forecasting model for refactoring planning.

关 键 词:community smell developer sentiment socio-technical analysis empirical software engineering 

分 类 号:TP311[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象