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.
This page may look different to you depending on:
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.
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:
By adding a project.
- Go to your Project lists page.
- Ensure that the
My projects (Default)project list is selected on the drop-down list on the top-right corner of the page.
- Enter the URL for your repository.
- 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.
By following a project:
- Search LGTM for projects you want to monitor.
- Display the project page.
- 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.
By creating custom project lists:
- Click (see in Overview screenshot above)
- Enter a name for the project list.
- Add projects to the project list.
For more details, see Managing project lists.
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.
- Click Enable PR code reviews (see in Overview screenshot above). This opens the Integrations tab for the project.
- 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
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).
The color and intensity of the sparklines show the type and level of activity, for example:
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.