modec
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| modec [2011/12/05 15:30] – medini | modec [2025/01/15 21:40] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== MODEC ====== | ====== MODEC ====== | ||
| + | MoDeC is an instrumentor, | ||
| - | MoDeC: an instrumentor, | + | ===== Required Projects ===== |
| - | execution traces of Java programs. | + | |
| + | To instrument Java programs, extract their execution traces, model these traces as sequence diagrams, and identify occurrences of behavioural and creational design motifs in these traces, you must download and install the following projects: | ||
| - | ===== MoDeC Architecture/ | + | - '' |
| - | -------------------------------------------- | + | - '' |
| - | Projects: | + | - '' |
| + | - '' | ||
| - | - "MoDeC Bytecode Instrumentation" | + | ===== MoDeC Usage ===== |
| - | Instrumentation Tests" | + | |
| - | bytecodes of the Java programs of which a user wants to collect | + | |
| - | execution traces (called target Java program). | + | |
| - | - "MoDeC Invoker" | + | Here are the three main steps to gather execution traces |
| - | Java program (i.e., to run the instrumented bytecodes | + | |
| - | Java program. | + | |
| - | - "MoDeC Metamodel" | + | * Instrument the bytecode of the target Java program, using '' |
| - | produced by the "MoDeC Bytecode Instrumentation" | + | * The path to the bytecodes of the classes of the target Java program; |
| - | parser | + | * The path to the folder where to store the instrumented bytecodes; |
| - | given execution trace. | + | * The path to the libraries required by the target program (if any); |
| + | * The name of the file of the execution traces; | ||
| + | * The fully qualified name of the "main" | ||
| + | * A list of paths to the Java class files to instrument, relative to the first path above. | ||
| - | - "MoDeC Solver" | + | * See for a complete example the file '' |
| - | problems to identify occurrences | + | |
| - | design motifs in models | + | |
| - | + | * Execute the instrumented target program, using '' | |
| - | + | ||
| - | ===== MoDeC Basic Uses ===== | + | |
| - | + | ||
| - | ---------------- | + | |
| - | + | ||
| - | Steps to gather execution traces of some target program. | + | |
| - | + | ||
| - | (1) Instrument the bytecode of the target program, using | + | |
| - | " | + | |
| - | " | + | |
| - | " | + | |
| - | - The path to the byecode classes of the target program. | + | |
| - | - The path to the folder where to store the instrumented bytecodes. | + | |
| - | - The path to the libraries required by the target program (if any). | + | |
| - | - The name of the file of the execution traces. | + | |
| - | - The fully qualified name of the " | + | |
| - | - A list of paths to the Java class files to instrument, relative to the first path above. | + | |
| - | See for a complete example "MoDeC Bytecode Instrumentation | + | |
| - | Tests/Input Files/ | + | |
| - | + | ||
| - | The list of paths to the Java class files to instrument can be | + | |
| - | generated using | + | |
| - | " | + | |
| - | + | ||
| - | (2) Execute the instrumented target program, using | + | |
| - | "modec.tool.Invoker.invokeMainClass(String)", see examples in | + | |
| - | "modec.tool.Invoker.main(String[])". Running the " | + | |
| - | launch the instrumented target program and open a new window. The | + | |
| - | new window shows only one button and a text field, used to insert | + | |
| - | marks (also called tags) at any user-chosen appropriate moment in | + | |
| - | the collected execution traces, for example before and after | + | |
| - | executing some particular feature. | + | |
modec.1323099023.txt.gz · Last modified: (external edit)
