Using the Scripting Object Extensions, the returned scripting objects can be used, for example, to trigger a code analysis or to access the conventions or metrics results.
This object provides general access to code analysis of an
object.
Property |
Returned Object / Value |
Description |
---|---|---|
|
|
The |
|
|
The |
|
|
The |
|
|
The |
Functions |
Returned Object / Value |
Description |
---|---|---|
|
None |
Removes the dependency model from memory. Another code analysis run can be started. |
|
None |
Starts a full code analysis run. The dependency model is built and reused for example by metrics API. |
|
None |
Stores the dependency model into an XML file. |
|
None |
Stores the RDF model in TTL format to disk. TTL (Turtle Language) is a standard format of https://www.w3.org to store RDF models. |
Functions |
Returned Object / Value |
Description |
---|---|---|
|
|
Gets the available metrics query names. |
|
|
Builds the full metrics table of the available metrics queries.Refer to Metrics Table Result API. |
|
|
Builds the metrics table with specified metrics queries. Refer to Metrics Table Result API. |
Properties |
Returned Object / Value |
Description |
---|---|---|
|
BOOL |
Gets the result outcome. |
|
STRING |
Gets the readable outcome message. |
|
STRING |
Gets the project path where this results are based on. |
|
STRING |
Gets the start time this result table was built. |
|
STRING |
Gets the finished time this results table was built. |
|
STRING |
Gets the code analyzer version used to build this result table. |
|
STRING |
Gets the list of columns in this result table. |
|
STRING |
Gets the table (rows with columns: [Array] of [Array]) with the result values. |
Functions |
Returned Object / Value |
Description |
---|---|---|
|
None |
Stores the metrics table results as an XML file to disk. |
|
None |
Stores the metrics table results as a CSV file to disk. |
|
None |
Stores the metrics table results as an HTML to disk. Provides to specify an XSLT file for XML to HTML transformation, if required. |
Functions |
Returned Object / Value |
Description |
---|---|---|
|
STRING[] with available convention names |
Gets the available convention query names. |
|
|
Builds the full conventions table of the available convention queries. Refer to Conventions Table Result API. |
|
|
Builds the conventions table with specified convention queries. Refer to Conventions Table Result API. |
Properties |
Returned Object / Value |
Description |
---|---|---|
|
BOOL |
Gets the result outcome. |
|
STRING |
Gets the readable outcome message. |
|
STRING |
Gets the project path where this results are based on. |
|
STRING |
Gets the start time this result table was built. |
|
STRING |
Gets the finished time this results table was built. |
|
STRING |
Gets the code analyzer version used to build this result table. |
|
STRING |
Gets the list of columns in this result table. |
|
STRING |
Gets the table (rows with columns: [Array] of [Array]) with the result values. |
Functions |
Returned Object / Value |
Description |
---|---|---|
|
None |
Stores the conventions table results as an XML file to disk. |
|
None |
Stores the conventions table results as a CSV file to disk. |
|
None |
Stores the conventions table results as an HTML to disk. Provides to specify an XSLT file for XML to HTML transformation, if required. |
Property |
Returned Object / Value |
Description |
---|---|---|
|
Enumeration |
Configures the RDF Triple Storage backend type to be used to handle code analysis data. |
|
INT |
Configures the threshold for auto-selection of used storage backend type (In-Memory or Out-Proc). |
|
INT |
Configures the number of triples per upload request. |
|
Long |
Configures the query execution timeout. |
|
Long |
Configures the update execution timeout for a query. |
|
STRING |
Configures the server URI for http-based storage backends. |
|
STRING |
Configures the query endpoint for http-based storage backends (part of complete query endpoint url). |
|
STRING |
Configures the update endpoint for http-based storage backends (part of complete update endpoint url). |
|
STRING |
Configures the dataset name for http-based storage backends (part of the endpoint url). |
|
STRING |
Configures the data endpoint name for http based storage backends (part of the endpoint url). |
|
STRING |
Configures the SPARQL endpoint name for http based storage backends (part of the endpoint url). |
|
STRING |
Configures the graph name for http based storage backends (part of the endpoint url). |
|
STRING |
Read-only. Gets access to the complete SPARQL endpoint url. |
|
STRING |
Read-only. Gets access to the complete data endpoint url. |
|
STRING |
Read-only. Gets access to the complete query endpoint url. |
|
STRING |
Read-only. Gets access to the complete update endpoint url. |
Functions |
Returned Object / Value |
Description |
---|---|---|
|
None |
Resets the code analysis configuration. |
Property |
Returned Object / Value |
Description |
---|---|---|
|
|
The cloud configuration property provides access to cloud configuration-specific scripting API. |
Functions |
Returned Object / Value |
Description |
---|---|---|
|
None |
Starts a snapshot upload of the RDF model to the configured RDF Triple Storage. |
Property |
Returned Object / Value |
Description |
---|---|---|
|
Enumeration |
Configures the http backend type (for example, generic, Apache Fuseki, Stardog, and so on). This configuration value is only considered if Triple Storage backend type is set to "Http". |
|
Integer |
Configures the number of triples per upload request. |
|
Long |
Configures the update execution timeout for a query. |
|
String |
Configures the server URI for http based storage backends. |
|
String |
Configures the query endpoint for http based storage backends (part of complete query endpoint URI). |
|
String |
Configures the update endpoint for http based storage backends (part of complete update endpoint URI). |
|
String |
Configures the dataset name for http based storage backends (part of the endpoint URI). |
|
String |
Configures the data endpoint name for http based storage backends (part of the endpoint URI) |
|
String |
Configures the SPARQL endpoint name for http based storage backends (part of the endpoint URI). |
|
String |
Read-only. Gets access to the complete SPARQL endpoint URI. |
|
String |
Read-Only. Gets access to the complete data endpoint URI. |
|
String |
Read-Only. Gets access to the complete query endpoint URI. |
|
String |
Read-Only. Gets access to the complete update endpoint URI. |
Functions |
Returned Object / Value |
Description |
---|---|---|
|
None |
Resets the code analysis cloud configuration. |