Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 936 Bytes

Readme.md

File metadata and controls

21 lines (13 loc) · 936 Bytes

#Readme

This package has dependency on the BeautifulSoup python libarary which to parse HTML. use the command 'sudo python setup.py install' from the main directory to install the dependency. This package also has dependency on the moss.pl file. MOSS is a code similarity matching tool. Use moss.pl from http://theory.stanford.edu/~aiken/moss/ and place it in the main directory.

To execute the script for a particular snippet, follow the following instructions

  1. Make 1 entry per snippet in the main/Snippets/snippetSourceInfo.txt file

Entry format is

":::"

For example:- 1:csharp:Snippets/csharp/Q1Right.cs:int double TimeSpan DateTime UtcNow Math Abs Floor Ticks TotalSeconds Seconds Minutes Hours Days Convert ToInt32

  1. Run the file driver.py

  2. The results for the script will be stored in the _ folder in the _results.txt file.