© Sudipta Mukherjee 2016
Sudipta MukherjeeSource Code Analytics With Roslyn and JavaScript Data Visualization10.1007/978-1-4842-1925-6_5

5. Code Mining

Sudipta Mukherjee
(1)
Varthur Hobli, India
 
Code is art, and like other art forms like music and painting, good source code exhibits similar patterns. These are not only design patterns—they are regular code patterns that occur frequently. The information about code patterns can be helpful in a multitude of situations.

Useful Patterns in Code Mining

For example, these patterns can be useful in identifying duplicate to near duplicate code blocks, checking the difference between two versions of the same code, identifying dependancies, detecting plagiarism, and understanding the construction of the code ...

Get Source Code Analytics With Roslyn and JavaScript Data Visualization now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.