Repository Analysis

sooperset/mcp-atlassian

MCP server for Atlassian tools (Confluence, Jira)

40.9 Strong AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of sooperset/mcp-atlassian, a Python project with 5,551 GitHub stars. SynthScan v2.0 examined 118,249 lines of code across 342 source files, recording 3801 pattern matches distributed across 20 syntactic categories. The overall adjusted score of 40.9 places this repository in the Strong AI signal band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

40.9
Adjusted Score
40.9
Raw Score
100%
Time Factor
2026-07-14
Last Push
5.6K
Stars
Python
Language
118.2K
Lines of Code
342
Files
3.8K
Pattern Hits
2026-07-14
Scan Date
0.54
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.

No multi-scan history yet — run the scanner again to build trend data.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 1HIGH 184MEDIUM 237LOW 3379

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 3801 distinct pattern matches across 20 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Hyper-Verbose Identifiers2511 hits · 2246 pts
SeverityFileLineSnippetContext
LOWtests/conftest.py334def validate_test_environment():CODE
LOWtests/README.md131def test_existing_functionality(jira_issue_data, confluence_page_data):CODE
LOWtests/README.md179def test_issue_key_validation(make_jira_issue):CODE
LOWtests/README.md184def test_issue_key_validation(complete_jira_issue_data):CODE
LOWtests/README.md271def test_real_api_integration(CODE
LOWtests/unit/test_truststore_env.py13def _should_inject_truststore(env_value: str | None, dotenv_value: str | None) -> bool:CODE
LOWtests/unit/test_truststore_env.py100 def test_none_dotenv_value_does_not_crash(self) -> None:CODE
LOWtests/unit/test_truststore_env.py112 def test_import_time_with_env_false(self) -> None:CODE
LOWtests/unit/test_truststore_env.py150 def test_import_time_with_env_no(self) -> None:CODE
LOWtests/unit/test_truststore_env.py167 def test_import_time_default_enables_truststore(self) -> None:CODE
LOWtests/unit/test_truststore_env.py186 def test_import_time_dotenv_none_does_not_crash(self) -> None:CODE
LOWtests/unit/test_exceptions.py15 def test_instantiation_without_message(self):CODE
LOWtests/unit/test_exceptions.py24 def test_instantiation_with_message(self):CODE
LOWtests/unit/test_exceptions.py34 def test_instantiation_with_multiple_args(self):CODE
LOWtests/unit/test_exceptions.py46 def test_inheritance_hierarchy(self):CODE
LOWtests/unit/test_exceptions.py56 def test_string_representation(self):CODE
LOWtests/unit/test_exceptions.py74 def test_exception_raising_and_catching(self):CODE
LOWtests/unit/test_exceptions.py84 def test_exception_catching_as_base_exception(self):CODE
LOWtests/unit/test_exceptions.py94 def test_exception_chaining_with_cause(self):CODE
LOWtests/unit/test_exceptions.py110 def test_exception_chaining_with_context(self):CODE
LOWtests/unit/test_exceptions.py125 def test_exception_suppressed_context(self):CODE
LOWtests/unit/test_exceptions.py141 def test_serialization_with_pickle(self):CODE
LOWtests/unit/test_exceptions.py156 def test_exception_attributes_access(self):CODE
LOWtests/unit/test_exceptions.py184 def test_realistic_authentication_scenarios(self):CODE
LOWtests/unit/test_main_transport_selection.py30 def test_http_transports_use_direct_execution(CODE
LOWtests/unit/test_main_transport_selection.py55 def test_stdio_transport_uses_stdin_guard(self, mock_server, mock_asyncio_run):CODE
LOWtests/unit/test_main_transport_selection.py96 def test_stateless_rejects_non_streamable_http(self, mock_asyncio_run, transport):CODE
LOWtests/unit/test_main_transport_selection.py106 def test_cli_overrides_env_transport(self, mock_server, mock_asyncio_run):CODE
LOWtests/unit/test_main_transport_selection.py122 async def test_stdio_guard_cancels_server_when_parent_exits(self):CODE
LOWtests/unit/test_main_transport_selection.py148 def test_signal_handlers_always_setup(self, mock_server):CODE
LOWtests/unit/test_main_transport_selection.py164 def test_error_handling_preserved(self, mock_server):CODE
LOWtests/unit/test_stdin_monitoring_fix.py15 def test_streamable_http_starts_without_hanging(self):CODE
LOWtests/unit/test_stdin_monitoring_fix.py65 def test_code_structure_validates_fix(self):STRING
LOWtests/unit/test_stdin_monitoring_fix.py116 def test_lifecycle_module_supports_http_transports(self):CODE
LOWtests/unit/test_external_auth.py27 def test_from_env_with_url_creates_external_auth_type(self):CODE
LOWtests/unit/test_external_auth.py77 def test_is_cloud_with_external_auth_and_cloud_url(self):CODE
LOWtests/unit/test_external_auth.py85 def test_is_cloud_with_external_auth_and_server_url(self):CODE
LOWtests/unit/test_external_auth.py93 def test_is_cloud_with_external_auth_and_no_url(self):CODE
LOWtests/unit/test_external_auth.py105 def test_from_env_with_url_creates_external_auth_type(self):CODE
LOWtests/unit/test_external_auth.py163 def test_init_external_auth_no_authorization_header(self):CODE
LOWtests/unit/test_external_auth.py217 def test_init_external_auth_no_authorization_header(self):CODE
LOWtests/unit/test_external_auth.py271 def test_both_services_available_with_only_flag(self):CODE
LOWtests/unit/test_external_auth.py297 def test_flag_absent_services_not_available(self):CODE
LOWtests/unit/test_external_auth.py45 def test_from_env_without_url_creates_external_auth_type(self):CODE
LOWtests/unit/test_external_auth.py56 def test_is_auth_configured_returns_true_for_external(self):CODE
LOWtests/unit/test_external_auth.py61 def test_external_auth_ignored_when_credentials_present(self):CODE
LOWtests/unit/test_external_auth.py123 def test_from_env_without_url_creates_external_auth_type(self):CODE
LOWtests/unit/test_external_auth.py134 def test_is_auth_configured_returns_true_for_external(self):CODE
LOWtests/unit/test_external_auth.py141 def test_external_auth_ignored_when_credentials_present(self):CODE
LOWtests/unit/test_external_auth.py189 def test_init_external_auth_skips_validation(self):CODE
LOWtests/unit/test_external_auth.py241 def test_init_external_auth_skips_validation(self):CODE
LOWtests/unit/test_external_auth.py282 def test_flag_with_urls_marks_services_available(self):CODE
LOWtests/unit/test_external_auth.py354 async def test_url_from_header_used_when_config_url_empty(self):CODE
LOWtests/unit/test_external_auth.py387 async def test_url_from_header_requires_domain_allowlist(self):CODE
LOWtests/unit/test_external_auth.py407 async def test_url_from_env_used_when_config_url_set(self):CODE
LOWtests/unit/test_external_auth.py435 async def test_missing_url_header_raises_value_error(self):CODE
LOWtests/unit/test_external_auth.py452 async def test_passthrough_header_forwarded_to_fetcher(self):CODE
LOWtests/unit/test_external_auth.py482 async def test_ssrf_blocked_url_raises_value_error(self):CODE
LOWtests/unit/test_stdio_lifecycle.py24def test_stdio_homebrew_probe_exits_after_stdin_close() -> None:CODE
LOWtests/unit/test_project_dependencies.py7def test_fastmcp_minimum_version_includes_event_store() -> None:CODE
2451 more matches not shown…
Docstring Block Structure163 hits · 788 pts
SeverityFileLineSnippetContext
HIGHCONTRIBUTING.md109Summary of function purpose. More detailed description if needed. Args: param1STRING
HIGHsrc/mcp_atlassian/utils/env.py108Parse custom headers from environment variable containing comma-separated key=value pairs. Args: env_var_naSTRING
HIGHsrc/mcp_atlassian/utils/io.py27Validate that a path does not escape the base directory. Resolves symlinks and normalizes the path to prevent path STRING
HIGHsrc/mcp_atlassian/models/base.py32 Convert an API response to a model instance. Args: data: The API response data STRING
HIGHsrc/mcp_atlassian/jira/issues.py86 Get a Jira issue by key. Args: issue_key: The issue key (e.g., PROJECT-123) exSTRING
HIGHsrc/mcp_atlassian/jira/issues.py603 Create a new Jira issue. Args: project_key: The key of the project summary: ThSTRING
HIGHsrc/mcp_atlassian/jira/issues.py1109 Update a Jira issue. Args: issue_key: The key of the issue to update fields: DSTRING
HIGHsrc/mcp_atlassian/jira/issues.py1286 Assign a Jira issue to a user using the dedicated assignment endpoint. Unlike update_issue (which setsSTRING
HIGHsrc/mcp_atlassian/jira/issues.py1349 Update an issue with a status change. Args: issue_key: The key of the issue to update STRING
HIGHsrc/mcp_atlassian/jira/issues.py1478 Delete a Jira issue. Args: issue_key: The key of the issue to delete Returns: STRING
HIGHsrc/mcp_atlassian/jira/issues.py1499 Move a Jira issue to a different project. Uses Jira Cloud's bulk move API. The issue can be assigned aSTRING
HIGHsrc/mcp_atlassian/jira/issues.py1736 Get raw transition data from the Jira API. This is an internal method that returns unprocessed transitSTRING
HIGHsrc/mcp_atlassian/jira/issues.py1762 Transition an issue to a new status. Args: issue_key: The key of the issue traSTRING
HIGHsrc/mcp_atlassian/jira/issues.py1789Create multiple Jira issues in a batch. Args: issues: List of issue dictionaries, each containing: STRING
HIGHsrc/mcp_atlassian/jira/metrics.py35 Get raw date information for a single Jira issue. Args: issue_key: The issue key (e.g., PRSTRING
HIGHsrc/mcp_atlassian/jira/metrics.py373 Format minutes into human-readable string. Examples: - 90 -> "1h 30m" - 1500 -> "1d 1hSTRING
HIGHsrc/mcp_atlassian/jira/sprints.py134Add issues to a sprint. Args: sprint_id: The sprint ID to add issues to. issue_keys: LiSTRING
HIGHsrc/mcp_atlassian/jira/sprints.py153Move issues to the backlog (removes them from any sprint). Args: issue_keys: List of issue keys to STRING
HIGHsrc/mcp_atlassian/jira/field_options.py61Get allowed option values for a custom field. Cloud: Uses the Field Context Option API with pagination. STRING
HIGHsrc/mcp_atlassian/jira/field_options.py152Get field options via Server/DC createmeta. Uses the new createmeta endpoint introduced in Jira 9.x+: `STRING
HIGHsrc/mcp_atlassian/jira/epics.py294 Link an existing issue to an epic. Args: issue_key: The key of the issue to link (e.g. 'PRSTRING
HIGHsrc/mcp_atlassian/jira/epics.py434 Get all issues linked to a specific epic. Args: epic_key: The key of the epic (e.g. 'PROJ-STRING
HIGHsrc/mcp_atlassian/jira/epics.py850 Update Epic-specific fields after Epic creation. This method implements the second step of the two-steSTRING
HIGHsrc/mcp_atlassian/jira/forms_api.py56Make a request to the Forms API. Supports all authentication types: OAuth, PAT, and Basic Auth. Args: STRING
HIGHsrc/mcp_atlassian/jira/forms_api.py170Get all forms associated with an issue. Args: issue_key: The issue key (e.g. 'PROJ-123') RSTRING
HIGHsrc/mcp_atlassian/jira/forms_api.py215Get detailed information about a specific form. Args: issue_key: The issue key (e.g. 'PROJ-123') STRING
HIGHsrc/mcp_atlassian/jira/forms_api.py251Update form field answers directly via the Forms API. **Known Limitation - DATETIME fields:** The Jira STRING
HIGHsrc/mcp_atlassian/jira/forms_api.py331Add a form template to an issue. Args: issue_key: The issue key (e.g. 'PROJ-123') templSTRING
HIGHsrc/mcp_atlassian/jira/forms_api.py379Get attachment metadata for a form. Args: issue_key: The issue key (e.g. 'PROJ-123') foSTRING
HIGHsrc/mcp_atlassian/jira/worklog.py74 Add a worklog entry to a Jira issue. Args: issue_key: The issue key (e.g. 'PROJ-123') STRING
HIGHsrc/mcp_atlassian/jira/worklog.py205 Get all worklog entries for an issue. Args: issue_key: The issue key (e.g. 'PROJ-123') STRING
HIGHsrc/mcp_atlassian/jira/project_analysis.py86Group a project's epics under their cross-project parent issues. Fetches all epics in *project_key*, inspects tSTRING
HIGHsrc/mcp_atlassian/jira/project_analysis.py167Find all cross-project issue links for a project. Scans issues in *project_key*, extracts every issue link whosSTRING
HIGHsrc/mcp_atlassian/jira/users.py111 Get the account ID for a username or account ID. Args: assignee (str): Username or accountSTRING
HIGHsrc/mcp_atlassian/jira/users.py284 Determines the correct API parameter and value for the jira.user() call based on the identifier and instance tySTRING
HIGHsrc/mcp_atlassian/jira/users.py386 Search Jira users assignable in a given project or issue. Uses GET /rest/api/2/user/assignable/search STRING
HIGHsrc/mcp_atlassian/jira/users.py458 Retrieve Jira user profile information by identifier. Args: identifier: User identifier (aSTRING
HIGHsrc/mcp_atlassian/jira/protocols.py106 Update Epic-specific fields after Epic creation. This method implements the second step of the two-steSTRING
HIGHsrc/mcp_atlassian/jira/protocols.py244Get the account ID for a username. Args: assignee: Username or account ID Returns: STRING
HIGHsrc/mcp_atlassian/jira/client.py378 Repeatly fetch paged data from Jira API using `nextPageToken` to paginate. Args: method: TSTRING
HIGHsrc/mcp_atlassian/jira/watchers.py75Remove a user from watching an issue. Args: issue_key: The issue key (e.g. 'PROJ-123'). STRING
HIGHsrc/mcp_atlassian/jira/forms_common.py21 Convert HTTPError to appropriate exception for form operations. Args: error: The HTTPError to handle STRING
HIGHsrc/mcp_atlassian/jira/forms_common.py52 Convert ISO 8601 datetime strings to Unix timestamps in milliseconds for ProForma forms. This function automatSTRING
HIGHsrc/mcp_atlassian/jira/links.py92 Create a link between two issues. Args: data: A dictionary containing the link data with tSTRING
HIGHsrc/mcp_atlassian/jira/links.py163 Create a remote issue link (web link or Confluence link). Args: issue_key: The key of the STRING
HIGHsrc/mcp_atlassian/jira/links.py229Get remote links (web links, Confluence links) for an issue. Args: issue_key: The issue key (e.g., STRING
HIGHsrc/mcp_atlassian/jira/links.py264 Remove a link between two issues. Args: link_id: The ID of the link to remove RetSTRING
HIGHsrc/mcp_atlassian/jira/development.py25 Get development information (PRs, commits, branches) for a Jira issue. This uses the /rest/dev-status/STRING
HIGHsrc/mcp_atlassian/jira/forms.py19 Get all ProForma forms associated with an issue. Args: issue_key: The issue key (e.g. 'PROSTRING
HIGHsrc/mcp_atlassian/jira/forms.py67 Get detailed information about a specific ProForma form. Args: issue_key: The issue key (eSTRING
HIGHsrc/mcp_atlassian/jira/forms.py114 Reopen a submitted ProForma form to allow editing. Args: issue_key: The issue key (e.g. 'PSTRING
HIGHsrc/mcp_atlassian/jira/forms.py152 Submit a ProForma form after making changes. Args: issue_key: The issue key (e.g. 'PROJ-12STRING
HIGHsrc/mcp_atlassian/jira/forms.py188 Update a field in a ProForma form by updating the associated Jira field. This method works by updatingSTRING
HIGHsrc/mcp_atlassian/jira/transitions.py21 Get the available status transitions for an issue. Args: issue_key: The issue key (e.g. 'PSTRING
HIGHsrc/mcp_atlassian/jira/transitions.py127 Transition a Jira issue to a new status. Args: issue_key: The key of the issue to transitiSTRING
HIGHsrc/mcp_atlassian/jira/sla.py52 Calculate SLA metrics for a single Jira issue. Args: issue_key: The issue key (e.g., PROJESTRING
HIGHsrc/mcp_atlassian/jira/search.py86 Search for issues using JQL (Jira Query Language). Args: jql: JQL query string STRING
HIGHsrc/mcp_atlassian/jira/search.py232 Get all issues linked to a specific board. Args: board_id: The ID of the board STRING
HIGHsrc/mcp_atlassian/jira/search.py301 Get all issues linked to a specific sprint. Args: sprint_id: The ID of the sprint STRING
HIGHsrc/mcp_atlassian/jira/boards.py25 Get boards from Jira by name, project key, or type. Args: board_name: The name of board, sSTRING
103 more matches not shown…
Decorative Section Separators149 hits · 546 pts
SeverityFileLineSnippetContext
MEDIUMtests/conftest.py39# ============================================================================COMMENT
MEDIUMtests/conftest.py41# ============================================================================COMMENT
MEDIUMtests/conftest.py101# ============================================================================COMMENT
MEDIUMtests/conftest.py103# ============================================================================COMMENT
MEDIUMtests/conftest.py140# ============================================================================COMMENT
MEDIUMtests/conftest.py142# ============================================================================COMMENT
MEDIUMtests/conftest.py214# ============================================================================COMMENT
MEDIUMtests/conftest.py216# ============================================================================COMMENT
MEDIUMtests/conftest.py247# ============================================================================COMMENT
MEDIUMtests/conftest.py249# ============================================================================COMMENT
MEDIUMtests/conftest.py276# ============================================================================COMMENT
MEDIUMtests/conftest.py278# ============================================================================COMMENT
MEDIUMtests/conftest.py328# ============================================================================COMMENT
MEDIUMtests/conftest.py330# ============================================================================COMMENT
MEDIUMtests/unit/test_external_auth.py21# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/test_external_auth.py23# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/test_external_auth.py99# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/test_external_auth.py101# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/test_external_auth.py157# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/test_external_auth.py159# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/test_external_auth.py211# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/test_external_auth.py213# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/test_external_auth.py265# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/test_external_auth.py267# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/test_external_auth.py305# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/test_external_auth.py307# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/models/conftest.py384# ============================================================================COMMENT
MEDIUMtests/unit/models/conftest.py386# ============================================================================COMMENT
MEDIUMtests/unit/models/conftest.py445# ============================================================================COMMENT
MEDIUMtests/unit/models/conftest.py447# ============================================================================COMMENT
MEDIUMtests/unit/models/conftest.py35# ============================================================================COMMENT
MEDIUMtests/unit/models/conftest.py37# ============================================================================COMMENT
MEDIUMtests/unit/models/conftest.py153# ============================================================================COMMENT
MEDIUMtests/unit/models/conftest.py155# ============================================================================COMMENT
MEDIUMtests/unit/models/conftest.py220# ============================================================================COMMENT
MEDIUMtests/unit/models/conftest.py222# ============================================================================COMMENT
MEDIUMtests/unit/models/conftest.py332# ============================================================================COMMENT
MEDIUMtests/unit/models/conftest.py334# ============================================================================COMMENT
MEDIUMtests/unit/models/conftest.py480# ============================================================================COMMENT
MEDIUMtests/unit/models/conftest.py482# ============================================================================COMMENT
MEDIUMtests/unit/models/conftest.py513# ============================================================================COMMENT
MEDIUMtests/unit/models/conftest.py515# ============================================================================COMMENT
MEDIUMtests/unit/jira/conftest.py24# ============================================================================COMMENT
MEDIUMtests/unit/jira/conftest.py26# ============================================================================COMMENT
MEDIUMtests/unit/jira/conftest.py287# ============================================================================COMMENT
MEDIUMtests/unit/jira/conftest.py289# ============================================================================COMMENT
MEDIUMtests/unit/jira/conftest.py405# ============================================================================COMMENT
MEDIUMtests/unit/jira/conftest.py407# ============================================================================COMMENT
MEDIUMtests/unit/jira/conftest.py65# ============================================================================COMMENT
MEDIUMtests/unit/jira/conftest.py67# ============================================================================COMMENT
MEDIUMtests/unit/jira/conftest.py111# ============================================================================COMMENT
MEDIUMtests/unit/jira/conftest.py113# ============================================================================COMMENT
MEDIUMtests/unit/jira/conftest.py135# ============================================================================COMMENT
MEDIUMtests/unit/jira/conftest.py137# ============================================================================COMMENT
MEDIUMtests/unit/jira/conftest.py233# ============================================================================COMMENT
MEDIUMtests/unit/jira/conftest.py235# ============================================================================COMMENT
MEDIUMtests/unit/jira/conftest.py371# ============================================================================COMMENT
MEDIUMtests/unit/jira/conftest.py373# ============================================================================COMMENT
MEDIUMtests/unit/jira/test_field_options.py179# ============================================================================COMMENT
MEDIUMtests/unit/jira/test_field_options.py181# ============================================================================COMMENT
89 more matches not shown…
Self-Referential Comments87 hits · 296 pts
SeverityFileLineSnippetContext
MEDIUMtests/unit/test_stdin_monitoring_fix.py21 # Create a test script that simulates the issueCOMMENT
MEDIUMtests/unit/utils/test_ssl.py44 # Create a mock for PoolManager that will be returned by constructorCOMMENT
MEDIUMtests/unit/utils/test_proxy.py35 # Create a proper proxies dictionary that can be updatedCOMMENT
MEDIUMtests/unit/utils/test_proxy.py66 # Create a proper proxies dictionary that can be updatedCOMMENT
MEDIUMtests/unit/utils/test_proxy.py168 # Create a proper proxies dictionary that can be updatedCOMMENT
MEDIUMtests/unit/utils/test_proxy.py257 # Create a proper proxies dictionary that can be updatedCOMMENT
MEDIUMtests/unit/models/conftest.py530 # Define the factory functions once for reuseCOMMENT
MEDIUMtests/unit/models/test_base_models.py24 # Create a test subclass with some fieldsCOMMENT
MEDIUMtests/unit/jira/test_issues.py1282 # Create the issue with fixVersions in additional_fieldsCOMMENT
MEDIUMtests/unit/jira/test_issues.py1923 # Create the issue with labels as a listCOMMENT
MEDIUMtests/unit/jira/test_issues.py1957 # Create the issue with labels as a comma-separated stringCOMMENT
MEDIUMtests/unit/jira/test_epics.py182 # Create the fields dict and call the methodCOMMENT
MEDIUMtests/unit/jira/test_epics.py202 # Create the fields dict and call the method with basic valuesCOMMENT
MEDIUMtests/unit/jira/test_epics.py449 # Create a fields dict and call prepare_epic_fieldsCOMMENT
MEDIUMtests/unit/jira/test_epics.py632 # Create a mock search result object with issues attributeCOMMENT
MEDIUMtests/unit/jira/test_epics.py638 # Create a mock object with an issues attributeCOMMENT
MEDIUMtests/unit/jira/test_epics.py714 # Create a mock class for SearchResultCOMMENT
MEDIUMtests/unit/jira/test_client_oauth.py85 # Create a mock OAuth config without cloud_idCOMMENT
MEDIUMtests/unit/jira/test_client_oauth.py95 # Create a Jira config with OAuthCOMMENT
MEDIUMtests/unit/jira/test_client_oauth.py163 # Create a mock BYO OAuth configCOMMENT
MEDIUMtests/unit/jira/test_client_oauth.py168 # Create a Jira config with OAuthCOMMENT
MEDIUMtests/unit/jira/test_client_oauth.py213 # Create a mock BYO OAuth config with an empty cloud_idCOMMENT
MEDIUMtests/unit/jira/test_client_oauth.py218 # Create a Jira config with OAuthCOMMENT
MEDIUMtests/unit/jira/test_client_oauth.py233 # Create a mock BYO OAuth configCOMMENT
MEDIUMtests/unit/jira/test_client_oauth.py238 # Create a Jira config with OAuthCOMMENT
MEDIUMtests/unit/jira/test_client_oauth.py265 # Create a mock BYO OAuth config with an empty tokenCOMMENT
MEDIUMtests/unit/jira/test_client_oauth.py271 # Create a Jira config with OAuthCOMMENT
MEDIUMtests/unit/jira/test_client_oauth.py19 # Create a mock OAuth config with both access and refresh tokensCOMMENT
MEDIUMtests/unit/jira/test_client_oauth.py31 # Create a Jira config with OAuthCOMMENT
MEDIUMtests/unit/jira/test_client_oauth.py110 # Create a mock OAuth configCOMMENT
MEDIUMtests/unit/jira/test_client_oauth.py121 # Create a Jira config with OAuthCOMMENT
MEDIUMtests/unit/jira/test_formatting.py15 # Create the mixin without calling its __init__ to avoid config dependenciesCOMMENT
MEDIUMtests/unit/jira/test_attachments.py56 # Create a mock Jira clientCOMMENT
MEDIUMtests/unit/jira/test_transitions.py25 # Create a get_issue method to allow returning JiraIssueCOMMENT
MEDIUMtests/unit/confluence/conftest.py377 # Create the mock Confluence instanceCOMMENT
MEDIUMtests/unit/confluence/conftest.py398 # Create the client with OAuth configCOMMENT
MEDIUMtests/unit/confluence/conftest.py422 # Create a client with a mocked configurationCOMMENT
MEDIUMtests/unit/confluence/test_pages.py1486 # Create a mock HTTP error response with 401COMMENT
MEDIUMtests/unit/confluence/test_pages.py1509 # Create a mock HTTP error response with 500COMMENT
MEDIUMtests/unit/confluence/test_client_oauth.py91 # Create a mock BYO OAuth configCOMMENT
MEDIUMtests/unit/confluence/test_client_oauth.py97 # Create a Confluence config with BYO OAuthCOMMENT
MEDIUMtests/unit/confluence/test_client_oauth.py148 # Create a mock BYO OAuth config without cloud_idCOMMENT
MEDIUMtests/unit/confluence/test_client_oauth.py154 # Create a Confluence config with BYO OAuthCOMMENT
MEDIUMtests/unit/confluence/test_client_oauth.py169 # Create a mock BYO OAuth configCOMMENT
MEDIUMtests/unit/confluence/test_client_oauth.py175 # Create a Confluence config with BYO OAuthCOMMENT
MEDIUMtests/unit/confluence/test_client_oauth.py198 # Create a mock BYO OAuth configCOMMENT
MEDIUMtests/unit/confluence/test_client_oauth.py204 # Create a Confluence config with BYO OAuthCOMMENT
MEDIUMtests/unit/confluence/test_client_oauth.py230 # Create a mock OAuth config without cloud_idCOMMENT
MEDIUMtests/unit/confluence/test_client_oauth.py240 # Create a Confluence config with OAuthCOMMENT
MEDIUMtests/unit/confluence/test_client_oauth.py19 # Create a mock OAuth configCOMMENT
MEDIUMtests/unit/confluence/test_client_oauth.py31 # Create a Confluence config with OAuthCOMMENT
MEDIUMtests/unit/confluence/test_client_oauth.py255 # Create a mock OAuth configCOMMENT
MEDIUMtests/unit/confluence/test_client_oauth.py266 # Create a Confluence config with OAuthCOMMENT
MEDIUMtests/unit/servers/test_dependencies.py2029 # Create a mock response that simulates a redirectCOMMENT
MEDIUMtests/unit/servers/test_dependencies.py578 # Create a special state mock that controls hasattr() behaviorCOMMENT
MEDIUMtests/unit/servers/test_dependencies.py827 # Create a special state mock that controls hasattr() behaviorCOMMENT
MEDIUMtests/unit/servers/test_dependencies.py1242 # Create a special state mock that controls hasattr() behaviorCOMMENT
MEDIUMtests/unit/servers/test_dependencies.py1419 # Create a special state mock that controls hasattr() behaviorCOMMENT
MEDIUMtests/unit/servers/test_main_server.py181 # Create a mock MCP server to avoid warningsCOMMENT
MEDIUMtests/unit/servers/test_jira_server.py1311 # Define the specific fields we expect for this test caseCOMMENT
27 more matches not shown…
Excessive Try-Catch Wrapping317 hits · 267 pts
SeverityFileLineSnippetContext
LOWtests/unit/test_stdin_monitoring_fix.py132 except Exception as e:CODE
LOWtests/unit/models/test_confluence_real_data.py77 except Exception as e:CODE
LOWtests/unit/models/test_confluence_real_data.py85 except Exception as e:CODE
LOWtests/unit/models/test_jira_real_data.py121 except Exception as e:CODE
LOWtests/unit/models/test_jira_real_data.py157 except Exception as e:CODE
LOWtests/unit/models/test_jira_real_data.py215 except Exception as e:CODE
LOWtests/unit/models/test_jira_real_data.py255 except Exception as e:CODE
MEDIUMtests/unit/models/test_jira_real_data.py32def _get_client(self) -> IssuesMixin | None:CODE
LOWtests/unit/jira/test_issues.py277 except Exception as e:CODE
LOWtests/integration/test_real_api.py141 except Exception: # noqa: BLE001CODE
LOWtests/integration/test_real_api.py246 except Exception: # noqa: BLE001CODE
LOWtests/integration/test_real_api.py277 except Exception: # noqa: BLE001CODE
LOWtests/integration/test_real_api.py288 except Exception as e: # noqa: BLE001CODE
LOWtests/integration/test_real_api.py448 except Exception: # noqa: BLE001CODE
LOWtests/integration/test_real_api.py486 except Exception: # noqa: BLE001CODE
LOWtests/integration/test_real_api.py492 except Exception: # noqa: BLE001CODE
LOWtests/integration/test_real_api.py698 except Exception: # noqa: BLE001CODE
LOWtests/integration/test_real_api.py704 except Exception: # noqa: BLE001CODE
LOWtests/e2e/conftest.py153 except Exception as e: # noqa: BLE001CODE
LOWtests/e2e/conftest.py159 except Exception as e: # noqa: BLE001CODE
LOWtests/e2e/conftest.py328 except Exception: # noqa: BLE001CODE
LOWtests/e2e/conftest.py379 except Exception: # noqa: BLE001CODE
LOWtests/e2e/conftest.py484 except Exception as e: # noqa: BLE001CODE
LOWtests/e2e/conftest.py489 except Exception as e: # noqa: BLE001CODE
LOWtests/e2e/conftest.py493 except Exception as e: # noqa: BLE001CODE
LOWtests/e2e/conftest.py642 except Exception as exc: # noqa: BLE001CODE
LOWtests/e2e/conftest.py655 except Exception as exc: # noqa: BLE001CODE
LOWtests/e2e/cloud/conftest.py107 except Exception as e: # noqa: BLE001CODE
LOWtests/e2e/cloud/conftest.py113 except Exception as e: # noqa: BLE001CODE
LOWtests/e2e/cloud/conftest.py273 except Exception: # noqa: BLE001CODE
LOWtests/e2e/cloud/conftest.py324 except Exception: # noqa: BLE001CODE
LOWtests/e2e/cloud/conftest.py476 except Exception as exc: # noqa: BLE001CODE
LOWtests/e2e/cloud/conftest.py489 except Exception as exc: # noqa: BLE001CODE
LOWsrc/mcp_atlassian/__init__.py24 except Exception:CODE
LOWsrc/mcp_atlassian/__init__.py473 except Exception as e:CODE
LOWsrc/mcp_atlassian/utils/media.py96 except Exception:CODE
LOWsrc/mcp_atlassian/utils/proxy.py203 except Exception as e: # pragma: no cover - defensive wrapper around pypacCODE
LOWsrc/mcp_atlassian/utils/http.py377 except Exception:CODE
LOWsrc/mcp_atlassian/utils/urls.py106 except Exception:CODE
LOWsrc/mcp_atlassian/utils/oauth.py254 except Exception as e:CODE
LOWsrc/mcp_atlassian/utils/oauth.py292 except Exception as e:CODE
LOWsrc/mcp_atlassian/utils/oauth.py332 except Exception as e:CODE
LOWsrc/mcp_atlassian/utils/oauth.py388 except Exception as e:CODE
LOWsrc/mcp_atlassian/utils/oauth.py426 except Exception as e:CODE
LOWsrc/mcp_atlassian/utils/oauth.py447 except Exception as e:CODE
LOWsrc/mcp_atlassian/utils/oauth.py477 except Exception as e:CODE
LOWsrc/mcp_atlassian/utils/decorators.py35 except Exception as e:CODE
LOWsrc/mcp_atlassian/utils/decorators.py167 except Exception as e: # noqa: BLE001 - Intentional fallback with loggingCODE
LOWsrc/mcp_atlassian/jira/issues.py740 except Exception as e:CODE
LOWsrc/mcp_atlassian/jira/issues.py755 except Exception as update_error:CODE
LOWsrc/mcp_atlassian/jira/issues.py246 except Exception as e:CODE
LOWsrc/mcp_atlassian/jira/issues.py270 except Exception as e:CODE
LOWsrc/mcp_atlassian/jira/issues.py317 except Exception as e:CODE
LOWsrc/mcp_atlassian/jira/issues.py376 except Exception as e:CODE
LOWsrc/mcp_atlassian/jira/issues.py406 except Exception as e:CODE
LOWsrc/mcp_atlassian/jira/issues.py449 except Exception as e:CODE
LOWsrc/mcp_atlassian/jira/issues.py453 except Exception as e:CODE
LOWsrc/mcp_atlassian/jira/issues.py771 except Exception as e:CODE
LOWsrc/mcp_atlassian/jira/issues.py824 except Exception as e:CODE
LOWsrc/mcp_atlassian/jira/issues.py868 except Exception as e:CODE
257 more matches not shown…
Unused Imports167 hits · 140 pts
SeverityFileLineSnippetContext
LOWtests/unit/test_external_auth.py3CODE
LOWtests/unit/utils/test_token_verifier.py3CODE
LOWtests/unit/servers/test_dependencies.py3CODE
LOWtests/unit/servers/test_oauth_proxy_build.py3CODE
LOWtests/unit/servers/test_async_utils.py3CODE
LOWtests/unit/servers/test_client_storage.py3CODE
LOWtests/e2e/conftest.py7CODE
LOWtests/e2e/test_jira_dc_operations.py3CODE
LOWtests/e2e/test_images_dc.py7CODE
LOWtests/e2e/test_confluence_auth_matrix.py3CODE
LOWtests/e2e/test_mcp_tools_dc.py3CODE
LOWtests/e2e/test_confluence_dc_operations.py3CODE
LOWtests/e2e/test_jira_auth_matrix.py3CODE
LOWtests/e2e/test_user_lookup_dc.py7CODE
LOWtests/e2e/cloud/test_mcp_tools_cloud.py3CODE
LOWtests/e2e/cloud/conftest.py11CODE
LOWtests/e2e/cloud/test_confluence_dates.py3CODE
LOWtests/e2e/cloud/test_jira_watchers.py3CODE
LOWtests/e2e/cloud/test_jira_issue_creation_workflow.py6CODE
LOWtests/e2e/cloud/test_confluence_page_metadata.py3CODE
LOWtests/e2e/cloud/test_confluence_auth_matrix.py3CODE
LOWtests/e2e/cloud/test_adf_write.py7CODE
LOWtests/e2e/cloud/test_jira_issue_include.py7CODE
LOWtests/e2e/cloud/test_images_cloud.py7CODE
LOWtests/e2e/cloud/test_jira_auth_matrix.py3CODE
LOWtests/e2e/cloud/test_jira_cloud_operations.py3CODE
LOWtests/e2e/cloud/test_confluence_cloud_operations.py3CODE
LOWtests/e2e/cloud/test_jira_user_profile_me.py3CODE
LOWtests/e2e/cloud/test_confluence_space_search.py3CODE
LOWsrc/mcp_atlassian/utils/proxy.py3CODE
LOWsrc/mcp_atlassian/utils/__init__.py6CODE
LOWsrc/mcp_atlassian/utils/__init__.py7CODE
LOWsrc/mcp_atlassian/utils/__init__.py7CODE
LOWsrc/mcp_atlassian/utils/__init__.py10CODE
LOWsrc/mcp_atlassian/utils/__init__.py10CODE
LOWsrc/mcp_atlassian/utils/__init__.py14CODE
LOWsrc/mcp_atlassian/utils/__init__.py15CODE
LOWsrc/mcp_atlassian/utils/__init__.py15CODE
LOWsrc/mcp_atlassian/utils/__init__.py15CODE
LOWsrc/mcp_atlassian/utils/__init__.py22CODE
LOWsrc/mcp_atlassian/utils/__init__.py22CODE
LOWsrc/mcp_atlassian/utils/__init__.py23CODE
LOWsrc/mcp_atlassian/utils/__init__.py23CODE
LOWsrc/mcp_atlassian/utils/__init__.py23CODE
LOWsrc/mcp_atlassian/utils/__init__.py23CODE
LOWsrc/mcp_atlassian/utils/__init__.py29CODE
LOWsrc/mcp_atlassian/utils/__init__.py29CODE
LOWsrc/mcp_atlassian/utils/__init__.py29CODE
LOWsrc/mcp_atlassian/utils/token_verifier.py9CODE
LOWsrc/mcp_atlassian/models/__init__.py10CODE
LOWsrc/mcp_atlassian/models/__init__.py10CODE
LOWsrc/mcp_atlassian/models/__init__.py13CODE
LOWsrc/mcp_atlassian/models/__init__.py13CODE
LOWsrc/mcp_atlassian/models/__init__.py13CODE
LOWsrc/mcp_atlassian/models/__init__.py13CODE
LOWsrc/mcp_atlassian/models/__init__.py13CODE
LOWsrc/mcp_atlassian/models/__init__.py13CODE
LOWsrc/mcp_atlassian/models/__init__.py13CODE
LOWsrc/mcp_atlassian/models/__init__.py13CODE
LOWsrc/mcp_atlassian/models/__init__.py23CODE
107 more matches not shown…
Fake / Example Data119 hits · 121 pts
SeverityFileLineSnippetContext
LOWtests/unit/test_stdio_lifecycle.py29 "JIRA_USERNAME": "user@example.com",CODE
LOWtests/unit/auth/test_authentication.py486 "JIRA_USERNAME": "user@example.com",CODE
LOWtests/unit/auth/test_authentication.py501 "JIRA_USERNAME": "user@example.com",CODE
LOWtests/unit/auth/test_authentication.py250 "JIRA_USERNAME": "user@example.com",CODE
LOWtests/unit/auth/test_authentication.py281 "JIRA_USERNAME": "user@example.com",CODE
LOWtests/unit/auth/test_authentication.py459 "JIRA_USERNAME": "user@example.com",CODE
LOWtests/unit/auth/test_authentication.py473 "JIRA_USERNAME": "user@example.com",CODE
LOWtests/unit/auth/test_authentication.py514 "JIRA_USERNAME": "user@example.com",CODE
LOWtests/unit/auth/test_authentication.py629 "JIRA_USERNAME": "user@example.com",CODE
LOWtests/unit/auth/test_authentication.py644 username="user@example.com",CODE
LOWtests/unit/models/test_confluence_common_models.py377 assert comment.author.display_name == "John Doe"CODE
LOWtests/unit/models/test_confluence_common_models.py52 "by": {"accountId": "user123", "displayName": "John Doe"},CODE
LOWtests/unit/models/test_confluence_common_models.py69 assert attachment.author_display_name == "John Doe"CODE
LOWtests/unit/models/test_confluence_common_models.py157 author_display_name="John Doe",CODE
LOWtests/unit/models/test_confluence_common_models.py168 assert simplified["author_display_name"] == "John Doe"CODE
LOWtests/unit/models/test_jira_worklog_model.py88 "displayName": "John Doe",CODE
LOWtests/unit/models/test_jira_worklog_model.py101 assert worklog.author.display_name == "John Doe"CODE
LOWtests/unit/models/test_jira_worklog_model.py127 "displayName": "John Doe",CODE
LOWtests/unit/models/test_jira_worklog_model.py142 assert simplified["author"]["display_name"] == "John Doe"CODE
LOWtests/unit/models/test_jira_project_model.py27 "displayName": "John Doe",CODE
LOWtests/unit/models/test_jira_project_model.py47 assert project.lead.display_name == "John Doe"CODE
LOWtests/unit/models/test_jira_project_model.py76 "displayName": "John Doe",CODE
LOWtests/unit/models/test_jira_project_model.py90 assert simplified["lead"]["display_name"] == "John Doe"CODE
LOWtests/unit/models/test_jira_common_models.py93 display_name="John Doe",CODE
LOWtests/unit/models/test_jira_common_models.py108 "displayName": "John Doe",CODE
LOWtests/unit/models/test_jira_common_models.py116 assert user.display_name == "John Doe"CODE
LOWtests/unit/models/test_jira_common_models.py122 "displayName": "John Doe",CODE
LOWtests/unit/models/test_jira_common_models.py129 assert user.display_name == "John Doe"CODE
LOWtests/unit/models/test_jira_common_models.py136 "displayName": "John Doe",CODE
LOWtests/unit/models/test_jira_common_models.py142 assert user.display_name == "John Doe"CODE
LOWtests/unit/models/test_jira_common_models.py147 display_name="John Doe",CODE
LOWtests/unit/models/test_jira_common_models.py154 assert simplified["display_name"] == "John Doe"CODE
LOWtests/unit/models/test_jira_common_models.py161 display_name="John Doe",CODE
LOWtests/unit/models/test_jira_common_models.py165 assert simplified["name"] == "John Doe"CODE
LOWtests/unit/models/test_jira_common_models.py166 assert simplified["display_name"] == "John Doe"CODE
LOWtests/unit/jira/test_development.py42 "author": {"name": "John Doe"},CODE
LOWtests/unit/jira/test_development.py81 "author": {"name": "John Doe"},CODE
LOWtests/unit/jira/test_development.py116 assert result["pullRequests"][0]["author"] == "John Doe"CODE
LOWtests/unit/jira/test_development.py141 assert result["commits"][0]["author"] == "John Doe"CODE
LOWtests/unit/jira/test_issues.py113 "author": {"displayName": "John Doe"},CODE
LOWtests/unit/jira/test_issues.py120 "author": {"displayName": "Jane Doe"},CODE
LOWtests/unit/jira/test_issues.py943 issue_key="TEST-123", assignee="user@example.com"CODE
LOWtests/unit/jira/test_issues.py946 issues_mixin._get_account_id.assert_called_once_with("user@example.com")CODE
LOWtests/unit/jira/test_issues.py70 "author": {"displayName": "John Doe"},CODE
LOWtests/unit/jira/test_issues.py157 "author": {"displayName": "Jane Doe"},CODE
LOWtests/unit/jira/test_issues.py1029 issues_mixin.assign_issue(issue_key="TEST-123", assignee="user@example.com")CODE
LOWtests/unit/jira/test_formatting.py176 "assignee": {"displayName": "John Doe", "name": "jdoe"},CODE
LOWtests/unit/jira/test_formatting.py190 assert result["assignee"] == "John Doe"CODE
LOWtests/unit/jira/test_users.py743 "emailAddress": "user@example.com",CODE
LOWtests/unit/jira/test_comments.py55 assert result[0]["author"] == "John Doe"CODE
LOWtests/unit/jira/test_comments.py66 "author": {"displayName": "John Doe"},CODE
LOWtests/unit/jira/test_comments.py235 assert result["author"] == "John Doe"CODE
LOWtests/unit/jira/test_comments.py244 "author": {"displayName": "John Doe"},CODE
LOWtests/unit/jira/test_comments.py397 assert result["author"] == "John Doe"CODE
LOWtests/unit/jira/test_comments.py406 "author": {"displayName": "John Doe"},CODE
LOWtests/unit/jira/test_comments.py475 assert result["author"] == "John Doe"CODE
LOWtests/unit/jira/test_comments.py673 "author": {"displayName": "John Doe"},CODE
LOWtests/unit/jira/test_comments.py41 "author": {"displayName": "John Doe"},CODE
LOWtests/unit/jira/test_comments.py184 "author": {"displayName": "John Doe"},CODE
LOWtests/unit/jira/test_comments.py215 "author": {"displayName": "John Doe"},CODE
59 more matches not shown…
Deep Nesting112 hits · 87 pts
SeverityFileLineSnippetContext
LOWtests/conftest.py299CODE
LOWtests/unit/test_main_transport_selection.py30CODE
LOWtests/unit/test_main_transport_selection.py55CODE
LOWtests/unit/test_main_transport_selection.py70CODE
LOWtests/unit/test_main_transport_selection.py106CODE
LOWtests/unit/test_main_transport_selection.py148CODE
LOWtests/unit/test_main_transport_selection.py164CODE
LOWtests/unit/auth/test_authentication.py162CODE
LOWtests/unit/auth/test_authentication.py263CODE
LOWtests/unit/utils/test_oauth_setup.py245CODE
LOWtests/unit/utils/test_environment.py109CODE
LOWtests/unit/servers/test_dependencies.py1157CODE
LOWtests/unit/servers/test_dependencies.py1691CODE
LOWtests/unit/servers/test_transport_lifecycle.py27CODE
LOWtests/unit/servers/test_transport_lifecycle.py124CODE
LOWtests/unit/servers/test_transport_lifecycle.py196CODE
LOWtests/unit/servers/test_transport_lifecycle.py256CODE
LOWsrc/mcp_atlassian/__init__.py235CODE
LOWsrc/mcp_atlassian/utils/logging.py71CODE
LOWsrc/mcp_atlassian/utils/toolsets.py167CODE
LOWsrc/mcp_atlassian/utils/ssrf_adapter.py51CODE
LOWsrc/mcp_atlassian/models/jira/search.py30CODE
LOWsrc/mcp_atlassian/models/jira/issue.py137CODE
LOWsrc/mcp_atlassian/models/jira/issue.py512CODE
LOWsrc/mcp_atlassian/models/jira/issue.py711CODE
LOWsrc/mcp_atlassian/models/jira/adf.py66CODE
LOWsrc/mcp_atlassian/models/jira/adf.py217CODE
LOWsrc/mcp_atlassian/models/jira/adf.py517CODE
LOWsrc/mcp_atlassian/models/confluence/page.py119CODE
LOWsrc/mcp_atlassian/models/confluence/search.py90CODE
LOWsrc/mcp_atlassian/jira/issues.py77CODE
LOWsrc/mcp_atlassian/jira/issues.py381CODE
LOWsrc/mcp_atlassian/jira/issues.py458CODE
LOWsrc/mcp_atlassian/jira/issues.py593CODE
LOWsrc/mcp_atlassian/jira/issues.py997CODE
LOWsrc/mcp_atlassian/jira/issues.py1103CODE
LOWsrc/mcp_atlassian/jira/issues.py1281CODE
LOWsrc/mcp_atlassian/jira/issues.py1346CODE
LOWsrc/mcp_atlassian/jira/issues.py1498CODE
LOWsrc/mcp_atlassian/jira/issues.py1703CODE
LOWsrc/mcp_atlassian/jira/issues.py1784CODE
LOWsrc/mcp_atlassian/jira/metrics.py25CODE
LOWsrc/mcp_atlassian/jira/metrics.py199CODE
LOWsrc/mcp_atlassian/jira/field_options.py86CODE
LOWsrc/mcp_atlassian/jira/field_options.py146CODE
LOWsrc/mcp_atlassian/jira/queues.py27CODE
LOWsrc/mcp_atlassian/jira/epics.py27CODE
LOWsrc/mcp_atlassian/jira/epics.py113CODE
LOWsrc/mcp_atlassian/jira/epics.py293CODE
LOWsrc/mcp_atlassian/jira/epics.py431CODE
LOWsrc/mcp_atlassian/jira/epics.py651CODE
LOWsrc/mcp_atlassian/jira/epics.py795CODE
LOWsrc/mcp_atlassian/jira/epics.py849CODE
LOWsrc/mcp_atlassian/jira/forms_api.py50CODE
LOWsrc/mcp_atlassian/jira/config.py232CODE
LOWsrc/mcp_atlassian/jira/config.py381CODE
LOWsrc/mcp_atlassian/jira/fields.py181CODE
LOWsrc/mcp_atlassian/jira/fields.py268CODE
LOWsrc/mcp_atlassian/jira/fields.py552CODE
LOWsrc/mcp_atlassian/jira/fields.py783CODE
52 more matches not shown…
Cross-File Repetition17 hits · 85 pts
SeverityFileLineSnippetContext
HIGHtests/e2e/test_images_dc.py0environment variables for configuring mcp server against dc.STRING
HIGHtests/e2e/test_mcp_tools_dc.py0environment variables for configuring mcp server against dc.STRING
HIGHtests/e2e/test_user_lookup_dc.py0environment variables for configuring mcp server against dc.STRING
HIGHtests/e2e/test_images_dc.py0mcp client connected to the server configured for dc.STRING
HIGHtests/e2e/test_mcp_tools_dc.py0mcp client connected to the server configured for dc.STRING
HIGHtests/e2e/test_user_lookup_dc.py0mcp client connected to the server configured for dc.STRING
HIGHtests/e2e/cloud/test_mcp_tools_cloud.py0environment variables for configuring mcp server against cloud.STRING
HIGHtests/e2e/cloud/test_adf_write.py0environment variables for configuring mcp server against cloud.STRING
HIGHtests/e2e/cloud/test_jira_issue_include.py0environment variables for configuring mcp server against cloud.STRING
HIGHtests/e2e/cloud/test_images_cloud.py0environment variables for configuring mcp server against cloud.STRING
HIGHtests/e2e/cloud/test_mcp_tools_cloud.py0mcp client connected to the server configured for cloud.STRING
HIGHtests/e2e/cloud/test_adf_write.py0mcp client connected to the server configured for cloud.STRING
HIGHtests/e2e/cloud/test_jira_issue_include.py0mcp client connected to the server configured for cloud.STRING
HIGHtests/e2e/cloud/test_images_cloud.py0mcp client connected to the server configured for cloud.STRING
HIGHsrc/mcp_atlassian/jira/attachments.py0download a confluence attachment to the specified path. args: url: the url of the attachment to download target_path: thSTRING
HIGHsrc/mcp_atlassian/confluence/protocols.py0download a confluence attachment to the specified path. args: url: the url of the attachment to download target_path: thSTRING
HIGHsrc/mcp_atlassian/confluence/attachments.py0download a confluence attachment to the specified path. args: url: the url of the attachment to download target_path: thSTRING
Redundant / Tautological Comments52 hits · 84 pts
SeverityFileLineSnippetContext
LOWtests/conftest.py345 # Check if modules can be importedCOMMENT
LOWtests/unit/jira/conftest.py390 # Check if integration test environment variables are setCOMMENT
LOWtests/unit/jira/test_protocols.py169 # Check if instance has all required methodsCOMMENT
LOWtests/unit/confluence/conftest.py610 # Check if integration test environment variables are setCOMMENT
LOWtests/e2e/docker/setup-test-data.sh57# Check if any issue exists in E2E projectCOMMENT
LOWscripts/test_with_real_data.sh74# Check if .env file existsCOMMENT
LOWsrc/mcp_atlassian/utils/ssl.py77 # Check if we should bypass proxies for this URL. Prefer the valueCOMMENT
LOWsrc/mcp_atlassian/utils/urls.py128 # Check if hostname is an IP addressCOMMENT
LOWsrc/mcp_atlassian/utils/date.py34 # Check if timestamp is within valid range to avoid OSErrorCOMMENT
LOWsrc/mcp_atlassian/utils/oauth.py76 # Check if base_url is a Cloud URL — if so, cloud_id takes precedenceCOMMENT
LOWsrc/mcp_atlassian/utils/oauth.py192 # Check if required tokens are presentCOMMENT
LOWsrc/mcp_atlassian/utils/oauth.py497 # Check if OAuth is explicitly enabled (allows minimal config)COMMENT
LOWsrc/mcp_atlassian/models/jira/issue.py165 # Check if fields has a names fieldsCOMMENT
LOWsrc/mcp_atlassian/models/jira/issue.py762 # Check if fields has a names() method (some implementations have this)COMMENT
LOWsrc/mcp_atlassian/models/jira/adf.py545 # Check if this is a text nodeCOMMENT
LOWsrc/mcp_atlassian/models/jira/adf.py549 # Check if this is a hardBreak nodeCOMMENT
LOWsrc/mcp_atlassian/models/jira/adf.py553 # Check if this is a mention nodeCOMMENT
LOWsrc/mcp_atlassian/models/jira/adf.py558 # Check if this is an emoji nodeCOMMENT
LOWsrc/mcp_atlassian/models/jira/adf.py563 # Check if this is a date nodeCOMMENT
LOWsrc/mcp_atlassian/models/jira/adf.py575 # Check if this is a status nodeCOMMENT
LOWsrc/mcp_atlassian/models/jira/adf.py580 # Check if this is an inlineCard nodeCOMMENT
LOWsrc/mcp_atlassian/models/jira/adf.py589 # Check if this is a codeBlock nodeCOMMENT
LOWsrc/mcp_atlassian/jira/issues.py747 # Check if we have any stored Epic fields to updateCOMMENT
LOWsrc/mcp_atlassian/jira/issues.py410 # Check if this is an epicCOMMENT
LOWsrc/mcp_atlassian/jira/epics.py153 # Check if this field is requiredCOMMENT
LOWsrc/mcp_atlassian/jira/epics.py178 # Check if this field is requiredCOMMENT
LOWsrc/mcp_atlassian/jira/epics.py199 # Check if this field is requiredCOMMENT
LOWsrc/mcp_atlassian/jira/epics.py325 # Check if the epic key corresponds to an actual epicCOMMENT
LOWsrc/mcp_atlassian/jira/epics.py460 # Check if the issue is an EpicCOMMENT
LOWsrc/mcp_atlassian/jira/epics.py464 # Check if it's an Epic by looking for "epic" in the name (case-insensitive)COMMENT
LOWsrc/mcp_atlassian/jira/epics.py698 # Check if any of these known fields exist in our field IDs valuesCOMMENT
LOWsrc/mcp_atlassian/jira/fields.py284 if not fields: # Check if get_fields failed or returned emptyCODE
LOWsrc/mcp_atlassian/jira/client.py420 # Check if this is the last pageCOMMENT
LOWsrc/mcp_atlassian/jira/formatting.py210 # Check if the issue has fieldsSTRING
LOWsrc/mcp_atlassian/jira/attachments.py65 # Write the file to diskCOMMENT
LOWsrc/mcp_atlassian/jira/attachments.py389 # Check if file existsCOMMENT
LOWsrc/mcp_atlassian/jira/transitions.py172 # Check if normalized_transition_id is validCOMMENT
LOWsrc/mcp_atlassian/jira/transitions.py350 # Check if _get_account_id is available (from UsersMixin)COMMENT
LOWsrc/mcp_atlassian/jira/sla.py664 # Check if it's a working day (isoweekday: 1=Mon, 7=Sun)COMMENT
LOWsrc/mcp_atlassian/jira/projects.py648 # Check if user has browse permission for this projectCOMMENT
LOWsrc/mcp_atlassian/confluence/attachments.py157 # Check if file existsCOMMENT
LOWsrc/mcp_atlassian/confluence/attachments.py402 # Write the file to diskCOMMENT
LOWsrc/mcp_atlassian/confluence/pages.py371 # Check if the property already exists (need version for update)COMMENT
LOWsrc/mcp_atlassian/confluence/pages.py223 # Check if API returned an error stringCOMMENT
LOWsrc/mcp_atlassian/confluence/pages.py1320 # Check if we got a response objectCOMMENT
LOWsrc/mcp_atlassian/confluence/pages.py1322 # Check if status code indicates success (2xx)COMMENT
LOWsrc/mcp_atlassian/confluence/v2_adapter.py479 # Check if status code indicates success (204 No Content is typical for deletes)COMMENT
LOWsrc/mcp_atlassian/confluence/v2_adapter.py973 # Check if the property already existsCOMMENT
LOWsrc/mcp_atlassian/preprocessing/jira.py189 # Check if it's a Confluence wiki linkCOMMENT
LOWsrc/mcp_atlassian/preprocessing/base.py419 # Check if this references a different pageCOMMENT
LOWsrc/mcp_atlassian/servers/confluence.py252 # Check if the query is a simple search term or already a CQL queryCOMMENT
LOWsrc/mcp_atlassian/servers/dependencies.py430 # Check if global config has OAuth set upCOMMENT
Modern Structural Boilerplate41 hits · 40 pts
SeverityFileLineSnippetContext
LOWtests/unit/servers/test_oauth_proxy_build.py12def _set_required_oauth_env(monkeypatch, *, redirect_uri: str) -> None:CODE
LOWtests/unit/servers/test_jira_server.py34logger = logging.getLogger(__name__)CODE
LOWtests/unit/servers/test_mcp_protocol.py36logger = logging.getLogger(__name__)CODE
LOWtests/unit/servers/test_confluence_server.py24logger = logging.getLogger(__name__)CODE
LOWtests/e2e/conftest.py28logger = logging.getLogger(__name__)CODE
LOWtests/e2e/cloud/conftest.py30logger = logging.getLogger(__name__)CODE
LOWsrc/mcp_atlassian/__init__.py480__all__ = ["main", "__version__"]CODE
LOWsrc/mcp_atlassian/utils/media.py8logger = logging.getLogger(__name__)CODE
LOWsrc/mcp_atlassian/utils/tools.py6logger = logging.getLogger(__name__)CODE
LOWsrc/mcp_atlassian/utils/toolsets.py11logger = logging.getLogger(__name__)CODE
LOWsrc/mcp_atlassian/utils/__init__.py32__all__ = [CODE
LOWsrc/mcp_atlassian/utils/decorators.py13logger = logging.getLogger(__name__)CODE
LOWsrc/mcp_atlassian/models/__init__.py62__all__ = [CODE
LOWsrc/mcp_atlassian/models/jira/link.py14logger = logging.getLogger(__name__)CODE
LOWsrc/mcp_atlassian/models/jira/agile.py18logger = logging.getLogger(__name__)CODE
LOWsrc/mcp_atlassian/models/jira/comment.py18logger = logging.getLogger(__name__)CODE
LOWsrc/mcp_atlassian/models/jira/worklog.py17logger = logging.getLogger(__name__)CODE
LOWsrc/mcp_atlassian/models/jira/__init__.py66__all__ = [CODE
LOWsrc/mcp_atlassian/models/jira/forms.py16logger = logging.getLogger(__name__)CODE
LOWsrc/mcp_atlassian/models/jira/common.py25logger = logging.getLogger(__name__)CODE
LOWsrc/mcp_atlassian/models/jira/search.py15logger = logging.getLogger(__name__)CODE
LOWsrc/mcp_atlassian/models/jira/workflow.py18logger = logging.getLogger(__name__)CODE
LOWsrc/mcp_atlassian/models/jira/issue.py34logger = logging.getLogger(__name__)CODE
LOWsrc/mcp_atlassian/models/jira/project.py18logger = logging.getLogger(__name__)CODE
LOWsrc/mcp_atlassian/models/confluence/user_search.py14logger = logging.getLogger(__name__)CODE
LOWsrc/mcp_atlassian/models/confluence/comment.py18logger = logging.getLogger(__name__)CODE
LOWsrc/mcp_atlassian/models/confluence/__init__.py24__all__ = [CODE
LOWsrc/mcp_atlassian/models/confluence/page.py22logger = logging.getLogger(__name__)CODE
LOWsrc/mcp_atlassian/models/confluence/common.py16logger = logging.getLogger(__name__)CODE
LOWsrc/mcp_atlassian/models/confluence/label.py15logger = logging.getLogger(__name__)CODE
LOWsrc/mcp_atlassian/models/confluence/search.py17logger = logging.getLogger(__name__)CODE
LOWsrc/mcp_atlassian/models/confluence/space.py12logger = logging.getLogger(__name__)CODE
LOWsrc/mcp_atlassian/jira/__init__.py93__all__ = [CODE
LOWsrc/mcp_atlassian/jira/utils.py8logger = logging.getLogger(__name__)CODE
LOWsrc/mcp_atlassian/confluence/__init__.py56__all__ = [CODE
LOWsrc/mcp_atlassian/confluence/utils.py8logger = logging.getLogger(__name__)CODE
LOWsrc/mcp_atlassian/preprocessing/__init__.py10__all__ = [CODE
LOWsrc/mcp_atlassian/servers/confluence.py31logger = logging.getLogger(__name__)CODE
LOWsrc/mcp_atlassian/servers/__init__.py5__all__ = ["main_mcp"]CODE
LOWsrc/mcp_atlassian/servers/jira.py29logger = logging.getLogger(__name__)CODE
LOWsrc/mcp_atlassian/servers/oauth_proxy.py73__all__ = ["HardenedOAuthProxy", "parse_env_list"]CODE
Verbosity Indicators20 hits · 39 pts
SeverityFileLineSnippetContext
LOWtests/e2e/cloud/test_jira_issue_creation_workflow.py75 # Step 1: Discover issue typesCOMMENT
LOWtests/e2e/cloud/test_jira_issue_creation_workflow.py79 # Step 2: Pick TaskCOMMENT
LOWtests/e2e/cloud/test_jira_issue_creation_workflow.py82 # Step 3: Discover fieldsCOMMENT
LOWtests/e2e/cloud/test_jira_issue_creation_workflow.py91 # Step 4: Create issue using discovered metadataCOMMENT
LOWsrc/mcp_atlassian/jira/field_options.py178 # Step 1: Resolve issue type name to IDCOMMENT
LOWsrc/mcp_atlassian/jira/field_options.py199 # Step 2: Paginate through createmeta fieldsCOMMENT
LOWsrc/mcp_atlassian/jira/worklog.py99 # Step 1: Update original estimate if provided (separate API call)COMMENT
LOWsrc/mcp_atlassian/jira/worklog.py114 # Step 2: Prepare worklog dataCOMMENT
LOWsrc/mcp_atlassian/jira/worklog.py121 # Step 3: Prepare query parameters for remaining estimateCOMMENT
LOWsrc/mcp_atlassian/jira/worklog.py129 # Step 4: Add the worklog with remaining estimate adjustmentCOMMENT
LOWsrc/mcp_atlassian/jira/fields.py225 # Step 2: Call the correct API method to get field metadataCOMMENT
LOWsrc/mcp_atlassian/jira/fields.py231 # Step 3: Parse the response and extract required fieldsCOMMENT
LOWsrc/mcp_atlassian/jira/fields.py205 # Step 1: Get the ID for the given issue type name within the projectCOMMENT
LOWsrc/mcp_atlassian/confluence/v2_adapter.py1132 # Step 1: Get all versions to find the version IDCOMMENT
LOWsrc/mcp_atlassian/confluence/v2_adapter.py1145 # Step 2: Fetch the specific version using its version IDCOMMENT
LOWsrc/mcp_atlassian/preprocessing/jira.py30 # Step 1: Valid JIRA languages (official list)COMMENT
LOWsrc/mcp_atlassian/preprocessing/jira.py91 # Step 2: Mapping for unsupported languages to closest valid JIRA alternativeCOMMENT
LOWsrc/mcp_atlassian/preprocessing/jira.py410 # Step 1: Check if already valid JIRA languageCOMMENT
LOWsrc/mcp_atlassian/preprocessing/jira.py414 # Step 2: Check language mappingCOMMENT
LOWsrc/mcp_atlassian/preprocessing/jira.py418 # Step 3: Default - unmapped language returns None for plain {code}COMMENT
Structural Annotation Overuse20 hits · 39 pts
SeverityFileLineSnippetContext
LOWtests/e2e/cloud/test_jira_issue_creation_workflow.py75 # Step 1: Discover issue typesCOMMENT
LOWtests/e2e/cloud/test_jira_issue_creation_workflow.py79 # Step 2: Pick TaskCOMMENT
LOWtests/e2e/cloud/test_jira_issue_creation_workflow.py82 # Step 3: Discover fieldsCOMMENT
LOWtests/e2e/cloud/test_jira_issue_creation_workflow.py91 # Step 4: Create issue using discovered metadataCOMMENT
LOWsrc/mcp_atlassian/jira/field_options.py178 # Step 1: Resolve issue type name to IDCOMMENT
LOWsrc/mcp_atlassian/jira/field_options.py199 # Step 2: Paginate through createmeta fieldsCOMMENT
LOWsrc/mcp_atlassian/jira/worklog.py99 # Step 1: Update original estimate if provided (separate API call)COMMENT
LOWsrc/mcp_atlassian/jira/worklog.py114 # Step 2: Prepare worklog dataCOMMENT
LOWsrc/mcp_atlassian/jira/worklog.py121 # Step 3: Prepare query parameters for remaining estimateCOMMENT
LOWsrc/mcp_atlassian/jira/worklog.py129 # Step 4: Add the worklog with remaining estimate adjustmentCOMMENT
LOWsrc/mcp_atlassian/jira/fields.py225 # Step 2: Call the correct API method to get field metadataCOMMENT
LOWsrc/mcp_atlassian/jira/fields.py231 # Step 3: Parse the response and extract required fieldsCOMMENT
LOWsrc/mcp_atlassian/jira/fields.py205 # Step 1: Get the ID for the given issue type name within the projectCOMMENT
LOWsrc/mcp_atlassian/confluence/v2_adapter.py1132 # Step 1: Get all versions to find the version IDCOMMENT
LOWsrc/mcp_atlassian/confluence/v2_adapter.py1145 # Step 2: Fetch the specific version using its version IDCOMMENT
LOWsrc/mcp_atlassian/preprocessing/jira.py30 # Step 1: Valid JIRA languages (official list)COMMENT
LOWsrc/mcp_atlassian/preprocessing/jira.py91 # Step 2: Mapping for unsupported languages to closest valid JIRA alternativeCOMMENT
LOWsrc/mcp_atlassian/preprocessing/jira.py410 # Step 1: Check if already valid JIRA languageCOMMENT
LOWsrc/mcp_atlassian/preprocessing/jira.py414 # Step 2: Check language mappingCOMMENT
LOWsrc/mcp_atlassian/preprocessing/jira.py418 # Step 3: Default - unmapped language returns None for plain {code}COMMENT
Cross-Language Confusion4 hits · 26 pts
SeverityFileLineSnippetContext
HIGHtests/unit/jira/test_format_conversion.py39 "description": "h2. Summary\n\nThis is *bold* text.\n\n|| Header 1 || Header 2 ||\n| Cell 1 | Cell 2 |",CODE
HIGHtests/unit/preprocessing/test_content_processing.py259if (x > 0 && y < 10) {CODE
HIGHtests/unit/preprocessing/test_content_processing.py277 assert "x > 0 && y < 10" in jira_resultCODE
HIGHsrc/mcp_atlassian/jira/comments.py157 # internal. Treat missing, null, string, and numeric values asCOMMENT
Hallucination Indicators1 hit · 10 pts
SeverityFileLineSnippetContext
CRITICALtests/unit/jira/test_search.py1289 sent_jql = search_mixin.jira.get_issues_for_board.call_args.kwargs.get(CODE
Over-Commented Block8 hits · 6 pts
SeverityFileLineSnippetContext
LOWtests/unit/jira/test_attachments.py21#COMMENT
LOWtests/unit/confluence/test_attachments.py21# - No content ID providedCOMMENT
LOWtests/unit/confluence/test_attachments.py41#COMMENT
LOWhelm/values.yaml261 # mountPath: /etc/secretsCOMMENT
LOWsrc/mcp_atlassian/jira/constants.py201 "where",COMMENT
LOWsrc/mcp_atlassian/jira/constants.py221# ───────────────────────────── ─────────────────────────────COMMENT
LOWsrc/mcp_atlassian/confluence/comments.py401 # inlineProperties that the frontend editor normally suppliesCOMMENT
LOWsrc/mcp_atlassian/preprocessing/jira.py221 if not input_text:COMMENT
AI Slop Vocabulary3 hits · 6 pts
SeverityFileLineSnippetContext
LOWtests/unit/jira/test_issues.py248 # Call the method - just use get_issue without the include_epic_info parameterCOMMENT
LOWtests/unit/jira/test_format_conversion.py22 # JiraFetcher already has a real preprocessor, so we just return itCOMMENT
LOWsrc/mcp_atlassian/preprocessing/base.py314 # Fallback: just use the account IDCOMMENT
AI Structural Patterns7 hits · 5 pts
SeverityFileLineSnippetContext
LOWsrc/mcp_atlassian/models/confluence/label.py62CODE
LOWsrc/mcp_atlassian/confluence/pages.py670CODE
LOWsrc/mcp_atlassian/confluence/pages.py779CODE
LOWsrc/mcp_atlassian/preprocessing/jira.py391CODE
LOWsrc/mcp_atlassian/preprocessing/jira.py658CODE
LOWsrc/mcp_atlassian/servers/confluence.py684CODE
LOWsrc/mcp_atlassian/servers/confluence.py871CODE
TODO Padding1 hit · 2 pts
SeverityFileLineSnippetContext
LOWsrc/mcp_atlassian/jira/development.py150 # TODO: Consider caching results to reduce API calls (up to 12 per issue)COMMENT
Overly Generic Function Names2 hits · 1 pts
SeverityFileLineSnippetContext
LOWtests/unit/preprocessing/test_content_processing.py96def process_data(items):CODE
LOWtests/unit/preprocessing/test_content_processing.py155 assert "def process_data(items):" in jira_resultCODE