Patents
US 9,378,014 B2#2740984 Most CitedActiveUnited States (USPTO)Utility

Method and apparatus for porting source code

27Forward Citations (#2740984 Global)
2.7/yrCitation Velocity (#1122399 Global)
2.77Citation PageRank (#8608978 Global)
17Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

A method of porting source code for use in a runtime environment including a tool chain with a compiler for building the source code, in which the method comprises obtaining a source code fragment associated with a build error during the source code build in the runtime environment; creating a signature of the source code fragment; automatically comparing the signature with entries in an error database constructed from a history of previous build errors in the runtime environment and their fixes in the form of source code and/or tool chain modifications; using the comparison to find one or more similar previous build errors to the build error and thus to identify one or more of the source code and/or tool chain modifications as candidate solutions to the build error; compiling the source code with each of the candidate source code and/or tool chain modifications in turn until the source code compiles without reproducing the build error; and storing the build error in the error database and storing the modification with which the source code compiles without reproducing the build error as its fix.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 17 · Forward citations: 27.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A computer-executed method of porting source code for use in a runtime environment including a tool chain with a compiler for building the source code, the method comprising: obtaining a source code fragment associated with a build error during a source code build in the runtime environment; creating a signature of the source code fragment; automatically comparing the signature with entries in an error database constructed from a history of previous build errors in the runtime environment and fixes in a form of one of source code and tool chain modifications to produce a comparison; using the

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

Non-Patent Literature (5)

  • Aberdour, Mark, "Achieving Quality in Open Source Software", 2007, 58-64.
  • Breckel, Alexander, "Error Mining: Bug Detection through Comparison with Large Code Databases", 2012, pp. 175-178.
  • Extended European Search Report mailed Nov. 8, 2013 in corresponding European Patent Application No. 13178246.8.
  • Gomes, Ivo, et al., "An overview on the Static Code Analysis approach in Software Development", 2009, pp. 1-16.
  • Moser, Raimund, et al., "A Comparative Analysis of the Efficiency of Change Metrics and Static Code Attributes for Defect Prediction", 2008, pp. 181-190.