发明名称 System and method for display of software quality
摘要 A method for code analysis comprising steps of inputting program code to an analyzer, assigning an objective quality measure to components of the analyzed code; and displaying graphically the objective quality measures.
申请公布号 US9524226(B2) 申请公布日期 2016.12.20
申请号 US201514887970 申请日期 2015.10.20
申请人 Facebook, Inc. 发明人 Calcagno Cristiano;Distefano Dino S.
分类号 G06F9/44;G06F11/36 主分类号 G06F9/44
代理机构 Perkins Coie LLP 代理人 Perkins Coie LLP
主权项 1. A method performed by a computing system, comprising: receiving, by a code analyzer, program code for code analysis, wherein the received program code has no annotations for the code analysis; generating, by the code analyzer and as a result of the code analysis, a list of specifications, and a list of defects without requiring modification of the program code; computing, by the code analyzer, multiple metrics for the program code based on the list of defects and specifications, wherein the metrics include an evidence metric, a counter-evidence metric, and an importance metric, the computing including computing at least a first metric pair and a second metric pair for each of multiple components of the program code, wherein at least one of the metrics is common between the first metric pair and the second metric pair; generating multiple quality maps using the metrics to denote a quality of the program code, wherein the generating includes classifying each of the multiple components to one of multiple portions of: a first quality map of the multiple quality maps based on the first metric pair, anda second quality map of the multiple quality maps based on the second metric pair, wherein a first portion of the multiple portions of the first quality map corresponds to components of the program code whose quality is below a first specified threshold and a second portion of the multiple portions of the second quality map corresponds to components of the program code whose quality is below a second specified threshold; and identifying a set of the components that is classified to the first portion or the second portion for improving the quality of the program code.
地址 Menlo Park CA US