Techniques to identify idiomatic code in a code base
US10042740B2 · kind B2 · utility
Assignee
Inventors
Key dates
| Filing date | Dec 4, 2015 |
| Grant date | Aug 7, 2018 |
| Priority date | — |
| Expiry date | Dec 4, 2035 |
Classification
- Technology area (CPC G)Physics
- CPC primaryG06F8/72
- WIPO fieldComputer technology
- WIPO sectorElectrical engineering
Abstract
Techniques to identify idiomatic code in a code base are described. Embodiments of such techniques are configured with idiom information corresponding to idiomatic code representations of computer code of which each idiomatic code representation comprises information corresponding to a control structure and variable usage. These techniques are operative to compare the idiomatic code representations to computer code fragments in the code base and identify one or more code fragments matching at least one of the idiomatic code representations. These techniques may identify functional operators for replacing the code fragments in the code base. Other embodiments are described and claimed.
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.