Prerequisite Conditions
The CAST Highlight code analysis functionality requires:
• Entering the client number in HOPEX ITPM
• Identifying the functional administrator as the first CAST Highlight user
• Declaring other users in CAST Highlight
• Establishing the connection between HOPEX and CAST Highlight
Entering the CAST Highlight customer ID
The administrator must specify the CAST Highlight Customer ID in HOPEX. This number is provided by the sales administration.
To specify the CAST Highlight Customer number in HOPEX ITPM:
1. Connect to HOPEX ITPM as HOPEX Administrator.
2. Click Environment options.
The options window appears.
3. In the left pane of the window, expand the Data Exchange folder then Import/Export Synchronization.
4. Click CAST Highlight.
5. In the right pane of the dialog box enter the number of the CAST Highlight Customer ID.
6. Click Apply.
7. Click OK to close the window.
Identifying yourself as the first user (Functional Administrator)
As the first CAST Highlight user, the EA functional administrator must register with the CAST Highlight portal.
Once registered, the functional administrator must enter his/her CAST Highlight user number in HOPEX, which was allocated by CAST Highlight during his/her registration.
To enter your CAST Highlight user number in HOPEX:
1. In the HOPEX desktop, click Administration > CAST Highlight > Manage Cast Highlight User.
2. Click the drop-down list, then Me to display your information relating to CAST Highlight.
3. In the Action column relating to your name, click Properties.
The properties window of the user appears.
4. In the CAST Highlight ID field, enter your user number.
The functional administrator can then define other CAST Highlight users in HOPEX.
Declaring other users in CAST Highlight
Once the functional administrator is registered in CAST Highlight and has established a connection between HOPEX and CAST Highlight, he/she can declare other CAST Highlight users in HOPEX. The persons concerned receive an email from CAST Highlight asking them to register in the account created in the CAST Highlight portal.
To add a CAST Highlight user:
1. In the HOPEX desktop, click Administration > CAST Highlight > Manage Cast Highlight User.
The list of users appears.
2. Select the user in question and click Create user in CAST.
The user receives an email from CAST Highlight to confirm the registration, and the user connexion status switches to “Missing token”.
Establishing the connection between HOPEX and CAST Highlight
Before the first use of the code analysis functionality, each user, previously declared as a CAST Highlight user, must establish a connection between HOPEX and CAST Highlight.
To establish the connection between HOPEX and CAST Highlight:
1. In the HOPEX desktop, click Administration > CAST Highlight > Manage Cast Highlight User.
2. Click the drop-down list, then Me to display your information relating to CAST Highlight.
3. Select your name and click the
More 
>
Generate Token button.
The window for creating a token appears.
4. Specify:
• your CAST Highlight user email
• your password entered in CAST Highlight
5. Click OK.
Launching a Code Analysis Campaign
The code analysis campaign is on the initiative of the application portfolio manager. It relates to the portfolios whose applications are of the "Specific Development" type.

The "Specific Development" application type is defined in the application page, in the
Identification section of the
Characteristics page.
To launch a code analysis campaign on an application portfolio:
1. Display the relevant portfolio properties.
2. Click the CAST Highlight Campaigns page.
3. Portfolios containing specially developed applications
4. Display "All Application Portfolios Developed Specifically".
5. Select the application portfolio concerned and click Scan Application Source Code.
The campaign creation window appears.
6. Specify:
• The campaign name
• The closing date, which determines the date on which the scan results are automatically transferred in HOPEX
• A message to the application managers
7. Click OK.
Following this creation, CAST Highlight sends a notification to the managers concerned inviting them to launch an analysis of their application codes.
Launching the Code Analysis
Following the notification received, each application manager connects to CAST Highlight to:
• download the local agent if this has not already been done

The local agent is used to run code analyses and to create the results file to be uploaded to the CAST Highlight portal.
• launch a code analysis on the applications concerned.
The analysis results are saved in a file. The application manager can transfer them to the CAST Highlight portal.
To report the results of the analysis in HOPEX ITPM and update the analysis values on an application:
1. Display the properties of the application in question.
2. Click the drop-down list then Assessment > CAST Highlight Metrics.
3. Click Update Metrics from CAST Highlight.