发明名称 SYSTEM AND METHOD FOR PROVIDING CODE COVERAGE
摘要 Disclosed is a method and system for providing code coverage of a code. The system may determine a type of file comprising the code. The system may extract a source code from the code, based on the type of file. The system may process the source code for generating a structured source code. The system may determine code coverage of the structured source code by executing test cases upon the structured source code. The system may provide a code coverage report comprising line coverages, program coverages, and code block coverages of the structured source code.
申请公布号 US2016328314(A1) 申请公布日期 2016.11.10
申请号 US201615079595 申请日期 2016.03.24
申请人 HCL Technologies Limited 发明人 Yadava Sanjay Kumar;Selwyn Johnson;Dhanyamraju S U M Prasad;Jain Ambica;Sivanesan Arivukarasu
分类号 G06F11/36;G06F17/27 主分类号 G06F11/36
代理机构 代理人
主权项 1. A method for providing code coverage of a code, the method comprising: determining, by a processor, a type of file comprising a code; extracting, by the processor, a source code from the code based on the type of file, wherein the source code is extracted using a parser; processing, by the processor, the source code for generating a structured source code; creating, by the processor, code blocks indicative of a portion of the structured source code, based on a type of declaration of statements, functions, and sub-functions; determining, by the processor, code coverage of the structured source code by executing test cases upon the structured source code; and providing, by the processor, a code coverage report comprising line coverages, program coverages, and code block coverages of the structured source code.
地址 Noida IN