Specify Code Duplication Analysis Scope
Use this dialog 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 PhpStorm analyze the module that is currently selected in the Project tool window.
Select this option to have PhpStorm analyze the file that is currently selected in the Project tool window or opened in the editor.
Select this option to define a custom scope to apply analysis to. Choose a pre-defined scope from the list or click and define a custom scope using the Scopes dialog.
Include Test Sources
Select this checkbox to perform analysis on the test sources.