This tip looks at one of the code analysis tools that is included in Visual Studio Enterprise edition. It's called the code clone tool. This is not a tool for making copies of your code. Instead, it's a tool for finding potential duplicate sections of code in your solution.
- [Instructor] This tip looks at one of the code analysis…tools that is included in Visual Studio Enterprise Edition.…It's called the code clone tool.…This is not a tool for making copies of your code.…Instead, it's a tool for finding potential duplicate…sections of code in your solution.…I'll start by looking at how to…analyze a single line of code.…Select the line of code.…Then right click…and choose this menu item,…Finding Matching Clones in the Solution.…If you do not see this menu item,…make sure you're using Visual Studio Enterprise Edition.…
That brings up the code clone search results window,…and I see that there's one line of code…somewhere in the solution that…matches the line of code I analyzed.…Now in a real world application that's a common scenario.…It's not uncommon to have lines of code…that are exact matches, so this is…not a very interesting use of this tool yet.…Let's do another search.…This time in the search results window…I see that there is a medium match,…so it's not an exact match, and let's learn some more…
Skill Level Intermediate
Q: Why can't I earn a Certificate of Completion for this course?
A: We publish a new tutorial or tutorials for this course on a regular basis. We are unable to offer a Certificate of Completion because it is an ever-evolving course that is not designed to be completed. Check back often for new movies.
New This Week
Use the GitHub Extension1m 39s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.