典型文献
Test-Driven Feature Extraction of Web Components
文献摘要:
With the growing requirements of web applications,web components are developed to package the implemen-tation of commonly-used features for reuse.In some cases,the developer may want to reuse some features which cannot be customized by the component's APIs.He/she has to extract the implementation by hand.It is labor-intensive and error-prone.Considering the widely-used test cases which can be useful to specify the software features,a test-driven approach is proposed to extract the implementation of the desired features in web components.The satisfaction of the user's require-ments is transformed into the passing rate of user-specified test cases.In this way,the quality of the extraction result can be evaluated automatically.Meanwhile,a record/replay-based GUI test generation method is proposed to ensure that the extraction result has the correct GUI appearance.To extract the feature implementation,a hierarchical genetic algorithm is proposed to find the code snippet that can pass all the tests and has the approximate smallest size.We compare our method with two existing feature extraction methods.The result shows that our method can extract the correct implementation with the minimum size.A human-subject study is conducted to show the effectiveness and weaknesses of our method in helping users extract the features.
文献关键词:
中图分类号:
作者姓名:
Yong-Hao Long;Yan-Cheng Chen;Xiang-Ping Chen;Xiao-Hong Shi;Fan Zhou
作者机构:
School of Computer Science and Engineering,National Engineering Research Center of Digital Life Sun Yat-sen University,Guangzhou 510006,China;School of Design,The Hong Kong Polytechnic University,Hong Kong,China;Guangdong Key Laboratory for Big Data Analysis and Simulation of Public Opinion,The School of Communication and Design,Sun Yat-sen University,Guangzhou 510006,China;School of Information Technology and Engineering,Guangzhou College of Commerce,Guangzhou 511363,China
文献出处:
引用格式:
[1]Yong-Hao Long;Yan-Cheng Chen;Xiang-Ping Chen;Xiao-Hong Shi;Fan Zhou-.Test-Driven Feature Extraction of Web Components)[J].计算机科学技术学报(英文版),2022(02):389-404
A类:
snippet
B类:
Test,Driven,Feature,Extraction,Components,With,growing,requirements,web,applications,components,developed,package,commonly,used,features,reuse,In,some,cases,developer,may,want,which,cannot,be,customized,by,APIs,He,she,has,implementation,hand,It,labor,intensive,error,prone,Considering,widely,useful,specify,software,driven,approach,proposed,desired,satisfaction,transformed,into,passing,rate,specified,this,way,quality,extraction,result,evaluated,automatically,Meanwhile,record,replay,GUI,generation,ensure,that,correct,appearance,To,hierarchical,genetic,algorithm,find,code,tests,approximate,smallest,size,compare,our,two,existing,methods,shows,minimum,human,subject,study,conducted,effectiveness,weaknesses,helping,users
AB值:
0.519769
相似文献
机标中图分类号,由域田数据科技根据网络公开资料自动分析生成,仅供学习研究参考。