Application Characteristics


Overview

Get the characteristics of an application.

URI

GET /rest/applications/{name}

Path parameters

name (string)

This parameter identifies the analyzed application. The application name must be properly encoded if it is required. Character back-quote is not allowed.

Query parameters

select (string)

Optional. If select=object-types is applied, then the statistics details of object types are reported.

Responses

application/json

The response details the object characteristics.

Example:

{
  "name": "Shopizer",
  "nbCodeLines": 2976,
  "nbObjects": 876,
  "objectTypes": [
    {
      "name": "Db2 Table",
      "nbCodeLines": 0,
      "nbObjects": 40,
      "technology": "SQL"
    },
    {
      "name": "Db2 View",
      "nbCodeLines": 78,
      "nbObjects": 39,
      "technology": "ANSI SQL"
    }
  ]
}

JSON representation

PropertyTypeDescription
namestringThe application name.
nbCodeLinesintegerThe total number of lines of code.
nbObjectsintegerThe total number of objects.
objectTypes[].namestringThe object type name.
objectTypes[].nbCodeLinesintegerThe number of lines of code.
objectTypes[].nbObjectsintegerThe number of objects.
objectTypes[].technologystringThe parent technology.