Patent ID: 8225298
Filing Date: 2012-07-17
Classification: G06F

Abstract:
1. A method comprising: enabling automated analysis of an extracted eScript to identify one or more problems within a configuration and script; detecting occurrences of issues within the eScript, when the issues include one or more of: empty event handlers, explicit object release, setting field values utilizing hard coded values, unnecessarily activating fields, call to next record after a call to delete record, and functions containing unnecessary code; in response to the issue being the empty event handler, checking when a file, extracted from a repository, contains three lines or less and is void of text; outputting the detected three lines or less to a log file when the empty event handler detects the file with three lines or less; storing one or more detected items, of the extracted eScript, in a VB.NET collection object; in response to the automated analysis being complete and one or more items remain in the VB.NET collection object, outputting the detected items to the log file; searching the extracted eScript for one or more of: lines of code and characters identifying hard-coded values; in response to detecting the lines of code identifying hard-coded values, outputting the code to the log file; in response to detecting the characters identifying the hard-coded values, outputting the code to the log file; storing one or more found references for one or more activated fields in the VB.NET collection object, when each reference is identified by a field name; detecting one or more of the field names in a line of code; extracting the field names from the line of code; deleting one or more collection objects containing the field name; in response to the count of the collection objects being greater than zero, outputting the collection objects to the log file; detecting a pattern containing calls to NextRecord when a call to DeleteRecord is identified during the analysis of the extracted eScript; sending results of the pattern to the log file when the pattern is detected; and in response to identifying a pattern containing WriteRecord followed by NextRecord in one or more lines, outputting the pattern results to the log file, wherein unnecessary code within the eScript is stored in the log file.