发明名称 System and method for coding standard testing
摘要 A system facilitates verification of computer code. The system receives multiple versions of the computer code. A code verification engine checks the received code against one or more metrics, such as coding standard violations. A code differencing compares the received versions of computer code, and identifies the differences between them. An interactive presentation unit presents one or more analysis reports regarding coding violations located in the received versions. An analysis report includes a plurality of entries hierarchically organized in conformance with the entities of the received code. The analysis report indicates the number of coding violations identified for the entities of the received code in a side-by-side, comparative arrangement. A user can thus compare the number of coding violations present in the received versions.
申请公布号 US8745586(B1) 申请公布日期 2014.06.03
申请号 US201213682026 申请日期 2012.11.20
申请人 The Mathworks, Inc. 发明人 Boissy David M.
分类号 G06F9/44 主分类号 G06F9/44
代理机构 代理人
主权项 1. One or more non-transitory computer readable media storing computer executable instructions that when executed on processing logic verify computer code, the media storing one or more instructions comprising instructions for: storing a first version of the computer code in a first memory; storing a second version of the computer code in the first or a second memory; receiving, by a processor coupled to the first, the second, or the first and second memories, one or more violations of a coding standard identified in the first version of the computer code; receiving, by the processor, zero, one or more violations of the coding standard identified in the second version of the computer code; analyzing the first and second versions of the computer code to identify one or more differences between the first and second versions of the computer code; verifying the computer code by displaying in a user interface (UI) at least a portion of the first and second versions of the computer code, wherein the UI includes: a first element that indicates at least one of the one or more differences identified between the first and second versions of the computer code,a second element that indicates a location of at least one of the one or more violations of the coding standard identified in the first version of the computer code, anda third element that indicates an absence of violations of the coding standard in the second version of the computer code when there are zero violations, orone or more locations of the zero, one or more violations of the coding standard in the second version of the computer codewhen there are one or more violations, and the one or more instructions further comprising instructions for: scrolling through at least the first version of the computer code where the second element scrolls in sync with the first version of the computer code.
地址 Natick MA US