LGTM Enterprise 1.24.1

Project lists

All authenticated users can curate personalized project lists. These custom project lists are groups of projects that you can run queries on in the console query. For more information refer to Using the query console.

Click Project lists in the menu bar to display the page.

A list called My projects is created automatically for each authenticated user. This is the default list that is displayed when viewing this page.


Project lists page

This page may look different to you depending on:

  • Your authorization level for individual projects,
  • Whether any of them are configured for sparse analysis or upload analysis,
  • The setup implemented by your LGTM administrator. In particular, you may not be allowed to add some, or any, projects. For further details, see Adding projects.

The page gives you an immediate overview of what's happening on your favorite projects—showing the current status and latest trends for any projects you contribute to or follow.

Customizing the content

Initially, the project summary will be empty—unless you contribute to an LGTM-analyzed project using the same account.

As mentioned earlier in this topic, the look and feel of this page depends on different factors, one of them being whether users are allowed to add projects to LGTM Enterprise.

Your LGTM administrator is responsible for defining the supported repository hosts and projects for your company.

You can customize this page in the following ways:

  1. By adding a project.
    1. Go to your Project lists page.
    2. Ensure that the My projects (Default) project list is selected on the drop-down list on the top-right corner of the page.
    3. Enter the URL for your repository.
    4. Click Follow see in Overview screenshot above).

      You'll see the following message if you attempt to add a project on a repository host for which you can't add projects:"Unfortunately you are not authorized to add projects from <repository host system>. Please contact an LGTM administrator."

    For more details, see Adding projects to LGTM.

  2. By following a project:
    1. Search LGTM for projects you want to monitor.
    2. Display the project page.
    3. Click + Follow to follow the project.

      To unfollow a project, click to the right of the Lines of code metric for that project (see in Overview screenshot above). The project is immediately removed from your followed projects and an Undo button replaces the , allowing you to follow that project again.

    For more details, see Following projects.

  3. By creating custom project lists:
    1. Click (see in Overview screenshot above)
    2. Enter a name for the project list.
    3. Add projects to the project list.

    For more details, see Managing project lists.

  4. By enabling automated code review:

    You'll only be able to enable automated code review for a repository if you own the repository, or if you have administrator permissions for the repository.

    1. Click Enable PR code reviews (see in Overview screenshot above). This opens the Integrations tab for the project.
    2. Click Activate automated code review in the Automated code review section. If the button is disabled, it's either because you are not a repository owner/administrator, or because you aren't logged in to LGTM with the account connected to the repository host.

    For more details, see Managing automated code review.

The Project lists page automatically shows any Git projects that you contribute to using the email address for your LGTM account or links to your external profile(s). Find out how to link external accounts, or add alternate email addresses, in Managing your account.

About the data

The table summarizes the recent changes and current metrics for your projects (followed or contributed to):

  • Alert sparkline or chart—shows how commits in the last 30 days changed the number of alerts (What's an alert?)
  • Lines sparkline or chart—shows how commits in the last 30 days changed the size of the files analyzed (What does 'lines' mean?)
  • Metrics—for the most recently analyzed commit: number of code alerts identified, number of developers who've contributed to the repository so far, and lines of code analyzed

Click any row to display the project page—showing the alerts, as well as links to more detailed project information (see Exploring projects).

About the sparklines

The color and intensity of the sparklines show the type and level of activity, for example:

Project lists page

Over the last 30 days:

  • apache/chukwa—no activity so both sparklines are gray and flat
  • apache/kafka—some activity resulting in an increase in the number of lines of code analyzed (but no change in the number of alerts)
  • facebook/react-native—strong activity resulting in an increase in alerts (red sparkline) and an increase in the number of lines of code analyzed
  • jquery/jquery—some activity resulting in no change in the number of alerts and a decrease in the numbers of lines of code analyzed
  • linkedin/ambry—some activity resulting in a reduction in alerts (green sparkline) and an increase in the number of lines of code analyzed
  • vim/vim—some activity resulting in no change in the number of alerts (this is likely to be because automated code review is enabled for this project) and an increase in the number of lines of code analyzed

Hover over any sparkline to display a tooltip with more detailed information.