Browse Prior Art Database

Good Code Practice through Aggregate Data

IP.com Disclosure Number: IPCOM000241541D
Publication Date: 2015-May-08
Document File: 1 page(s) / 32K

Publishing Venue

The IP.com Prior Art Database

Abstract

Disclosed is a system to ensure the use of good and popular code by aggregating anonymous coding data from many different sources and then presenting it to the developer during the code-writing process. This system promotes readable, correct code by guiding the implementation using crowd consensus.

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 67% of the total text.

Page 01 of 1

Good Code Practice through Aggregate Data

While coding a solution, a developer has no real-time method to determine whether a given pattern or solution is popular or unpopular. One option is to ask a question on a forum, but the responses might be unreliable. Within the current code environment, a developer might continue with one particular solution or pattern, only to discover later that it is not a well-known pattern or perhaps an archaic solution. This leads to redesign and recoding for correctness and readability.

The novel system aggregates anonymous coding data from many different sources and then presents it to the developer while in the process of writing the code. This service is configurable based on the developer's interests. This includes popular implementations and patterns, allowing the developer to know, if presented with two or more potential classes that appear equivalent, which class is more popular. Additionally, a developer using a particular coding pattern is able to determine its relative popularity to a known equivalent pattern.

This system promotes readable, correct code by guiding the implementation using crowd consensus. In addition, the system enables corporate policy or security policy to override aggregate recommendations. Thus, the system makes the developer aware of any corporate policy to use a particular class or implementation. If the system detects a known, non-secure Application Programming Interface (AP), then it can report...