All examples By author By category About

puripant

MossViz

Visualizing Moss (Measure Of Software Similarity) result in a node-link diagram

How to Use

Just open up index.html to see the visualization. It will open an example data file Moss Results.html which can be saved directly from the website.

Visualization

It is a standard node-link diagram implemented with D3 (v3 for now). Each node is a submission path, truncated by the common prefix. An edge shows that two submissions are more similar than the average of the submission set (measured by the number of common lines and visualized as edge thickness).

Cliques of plagiarism should be easily detectable. Nodes can also be dragged around and fixed for manual layout. A simple bounded force layout is applied.

More to be Done

It will be nice if the tool can directly fetch the result from an URL (without CORS errors). Advanced layout algorithms are welcome.