期刊文献+
共找到2篇文章
< 1 >
每页显示 20 50 100
人间与地狱
1
作者 陈彦呈 黄嘉胜 《海峡影艺》 2012年第1期17-17,共1页
关键词 地狱
原文传递
Test-Driven Feature Extraction of Web Components
2
作者 Yong-Hao Long Yan-Cheng Chen +2 位作者 Xiang-Ping Chen Xiao-Hong Shi Fan Zhou 《Journal of Computer Science & Technology》 SCIE EI CSCD 2022年第2期389-404,共16页
With the growing requirements of web applications,web components are developed to package the implementation of commonly-used features for reuse.In some cases,the developer may want to reuse some features which cannot... With the growing requirements of web applications,web components are developed to package the implementation 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^requirements 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. 展开更多
关键词 feature extraction genetic algorithm graphical user interface software reuse
原文传递
上一页 1 下一页 到第
使用帮助 返回顶部