Code clone notification and architectural change visualization

An architecture and code technology, applied in the field of code cloning, can solve complex source files, mastering and other problems

Inactive Publication Date: 2012-09-19
MICROSOFT TECH LICENSING LLC
View PDF4 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For example, class-level, namespace-level, or module-level differences of a codebase can be complex and difficult to grasp by drilling through many source files simultaneously

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Code clone notification and architectural change visualization
  • Code clone notification and architectural change visualization
  • Code clone notification and architectural change visualization

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0012] Described here is a code verification system that provides augmented code review with code clone analysis and visualization to help software developers automatically identify similar instances of the same Differences are visualized. The system uses previously described code clone search techniques (see, e.g., U.S. Patent Application Serial No. 12 / 752942, filed April 2010, entitled "CODE-CLONE DETECTIONAND ANALYSIS") to develop When the user makes changes, code clones are identified and information about similar code is presented to the user. For example, the system may provide a tooltip popup or window that shows the location of similar software code as the developer makes changes to the code block. At a coarser level, the system can provide automated notifications to developers or other teams when their code includes one or more cloned code snippets on check-in. The system can identify the cloned copy of the code fragment to be changed and suggest to the code reviewe...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to code clone notification and architectural change visualization. A code verification system is described herein that provides augmented code review with code clone analysis and visualization to help software developers automatically identify similar instances of the same code and to visualize differences in versions of software code over time. The system uses code clone search technology to identify code clones and to present the user with information about similar code as the developer makes changes. The system may provide automated notification to the developer or to other teams as changes are made to code segments with one or more related clones. The code verification system also helps the developer to understand architectural evolution of a body of software code. The code verification system provides an analysis component for determining architectural differences based on the code clone detection result between the two versions of the software code base. The code verification system also provides a user interface component for displaying identified differences to developers and others involved with the software development process in intuitive and useful ways.

Description

technical field [0001] The present invention relates to code cloning. Background technique [0002] The software development process, at its simplest level, involves a software developer writing software code in a language (eg, C++, C#, assembly) and using tools such as compilers to build the code into binary executable modules. As software becomes more complex, multiple developers may work on a project and use more complex tools such as check-in managers, centralized build systems, and the like. Teams can also develop processes such as peer reviews at the architectural and source code levels. A popular procedure is to have at least one developer other than the primary developer review each entry. Developers can also run one or more automated verification tools, such as unit tests, static code checkers, runtime code checkers, etc. such as MICROSOFT TM VISUAL STUDIO TM The newer integrated development environments (IDEs) try to notify developers of potential code defects...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/44
CPCG06F9/44G06F8/36G06F8/751G06F11/28G06F11/36
Inventor 党映农S·卡恩D·张刘未鹏戈颂成功
Owner MICROSOFT TECH LICENSING LLC
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products