Understand’s Python API¶
Welcome to the Python API of Understand. This powerful interface allows you to conveniently access Understand databases using a class-oriented approach. Explore these concise examples to learn how to utilize the API effectively. Additionally, we invite you to delve into our extensive open-source repository, where you can collaborate, discover, and exchange various scripts and plugins.
With the Understand Python API, you can effortlessly create scripts to retrieve data from Understand or develop GUI plugins that seamlessly interact with the following features:
Module Contents¶
Functions¶
|
Return a checksum of the text |
Deregister the current Understand license code. |
|
|
Set a regcode string or a specific path to an understand license. |
|
Open a database from the passed in filename. |
|
Set an Understand license code. |
|
Return the current version (Major and Minor) and the build number for this module separated by '.' |
Classes¶
|
An Understand architecture |
|
An Understand annotation |
Automatic architecture plugin architecture object |
|
|
A control flow graph |
|
A node in a |
|
Cache object |
|
CodeCheck plugin check object |
CodeCheck plugin violation object |
|
|
A configuration |
|
An Understand database |
|
Graph plugin edge object |
|
An Understand entity |
|
Graph plugin graph object |
|
IReport plugin report object |
An inspection |
|
|
|
|
Graph plugin legend object |
|
A token recieved from a |
|
A lexical stream generated for a file |
Accessors for available metrics and metric descriptions. |
|
|
Metric plugin object |
|
Graph plugin node object |
|
All plugins options object |
|
An Understand reference. |
An error message from Understand |
|
A violation |
|
CodeCheck plugin violation note object |