dextool 1.1.0

C/C++ tooling for testing and visualisation


To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:


This package provides sub packages which can be used individually:

dextool:dsrcgen - The semantic code generation framework for Dlang

dextool:clang - Deimos bindings for libclang

dextool:libclang - Deimos bindings for libclang

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.

Authors:
  • Joakim Brännström
Sub packages:
dextool:dsrcgen, dextool:clang, dextool:libclang, dextool:unit-threaded, dextool:cpptooling
Dependencies:
dextool:cpptooling
System dependencies:
libclang.so.1 3.6+
Versions:
5.0.0 2022-Dec-09
4.3.0 2022-Jun-03
4.2.0 2022-Mar-24
4.1.0 2022-Feb-08
4.0.0 2021-Sep-08
Show all 51 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 0 downloads this month

  • 401 downloads total

Score:
2.2
Short URL:
dextool.dub.pm