发明名称 System and method for estimating impact of software updates
摘要 A system and method of estimating impact of software updates includes obtaining usage measures for an instance of a software application, analyzing the software update of the software application by comparing base code for the software application to updated code for the software application, identifying one or more lines of interest from the base code based on the comparing, and aggregating the usage measures for the instance associated with the lines of interest to determine an impact factor. The base code corresponds to source code for the instance. The updated code corresponds to source code for the software application after the software update is applied to the base code. In some examples, the system and method further include normalizing the impact factor based on a length of time used to collect the usage measures, a number of lines of code in the base code, and a number of lines of code in the updated code.
申请公布号 US9348585(B2) 申请公布日期 2016.05.24
申请号 US201313971752 申请日期 2013.08.20
申请人 Red Hat, Inc. 发明人 Eliá{hacek over (s)} Filip;Nguyen Filip
分类号 G06F9/44 主分类号 G06F9/44
代理机构 Haynes & Boone LLP 代理人 Haynes & Boone LLP
主权项 1. A method of estimating an impact of a software update, the method comprising: obtaining first usage measures for each executable line of source code of a first instance of a software application; analyzing the software update of the software application by comparing base source code for the software application to updated source code for the software application to determine differences between the base source code and the updated source code; identifying one or more executable source code lines of interest from the base source code based on the differences, the identified one or more executable source code lines of interest including: first executable lines of source code deleted from the base source code;second executable lines of source code in the base source code changed between the base source code and the updated source code;third executable lines of source code in the base source code located immediately before or after each executable line of source code added to the updated source code; andfourth executable lines of source code in the base source code that include a reference to a class or data structure containing one or more deleted, changed, or added lines of source code in the updated source code even when the fourth executable lines of source code are not changed; aggregating the first usage measures for each of the source code lines of interest by adding together counts included in the first usage measures for each source code line of interest; and estimating an impact of the software update based on the aggregated first usage measures; wherein the updated source code corresponds to source code for the software application after the software update is applied to the base source code.
地址 Raleigh NC US