发明名称 CORRECTING NON-COMPLIANT SOURCE CODE IN AN INTEGRATED DEVELOPMENT ENVIRONMENT
摘要 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 whence 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.
申请公布号 US2016371079(A1) 申请公布日期 2016.12.22
申请号 US201615255570 申请日期 2016.09.02
申请人 International Business Machines Corporation 发明人 Balasubramanian Swaminathan;De Radha M.;O'Connell Brian M.;Walker Keith R.
分类号 G06F9/44;G06F11/36 主分类号 G06F9/44
代理机构 代理人
主权项 1. A method for correcting non-compliant source code, the method comprising: identifying a coding violation in source code; forming an artifact by extracting a section of source code containing the coding violation from the source code; searching, using an integrated development environment (IDE), based on historical data, a first group of developers for a developer that contributed to a solution for a previous violation similar to the coding violation; providing the artifact to the developer for correction of the coding violation; and returning the artifact to the IDE following correction of the coding violation, the artifact including a segment of modified source code.
地址 Armonk NY US