发明名称 Verification of backward compatibility of software components
摘要 A computer processor determines the backward compatibility of a software component. The processor identifies one or more programming interfaces that are exposed by a first version of a software component. The processor converts the attributes of the exposed programming interfaces into corresponding operations. The processor performs a backward compatibility check by comparing the operations of the first version of the software component to one or more operations of a second version of the software component. The processor determines the backward compatibility of the first version of the software component, based, at least in part, on a result of the backward compatibility check.
申请公布号 US9430228(B2) 申请公布日期 2016.08.30
申请号 US201314107394 申请日期 2013.12.16
申请人 International Business Machines Corporation 发明人 Ahmed Hatim;Elgamal Ali A.S.A.;Elshishiny Hisham E.;Ibrahim Mahmoud Rashad
分类号 G06F9/44;G06F11/36;G06F17/22 主分类号 G06F9/44
代理机构 代理人 Gooshaw Isaac J.
主权项 1. A computer program product for determining backward compatibility of a software component, the computer program product comprising: a hardware storage medium and program instructions stored on the computer readable storage medium, the program instructions comprising: program instructions to identify one or more programming interfaces that are exposed by a first version of a software component; program instructions to convert attributes of exposed programming interfaces into corresponding operations, wherein attributes of the exposed programming interfaces are converted into corresponding operations such that a flag is added to a converted attribute indicating whether the attribute is an optional or a mandatory attribute; program instructions to generate respective tree structures for both a first version of a software component and a second version of a software component based, at least in part, on one or both of (i) a programming language of the version of the software component being represented by that tree structure and (ii) a parameter of an operation that can be used internally by that operation to return an output value being included in the tree structure as a return node of that operation; program instructions to add respective identified returns and faults to respective tree structures of the first version of a software component and the second version of the software component; program instructions to perform a backward compatibility check by comparing the operations of the first version of the software component to one or more operations of the second version of the software component; and program instructions to determine a backward compatibility of the first version of the software component, based, at least in part, on a result of the backward compatibility check.
地址 Armonk NY US