Skip to main content

Source Code Analyzing Maching is an pplication for the analysis of similarities between separate files. Currently with Python, Java, and '*.txt' file checking capabilities.

Project description

SourceAnalyzer

GitHub Repo Link

  • A locally run application that demonstrates different matching algorithms
  • Current release compares files as a one to one connection
  • Outputs given percentage of similarity and highlighted visualization of the matching sections of input documents
  • Supports, raw text files and python files currently, with C++ and java planned in the future releases

Manual pdf link:

https://www.dropbox.com/s/tdtd9n7aubkxf9u/Codalyzers%20Project.pdf?dl=0

Getting Started

STEP 1

it is recommended to create and navigate to virtual environemnt using python to run script

python3.8 -m venv <dir> 
source <dir>/bin/activate

STEP 2

install source_analyzer python package from Python Package Index. Note: must be running python version 3.8 or greater

pip install scam
OR

Download the latest built compressed file release from source_analyzer-X.X.X.tar.gz

then install downloaded file

pip3 install /<path_to_file>/scam-0.0.2.tar.gz

STEP 3

(make sure xlaunch is running) run script

scam

Known Errors/Issues

Errors- Multiple of the same substring found in file B will return only the first instance of that substring.

Issues- Python files featuring a heavy amount of print statements may cause skewed data.

Test Files

Test files can be found in:

/lib/python3.8/site-packages/source/test_file there are python files and .txt files, make sure to change the file filter down below to be able to see either of them.

Project Group: Codalyzers

  • Djoni Austin | @dcaust1n
  • Jared Dawson | @lukinator1
  • Shane Eising | @seising99
  • Julian Marott | @jmmoratta

References:

https://theory.stanford.edu/~aiken/publications/papers/sigmod03.pdf

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

scam-0.2.1.tar.gz (23.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

scam-0.2.1-py3-none-any.whl (158.1 kB view details)

Uploaded Python 3

File details

Details for the file scam-0.2.1.tar.gz.

File metadata

  • Download URL: scam-0.2.1.tar.gz
  • Upload date:
  • Size: 23.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.6.9

File hashes

Hashes for scam-0.2.1.tar.gz
Algorithm Hash digest
SHA256 df451075696e7145646ea377eab735d28c688797d34b1e1b8c62c4bdfe667b1d
MD5 718d7bd7394dfab983e3eda1a0ad5139
BLAKE2b-256 f0553d0af03545f4dae060ccf5530f469b3a16c3ea0da3f4a2dc6af7bc0245de

See more details on using hashes here.

File details

Details for the file scam-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: scam-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 158.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.6.9

File hashes

Hashes for scam-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d17afb80ea4ca4c7670d7e7b6c9833a4816ca5ad2e4c4079890f90b93b20b6eb
MD5 66cfcf7c259b828be0822bd2277f5cc9
BLAKE2b-256 48f40d094188f33e964183792c6abbcaef61213571a96bb7d163938fcd4f46ac

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page