Getting Started with Scanyp on Windows, Linux/MacOS

Start Scanyp Server.
The Scanyp Server will start and by default it's listening on the port 3500
scanyp server running

The listening port can be changed even from the command line

>ScanypServer.exe  --Port 4000
>./  --Port 4000

Or from the config.ini file.
The database storing the analysis result is by default stored in the Scanyp install directory. It's recommended to change this path from the config.ini file to avoid overriding it after a new install.

Launch the analysis

From another machine you can launch the analysis of your codebase

>ScanypAnalyzer.exe  C:\work\MySolution.sln --identifier MyProject
>./  /home/mywork/myproject.json --identifier MyProject

The --identifier switch is mandatory to define the project key, ScanypAnalyzer will get from the Scanyp Server the configuration of this specific key if it's found, else a default configuration will be created in the server and it will be used by the Scanyp Analyzer for the analysis.You can define the Scanyp server IP and port from the config.ini file or from the command line

>ScanypAnalyzer.exe  C:\work\MySolution.sln --identifier MyProject --serverIP  --port 4000
>./  /home/mywork/myproject.json --identifier MyProject --serverIP  --port 4000

After the analysis is done, the result could be accessed from the browser:

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

If you need multiple analysis views of the same project, where each analysis has its own coding rules. Or you need a view per branch you can use the perspective feature.

>ScanypAnalyzer.exe  C:\work\MyDotNEtSolution.sln --identifier MyProject --perspective branch1

You can refer to the ScanypAnalyzer documentation to explore all the command line options. And to configure your custom rules, quality gates and trends, you can refer to the scanyp server admin doc. To get more details about the analysis per language:

>./  /home/mywork/myproject.json --identifier MyProject --perspective branch1
  • C/C++ analysis
  • Java analysis
  • Python analysis
  • .Net analysis
  • PHP analysis