Patent · US Active

Automatic modularization of source code

US8997065B2 · kind B2 · utility

2Cited by
5References
24Claims
0Family size

Assignee

Inventors

Key dates

Filing dateDec 3, 2012
Grant dateMar 31, 2015
Priority date
Expiry dateMay 24, 2033

Classification

  • Technology area (CPC G)Physics
  • CPC primaryG06F11/3608
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

Abstract

A device creates a graph based on source code, and analyzes the source code to identify private variables and functions of the source code and public variables and functions of the source code. The device determines, based on the graph, a size threshold and semantics-related characteristics of functions and variables for each module, of multiple modules, and assigns, based on the graph, the private variables and functions to a corresponding module of the multiple modules. The device reduces, based on the graph, a number of the public variables and functions assigned to each module, and generates the multiple modules based on one or more of the graph, the size threshold, the assigned private variables and functions, and the number of the public variables and functions assigned to each module.

Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.