Patent ID: 8356278

Claim:
A system for building a dynamic best practice violation (BPV) engine resource for detecting software development best practice violations, the system comprising: at least one computing device having a processor and a memory, the memory including: a code reception system for receiving sets of source code from a plurality of sources; a language detection system for detecting a programming language of each of the sets of source code; a pattern extraction system for extracting a plurality of code patterns from the sets of source code; a code pattern analysis system for defining meta data for each of the plurality of code patterns that indicates a quality of the plurality of code patterns; a classification and ranking system for classifying and assigning a rank to each of the plurality of code patterns based on the corresponding meta data; a storage system for storing each of the plurality of code patterns and the assigned ranks in a data structure; a test reception system for receiving a subsequent set of source code that is developed independently from the at least one code pattern stored in the data structure; a test extraction system for extracting and classifying a code pattern to be tested from the subsequent set of source code; a test classification system for classifying the code pattern to be tested; a matching system for comparing the code pattern to be tested to the plurality of code patterns to determine a closest match to the code pattern to be tested, and for assigning a rank of the closest match to the code pattern to be tested; and a deviation detection system for detecting a software development best practice violation if the rank assigned to the code pattern to be tested fails to comply with a predetermined threshold.