Specify Code Duplication Analysis Scope
Use this dialog box to launch the search for duplicated code fragments in the specified scope.
Select this option to perform the analysis for the whole project.
Select this option to have IntelliJ IDEA analyze the module that is currently selected in the Project tool window.
Select this option to analyze the file that is currently selected in the Project tool window or opened in the editor.
Select this option to analyze the files that are currently selected in the Project tool window.
This scope is only available for the projects under version control.
Select this option to use a custom scope. Select a pre-defined scope from the list, or click and define the scope in the Scopes dialog that opens.
Include test sources
Select this checkbox to perform analysis on the test sources.