CReN: A Tool for Tracking Copy-and-Paste Code Clones and Renaming Identifiers Consistently in the IDE By Patricia Jablonsk...
Managing Copy-and-Paste <ul><li>Problem </li></ul><ul><ul><li>Copy and paste code </li></ul></ul><ul><ul><li>Change some v...
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Copy-and-Paste Error Detection and Prevention <ul><li>CnP: Copy-and-Paste Tool </li></ul><ul><ul><li>Tracks & highlights c...
Related Work <ul><li>Clone detection and removal </li></ul><ul><li>Clone tracking tools </li></ul><ul><ul><li>Codelink, Cl...
Conclusion <ul><li>Discussion </li></ul><ul><ul><li>How would you evaluate our tool? </li></ul></ul><ul><ul><li>How would ...
Upcoming SlideShare
Loading in …5
×

ETX

552 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
552
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
3
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

ETX

  1. 1. CReN: A Tool for Tracking Copy-and-Paste Code Clones and Renaming Identifiers Consistently in the IDE By Patricia Jablonski and Daqing Hou Clarkson University Eclipse Technology Exchange October 21, 2007
  2. 2. Managing Copy-and-Paste <ul><li>Problem </li></ul><ul><ul><li>Copy and paste code </li></ul></ul><ul><ul><li>Change some variables </li></ul></ul><ul><ul><li>Don’t change all instances </li></ul></ul><ul><ul><li>So, have an error </li></ul></ul>
  3. 31. Copy-and-Paste Error Detection and Prevention <ul><li>CnP: Copy-and-Paste Tool </li></ul><ul><ul><li>Tracks & highlights copy-pasted statements </li></ul></ul><ul><ul><li>Detects & prevents inconsistencies based on inferences of the programmer’s intention </li></ul></ul><ul><ul><ul><li>Identifier renaming inconsistencies </li></ul></ul></ul><ul><ul><ul><ul><li>CReN: Consistent Renaming Tool </li></ul></ul></ul></ul><ul><ul><ul><li>Lexical/naming pattern inconsistencies </li></ul></ul></ul><ul><ul><ul><li>Type inconsistencies </li></ul></ul></ul>
  4. 32. Related Work <ul><li>Clone detection and removal </li></ul><ul><li>Clone tracking tools </li></ul><ul><ul><li>Codelink, CloneTracker </li></ul></ul><ul><li>Error detection tools </li></ul><ul><ul><li>CP-Miner, DECKARD-based tool </li></ul></ul><ul><li>Renaming tools </li></ul><ul><ul><li>Find & Replace, Rename Refactoring, Linked Renaming </li></ul></ul>
  5. 33. Conclusion <ul><li>Discussion </li></ul><ul><ul><li>How would you evaluate our tool? </li></ul></ul><ul><ul><li>How would you improve the tool? </li></ul></ul><ul><ul><ul><li>Additional features </li></ul></ul></ul><ul><ul><ul><li>Visualization of clones </li></ul></ul></ul><ul><ul><ul><li>Programmer’s intention </li></ul></ul></ul><ul><li>Questions/Comments </li></ul>

×