×

Tool to analyze dependency injection object graphs for common error patterns

  • US 9,223,683 B1
  • Filed: 05/03/2012
  • Issued: 12/29/2015
  • Est. Priority Date: 05/03/2012
  • Status: Active Grant
First Claim
Patent Images

1. A method of identifying errors in an object dependency graph, the method comprising:

  • identifying one or more plugin points associated with the object dependency graph;

    determining a module and module type associated with a method at one of the one or more plugin points on the object dependency graph, where the module type represents a type of service provided by the module when executed;

    responsive to determining the module type, automatically discovering one or more repositories of testlets associated with the determined module type;

    automatically selecting, from a set of testlets in the one or more repositories of testlets, at least one testlet associated with the determined module type, where each testlet is associated with one or more common dependency errors and where at least one automatically selected testlet is generic to multiple application types; and

    automatically creating, with a processor, at least one test suite for each selected testlet, the created at least one test suite including at least one unit test case, where said automatically creating includesbuilding an executable code module that, when executed with a processor,analyzes the object dependency graph starting at the plugin point based on the created at least one test suite, the analyzing including analyzing bindings of a dependency injector associated with the object dependency graph, andgenerates data showing a location and severity of said common dependency errors within the object dependency graph.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×