Automated data store access source code review
First Claim
1. A computer-implemented automated review method for source code files seeking to access a data store, the method comprising the steps of:
- receiving a request to review data store access source code;
determining computer files which include the data access source code;
examining structured query language (SQL) source code files and determining compliance with non-syntax-related guidelines;
executing an explain command on SQL statements in the SQL source code files and producing an explain output including information about a sequence of operations for executing the SQL statements;
examining data access object (DAO) source code files and determining compliance with guidelines for invoking SQL components within Java source code;
examining configuration source code files and determining compliance with data store connection and object definition guidelines;
examining configuration source code files and DAO source code files and determining compliance with transaction-related guidelines;
examining configuration source code files and determining compliance with datasource configuration guidelines;
setting the issue flag if any of the guidelines are not followed;
reviewing the status of the issue flag;
issuing a first signal to information technology personnel to halt deployment of the source code files if the issue flag is set; and
issuing a second signal to information technology personnel to proceed with deployment of the source code files if the issue flag is not set.
2 Assignments
0 Petitions
Accused Products
Abstract
A computer-implemented automated review method for source code files seeking to access a data store comprises the steps of receiving a request to review data store access source code; determining computer files which include the data access source code; examining structured query language (SQL) source code files and determining compliance with non-syntax-related guidelines; examining data access object (DAO) source code files and determining compliance with guidelines for invoking SQL components within Java source code; examining configuration source code files and determining compliance with data store connection and object definition guidelines; examining configuration source code files and determining compliance with transaction-related guidelines; examining configuration source code files and determining compliance with datasource configuration guidelines; and issuing a halt signal if any of the guidelines are not followed.
-
Citations
20 Claims
-
1. A computer-implemented automated review method for source code files seeking to access a data store, the method comprising the steps of:
-
receiving a request to review data store access source code; determining computer files which include the data access source code; examining structured query language (SQL) source code files and determining compliance with non-syntax-related guidelines; executing an explain command on SQL statements in the SQL source code files and producing an explain output including information about a sequence of operations for executing the SQL statements; examining data access object (DAO) source code files and determining compliance with guidelines for invoking SQL components within Java source code; examining configuration source code files and determining compliance with data store connection and object definition guidelines; examining configuration source code files and DAO source code files and determining compliance with transaction-related guidelines; examining configuration source code files and determining compliance with datasource configuration guidelines; setting the issue flag if any of the guidelines are not followed; reviewing the status of the issue flag; issuing a first signal to information technology personnel to halt deployment of the source code files if the issue flag is set; and issuing a second signal to information technology personnel to proceed with deployment of the source code files if the issue flag is not set. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A computer-implemented automated review method for source code files seeking to access a data store, the method comprising the steps of:
-
receiving a request to review data store access source code;
determining computer files which include the data access source code;examining structured query language (SQL) source code files and determining compliance with non-syntax-related guidelines, the guidelines including determining whether a type of data to be written to the data store matches a type of data in the data store; executing an explain command on SQL statements in the SQL source code files and producing an explain output including information about a sequence of operations for executing the SQL statements; examining data access object (DAO) source code files and determining compliance with guidelines for invoking SQL components within Java source code, the guidelines including checking that a type of data passed to the SQL components matches a type of data expected by the SQL components; examining configuration source code files and determining compliance with data store connection and object definition guidelines, the guidelines including checking that a bean definition for a database points to the data store; examining configuration source code files and DAO source code files and determining compliance with transaction-related guidelines, the guidelines including checking for the presence of a transaction manager definition; examining configuration source code files and determining compliance with datasource configuration guidelines, the guidelines including checking for a definition of a datasource; setting the issue flag if any of the guidelines are not followed;
reviewing the status of the issue flag;issuing a first signal to information technology personnel to halt deployment of the source code files if the issue flag is set; and issuing a second signal to information technology personnel to proceed with deployment of the source code files if the issue flag is not set. - View Dependent Claims (13, 14, 15, 16, 17)
-
-
18. A computer-implemented automated review method for data store access source code files, the method comprising the steps of:
-
receiving a request to review data store access source code;
determining computer files which include the data access source code;
determining service operations in each source code file;determining an execution frequency and an execution time of each service operation based on business volumetrics; setting an issue flag if the execution frequency of any service operation is greater than an execution frequency threshold; setting the issue flag if the execution time of any service operation is less than an execution time threshold; examining structured query language (SQL) source code files and determining compliance with non-syntax-related guidelines; executing an explain command on SQL statements in the SQL source code files and producing an explain output including information about a sequence of operations for executing the SQL statements; examining data access object (DAO) source code files and determining compliance with guidelines for invoking SQL source code within Java source code; examining configuration source code files and determining compliance with data store connection and object definition guidelines; examining configuration source code files and DAO source code files and determining compliance with transaction-related guidelines; examining configuration source code files and determining compliance with datasource configuration guidelines; setting the issue flag if any of the guidelines are not followed;
reviewing the status of the issue flag;issuing a first signal to information technology personnel to halt deployment of the source code files if the issue flag is set; and issuing a second signal to information technology personnel to proceed with deployment of the source code files if the issue flag is not set. - View Dependent Claims (19, 20)
-
Specification