发明名称 Method and apparatus for test coverage analysis
摘要 A method provides for a way to test coverage data used in testing small computing platforms by assigning unique signatures to each node in the control flow graph and embedding control function calls. Signatures are embedded into the program during compilation time using the custom parser. When the program is executed the “exercised” signatures sequence is checked for correctness and used for deriving test coverage metric. This metric is used for improving unit and black-box tests. Thus, a way to collect the path-based test coverage with minimal memory and code/size impact on target system is provided.
申请公布号 US8898647(B2) 申请公布日期 2014.11.25
申请号 US200813123625 申请日期 2008.10.09
申请人 Siemens Aktiengesellschaft 发明人 Sobolev Sergey Pavlovich;Vinogradov Sergey Valerievich
分类号 G06F9/44;G06F9/45;G06F11/36 主分类号 G06F9/44
代理机构 King & Spalding L.L.P. 代理人 King & Spalding L.L.P.
主权项 1. A method for conducting test coverage analysis comprising: generating an enhanced source code instrumentation, wherein an instrumented code and a signature tree are generated during a compile time, the instrumented code including send signatures and the signature tree including a database of syntactically correct software paths; and processing the send signatures during a runtime, wherein a target application including the instrumented code executes and sends the processed send signatures to a host system where the processed send signatures are used in connection with the signature tree to analyze code coverage in a control flow graph.
地址 Munich DE