Scanyp Analyzer options

ScanypAnalyzer command line arguments

Two first parameters are mandatory,
  • The source codebase path.
    Windows:
    >ScanypAnalyzer.exe  C:\work\MySolution.sln --identifier MyProject
            
    Linux/Mac:
    >./analyze  /home/user/build/compile_commands.json --identifier MyProject
            
  • --identifier : The unique key identifier of the project.
    Windows:
    >ScanypAnalyzer.exe  C:\work\MySolution.sln --identifier MyProject
            
    Linux/Mac:
    >./analyze  /home/user/build/compile_commands.json --identifier MyProject
            
Here are the other optional options:
  • --serverIP : To specify the scanyx server IP, by default it's 127.0.0.1
    Windows:
    >ScanypAnalyzer.exe  C:\work\MySolution.sln --identifier MyProject --serverIP 192.125.23.89
            
    Linux/Mac:
    >./analyze  /home/user/build/compile_commands.json --identifier MyProject --serverIP 192.125.23.89
            
  • --port : To specify the scanyx server port, by default it's 3500.
    Windows:
    >ScanypAnalyzer.exe  C:\work\MySolution.sln --identifier MyProject --port 4000
            
    Linux/Mac:
    >./analyze  /home/user/build/compile_commands.json --identifier MyProject --port 4000
            
  • --perspective : To have multiple code quality views of the same project. And from the dashboard you can switch between perspectives of the same project.
    >ScanypAnalyzer.exe  C:\work\MySolution.sln --identifier MyProject --perspective branch1
            
    Linux/Mac:
    >./analyze  /home/user/build/compile_commands.json --identifier MyProject --perspective branch1
            
  • --kind : by default scanyp parse all kind of projects in a folder. However, if you need only a specific kind of project, you can specify this param. Possible values: c, c++, java, php, python
    Windows:
    >ScanypAnalyzer.exe  C:\work\MySolution.sln --identifier MyProject --kind c++
            
    Linux/Mac:
    >./analyze  /home/user/build/compile_commands.json --identifier MyProject --kind c++
            
  • --additionalFolders : To specify additional folders where exists third party libraries.
    >ScanypAnalyzer.exe  C:\work\MySolution.sln --identifier MyProject --additionalFolders C:\work\AdditionalIncludes
            
    Linux/Mac:
    >./analyze  /home/user/build/compile_commands.json --identifier MyProject --additionalFolders /home/user/additionalIncludes
            
  • --coverageDir : To specify the directory that contains coverage files
    Windows:
    >ScanypAnalyzer.exe  C:\work\MySolution.sln --identifier MyProject --coverageDir C:\work\CoverageFolder
            
    Linux/Mac:
    >./analyze  /home/user/build/compile_commands.json --identifier MyProject --coverageDir /home/user/coverageFolder
            
  • --outputDirectory : To specify the output folder, by default its created in temp folder.
    Windows:
    >ScanypAnalyzer.exe  C:\work\MySolution.sln --identifier MyProject --outputDirectory C:\work\OutputFolder
            
    Linux/Mac:
    >./analyze  /home/user/build/compile_commands.json --identifier MyProject --outputDirectory /home/user/outputDirectory
            
  • --exclude : To exclude folders,files or paths using regex expressions.
    Windows:
    >ScanypAnalyzer.exe  C:\work\MySolution.sln --identifier MyProject --exclude Folder:C:\work\FolderToExclude;Folder:C:\work\FolderToExclude2
            
    Linux/Mac:
    >./analyze  /home/user/build/compile_commands.json --identifier MyProject --exclude Folder:/home/user/FolderToExclude1;Folder:/home/user/FolderToExclude2
            
After the analysis is done, the result could be accessed from the browser:



To get the analysis details of a project you can just click on its link:

Scanyp offers a wide range of features. It is often described as a Swiss Army Knife for developers.

Start Free Trial