Read Code from a GIT / GitHub / Azure-Git Repository

Visual Expert can connect to your ‘GIT’ source control, to fetch and analyze your code.

Just follow the steps below:

  1. Create a new project by opening the ‘Visual Expert Project Wizard’.

    Create a new project in Visual Expert

  2. While doing so, select ‘Azure-Git or GitHub’ as source code location.

    Select Azure-Git or GitHub for source code location

  3. Fill in the ‘Git Server URL’ field.
    Select the required ‘Type of Git Server’ - Azure-Git or GitHub.
    For ‘Authentication’, you can select either of the three approaches explained below:
    • Git Authentication using Password: This requires to enter UserName and Password.
    • Git Authentication using Personal Token: You first need to generate a personal token on the Git server first and then enter it with your username.
    • Windows Authentication: If you are using your Windows credentials to connect with the Git server, you can also use them to connect from Visual Expert.

    GIT Server URL Authentication

  4. Once you have entered your credentials, click the 'Connect To Git' button. On successful connection, Git Repositories and Git Repository Branches will be loaded.

    Connect to GIT and load team projects

  5. Then, select your code within the Git server (Files or folders containing Oracle PL/SQL or SQL Server T-SQL code, PowerBuilder targets, etc.)

    Select code within GIT source control

  6. Visual Expert will automatically reconnect to the Git server to retrieve and analyze your code. If you schedule your code analysis (highly recommended), the process of regularly refreshing your code analysis will be fully automated.

Frequently Asked Questions

  1. Can I analyze databases hosted in Azure?
    Yes. Visual Expert allows you to connect to your Azure server, select a database, and perform a code analysis.

  2. Can I install the Visual Expert software in Azure?
    No, it is not possible to install Visual Expert on your Azure server.

  3. Can I host the VE Repository in Azure?
    No, it is not possible to create a VE Repository in your Azure server.

  4. Are there specific procedures/manipulations to connect to the Azure server from Visual Expert ?
    Yes, you have to comply with the prerequisites listed below:
    • The global IP address of the system where Visual Expert is installed must be allowed in the Azure server settings.
    • The user connecting to the server needs a login string, a user name and a password.
    • The user must have the rights to read and extract the content of the database.

  5. Are there any limitations related to the use of Visual Expert with an Azure server?
    At this time, code performance analysis is not available for databases hosted in Azure.

 

More from Visual Expert

Visual Expert 2020, PowerBuilder, Oracle, SQL Server