Using the Project Statistic Feature (Professional Edition only)
In this section, you will learn how to use the Project Statistics Feature within the OCLWorkshop2009Demo project.
This feature offers a textual and graphical overview of projects. It calculates entities such as number of libraries, definitions per library, lines of code and so on.
Using the Project Statistic Feature for projects
- Make sure that all libraries are parsed. For this step you can use Project > Clean... and select the appropriate projects.

- If the console is not visible, select the menu item Window > Show View > Console.
- In the Package Explorer view, select one or more projects.
- Right click on the selsected project/one of the selected projects and select the menu item Project Statistics.

- The project statistics are now shown first via graph and table in the editor...

- ... and second via text in the console.

Using the Project Statistic Feature for libraries
- Make sure that all libraries are parsed. For this step you can use Project > Clean... and select the appropriate projects.

- If the console is not visible, select the menu item Window > Show View > Console.
- Expand the folder
ocl to see the OCL libraries contained in the package.

- In the Package Explorer view, select one or more libraries.
- Right click on the selsected library/one of the selected libraries and select the menu item Project Statistics.

- The project statistics are now shown first via graph and table in the editor...

- ... and second via text in the console.

Disable/Enable graph
If wanted, the editor with graph and table can be disabled. To do so click on the button shown in the image below. To enable the editor once again, re-click this button.
