IDE Code Correction via Standalone Artifact Dispatch
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Integrated Development Environments (IDEs) lack effective automated solutions for correcting non-compliant source code, as existing validators can only flag deviations but not automatically correct complex coding violations.
Innovation Solution
A method and system that identify coding violations in IDEs, extract non-compliant code segments into standalone artifacts, dispatch them to skilled developers for correction, and merge the corrected code back into the original code base, including unit tests and test data, with optional skill-matching and automated testing.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Difficulty of detecting and measuring
If automated validators are used to detect coding violations, then detection capability is improved, but correction capability remains limited
Solution Approach 1:
The patent segments the code correction process by extracting non-compliant code segments into standalone artifacts that can be independently processed. This segmentation allows the system to handle detection and correction as separate, manageable tasks that can be distributed to different developers or automated tools.
Solution Approach 2:
The patent introduces an intermediary artifact that bridges the gap between detection and correction. The artifact contains the non-compliant code segment along with metadata about the violation, serving as a mediator that enables both automated validation and manual correction while maintaining traceability.
2Manufacturing precision
If manual correction by developers is used, then correction quality is improved, but productivity decreases
Solution Approach 1:
The patent applies partial automation by using automated validators to detect violations and prepare artifacts, then involving human developers only for the correction phase. This partial action approach maintains high correction quality while improving overall productivity compared to fully manual processes.
Solution Approach 2:
The system enables self-service by allowing developers to independently extract, correct, and reintegrate code segments without requiring manual intervention from the original author or complex coordination. The artifact system provides all necessary information for self-contained correction.
3Ease of operation
If code segments are extracted into standalone artifacts, then ease of distribution is improved, but system complexity increases
Solution Approach 1:
The patent segments the codebase into extractable artifacts that can be independently distributed and processed. Each artifact contains a non-compliant segment with associated metadata, making it easy to distribute to relevant developers while maintaining clear boundaries and dependencies.
Solution Approach 2:
The artifact structure is designed to be universal, serving multiple functions: it acts as a detection record, a distribution vehicle, a correction template, and a reintegration package. This multi-functionality reduces the need for separate systems for each task.
Data Source
AI summary
Approaches presented herein enable correction of source code that fails to comply with an established coding standard in a code base within an Integrated Development Environment (IDE). Specifically, a non-compliant segment of code, which requires correction, and that was coded by a first developer, is assembled into a stand-alone artifact that is dispatched to a second developer. The code segment is then corrected by the second developer, and the artifact containing the corrected segment is merged back into the code base from when the segment originated. In one approach, the artifact comprises the code segment, dependent code classes of the segment, unit tests results, and test data. In another approach, the second developer is identified utilizing a skill-matching algorithm. In yet another approach, the corrected segment is unit-tested prior to being merged back into the code base.


