Repository Analysis

ycm-core/YouCompleteMe

A code-completion engine for Vim

10.8 Low AI signal View on GitHub
10.8
Adjusted Score
10.8
Raw Score
100%
Time Factor
2026-05-23
Last Push
25,906
Stars
Python
Language
26,162
Lines of Code
85
Files
155
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 0MEDIUM 62LOW 93

Pattern Findings

155 matches across 8 categories. Click a row to expand file-level details.

Self-Referential Comments59 hits · 177 pts
SeverityFileLineSnippet
MEDIUM.ycm_extra_conf.py1# This file is NOT licensed under the GPLv3, which is the license for the rest
MEDIUMpython/ycm/signature_help.py3# This file is part of YouCompleteMe.
MEDIUMpython/ycm/youcompleteme.py3# This file is part of YouCompleteMe.
MEDIUMpython/ycm/vimsupport.py3# This file is part of YouCompleteMe.
MEDIUMpython/ycm/paths.py3# This file is part of YouCompleteMe.
MEDIUMpython/ycm/diagnostic_filter.py3# This file is part of YouCompleteMe.
MEDIUMpython/ycm/hierarchy_tree.py3# This file is part of YouCompleteMe.
MEDIUMpython/ycm/diagnostic_interface.py3# This file is part of YouCompleteMe.
MEDIUMpython/ycm/inlay_hints.py3# This file is part of YouCompleteMe.
MEDIUMpython/ycm/syntax_parse.py3# This file is part of YouCompleteMe.
MEDIUMpython/ycm/text_properties.py3# This file is part of YouCompleteMe.
MEDIUMpython/ycm/semantic_highlighting.py3# This file is part of YouCompleteMe.
MEDIUMpython/ycm/buffer.py3# This file is part of YouCompleteMe.
MEDIUMpython/ycm/base.py3# This file is part of YouCompleteMe.
MEDIUMpython/ycm/unsafe_thread_pool_executor.py21# This file provides an UnsafeThreadPoolExecutor, which operates exactly like
MEDIUMpython/ycm/omni_completer.py3# This file is part of YouCompleteMe.
MEDIUMpython/ycm/scrolling_range.py3# This file is part of YouCompleteMe.
MEDIUMpython/ycm/tests/omni_completer_test.py5# This file is part of YouCompleteMe.
MEDIUMpython/ycm/tests/base_test.py4# This file is part of YouCompleteMe.
MEDIUMpython/ycm/tests/test_utils.py3# This file is part of YouCompleteMe.
MEDIUMpython/ycm/tests/signature_help_test.py3# This file is part of YouCompleteMe.
MEDIUMpython/ycm/tests/diagnostic_filter_test.py3# This file is part of YouCompleteMe.
MEDIUMpython/ycm/tests/event_notification_test.py3# This file is part of YouCompleteMe.
MEDIUMpython/ycm/tests/postcomplete_test.py5# This file is part of YouCompleteMe.
MEDIUMpython/ycm/tests/__init__.py3# This file is part of YouCompleteMe.
MEDIUMpython/ycm/tests/completion_test.py3# This file is part of YouCompleteMe.
MEDIUMpython/ycm/tests/command_test.py3# This file is part of YouCompleteMe.
MEDIUMpython/ycm/tests/youcompleteme_test.py3# This file is part of YouCompleteMe.
MEDIUMpython/ycm/tests/youcompleteme_test.py1218 # Create the request and make the first poll; we expect no response
MEDIUMpython/ycm/tests/youcompleteme_test.py1278 # Create the request and make the first poll; we expect no response
MEDIUMpython/ycm/tests/youcompleteme_test.py1318 # Create the request and make the first poll; we expect no response
MEDIUMpython/ycm/tests/syntax_parse_test.py4# This file is part of YouCompleteMe.
MEDIUMpython/ycm/tests/vimsupport_test.py3# This file is part of YouCompleteMe.
MEDIUMpython/ycm/tests/vimsupport_test.py230 # Create a two lines buffer whose first
MEDIUMpython/ycm/tests/vimsupport_test.py244 # Create a two lines buffer whose first
MEDIUMpython/ycm/tests/vimsupport_test.py259 # Create a two lines buffer whose first
MEDIUMpython/ycm/tests/diagnostic_interface_test.py3# This file is part of YouCompleteMe.
MEDIUMpython/ycm/tests/mock_utils.py3# This file is part of YouCompleteMe.
MEDIUMpython/ycm/tests/paths_test.py3# This file is part of YouCompleteMe.
MEDIUMpython/ycm/tests/client/completion_request_test.py3# This file is part of YouCompleteMe.
MEDIUMpython/ycm/tests/client/debug_info_request_test.py3# This file is part of YouCompleteMe.
MEDIUMpython/ycm/tests/client/omni_completion_request_test.py3# This file is part of YouCompleteMe.
MEDIUMpython/ycm/tests/client/messages_request_test.py3# This file is part of YouCompleteMe.
MEDIUMpython/ycm/tests/client/command_request_test.py3# This file is part of YouCompleteMe.
MEDIUMpython/ycm/tests/client/base_request_test.py3# This file is part of YouCompleteMe.
MEDIUMpython/ycm/client/event_notification.py3# This file is part of YouCompleteMe.
MEDIUMpython/ycm/client/ycmd_keepalive.py3# This file is part of YouCompleteMe.
MEDIUMpython/ycm/client/debug_info_request.py3# This file is part of YouCompleteMe.
MEDIUMpython/ycm/client/shutdown_request.py3# This file is part of YouCompleteMe.
MEDIUMpython/ycm/client/command_request.py3# This file is part of YouCompleteMe.
MEDIUMpython/ycm/client/inlay_hints_request.py3# This file is part of YouCompleteMe.
MEDIUMpython/ycm/client/completion_request.py3# This file is part of YouCompleteMe.
MEDIUMpython/ycm/client/omni_completion_request.py3# This file is part of YouCompleteMe.
MEDIUMpython/ycm/client/messages_request.py3# This file is part of YouCompleteMe.
MEDIUMpython/ycm/client/signature_help_request.py3# This file is part of YouCompleteMe.
MEDIUMpython/ycm/client/completer_available_request.py3# This file is part of YouCompleteMe.
MEDIUMpython/ycm/client/resolve_completion_request.py3# This file is part of YouCompleteMe.
MEDIUMpython/ycm/client/semantic_tokens_request.py3# This file is part of YouCompleteMe.
MEDIUMpython/ycm/client/base_request.py3# This file is part of YouCompleteMe.
Over-Commented Block56 hits · 56 pts
SeverityFileLineSnippet
LOW.ycm_extra_conf.py1# This file is NOT licensed under the GPLv3, which is the license for the rest
LOWpython/ycm/signature_help.py1# Copyright (C) 2011-2018 YouCompleteMe contributors
LOWpython/ycm/youcompleteme.py1# Copyright (C) 2011-2024 YouCompleteMe contributors
LOWpython/ycm/youcompleteme.py561 def UpdateWithNewDiagnosticsForFile( self, filepath, diagnostics ):
LOWpython/ycm/youcompleteme.py581 # - Use a special buffer for project errors
LOWpython/ycm/vimsupport.py1# Copyright (C) 2011-2018 YouCompleteMe contributors
LOWpython/ycm/vimsupport.py821 vim_items = [ prompt ]
LOWpython/ycm/paths.py1# Copyright (C) 2015-2017 YouCompleteMe contributors.
LOWpython/ycm/diagnostic_filter.py1# Copyright (C) 2016 YouCompleteMe contributors
LOWpython/ycm/hierarchy_tree.py1# Copyright (C) 2024 YouCompleteMe contributors
LOWpython/ycm/diagnostic_interface.py1# Copyright (C) 2013-2018 YouCompleteMe contributors
LOWpython/ycm/inlay_hints.py1# Copyright (C) 2022, YouCompleteMe Contributors
LOWpython/ycm/syntax_parse.py1# Copyright (C) 2013 Google Inc.
LOWpython/ycm/text_properties.py1# Copyright (C) 2020, YouCompleteMe Contributors
LOWpython/ycm/semantic_highlighting.py1# Copyright (C) 2020, YouCompleteMe Contributors
LOWpython/ycm/buffer.py1# Copyright (C) 2016, Davit Samvelyan
LOWpython/ycm/base.py1# Copyright (C) 2011, 2012 Google Inc.
LOWpython/ycm/omni_completer.py1# Copyright (C) 2011-2019 ycmd contributors
LOWpython/ycm/scrolling_range.py1# Copyright (C) 2023, YouCompleteMe Contributors
LOWpython/ycm/tests/omni_completer_test.py1# encoding: utf-8
LOWpython/ycm/tests/base_test.py1# Copyright (C) 2013 Google Inc.
LOWpython/ycm/tests/test_utils.py1# Copyright (C) 2011-2019 YouCompleteMe contributors
LOWpython/ycm/tests/signature_help_test.py1# Copyright (C) 2019 YouCompleteMe contributors
LOWpython/ycm/tests/diagnostic_filter_test.py1# Copyright (C) 2016 YouCompleteMe contributors
LOWpython/ycm/tests/event_notification_test.py1# Copyright (C) 2015-2018 YouCompleteMe contributors
LOWpython/ycm/tests/postcomplete_test.py1# encoding: utf-8
LOWpython/ycm/tests/__init__.py1# Copyright (C) 2016-2020 YouCompleteMe contributors
LOWpython/ycm/tests/completion_test.py1# Copyright (C) 2016 YouCompleteMe contributors
LOWpython/ycm/tests/command_test.py1# Copyright (C) 2016-2018 YouCompleteMe contributors
LOWpython/ycm/tests/youcompleteme_test.py1# Copyright (C) 2016-2018 YouCompleteMe contributors
LOWpython/ycm/tests/syntax_parse_test.py1# Copyright (C) 2013 Google Inc.
LOWpython/ycm/tests/vimsupport_test.py1# Copyright (C) 2015-2018 YouCompleteMe contributors
LOWpython/ycm/tests/diagnostic_interface_test.py1# Copyright (C) 2015-2018 YouCompleteMe contributors
LOWpython/ycm/tests/mock_utils.py1# Copyright (C) 2017 YouCompleteMe contributors
LOWpython/ycm/tests/paths_test.py1# Copyright (C) 2016-2017 YouCompleteMe contributors
LOWpython/ycm/tests/client/completion_request_test.py1# Copyright (C) 2015-2019 YouCompleteMe Contributors
LOWpython/ycm/tests/client/debug_info_request_test.py1# Copyright (C) 2017 YouCompleteMe Contributors
LOWpython/ycm/tests/client/omni_completion_request_test.py1# Copyright (C) 2020 YouCompleteMe contributors
LOWpython/ycm/tests/client/messages_request_test.py1# Copyright (C) 2017 YouCompleteMe Contributors
LOWpython/ycm/tests/client/command_request_test.py1# Copyright (C) 2016 YouCompleteMe Contributors
LOWpython/ycm/tests/client/base_request_test.py1# Copyright (C) 2017-2018 YouCompleteMe Contributors
LOWpython/ycm/client/event_notification.py1# Copyright (C) 2013-2018 YouCompleteMe contributors
LOWpython/ycm/client/ycmd_keepalive.py1# Copyright (C) 2013 Google Inc.
LOWpython/ycm/client/debug_info_request.py1# Copyright (C) 2016-2017 YouCompleteMe contributors
LOWpython/ycm/client/shutdown_request.py1# Copyright (C) 2016 YouCompleteMe contributors
LOWpython/ycm/client/command_request.py1# Copyright (C) 2013 Google Inc.
LOWpython/ycm/client/inlay_hints_request.py1# Copyright (C) 2022, YouCompleteMe Contributors
LOWpython/ycm/client/completion_request.py1# Copyright (C) 2013-2019 YouCompleteMe contributors
LOWpython/ycm/client/omni_completion_request.py1# Copyright (C) 2013 Google Inc.
LOWpython/ycm/client/messages_request.py1# Copyright (C) 2017 YouCompleteMe contributors
LOWpython/ycm/client/signature_help_request.py1# Copyright (C) 2019 YouCompleteMe contributors
LOWpython/ycm/client/completer_available_request.py1# Copyright (C) 2013 Google Inc.
LOWpython/ycm/client/resolve_completion_request.py1# Copyright (C) 2020 YouCompleteMe contributors
LOWpython/ycm/client/semantic_tokens_request.py1# Copyright (C) 2020, YouCompleteMe Contributors
LOWpython/ycm/client/base_request.py1# Copyright (C) 2013-2018 YouCompleteMe contributors
LOW.github/workflows/lock_old_issues.yaml21 # pr-lock-inactive-days: '365'
AI Slop Vocabulary7 hits · 12 pts
SeverityFileLineSnippet
LOWpython/ycm/vimsupport.py185 # In that case, just return 0 rather than spamming an error to the console.
LOWpython/ycm/vimsupport.py973 # file is already open and visible, just return that buffer number (and an
MEDIUMpython/ycm/unsafe_thread_pool_executor.py28# it's safe (the aforementioned network requests case).
LOWpython/ycm/client/base_request.py100 # up; see Requests docs for details (we just pass the param along).
LOWpython/ycm/client/base_request.py125 # up; see Requests docs for details (we just pass the param along).
LOWpython/ycm/client/base_request.py142 # up; see Requests docs for details (we just pass the param along).
LOWpython/ycm/client/base_request.py151 # up; see Requests docs for details (we just pass the param along).
Fake / Example Data11 hits · 12 pts
SeverityFileLineSnippet
LOWtest/testdata/python/doc.py17 """Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum egestas libero urna, vel sagittis felis condime
LOWtest/testdata/python/doc.py17 """Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum egestas libero urna, vel sagittis felis condime
LOWtest/testdata/python/doc.py23 """Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum egestas
LOWtest/testdata/python/doc.py23 """Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum egestas
LOWpython/ycm/tests/client/completion_request_test.py230 'extra_menu_info': 'ESPECIALLY LONG EXTRA MENU INFO LOREM IPSUM DOLOR',
LOWpython/ycm/tests/client/completion_request_test.py239 'info' : 'ESPECIALLY LONG EXTRA MENU INFO LOREM IPSUM DOLOR\n\n' +
LOWpython/ycm/tests/client/completion_request_test.py281 'extra_menu_info': 'ESPECIALLY LONG EXTRA MENU INFO LOREM IPSUM DOLOR',
LOWpython/ycm/tests/client/completion_request_test.py288 'menu' : 'ESPECIALLY LONG EXTRA MENU INFO LOREM IPSUM DOLOR',
LOWpython/ycm/tests/client/completion_request_test.py306 'extra_menu_info': 'ESPECIALLY LONG METHOD SIGNATURE LOREM IPSUM',
LOWpython/ycm/tests/client/completion_request_test.py308 'detailed_info': 'ESPECIALLY LONG METHOD SIGNATURE LOREM IPSUM',
LOWpython/ycm/tests/client/completion_request_test.py315 'info' : 'ESPECIALLY LONG METHOD SIGNATURE LOREM IPSUM\n' +
Deep Nesting10 hits · 10 pts
SeverityFileLineSnippet
LOWpython/ycm/youcompleteme.py291
LOWpython/ycm/youcompleteme.py891
LOWpython/ycm/vimsupport.py679
LOWpython/ycm/diagnostic_interface.py210
LOWpython/ycm/semantic_highlighting.py111
LOWpython/ycm/tests/test_utils.py660
LOWpython/ycm/tests/test_utils.py615
LOWpython/ycm/tests/event_notification_test.py261
LOWpython/ycm/client/command_request.py164
LOWpython/ycm/client/messages_request.py73
Excessive Try-Catch Wrapping6 hits · 8 pts
SeverityFileLineSnippet
LOWpython/ycm/tests/test_utils.py762 except Exception as test_exception:
MEDIUMpython/ycm/tests/test_utils.py759def Wrapper( *args, **kwargs ):
LOWpython/ycm/tests/__init__.py102 except Exception:
MEDIUMpython/ycm/tests/__init__.py97def StopServer( ycm ):
LOWpython/ycm/tests/client/completion_request_test.py38 except Exception:
LOWpython/ycm/client/base_request.py90 except Exception as e:
Unused Imports4 hits · 4 pts
SeverityFileLineSnippet
LOWinstall.py3
LOWinstall.py4
LOWinstall.py5
LOWinstall.py6
Redundant / Tautological Comments2 hits · 3 pts
SeverityFileLineSnippet
LOWpython/ycm/vimsupport.py1325 # Open the file.
LOWpython/ycm/vimsupport.py1383 # Check if those lines correspond to a previous visual selection and if they