Book a Demo

Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

Prev Next

Code Miner Framework

The Code Miner system provides fast and comprehensive access to the information in existing source code.  By parsing all source code and storing the resulting Abstract Syntax Tree in a read-optimized database, the system provides complete access to all aspects of the original source code, in a machine understandable format.

The core goal behind the system is to provide access to the data hidden within source code in a timely and effective manner.  Great pains have been taken to ensure maximum performance, while providing the simplest interfaces possible.  As a result the system can be used to analyze program structure, calculate metrics, trace relationships and even perform refactoring.

Information from Code Miner databases is retrieved using queries written in mFQL, Code Miner's own language. The language itself is reasonably simple, providing a small number of commands.  Simple as the language is, it supports queries of arbitrary size and complexity.  The design provides extreme performance for all queries, great and small.

This feature is available from Enterprise Architect Release 14.1.

Code Miner in Sparx Systems Enterprise Architect.

The Intelli-sense features of Enterprise Architect's code editors and it's search tools can make use of the information mined from these databases.

Code Miner in Sparx Systems Enterprise Architect.

The currently active Analyzer Script, and also the query parameters, are indicated across the bottom of the 'Code Miner' page of the search tool.