Project Metrics uses .mtx files to store the metrics. Each .mtx file represents one analysis run (of one project or solution).
The Databases command in the File menu allows you to select a search path for .mtx files, to edit the database files, and to delete old .mtx files.
Project Metrics uses search paths to look for .mtx databases. You can define as many search paths as you want. As an example, you can use a local path to store metrics for your private projects, and a network path to your team's shared repository.
By adjusting the search paths you can temporarily drop databases from Project Metrics without deleting the files.
You can edit the following data within a .mtx file.
yyyy-mm-dd).
This date is used to sort different versions of the same project. It is also displayed in many locations as the project date and used for the time axis in certain charts.
By default, this field contains the date of the newest file analyzed. You can adjust it to any valid date. Adjustment is necessary if the newest file date is newer than what the code really is. Say you analyzed an old program but the files are dated today due to copying or source code control.
This field is the same as the DATE metric.
The DATEF metric, on the other hand, always shows the original disk file dates.
The .mtx database is a proprietary file format optimized for metrics. It does not require the installation of any database drivers. The .mtx files store the following information about your code. It's the same information you see in the viewer main window.
You can freely exchange .mtx files with other people. They do not contain any sensitive information such as constant values or source code.
Project Metrics Viewer is backwards compatible with older MTX files. Newer MTX files may not be compatible with old viewers, however.
| MTX version | Saved with | Viewable with |
|---|---|---|
| 1.1 | Project Analyzer v7.x | Project Metrics Viewer v1.x and later |
| 2.0 | Project Analyzer v8.x | Project Metrics Viewer v2.x |
You can verify the MTX file version in Project Metrics Viewer v2.x via the File|Databases command. Press to view the file version and other details.
You can convert a .mtx file into a .xml file for importing into XML aware applications. See XML export
©Aivosto Oy - Project Analyzer Help Contents