Patents
US 8,312,427 B2#4187448 Most CitedActiveUnited States (USPTO)Utility

Selecting a set of candidate code expressions from a section of program code for copying

20Forward Citations (#4187448 Global)
1.4/yrCitation Velocity (#3801806 Global)
3.82Citation PageRank (#5129727 Global)
20Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

To facilitate code building, a user can identify an expression to be copied at a position in a source section of program code. Occurrences of the user-selected expression form a set of candidate code expressions. The user-selected expression may include some or all occurrences of a variable within an enclosing scope in the source section, program statements, etc. The formed set of candidate code expressions is presented to the user for user selection of one or more of the expression occurrences within the set. The set occurrences selected by the user are pasted to one or more target locations.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 20 · Forward citations: 20.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method for selecting a set of candidate code expressions from a section of program code, comprising: receiving a user selection of an expression at a position in the section of program code, said user selection identifies an expression to be copied; identifying, using a processor, a set of candidate code expressions for copying, said set comprising one or more further occurrences of said user-selected expression in an enclosing scope at said position in said section of program code; copying said set of candidate code expressions; presenting said copied set of candidate code expressions to th

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

References Cited — Backward Prior Art (20)

PatentTitleYearCitations
US 5,742,836 AGraphical programming system and methods with user interface1998113
US 5,838,941 AOut-of-order superscalar microprocessor with a renaming device that maps instructions from memory to registers199832
US 5,953,731 AHTML integration utility for a program development environment199980
US 5,966,539 ALink time optimization with translation to intermediate program and following optimization techniques including program analysis code motion live variable set generation order analysis, dead code elimination and load invariant analysis1999133
US 6,026,241 ASystem, method, and computer program product for partial redundancy elimination based on static single assignment form during compilation200053
US 6,077,314 AMethod of, system for, and computer program product for providing improved code motion and code redundancy removal using extended global value numbering200019
US 6,243,859 B1Method of edit program codes by in time extracting and storing200165
US 6,286,135 B1Cost-sensitive SSA-based strength reduction algorithm for a machine with predication support and segmented addresses2001172
US 2002095667 A1Optimizing compilation by forward store movement—56
US 6,691,301 B2System, method and article of manufacture for signal constructs in a programming language capable of programming hardware architectures2004254
US 2004153992 A1Method and apparatus for automatic generation of information system user interfaces—246
US 2004225964 A1Method and system for storing pending changes to data—26
US 2005234887 A1Code retrieval method and code retrieval apparatus—19
US 6,966,054 B2Method and system for generating a computer program200539
US 2006236311 A1Abstract interpretation with a congruence abstract domain and/or a heap succession abstract domain—17

Non-Patent Literature (5)

  • Author Unknown, Pattern by Example,Delta Software Technology GmbH, 2003. Available from http://www.delta-software-technology.com.
  • Author: Miryung Kim, Vibha Sazawal, and David Notkin, "Supporting Uses of Editing Process Patterns", IUI Workshop, 2004 Available from http://www.research.ibm.com/iui-workshop/.
  • Glen Wallace et al, "Smarter cut-and-paste for programming text editors", ACM International Conference Proceeding Series, vol. 14, Proceedings of the 2nd Australasian conference on User Interface, Queensland, Australia, 2001, pp. 56-63.
  • NetBeans Copy Class Refactoring Module Tutorial (http://platform.netbeans.org/tutorials/nbm-refactoring.html)f, Dated: Oct. 28, 2005.
  • Title: CP-Miner: finding copy-paste and related bugs in large-scale software code, author: Li et al, dated: Marc 2006, source: IEEE.