Detecting and preventing noncompliant use of source code
Abstract
A system is disclosed for identifying and preventing non-compliant uses of any portion of source code or other protected content. The system includes at least one processor and a memory storing instructions that cause the system to scan files located at a source location for excerpts of protected source code. The instructions may cause the system to create a temporary clone detection structure for the files at the source location. The instructions may cause the system to use the temporary clone structure and a pre-calculated clone structure for source code files in a protected code location, to identify code clones, and to generate data used to alert a user that the source location includes portions of source code from the protected code location. When clones are found, the instructions may optionally cause the system to prevent the copying of the files containing the code clones.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 7 · Forward citations: 34.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A system comprising: one or more processors; and a memory storing instructions that, when executed by the one or more processors, perform operations comprising: receiving a location for a first source code file, determining that the received location is a restricted location, creating, in response to the determining, a temporary index of normalized statements for the first source code file, comparing the temporary index of normalized statements for the first source code file having the restricted location and a pre-calculated index of normalized statements for second source code files stored i
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 34 total)
References Cited — Backward Prior Art (7)
Non-Patent Literature (3)
- Baxter, et al, "Clone Detection Using Abstract Syntax Trees", In Proceedings of the ICSM '98, Nov. 16-19, 1998, 11 pages.
- Hummel, et al, "Index-Based Code Clone Detection: Incremental, Distributed, Scalable", 2010 IEEE International Conference on Software Maintenance (ICSM), Sep. 12-18, 2010, 9 pages.
- Koschke, et al, "Clone Detection Using Abstract Syntax Suffix Trees". In Proceedings of the 13th Working Conference on Reverse Engineering (WCRE) '06, 2006, 10 pages.