- 专利标题: CODE COVERAGE RATE DETERMINATION METHOD AND SYSTEM
-
申请号: US15071060申请日: 2016-03-15
-
公开(公告)号: US20160292068A1公开(公告)日: 2016-10-06
- 发明人: Hua Cai , Qi Zhou , Tingtao Sun
- 申请人: Alibaba Group Holding Limited
- 优先权: CN201210033077.X 20120214
- 主分类号: G06F11/36
- IPC分类号: G06F11/36
摘要:
Embodiments of the present application relate to a code coverage rate determination method, a code coverage rate determination system, and a computer program product for determining code coverage rate. A code coverage rate determination method is provided. The method includes retrieving source code of a program, determining theoretical number of log file output points included in the source code and location information of the log file output points, retrieving log files actually outputted during the execution of the program, determining an actual number of log file output points of the actual outputted log files based on the location information of the corresponding log file output points recorded in each log file, and determining a code coverage rate of the program based on the theoretical number of log file output points and the actual number of the log file output points of the actual outputted log files.
信息查询