Project repositories are the primary source of data for LGTM Enterprise. The detailed information generated by analyzing each repository is shown on the project page.
The badge section underneath the project name contains:
- Language badges—these show the languages that LGTM identified in the project, and currently analyzes. Click on a language badge to open the Build logs page, which displays the status of the most recent LGTM analysis for each language where it has been attempted. For more information on the information displayed in logs, refer to Using the log viewer.
- A project badge—it displays the overall code quality grade for the project. For more information on project grading, see Project scoring and grading.
With the mouse, hover over the overall grade to show the grade for each language:
- If you click on the project grade for a specific language, LGTM opens the project comparison page for that project and language.
- There is no grade for C# because project scoring and grading isn't available for this language.
- Also, there won't be a language badge and language quality code grade for languages that LGTM didn't detect in the project. If you know that code was written in a supported language that LGTM failed to detect, you can try adding that language to the project.
Click the tabs to find out more about the project:
- Alerts—Review the alerts found in the latest revision
- Logs—View the build logs for the most recent analysis of the project
- Files—Find alerts for specific files and directories in your project
- History—View the history of the project
- Contributors—See who the main contributors are
- Compare—Compare this project with similar projects
- Integrations—On this tab, you can:
- Configure automated code review of pull requests (repository owners/admins). For a list of repository host systems for which you can set up automated code review, see About LGTM.
- Download an LGTM plugin or extension for IDE integration to display alerts in your IDE.
- Download CodeQL databases so you can write and run queries in your IDE. For further information, see Running queries in your IDE. You'll also need to install our CodeQL for Visual Studio Code extension. For more information, see the help for CodeQL for VS Code.
- Queries—On this tab, you can:
- View a list of queries available for the selected project (this includes the built-in queries, the installation-wide queries and the per-project custom queries), and identify whether their results are currently displayed or hidden on LGTM.
- Show whether a query pack upload (per-project custom queries only) has failed or succeeded. If the upload has failed, you can see detailed information in the logs.
You can also add the project to your project list (click + Follow) and run custom queries on the latest revision (click Query this project).