You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If Copilot doesn't find any MCP servers or tools, you might be missing the required policy setting. If you are a member of an organization or enterprise with a Copilot Business or Copilot Enterprise plan, the "MCP servers in Copilot" policy must be enabled in order to use MCP with Copilot. This policy can be configured by organization owners in the Copilot settings.
33
+
34
+
For more information about enabling this policy, see the [GitHub documentation on MCP prerequisites](https://docs.github.com/en/copilot/how-tos/provide-context/use-mcp/extend-copilot-chat-with-mcp#prerequisites).
The following sections describe how Codacy calculates each supported metric and where you can see each metric on the Codacy UI:
10
10
11
-
-[Grade](#grade)
12
-
-[Issues](#issues)
13
-
-[Complexity](#complexity)
14
-
-[Duplication](#duplication)
15
-
-[Code coverage](#code-coverage)
11
+
-[Which metrics does Codacy calculate?](#which-metrics-does-codacy-calculate)
12
+
-[Grade](#grade)
13
+
-[Issues](#issues)
14
+
-[Complexity](#complexity)
15
+
-[Duplication](#duplication)
16
+
-[Code coverage](#code-coverage)
17
+
-[See also](#see-also)
16
18
17
19
!!! note
18
20
Depending on certain characteristics of your repository, such as the number of source code files and their size, Codacy may [apply limits to the code analysis](does-codacy-place-limits-on-the-code-analysis.md) that impact the calculation of the supported metrics.
@@ -51,7 +53,7 @@ Codacy calculates the number of issues in the following static code analysis cat
51
53
<!--issue-categories-start-->
52
54
-**Code style:** Code formatting and syntax problems, such as variable names style and enforcing the use of brackets and quotation marks
53
55
-**Error prone:** Code that may hide bugs and language keywords that should be used with caution, such as the operator `==` in JavaScript or `Option.get` in Scala
54
-
-**Code complexity:** High complexity methods and classes that should be refactored
56
+
-**Code complexity:** High complexity files that should be refactored
55
57
-**Performance:** Code that can have performance problems
56
58
-**Compatibility:** Mainly for frontend code, compatibility problems across different browser versions
57
59
-**Unused code:** Unused variables and methods, code that can't be reached
@@ -88,8 +90,8 @@ Codacy displays complexity on the following places:
88
90
89
91
|Place|Metric|
90
92
|-----|------|
91
-
|[Commit detail page](../../repositories/commits.md)<br/>[Pull request detail page](../../repositories/pull-requests.md)<br/>[Email notifications](../../account/emails.md#managing-your-email-notifications)|Variation of the complexity value introduced by the commit or pull request|
92
-
|[Files page](../../repositories/files.md)|Complexity value of each file|
93
+
|[Commit detail page](../../repositories/commits.md)<br/>[Pull request detail page](../../repositories/pull-requests.md)<br/>[Email notifications](../../account/emails.md#managing-your-email-notifications)|The complexity variation introduced by a commit or pull request is defined as the sum of the changes in code complexity for each file modified in the commit or pull request|
94
+
|[Files page](../../repositories/files.md)|The file complexity value is the sum of the complexity values of all methods defined within the file|
93
95
|[Repository Dashboard](../../repositories/repository-dashboard.md)|Percentage of complex files in your repository and how the metric is evolving over time|
94
96
|[Organization overview](../../organizations/organization-overview.md)|Average percentage of complex files in the repositories in your organization and percentage of complex files in each repository|
95
97
|[Repositories list page](../../organizations/managing-repositories.md)|Percentage of complex files in each repository in your organization|
Copy file name to clipboardExpand all lines: docs/getting-started/integrating-codacy-with-intellij-ides.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Integrating Codacy with IntelliJ IDEs
2
2
3
-
The [Codacy IntelliJ plugin](https://github.com/codacy/codacy-intellij-extension) is an open-source plugin for IntelliJ IDEs that lets you review the result of the Codacy analysis for a pull request, get the full list of problems found, and navigate to any Quality issue that you want to review and fix.
3
+
The [Codacy IntelliJ plugin](https://github.com/codacy/codacy-intellij-extension) is an open-source plugin for IntelliJ IDEs that lets you review the result of the Codacy analysis for a pull request, get the full list of problems found, and navigate to any issue that you want to review and fix.
4
4
5
5
!!! info "To use this plugin you need a [Codacy account](https://www.codacy.com/signup-codacy)"
6
6
@@ -12,15 +12,15 @@ The main view of the Codacy IntelliJ plugin provides a summary of the code quali
12
12
13
13
In the main view, you can find the following information:
14
14
15
-
- The **Quality status** of the pull request, either up to standards or not up to standards, based on the [Quality gates](../repositories-configure/adjusting-quality-gates.md) set for the repository.
15
+
- The **Status** of the pull request, either up to standards or not up to standards, based on the [Gates](../repositories-configure/adjusting-quality-gates.md) set for the repository.
16
16
17
-
- Any **Quality issues** introduced or fixed by the pull request. These are the same issues you find in the [Quality Issues tabs](../repositories/pull-requests.md#issues-tabs) in the Codacy app and are also visible in IntelliJ's Problems tab.
17
+
- Any **issues** introduced or fixed by the pull request. These are the same issues you find in the [Issues tabs](../repositories/pull-requests.md#issues-tabs) in the Codacy app and are also visible in IntelliJ's Problems tab.
18
18
19
-
When this item is expanded, the number next to each file name is the total number of Quality issues that the pull request adds to that file.
19
+
When this item is expanded, the number next to each file name is the total number of issues that the pull request adds to that file.
20
20
21
21
- The **diff coverage** introduced by the pull request. The percentage next to each file name is the coverage variation for that file.
22
22
23
-
- Sequences of **duplicate code** (clones) introduced by the pull request. These are the same ones you find in the [Quality Duplication tabs](../repositories/pull-requests.md#duplication-tabs) in the Codacy app.
23
+
- Sequences of **duplicate code** (clones) introduced by the pull request. These are the same ones you find in the [Duplication tabs](../repositories/pull-requests.md#duplication-tabs) in the Codacy app.
24
24
25
25
- Variations in **code complexity** introduced by the pull request.
26
26
@@ -56,12 +56,12 @@ After completing these steps, the main view shows the result of the latest Codac
56
56
57
57
## Reviewing pull request issues
58
58
59
-
In the **Problems tool window**, Codacy displays the same Quality issues you find in the main view and lets you navigate to the exact line of code where the issue was found.
59
+
In the **Problems tool window**, Codacy displays the same issues you find in the main view and lets you navigate to the exact line of code where the issue was found.
60
60
61
61
!!! note
62
62
Code coverage, duplicates, and complexity aren't currently shown in the Problems tool window.
Copy file name to clipboardExpand all lines: docs/getting-started/integrating-codacy-with-visual-studio-code.md
+12-12Lines changed: 12 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
The [Codacy Visual Studio Code extension](https://github.com/codacy/codacy-vscode-extension) is an open-source project that enables developers to review directly in VS Code the result of Codacy analysis for the pull requests they’re working on.
4
4
5
-
Use this extension to get the full list of problems found by Codacy for a pull request and navigate to any Quality issue that you want to review and fix.
5
+
Use this extension to get the full list of problems found by Codacy for a pull request and navigate to any issue that you want to review and fix.
6
6
7
7
!!! info "To use this extension you need a [Codacy account](https://www.codacy.com/signup-codacy)"
8
8
@@ -20,11 +20,11 @@ The main view of the extension displays information about the code quality and c
20
20
21
21
The **Pull request status** tab displays the following information for the pull request of the currently checked-out branch:
22
22
23
-
- The **Quality status** of the pull request, either up to standards or not up to standards, based on the [Quality gates](../repositories-configure/adjusting-quality-gates.md) set for the repository.
23
+
- The **Status** of the pull request, either up to standards or not up to standards, based on the [Gates](../repositories-configure/adjusting-quality-gates.md) set for the repository.
24
24
25
-
- Any **Quality issues** introduced or fixed by the pull request. These are the same issues you find in the [Quality Issues tabs](../repositories/pull-requests.md#issues-tabs) in the Codacy app and are also visible in VS Code's Problems tab.
25
+
- Any **issues** introduced or fixed by the pull request. These are the same issues you find in the [Issues tabs](../repositories/pull-requests.md#issues-tabs) in the Codacy app and are also visible in VS Code's Problems tab.
26
26
27
-
When this item is expanded, the number next to each file name is the total number of Quality issues that the pull request adds to or removes from that file. The number farther to the right, added by VS Code, is the total number of problems in that file, which may or may not be Quality issues from Codacy. If there are any Medium or Critical Quality issues, the file name is also highlighted in yellow (Medium) or red (Critical).
27
+
When this item is expanded, the number next to each file name is the total number of issues that the pull request adds to or removes from that file. The number farther to the right, added by VS Code, is the total number of problems in that file, which may or may not be issues from Codacy. If there are any Medium or Critical issues, the file name is also highlighted in yellow (Medium) or red (Critical).
- Sequences of **duplicate code** (clones) introduced by the pull request. These are the same ones you find in the [Quality Duplication tabs](../repositories/pull-requests.md#duplication-tabs) in the Codacy app.
37
+
- Sequences of **duplicate code** (clones) introduced by the pull request. These are the same ones you find in the [Duplication tabs](../repositories/pull-requests.md#duplication-tabs) in the Codacy app.
38
38
39
39
- Variations in **code complexity** introduced by the pull request.
40
40
@@ -48,23 +48,23 @@ The **Open Pull Requests** tab lists all open pull requests for the repository,
48
48
49
49
- Analyzing, if Codacy is analyzing the branch.
50
50
51
-
- Up to standards or not up to standards, based on the [Quality gates](../repositories-configure/adjusting-quality-gates.md) set for the repository.
51
+
- Up to standards or not up to standards, based on the [Gates](../repositories-configure/adjusting-quality-gates.md) set for the repository.
52
52
53
53
- The author of the pull request.
54
54
55
55
- The source and target branches of the pull request.
56
56
57
-
- Any **Quality issues** introduced or fixed by the pull request. These are the same issues you find in the [Quality Issues tabs](../repositories/pull-requests.md#issues-tabs) in the Codacy app.
57
+
- Any **issues** introduced or fixed by the pull request. These are the same issues you find in the [Issues tabs](../repositories/pull-requests.md#issues-tabs) in the Codacy app.
58
58
59
-
- Sequences of **duplicate code** (clones) introduced by the pull request. These are the same ones you find in the [Quality Duplication tabs](../repositories/pull-requests.md#duplication-tabs) in the Codacy app.
59
+
- Sequences of **duplicate code** (clones) introduced by the pull request. These are the same ones you find in the [Duplication tabs](../repositories/pull-requests.md#duplication-tabs) in the Codacy app.
60
60
61
61
- Variations in **code complexity** introduced by the pull request. This is the same value you find on the [Pull request quality overview](../repositories/pull-requests.md#quality-overview) in the Codacy app.
The **Analyzed Branch** tab appears if you switch to an analyzed branch that doesn't have an open pull request, such as the `main` or `master` branch. This tab shows an overview of the Quality issues found in that branch, grouped by recently added, introduced by the current user, issue category, and issue severity.
67
+
The **Analyzed Branch** tab appears if you switch to an analyzed branch that doesn't have an open pull request, such as the `main` or `master` branch. This tab shows an overview of the issues found in that branch, grouped by recently added, introduced by the current user, issue category, and issue severity.
68
68
69
69
See [how to manage the analysis of your repository's branches](../repositories-configure/managing-branches.md).
70
70
@@ -99,16 +99,16 @@ To see Codacy quality and coverage data for an open pull request, follow these s
99
99
100
100
1. Check out the pull request of interest. You can do it either manually or from the **Open Pull Requests** tab, by clicking the arrow button or using the contextual right-click menu.
101
101
102
-
After completing these steps, the main view shows the result of the latest Codacy analysis for the pull request. The VS Code Problems tab lists the Quality issues found.
102
+
After completing these steps, the main view shows the result of the latest Codacy analysis for the pull request. The VS Code Problems tab lists the issues found.
103
103
104
104
## Reviewing pull request issues
105
105
106
-
In the **Problems tab**, Codacy displays the same Quality issues you find in the **Status tab** and lets you navigate to the exact line of code where the issue was found.
106
+
In the **Problems tab**, Codacy displays the same issues you find in the **Status tab** and lets you navigate to the exact line of code where the issue was found.
107
107
108
108
!!! note
109
109
Code coverage, duplicates, and complexity aren't currently shown in the Problems tab.
110
110
111
-
To review Quality issues:
111
+
To review issues:
112
112
113
113
1. Open the **Problems tab** (use `Ctrl+Shift+M` on Windows/Linux or `Cmd+Shift+M` on macOS).
0 commit comments