Automated identification of code changes

A technology of code and code fragments, applied in the field of automatic identification of code changes, which can solve problems such as errors, lack of continuous support, security vulnerabilities, etc.

Pending Publication Date: 2021-12-28
GOOGLE LLC
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Outdated software technology can lead to myriad issues suc

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Automated identification of code changes
  • Automated identification of code changes
  • Automated identification of code changes

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] figure 1 An example environment is schematically depicted in which selected aspects of the disclosure may be implemented in accordance with various implementations. figure 1 Or any computing device depicted elsewhere in the figures may include logic, such as one or more microprocessors (e.g., a central processing unit or "CPU," a graphics processing unit or "GPU") that executes computer readable instructions; or other types of logic, such as Application Specific Integrated Circuits ("ASICs"), Field Programmable Gate Arrays ("FPGAs"), etc. figure 1 Some of the systems depicted in , such as code knowledge system 102 , can be implemented using one or more server computing devices forming what is sometimes referred to as a "cloud infrastructure," although this is not required.

[0027] Code knowledge system 102 may be configured to perform selected aspects of the present disclosure in order to assist one or more clients 110 1-P Updating one or more corresponding legacy co...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

Implementations are described herein for automatically identifying, recommending, and/or effecting changes to a legacy source code base by leveraging knowledge gained from prior updates made to other similar legacy code bases. In some implementations, data associated with a first version source code snippet may be applied as input across a machine learning model to generate a new source code embedding in a latent space. Reference embedding(s) may be identified in the latent space based on their distance(s) from the new source code embedding in the latent space. The reference embedding(s) may be associated with individual changes made during the prior code base update(s). Based on the identified one or more reference embeddings, change(s) to be made to the first version source code snippet to create a second version source code snippet may be identified, recommended, and/or effected.

Description

Background technique [0001] Software systems are built on source code "bases" that typically rely on and / or combine many independent software technologies, such as programming languages ​​(eg, Java, Python, C++), frameworks, shared libraries, runtime environments, and the like. Each software technology may evolve at its own pace and may include its own forks and / or versions. Each software technology may also depend on various other technologies. Therefore, the source code base of a large software system can be represented by a complex dependency graph. [0002] There are benefits to keeping software technology up to date. Newer releases may contain critical improvements that fix security holes and / or bugs, as well as include new features. Unfortunately, sometimes the amount of resources required to keep these software technologies up-to-date can be overwhelming, especially as part of a particular software system's code base. As a result, many software systems are not updat...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F11/36G06N3/04G06N3/08
CPCG06F11/3604G06N3/08G06N3/084G06N3/04G06F8/70G06N3/045G06F8/71
Inventor B.倪B.希林斯G.伊文格罗普洛斯O.哈塔尔斯基Q.张G.布罗内韦特斯基
Owner GOOGLE LLC
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products