发明名称 Query-based software dependency analysis
摘要 Methods, systems, and apparatus, including computer programs encoded on computer storage media, for generated aggregated dependencies between software elements in a code base. One of the methods includes receiving a query that defines a dependency between the software elements in a project. Searching a database to identify matching source software elements having the one or more source attributes and target software elements having the one or more target attributes of the query. Identifying pairs of matching source software elements and matching target software elements having the specified relationship, and generating, for each pair of matching source software elements and matching target software elements having the specified relationship, a new dependency in a raw dependency graph, the new dependency being a dependency from a source software element of the pair to the target software element of the pair.
申请公布号 US9552276(B1) 申请公布日期 2017.01.24
申请号 US201615073424 申请日期 2016.03.17
申请人 Semmle Limited 发明人 Hale Joshua George;Cartey Luke James;White Geoffrey
分类号 G06F11/36 主分类号 G06F11/36
代理机构 Fish & Richardson P.C. 代理人 Fish & Richardson P.C.
主权项 1. A computer-implemented method comprising: maintaining a database of software elements in a project, wherein the database stores a plurality of attributes for each distinct software element in the project; receiving a query that defines a new dependency category between the software elements in the project; searching the database to identify source software elements and respective target software elements satisfying the query; generating, for each pair of identified source software elements and respective target software elements, a respective new dependency in a raw dependency graph, the new dependency being a dependency from a source software element of the pair to the target software element of the pair; and generating data representing an aggregated dependency graph from the raw dependency graph and a hierarchy graph of the software elements in the project.
地址 Oxford GB