WHWenhua Hu

Wenhua Hu

*This is an algorithmically generated author record based on publicly available information.

Current Organizations / Institutes

The organizations/institutes from the scholar's latest article


Wenhua Hu has a total of 32 co-authors. Here are the top co-authors by number of shared publications:

  • Fuyang Li

    School of Computer Science and Artificial Intelligence, Wuhan University of Technology, Wuhan, China

    2 shared publications
  • Heng Dai

    School of Mechanical and Electrical Engineering, Wuhan Qingchuan University, Wuhan 430204, China

    2 shared publications
  • Bailing Song

    School of Computer Science and Artificial Intelligence, Wuhan University of Technology, Wuhan 430070, China

    1 shared publication
  • Cheng Fang

    Center of Hydrogen Science, State Key Laboratory of Metal Matrix Composites, School of Materials Science and Engineering, Innovation Center for Future Materials, Shanghai Jiao Tong University, Shanghai 200240, China

    1 shared publication
  • Cheng Tan

    Wuhan University of Technology

    1 shared publication
  • Chuanxiang Ma

    School of Computer Science and Information Engineering Hubei University Wuhan China

    1 shared publication

Latest Publications

  • Intrinsic ion migration-induced susceptible two-dimensional phase-transition memristor with ultralow power consumption

    by Lanhao Qin, Yimeng Yu, Cheng Fang, Yujie Liu, Kaichen Zhu, Decai Ouyang, Shenghong Liu, Bailing Song, Ruochen Zhou, Mario Lanza, et al.


  • Bug numbers matter: An empirical study of effort‐aware defect prediction using class labels versus bug numbers

    by Peixin Yang, Ziyao Zeng, Lin Zhu, Yanjiao Zhang, Xin Wang, Chuanxiang Ma, Wenhua Hu

    Previous research have utilized public software defect datasets such as NASA, RELINK, and SOFTLAB, which only contain class label information. Most effort‐aware defect prediction (EADP) studies are carried out around these datasets. However, EADP studies typically relying on predicted bug number (i.e., considering modules as effort) or density (i.e., considering lines of code as effort) for ranking software modules. To explore the impact of bug number information in constructing EADP models, we access the performance degradation of the best‐performing learning‐to‐rank methods when using class labels instead of bug numbers for training. The experimental results show that using class labels instead of bug numbers in building EADP models results in an decrease in the detected bugs when module is considering as effort. When effort is LOC, using class labels to construct EADP models can lead to a significant increase in the initial false alarms and a significant increase in the modules that need to be inspected. Therefore, we recommend not only the class labels but also the bug number information should be disclosed when publishing software defect datasets, in order to construct more accurate EADP models.


  • Open Access

    An Empirical Study of Training Data Selection Methods for Ranking-Oriented Cross-Project Defect Prediction

    by Haoyu Luo, Heng Dai, Weiqiang Peng, Wenhua Hu, 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.


  • Open Access

    Improving Ponzi Scheme Contract Detection Using Multi-Channel TextCNN and Transformer

    by Yizhou Chen, Heng Dai, Xiao Yu, Wenhua Hu, Zhiwen Xie, 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.