Description

C/C++ tooling for testing and visualisation

Package Information

Version1.1.0 (2017-Mar-20)
Repository https://github.com/joakim-brannstrom/dextool
LicenseMPL-2
CopyrightCopyright © 2014-2016, Joakim Brännström
AuthorsJoakim Brännström
Registered byJoakim Brännström
Sub packages
dextool:dsrcgen
The semantic code generation framework for Dlang
dextool:clang
Deimos bindings for libclang
dextool:libclang
Deimos bindings for libclang
dextool:unit-threaded
dextool:cpptooling
Dependencies

dextool:cpptooling

System dependencieslibclang.so.1 3.6+

Installation

To use this package, put the following dependency into your project's dependencies section:

dub.json
dub.sdl

Readme

dextool Build Status codecov

dextool is a suite of tools for analyzing and code generation of C/C++ source code.

Status

The plugin "C Test Double" is with release v1.0.0 guaranteed to be stable regarding how the generated code behaves.

The other plugins are to be regarded as beta quality.

Overview

The basic plugins for deXtool are:

  • C TestDouble. Analyze C code to generate an implementation. Suitable for the use cases "Generate a test double" and "Generate a test harness".
  • C++ TestDouble. Analyze C++ code to generate an implementation. Suitable for the use case "Generate a test double". It is capable of handling free functions in namespaces (akin to C TestDouble), virtual and pure classes and inheritance hierarchies.
  • UML. Analyze C/C++ code to generate PlantUML diagrams. Component and classes.
  • GraphML. Analyze C/C++ code to generate a GraphML representation. Call chains, type usage, classes as groups of methods and members.

Dependencies

  • libclang 3.7+. deXtool has been tested with versions [3.7, 3.8].

Building and installing

See INSTALL.md

Credit

Jacob Carlborg for his excellent DStep. It was used as a huge inspiration for this code base. Without DStep deXTool wouldn't exist.

Available versions

1.1.0 1.0.0 0.8.4 0.8.3 0.8.2 0.8.1 0.8.0 0.7.0 0.6.0 0.5.1 0.5.0 0.4.1 0.4.0 0.3.1 0.3.0 0.2.1 0.2.0 0.1.1 0.1.0 ~master ~refactor-remove-container-class-lookup ~design-new-build-system