分享给好友:
Managing Copy-and-paste Programming Patricia Deshane
Managing Copy-and-paste Programming
Patricia Deshane
Programmers often copy and paste source code in order to reuse an existing solution in the completion of a current task. Copying and pasting results in code clones (similar code fragments) throughout a code base, which need to be properly maintained over time. Forgetting the cloning information and correspondence relationships within a piece of code can be problematic for the software maintainer. Furthermore, inconsistent editing to clones can introduce undetected bugs, decreasing the quality of the software. This dissertation presents a suite of software tools, Eclipse plug-ins named CnP, that aid the programmer during copy, paste, and modify programming. The purpose is to provide tool support throughout a clone's entire lifecycle, from its creation to its removal from the system. More than just traditional clone detection and removal, these clone tracking tools have a particular focus on clone editing. CReN and LexId help with consistent identifier and substring renaming within clones, and CSeR visualizes user edits within a clone for better clone comparison. A user study was conducted with analysis in terms of task completion time, solution correctness, and method of completion.
| 介质类型 | 图书 Paperback Book (平装胶订图书) |
| 已发行 | 2010年7月29日 |
| ISBN13 | 9783838381244 |
| 出版商 | LAP LAMBERT Academic Publishing |
| 页数 | 120 |
| 商品尺寸 | 225 × 7 × 150 mm · 197 g |
| 语言 | 德语 |
查看Patricia Deshane的全部作品 ( 例如 Paperback Book )