US 6,983,399 B2 | ||
System and method for ascertaining public application program interface coverage | ||
Jerome Dochez, Sunnyvale, Calif. (US); and Carla V. Mott, Mountain View, Calif. (US) | ||
Assigned to Sun Microsystems, Inc., Santa Clara, Calif. (US) | ||
Filed on Dec. 12, 2001, as Appl. No. 10/16,834. | ||
Claims priority of provisional application 60/337077, filed on Dec. 06, 2001. | ||
Prior Publication US 2003/0110313 A1, Jun. 12, 2003 | ||
Int. Cl. G06F 11/00 (2006.01) |
U.S. Cl. 714—38 | 12 Claims |
1. A method for ascertaining application program interface (API) coverage for a Java 2 platform Enterprise Edition (J2EE)
application, comprising the operations of:
analyzing an API of an application to determine a plurality of methods comprising the API;
exercising the API utilizing a test program that calls methods from the plurality of methods comprising the API;
generating a list of methods called by the test program; and
comparing the list of methods called by the test program with the plurality of methods comprising the API; and
determining a percentage of the plurality of methods comprising the API that are called by the test program and designating
the application as portable when the percentage is greater than a predetermined bar percentage.
|