Common Usage Scenarios

Creating projects and running analyses in Squore can be done in a variety of ways.

Depending on your needs, IT infrastructure, company guidelines and workflow you might need to be able to trigger analysis from a remote client, execute this analysis directly on the client itself or on the Squore Server itself. Or simply use the web interface to create projects and run analyses.

You will find all details about these scenarios in the documentation below.

Creating Projects From the Web Interface

SIM deploy server only
Figure 1. Squore in a configuration where projects are created via the web interface

In this simple scenario, you only use the web UI to create projects. Squore Server is installed on a machine, and you connect to it using a web browser. Analyses are carried out on the server, which must have access to the source files you are telling it to analyse.

Creating Projects From a Client Machine

Delegate Creation Method

SIM deploy clients delegate
Figure 2. Squore in a configuration where projects creations are requested by a client but delegated to Squore server

In this scenario, Squore Server is installed on one machine (the server), and Squore Agent is installed on another machine (the client). The client remote-controls the server and instructs it to analyse source files.

The client provides the path to the sources as the server sees it. The sources need to be visible or accessible from the server only, and the code is fully analysed on the server.

Process Creation Method

SIM deploy clients send tools data
Figure 3. Squore in a configuration where projects creations are run locally on a client and results are sent to a server

In this scenario the setup is the same as in the previous method, but the client runs the full analysis and only send the results of the analysis to the server when it is done.

This is useful when the server does not have access to the source code, or when parts of the data analysed is only available on the client machine.

Using Squore in Continuous Integration

In a Continuous Integration environment, you are free to choose from either the client or server usage scenario described in Creating Projects From a Client Machine section. This will depend on which machine carried out the source code extraction or computed the data you feed to the Data Providers.

You can learn more about how to configure Squore in a Continuous Integration environment by referring to the Command Line Guide manual.