ZLZhikun Lv

Zhikun Lv

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

Current Organizations / Institutes

The organizations/institutes from the scholar's latest article


Zhikun Lv has a total of 6 co-authors. Here are the top co-authors by number of shared publications:

  • Mingcheng Chen

    Qingdao Institute of Software, College of Computer Science and Technology, China University of Petroleum (East China), Qingdao, Shandong 266580, P. R. China

    1 shared publication
  • Shuai Liu

    Qingdao Institute of Software, College of Computer Science and Technology, China University of Petroleum (East China), Qingdao, Shandong 266580, P. R. China

    1 shared publication
  • Shuo Wang

    Qingdao Institute of Software, College of Computer Science and Technology, China University of Petroleum (East China), Qingdao, Shandong 266580, P. R. China

    1 shared publication
  • Xiaoshan Liu

    Qingdao Institute of Software, College of Computer Science and Technology, China University of Petroleum (East China), Qingdao, Shandong 266580, P. R. China

    1 shared publication
  • Xinran Meng

    Qingdao Institute of Software, College of Computer Science and Technology, China University of Petroleum (East China), Qingdao, Shandong 266580, P. R. China

    1 shared publication
  • Yukun Dong

    Qingdao Institute of Software, College of Computer Science and Technology, China University of Petroleum (East China), Qingdao 266580, China

    1 shared publication

Latest Publications

  • A Path-Guided and Iterative Optimization Strategy for Unit Test Case Generation with Large Language Models

    by Yukun Dong, Zhikun Lv, Shuai Liu, Mingcheng Chen, Xinran Meng, Shuo Wang, Xiaoshan Liu

    The rise of Large Language Models (LLMs) has significantly impacted software engineering, particularly in automating unit test case generation. However, current methods often fall short of achieving comprehensive test coverage, especially for complex code structures and critical execution paths. This paper presents a novel Path-Guided and Iterative Optimization strategy for unit test case generation. By integrating LLMs with Control Flow Graph (CFG) analysis and iterative refinement, the strategy efficiently identifies untested execution paths, improves test coverage, and enhances test case accuracy. The proposed strategy employs a Path-Guided method, utilizing CFG analysis to explore reachable basic paths. It integrates Path-Guided contextual information with LLMs and applies Context-Prompt-Response (C–P–R) templated guidance to generate high-quality unit test cases. A Dual Validation mechanism ensures the assertion accuracy and reliability of the initial test cases, followed by Iterative Optimization, which progressively refines test cases to address coverage gaps. The experimental results demonstrate that the proposed strategy significantly enhances the quality of generated test cases. Using the Path-Guided and Iterative Optimization strategy, the method achieves a maximum of 97% line coverage and 94% branch coverage while also improving the precision of test cases.