Patent ID: 8682910

Claim:
A method for optimizing anonymization of a database comprising attributes to be used in testing a database-centric application, the method comprising: selecting a quasi-identifier attribute from ranked attributes to provide a selected quasi-identifier attribute, wherein each of the ranked attributes is ranked according to a number of statements in code implementing the database-centric application affected by the ranked attribute, wherein for each of the ranked attributes the number of statements in code implementing the database-centric application affected by the ranked attribute is determined by quantifying the number of statements in code implementing the database-centric application affected by the ranked attribute, and wherein quantifying the effect of each of the ranked attributes includes: for each of the ranked attributes, tainting variables used during execution of the database-centric application and affected by the ranked attribute to provide attribute-specific tainted variables, and for each of the ranked attributes, determining a number of statements in the database-centric application affected by the ranked attribute based on the attribute-specific tainted variables; and anonymizing, by a processor, the database based on the selected quasi-identifier attribute to provide a partially anonymized database.