Patent ID: 7539978

Claim:
A method comprising: encasing a first software component in a wrapper comprising a second software component comprising mediator code that encases the first software component such that calls made from a software system to the first software component are intercepted by the mediator code, wherein the mediator code performs operations different from operations of the first software component and wherein the mediator code contains a data decomposer that decomposes types of input data to the first software component into data type, name of element, and nested breakdown of each element within a given type of input data, wherein the variables represent at least one of strings, integers, floating point numbers, characters, Boolean values and/or pointers, wherein the data decomposer further decomposes a complex object into variables so that an operation can be performed on said variables, wherein the complex object comprises at least two variables; and performing, using the mediator code, one or more of a fault injection test on the first software component, an assertions checking test on the first software component, and a data collection test on the first software component, wherein for each decomposed complex object storing data type, name of variable, nested breakdown of each variable within the decomposed complex object, and wherein the data decomposer is invoked by a code that is injected into the first software component to use a mediator class to analyze n-dimensional arrays, perform various operations on null objects, and repeat references for cyclic object hierarchies.