Methods and apparatus for analyzing software interface usage
Abstract
Methods and apparatus for analyzing the interface usage and requirements within software applications. In one embodiment, the interfaces comprise application programming interfaces (APIs) used with Java-based software, and the apparatus comprises a computer program that analyzes file paths (or classpaths) containing one or more files comprising Java bytecode. The names of the classes are extracted and placed into a class dictionary. The different classes listed in the dictionaries are broken down into their individual methods. Each method is then dissembled and analyzed for method or field invocations on other classes found in the dictionary. Methods called are added to a “used class” report. The used class report preferably contains the name of the class, method and the instruction information.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 40 · Forward citations: 28.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of programmatically analyzing byte code on an analysis apparatus in order to identify one or more called application programming interfaces (APIs), said analysis apparatus comprising processing logic and a storage device, said method comprising: providing, on said storage device, a first file path containing first byte code; providing a second file path containing second byte code; parsing, logic, files found on said first file path to create at least one first parsed class file; placing a name of at least one class defined in said at least one first parsed class file into a dictionar
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 28 total)
References Cited — Backward Prior Art (40)
Non-Patent Literature (3)
- Ellis, "Getting to Know the OpenCable Application Platform," Sun microsystems, Jun. 2006.
- Mayer, "Analyzing the Use of Interfaces in Large OO Projects," ACM, Oct. 2003.
- Xie et al., "MAPO: Mining API Usages from Open Source Repositories," ACM, May 2006.