Wenhua Hu

Ms. Wenhua Hu


Research Focus & Metrics

Academic Career Length

6Years (2021-Present)

(Calculated once Scilit publication data is synced: current year − year of first publication + 1)

Representative Publications

View All Publications
26 September 2021 in Sensors
Verified
Journal Article
Open access
PDF file
YCyizhou chen
yizhou chen
HDHeng Dai
Heng Dai
XYXiao Yu
Xiao Yu
WHWenhua Hu
Wenhua Hu
ZXZhiwen Xie
Zhiwen Xie
CTCheng Tan
Cheng Tan
With the development of blockchain technologies, many Ponzi schemes disguise themselves under the veil of smart contracts. The Ponzi scheme contracts cause serious financial losses, which has a bad effect on the blockchain. Existing Ponzi scheme contract detection studies have mainly focused on extracting hand-crafted features and training a machine learning classifier to detect Ponzi scheme contracts. However, the hand-crafted features cannot capture the structural and semantic feature of the source code. Therefore, in this study, we propose a Ponzi scheme contract detection method called MTCformer (Multi-channel Text Convolutional Neural Networks and Transofrmer). In order to reserve the structural information of the source code, the MTCformer first converts the Abstract Syntax Tree (AST) of the smart contract code to the specially formatted code token sequence via the Structure-Based Traversal (SBT) method. Then, the MTCformer uses multi-channel TextCNN (Text Convolutional Neural Networks) to learn local structural and semantic features from the code token sequence. Next, the MTCformer employs the Transformer to capture the long-range dependencies of code tokens. Finally, a fully connected neural network with a cost-sensitive loss function in the MTCformer is used for classification. The experimental results show that the MTCformer is superior to the state-of-the-art methods and its variants in Ponzi scheme contract detection.

24 March 2025 in Science Bulletin
Verified
Journal Article
Closed access
LQLanhao Qin
Lanhao Qin
YYYimeng Yu
Yimeng Yu
CFCheng Fang
Cheng Fang
YLYujie Liu
Yujie Liu
KZKaichen Zhu
Kaichen Zhu
Tianyou ZhaiTianyou Zhai
Tianyou Zhai

10 July 2024 in Software: Practice and Experience
Verified
Journal Article
Closed access
PYPeixin Yang
Peixin Yang
ZZZiyao Zeng
Ziyao Zeng
LZLin Zhu
Lin Zhu
YZYanjiao Zhang
Yanjiao Zhang
XWXin Wang
Xin Wang
WHWenhua Hu
Wenhua Hu

16 May 2025 in Automated Software Engineering
Verified
Journal Article
Closed access
PDF file
ZZZexian Zhang
Zexian Zhang
LZLin Zhu
Lin Zhu
SYShuang Yin
Shuang Yin
WHWenhua Hu
Wenhua Hu
SGShan Gao
Shan Gao
FLFuyang Li
Fuyang Li

12 November 2021 in Sensors
Verified
Journal Article
Open access
PDF file
HLHaoyu Luo
Haoyu Luo
HDHeng Dai
Heng Dai
WPWeiqiang Peng
Weiqiang Peng
WHWenhua Hu
Wenhua Hu
FLFuyang Li
Fuyang Li
Ranking-oriented cross-project defect prediction (ROCPDP), which ranks software modules of a new target industrial project based on the predicted defect number or density, has been suggested in the literature. A major concern of ROCPDP is the distribution difference between the source project (aka. within-project) data and target project (aka. cross-project) data, which evidently degrades prediction performance. To investigate the impacts of training data selection methods on the performances of ROCPDP models, we examined the practical effects of nine training data selection methods, including a global filter, which does not filter out any cross-project data. Additionally, the prediction performances of ROCPDP models trained on the filtered cross-project data using the training data selection methods were compared with those of ranking-oriented within-project defect prediction (ROWPDP) models trained on sufficient and limited within-project data. Eleven available defect datasets from the industrial projects were considered and evaluated using two ranking performance measures, i.e., FPA and Norm(Popt). The results showed no statistically significant differences among these nine training data selection methods in terms of FPA and Norm(Popt). The performances of ROCPDP models trained on filtered cross-project data were not comparable with those of ROWPDP models trained on sufficient historical within-project data. However, ROCPDP models trained on filtered cross-project data achieved better performance values than ROWPDP models trained on limited historical within-project data. Therefore, we recommended that software quality teams exploit other project datasets to perform ROCPDP when there is no or limited within-project data.