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 Code Miner NBNF Query Language (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.
Enterprise Architect's Code Analyzer, its search tools and the Intelli-sense features of its code editors all make use of the information mined from these databases.
The currently active Analyzer Script, and also the query parameters, are indicated across the bottom of the 'Code Miner' page of the search tool.