Automated review of source code for style issues
Abstract
In one aspect, a computer system automatically identifies style issues in a source code base. A reference set for a known style issue includes source code examples that exhibit the style issue. The source code examples in the reference set are compared to the source code base, for example using string convolution. Based on the comparison, locations in the source code base that are likely to exhibit the style issue are identified. Various steps in the processing may be implemented using machine learning models, clustering or other automated data science techniques.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 26 · Forward citations: 1.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method implemented on a computer system, the computer system executing instructions for automatically identifying style issues in a source code base, the method comprising: accessing a reference set for a style issue, the reference set including source code examples that exhibit the style issue, the style issue including an error; generating a feature set using string convolution to evaluate the source code based on a window of the source code, the window of the source code including or based on a number of lines, the number of lines including a line which includes the error; comparing the s
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (1 of 1 total)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 2024241698 A1 | Monitoring stylistic preferences of source code in integrated development environments | — | 0 |
References Cited — Backward Prior Art (26)
Non-Patent Literature (5)
- “Automated Review of Source Code for Style Issues”, (1989), 7 pgs.
- “Automated Review of Source Code for Style Issues”, (Jun. 6, 1996), 17 pgs.
- “U.S. Appl. No. 16/196,506, Non Final Office Action daated Jan. 2, 2020”, 19 pgs.
- “U.S. Appl. No. 16/196,506, Notice of Allowance dated Apr. 22, 2020”, 14 pgs.
- “U.S. Appl. No. 16/196,506, Response filed Apr. 2, 2020 to Non Final Office Action dated Jan. 2, 2020”, 15 pgs.