Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Purpose

The purpose of this document is to explain how to use AIP Console 1.9.0 to on-board applications and process them along the source code version deliveries efficiently with minimum manual actions.

The complete workflow is based on below mentioned steps:

  1. Define global settings
  2. Register the application and analyze a version
  3. Validate the analysis results
Info
The different actions presented here have been done with AIP Console 1.9.0.
Before you get started, you need to define a few global settings in AIP Console.

Define global settings

If you intend to manage multiple applications with common settings, you may define parameters at a global level. So, they remain applicable for all applications.

Info
You need to have administrator permissions to access and define settings in Admin Center.

To define global settings

  1. Go to Admin Center.

Image Added

       2. Go to the SETTINGS page.

Image Added

Anchor
_Toc5377878
_Toc5377878
Extension strategy

Most of the AIP analyzers are now packaged and delivered as extensions. Before each analysis Console checks for updated extensions automatically.
Image Added
You may set extension version range that you want to use for all applications. Before analysis, AIP Console will verify and update the extension accordingly.

Info
You may change the default settings by enabling force extension installation or by enabling extension white list.

For more details refer Settings Extensions Strategy.

Anchor
_Toc4778640
_Toc4778640
Anchor
_Toc5377879
_Toc5377879
Link validation

Analyzers draw links for static calls and dynamic calls. You need to review the dynamic calls links to validate the correct ones and ignore the incorrect links.

To Validate Links

  1. Go to the Default Dynamic Links Rules section.
  2. Click ADD, to add a "DL Filtering rules" file.

Image Added

Info
Once set, this filter is automatically implemented each time an analysis is performed for all the applications. You can also specify the DL Filtering rules files that needs to be used and apply specific DLM.XML files for a specific application.


Register the application

To register an application

  1. In the AIP Console main page, click Add new app button.
  2. Enter your application name and click ADD. The application registration process is initiated.

Image Added

Image Added
Console notifies when the application registration is complete.
Image Added


Anchor
_Toc5377882
_Toc5377882
Declare the technologies

In the Inventory section, you can define the technologies programming languages and frameworks that are used in the application.

  1. Click ADD button.

Image Added

       2. Select the appropriate technologies for your application from the list of programming languages and frameworks and tick the cases corresponding to the files extensions that are used.

       3. Click SUBMIT to validate the section.

Image Added

Info
This will allow you to verify if the source code versions, you received, contain only the expected technologies.

Analyze the application

Info

To analyze an application in AIP Console,  get the source code as a ZIP file from your application team. 

To analyze the source code

  1. Go to Versions section.
  2. Drag-and-drop the ZIP file into the section.


Image Added

      3. Rename the new version, if you want, and click ADD.

Image Added

AIP Console uploads and processes the source code ZIP file, and you can see the below icon changing during the process.
Image Added
While processing the source code, AIP Console:

  • Discovers the technologies and associated languages and frameworks
  • Identifies, downloads, and installs the required extensions
  • Creates corresponding packages 
  • Executes the analysis and snapshot computation automatically

Image Added

A notification appears to confirm that the analysis is complete and successful.
Image Added

Anchor
_Toc5377884
_Toc5377884
Validate the analysis results

After the analysis is complete, you can check and validate it. It is time now to see what happened and to validate the scan. AIP Console provides various ways to validate the results.

Anchor
_Toc5377885
_Toc5377885
Overview of Analysis

Details > Overview section provides you an overview of the application after it is processed by AIP Console. 

Image Added

Overview of Analysis shows:

  • The number of versions of source code that are delivered and processed
  • The technologies that are detected from the source code automatically apart from the ones that you declared in the Inventory page
  • The number of Lines of Code and Function Points that are counted, if you have activated the software architecture.

Anchor
_Toc5377886
_Toc5377886
Analysis Reports

Details > OVERVIEW > Reports provides you the Excel reports produced by specific extensions that were installed.

Image Added
For example, the "Unanalyzed Code" report shows you the percentage of files that are delivered but not processed. If you want to get the details of these files, you can download the report.

Info
You can add new extensions that provides you useful information on the analysis cycle.