Creating a method from a block of code

Data processing: software development – installation – and managem – Software program development tool – Code generation

Reexamination Certificate

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

C715S724000, C715S770000

Reexamination Certificate

active

07464370

ABSTRACT:
A method, apparatus, system, and signal-bearing medium that in an embodiment determine whether a block of code associated with a copy-and-paste operation or a punch-out operation has a size greater than a threshold. If the size is greater than the threshold, then a method is created and the block of code is pasted into the method. Also, an invocation to the newly created method is added at the copied-from location and the intended pasted-to location (in the case of the copy-and-paste operation) or an invocation to the newly created method is added at the copied-from location (in the case of the punch-out operation). In this way, future modifications to the block of code need only be made in one place: the method, instead of at all locations where duplicate code exists. Thus, embodiments of the invention may reduce the fragility of the code.

REFERENCES:
patent: 5325533 (1994-06-01), McInerney et al.
patent: 5701489 (1997-12-01), Bates et al.
patent: 5740443 (1998-04-01), Carini
patent: 5845119 (1998-12-01), Kozuka et al.
patent: 6072951 (2000-06-01), Donovan et al.
patent: 6195793 (2001-02-01), Schmidt
patent: 6230314 (2001-05-01), Sweeney et al.
patent: 6301700 (2001-10-01), Choi et al.
patent: 6427234 (2002-07-01), Chambers et al.
patent: 6578194 (2003-06-01), Baumgart et al.
patent: 6851106 (2005-02-01), Narisawa et al.
patent: 6851110 (2005-02-01), Hundt et al.
patent: 6904454 (2005-06-01), Stickler
patent: 6934935 (2005-08-01), Bennett et al.
patent: 7110936 (2006-09-01), Hiew et al.
patent: 7137104 (2006-11-01), Tip et al.
patent: 7240338 (2007-07-01), Bell et al.
patent: 7266813 (2007-09-01), Nistler et al.
patent: 2002/0032804 (2002-03-01), Hunt
patent: 2002/0184609 (2002-12-01), Sells et al.
patent: 2003/0204833 (2003-10-01), Pokhariyal
patent: 2004/0111719 (2004-06-01), Civlin
patent: 2004/0221282 (2004-11-01), Le Metayer et al.
patent: 2005/0097530 (2005-05-01), Asao et al.
patent: 2005/0229154 (2005-10-01), Hiew et al.
Gallagher, Keith, Loyola College in Maryland; Layman, Lucas, North Carolina State University; “Are Decomposition Slices Clones?”, 2003 IEEE, retrieved from scholar.google.com on Aug. 27, 2007.
Myers, Brad A; Kosbie, David S; “Reusable Hierarchical Command Objects”, 1996 ACM, p. 260-267, retrieved from scholar.google.com Aug. 27, 2007.
Myers, Brad; Ko, Andrew; “Studying Development and Debugging To help Create a Better Programming Environment: For the CHI 2003 Workshop on Perspectives in End User Development”, 2003, retrieved from scholar.google.com Aug. 27, 2007.

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

Creating a method from a block of code does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Creating a method from a block of code, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Creating a method from a block of code will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-4022183

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.