Atomiq is a product by

Getting Started with Atomiq

Step 1 – Install Atomiq to your preferred location

Step 2 – Launch the Atomiq application

Atomiq REQUIRES .NET 3.5 SP1 to be installed. It is available for download here.

Step 3 – Click “New”

Clicking New Button

Step 4 – Pick Directory

Browse to the folder that you would like to analyze.
Picking Directory

Step 5 – Select File Type

Selecting File Type


Step 6 – Select Minimum Similarity Length

Select how many lines of code are required to be repeated for Atomiq to flag as a code repetition by using the slider.

Step 7 – Enter File Exclude Regular Expressions

Enter regular expressions to exclude files and directories from analysis (e.g. automatically-generated code files). When you’re all set, press the “Ok” button.
Ready and Waiting


Step 8 – Wait for Analysis to Finish

Analyzing Files

Step 9 – Open a File

Select a file to inspect from the Files window.
Open a File

Step 10 – Interact with Results

Opening a file will populate the Results in the top of the window:
Top Menu

Interacting with Results Additionally, it will populate the Code view and Similarity views.

Click on instances of repetition in Similarities to jump to the location of the repeated code. The Similarity View shows you the position of repeated code in both files. From the Similarity View you can also copy the code to the clipboard and open the code in your IDE of choice by clicking on “Copy Code” or “Open”, respectively. You can also add the selected code to an Ignore list so Atomiq will no longer try to flag the code as repeated. In the Code view, you will see lines along the side to the left of the line numbers. Red lines indicate instances of repeated code in the same file, while blue lines indicate that the code has been repeated in a different file. Hovering over these lines tells you the line numbers of the repeated portion of code (and for blue lines the filename as well).

Step 11 – Open Wheel View

Wheel View To open the wheel, click the ‘Wheel’ button in the Project area of the menu. Use the Wheel to get a quick overview of all of the repeated code in the selected directory.

As in the Code view, red lines indicate repetitions within the same file while blue lines indicate repetitions across files. The arcs that make up the wheel represent individual files. Hovering over them reveals the file name and its similarity statistics.

Step 12 – Save/Load/Reanalyze Project

Saving, Loading, Reanalyzing You can save your Atomiq project (the directory that was analyzed, regular expressions, etc.) by clicking on “Save”. The next time you launch the application, you can click “Load” to load your project. If you change files in your project while leaving Atomiq open, click on reanalyze and the program will update its results accordingly.