MoDisco Tool - Visual Basic 6 Discovery Tool

MoDisco Logo

Keywords

Visual Basic 6 (VB6), Visual Basic source code


Overview

This generic tool is about discovering the structural part of the Visual Basic source code. It identifies and stores into a model (which conforms to the provided Visual Basic metamodel) the headers, constants, variables, functions and subs contained in a Visual Basic 6 source file.

This tool is developed and provided by the Obeo company.

The overall approach is summarized in the following figure:



"Visual Basic 6" Tool Overview

The current version of the discoverer is composed of:

  • a metamodel describing the Visual Basic language conceptual elements and their interdependencies
  • a corresponding grammar (generated using TCS) whose elements recognition leads to the creation of the model elements
  • a Java archive (".jar" file generated from this grammar) which is used as an accessor to the data

The following schema provides an example of a Visual Basic reverse-engineering process:



Visual Basic 6 Discovery Process Example


Related Use Cases

Choose a use case

Visual Basic
Code Analysis

This complete use case, which covers both the "Model Discovery" and "Model Understanding" phases, is about discovering Visual Basic (VB) models from VB source code, building UML models (i.e. in our case class diagrams) from these models and processing the VB models in order to produce some metrics (and their corresponding visualizations) on them.


Documentation

None at the current time.


Download

Choose a download

Visual Basic metamodel expressed in the Ecore format. It is also available here in the KM3 textual format.
First complete version of the Visual Basic Discovery Tool plug-in (with all the required resources including the metamodel). All the sources contained in the archive are also available from the MoDisco CVS

General Information