Patent ID: 7647579
Filing Date: 2010-01-12
Classification: G06F

Abstract:
1. A method for detecting software development best practice violations, comprising: receiving sets of source code from a plurality of sources; extracting at least one code pattern from the sets of source code; defining meta data for each of the at least one code pattern that indicates a quality of the at least one code pattern; classifying and assigning a rank to each of the at least one code pattern based on the corresponding meta data, a skill level and an experience level of a developer of the at least one code pattern; storing each of the at least one code pattern and the assigned rank in a data structure; receiving a subsequent set of source code having no affiliation with, and developed independently from all of the at least one code pattern stored in the data structure; extracting and classifying a code pattern to be tested from the subsequent set of source code; comparing the code pattern to be tested to the at least one code pattern classified in a same category stored in the data structure to determine a closest match to the code pattern to be tested; assigning a rank of the closest match to the code pattern to be tested; and 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.