Disk Usage

Project Size and Growth

The following chart shows that the Squore database growth is linear with regard to the project volume, measured in terms of the number of artefacts (i.e. the sum of the number of files, classes, functions defined in the project).

The chart is an analysis of the evolution of the database size for a sample project consisting of:

  • 250 files

  • 2200 functions

  • 40000 lines of code

The following chart shows a project’s evolution during three versions.

For the purpose of this benchmark, a fixed number of files were modified in the project, and the database size evolution was measured after the new version was created.

This benchmark shows that the database size evolution is consistent with the project’s evolution through time: each time a certain amount of project artefacts are modified, an equivalent amount of new database entries are needed.

For a medium-sized project (10 000 artefacts):

  • 500 files

  • 20 artefacts per files (class and functions)

  • 50 base measures per artefacts

The database space required for the first project analysis is about 60 MB.

After 50 versions the required space is evaluated to 1.1 GB.