发明名称 Methods and systems for generating test information from a source code
摘要 Systems and methods for generating test information from a source code are described. One of the methods includes accessing the source code. The method further includes receiving a modification of the source code to generate a modified source code. The modification includes one or more instructions that do not affect functions performed by executing the source code. The modification further includes one or more instructions for generating test information regarding each executable line of the source code.
申请公布号 US9317402(B2) 申请公布日期 2016.04.19
申请号 US201514663321 申请日期 2015.03.19
申请人 Zynga Inc. 发明人 Kuzmin Aleksandr
分类号 G06F9/44;G06F9/45;G06F11/36 主分类号 G06F9/44
代理机构 Martine Penilla Group, LLP 代理人 Martine Penilla Group, LLP
主权项 1. A method for testing a source code, comprising: receiving the source code, wherein the source code includes a plurality of executable lines and a plurality of non-executable lines, wherein each of the plurality of executable lines includes a functional statement, wherein the functional statement includes a condition for execution by a processor or includes an action for execution by the processor; parsing the source code to identify the executable lines and the non-executable lines of the source code; and upon identifying each of the executable lines and each of the non-executable lines, generating test information regarding each of the executable lines of the source code without testing each of the non-executable lines of the source code, wherein each of the non-executable lines is not tested by skipping each of the non-executable lines, wherein at least one of the non-executable lines defines a type of variable.
地址 San Francisco CA US