发明名称 Predicting software build errors
摘要 Systems and methods for predicting a software build error are described herein. In one example, a method includes detecting a plurality of changes in software. The method also includes identifying a plurality of change lists, wherein a change list is identified for each of the plurality of changes in the software. Additionally, the method includes identifying a characteristic for each change list in the plurality of change lists. Furthermore, the method includes calculating a plurality of probabilities based at least in part on the characteristic of each of the plurality of change lists, wherein each of the probabilities indicates the likelihood of one of the plurality of change lists creating the software build error. The method also includes reporting the plurality of probabilities of the software build error.
申请公布号 US9542176(B2) 申请公布日期 2017.01.10
申请号 US201213589180 申请日期 2012.08.20
申请人 Microsoft Technology Licensing, LLC 发明人 Bird Christian;Zimmermann Thomas
分类号 G06F11/08;G06F9/44;G06F11/00 主分类号 G06F11/08
代理机构 代理人 Corie Alin;Swain Sandy;Minhas Micky
主权项 1. A method for predicting a software build error, comprising: detecting a plurality of changes in software; identifying a plurality of change lists, wherein a change list is identified for each of the plurality of changes in the software; identifying a characteristic for each change list in the plurality of change lists, the characteristic comprising a complexity metric based in part on a number of nested loops surrounding a changed line of software code; calculating a plurality of probabilities based on the characteristic of each of the plurality of change lists, wherein each of the probabilities indicates the likelihood of one of the plurality of change lists creating the software build error, the software build error preventing the software from being compiled into an executable file or preventing the software from being translated into machine executable code, and wherein the plurality of probabilities are calculated based on a plurality of coefficients, each coefficient corresponding to each characteristic of each of the plurality of change lists, the coefficients determined from historical data; reporting the plurality of probabilities of the software build error; and removing the change that resulted in the software build error from the software.
地址 Redmond WA US