Skip to content

Draft: Add cop PrivateHelperMethods

What does this MR do and why?

Add cop PrivateHelperMethods

  • Private methods on helpers can be called regardless of them being marked private. To make this more obvious we should name them starting with an underscore. This will stick out in reviews more easily.

  • Refs: #436431

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Impact on gitlab-org/gitlab

331 files inspected, 420 offenses detected
Click to expand
Inspecting 331 files
.......C...CCC....C.......C.....C.C..C..C...........C.C.C...CCC.....C.....C.C.CC...CC.C.C..CC.C.CCC..CC......C.C...C...C.C.....C....C....CC.........CCC....C.C......C.....C....CC....CCC.C.C...C....C.CC...CC....C..........CC....C......C..C.C.C...CCC..CCC..CCCC.CC...C.C.CCC.C..C....C.CC...............C.......CCC.CC..C.....C..C.CCC..

Offenses:

app/helpers/admin/broadcast_messages_helper.rb:106:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def current_user_access_level_for_project_or_group ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/admin/user_actions_helper.rb:26:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def blocked_actions ...
    ^^^^^^^^^^^^^^^^^^^
app/helpers/admin/user_actions_helper.rb:39:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def deactivate_actions ...
    ^^^^^^^^^^^^^^^^^^^^^^
app/helpers/admin/user_actions_helper.rb:47:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def unlock_actions ...
    ^^^^^^^^^^^^^^^^^^
app/helpers/admin/user_actions_helper.rb:51:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def delete_actions ...
    ^^^^^^^^^^^^^^^^^^
app/helpers/admin/user_actions_helper.rb:58:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def ban_actions ...
    ^^^^^^^^^^^^^^^
app/helpers/admin/user_actions_helper.rb:71:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def trust_actions ...
    ^^^^^^^^^^^^^^^^^
app/helpers/appearances_helper.rb:110:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def render_message(field_sym, class_names: [], style: message_style) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/appearances_helper.rb:118:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def message_style ...
  ^^^^^^^^^^^^^^^^^
app/helpers/application_helper.rb:503:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def browser_id ...
  ^^^^^^^^^^^^^^
app/helpers/application_helper.rb:507:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def platform_id ...
  ^^^^^^^^^^^^^^^
app/helpers/application_helper.rb:511:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def appearance ...
  ^^^^^^^^^^^^^^
app/helpers/avatars_helper.rb:122:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def avatar_icon_by_user_email_or_gravatar(email, size, scale, only_path:, by_commit_email: false) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/avatars_helper.rb:137:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def user_avatar_url_for(only_path: true, **options) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/avatars_helper.rb:144:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def source_icon(source, options = {}) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/avatars_helper.rb:161:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def source_identicon(source, options = {}) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/avatars_helper.rb:173:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def blocked_or_unconfirmed?(user) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/avatars_helper.rb:177:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def can_admin?(user) ...
  ^^^^^^^^^^^^^^^^^^^^
app/helpers/breadcrumbs_helper.rb:50:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def schema_breadcrumb_list ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/breadcrumbs_helper.rb:54:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def build_item_list_elements ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/breadcrumbs_helper.rb:67:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def schema_list_item(text, link, position) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/breadcrumbs_helper.rb:76:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def ensure_absolute_link(link) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/ci/pipeline_editor_helper.rb:45:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def uses_external_config?(project) ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/ci/pipelines_helper.rb:103:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def warning_markdown(pipeline) ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/ci/pipelines_helper.rb:109:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def show_jenkins_ci_prompt(project) ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/ci/status_helper.rb:92:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def detailed_status?(status) ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/ci/status_helper.rb:99:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def ci_label_for_status(status) ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/ci/status_helper.rb:120:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def badge_variant(status) ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/clusters_helper.rb:104:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def default_branch_name(clusterable) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/clusters_helper.rb:108:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def clusterable_project_path(clusterable) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/dev_ops_report_helper.rb:16:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def format_score(score) ...
  ^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/dev_ops_report_helper.rb:21:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def score_level(score) ...
  ^^^^^^^^^^^^^^^^^^^^^^
app/helpers/dev_ops_report_helper.rb:40:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def average_score_level(score) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/dev_ops_report_helper.rb:62:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def average_score_data(metric) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/dev_ops_report_helper.rb:69:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def devops_score_card_data(metric) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/diff_helper.rb:250:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def diff_btn(title, name, selected) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/diff_helper.rb:262:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def commit_diff_whitespace_link(project, commit, options) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/diff_helper.rb:267:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def diff_compare_whitespace_link(project, from, to, options) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/diff_helper.rb:272:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def hide_whitespace? ...
  ^^^^^^^^^^^^^^^^^^^^
app/helpers/diff_helper.rb:276:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def toggle_whitespace_link(url, options) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/diff_helper.rb:281:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def code_navigation_path(diffs) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/diff_helper.rb:285:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def log_overflow_limits(diff_files:, collection_overflow:) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/emails_helper.rb:362:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def format_reviewers_string(reviewers, html_tag = nil) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/emails_helper.rb:374:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def users_to_sentence(users) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/emails_helper.rb:378:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def generate_link(text, url) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/emails_helper.rb:382:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def show_footer? ...
  ^^^^^^^^^^^^^^^^
app/helpers/emails_helper.rb:386:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def show_header? ...
  ^^^^^^^^^^^^^^^^
app/helpers/emails_helper.rb:390:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def email_header_and_footer_enabled? ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/emails_helper.rb:394:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def gitlab_host_link(format) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/emails_helper.rb:403:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def notification_reason_text_with_unsubscribe_and_manage_notifications_and_help_links(reason:, unsubscribe_url:, format:) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/emails_helper.rb:425:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def notification_reason_text_with_manage_label_subscriptions_and_help_links(manage_label_subscriptions_url:, format:) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/emails_helper.rb:435:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def notification_reason_text_with_manage_notifications_and_help_links(reason:, format:) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/emails_helper.rb:450:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def notification_reason_text_without_links(reason:, format:) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/environments_helper.rb:45:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def project_metrics_data(project) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/environments_helper.rb:60:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def environment_metrics_data(environment) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/environments_helper.rb:70:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def project_and_environment_metrics_data(project, environment) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/environments_helper.rb:80:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def static_metrics_data ...
  ^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/events_helper.rb:343:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def design_url(design, opts = {}) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/explore_helper.rb:51:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def request_path_with_options(options = {}) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/form_helper.rb:151:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def append_help_page_link(message, options) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/form_helper.rb:165:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def multiple_assignees_dropdown_options(options) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/form_helper.rb:175:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def multiple_reviewers_dropdown_options(options) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/groups/group_members_helper.rb:32:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def group_members_serialized(group, members) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/groups/group_members_helper.rb:36:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def group_group_links_serialized(group, group_links) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/groups/group_members_helper.rb:41:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def group_members_list_data(group, members, pagination = {}) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/groups/group_members_helper.rb:49:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def group_group_links(group, include_relations) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/groups/group_members_helper.rb:62:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def group_group_links_list_data(group, include_relations, search) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/groups_helper.rb:240:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def group_title_link(group, hidable: false, show_avatar: false) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/groups_helper.rb:247:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def ancestor_group(group) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/groups_helper.rb:256:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def remove_the_share_with_group_lock_from_ancestor(group) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/groups_helper.rb:266:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def oldest_consecutively_locked_ancestor(group) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/groups_helper.rb:273:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def sorted_ancestors(group) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/groups_helper.rb:281:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def default_help ...
  ^^^^^^^^^^^^^^^^
app/helpers/groups_helper.rb:285:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def ancestor_locked_but_you_can_override(group) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/groups_helper.rb:289:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def ancestor_locked_so_ask_the_owner(group) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/groups_helper.rb:293:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def ancestor_locked_and_has_been_overridden(group) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/groups_helper.rb:297:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def group_url_error_message ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/groups_helper.rb:302:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def localized_jobs_to_be_done_choices ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/icons_helper.rb:175:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def unknown_icon_sprite(icon_name) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/icons_helper.rb:179:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def unknown_file_icon_sprite(icon_name) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/icons_helper.rb:183:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def known_sprites ...
  ^^^^^^^^^^^^^^^^^
app/helpers/icons_helper.rb:189:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def known_file_icon_sprites ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/icons_helper.rb:195:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def memoized_icon(key) ...
  ^^^^^^^^^^^^^^^^^^^^^^
app/helpers/ide_helper.rb:29:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def new_ide_fonts ...
  ^^^^^^^^^^^^^^^^^
app/helpers/ide_helper.rb:51:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def new_ide_code_suggestions_data ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/ide_helper.rb:55:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def new_ide_oauth_data ...
  ^^^^^^^^^^^^^^^^^^^^^^
app/helpers/ide_helper.rb:68:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def new_ide_data(project:) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/ide_helper.rb:78:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def legacy_ide_data(project:) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/ide_helper.rb:99:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def convert_to_project_entity_json(project) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/ide_helper.rb:105:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def has_dismissed_ide_environments_callout? ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/integrations_helper.rb:247:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def jira_integration_event_description(event) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/integrations_helper.rb:256:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def teamcity_integration_event_description(event) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/integrations_helper.rb:266:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def default_integration_event_description(event) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/integrations_helper.rb:302:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def trigger_events_for_integration(integration) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/integrations_helper.rb:306:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def fields_for_integration(integration) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/integrations_helper.rb:310:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def integration_level(integration) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/integrations_helper.rb:320:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def serialize_integration(integration, group: nil, project: nil) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/invite_members_helper.rb:51:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def group_select_data(source) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/invite_members_helper.rb:60:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def users_filter_data(group) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/issuables_helper.rb:266:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def sidebar_gutter_collapsed? ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/issuables_helper.rb:270:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def close_reopen_params(issuable, action) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/issuables_helper.rb:278:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def labels_path ...
  ^^^^^^^^^^^^^^^
app/helpers/issuables_helper.rb:286:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def issuable_sidebar_options(issuable) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/issuables_helper.rb:306:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def sidebar_labels_data(issuable_sidebar, project) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/issuables_helper.rb:321:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def sidebar_status_data(issuable_sidebar, project) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/issuables_helper.rb:330:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def parent ...
  ^^^^^^^^^^
app/helpers/issuables_helper.rb:334:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def format_count(issuable_type, count, threshold) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/issuables_helper.rb:342:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def issue_only_initial_data(issuable) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/issuables_helper.rb:359:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def incident_only_initial_data(issue) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/issuables_helper.rb:370:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def issue_header_data(issuable) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/issuables_helper.rb:392:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def work_items_data ...
  ^^^^^^^^^^^^^^^^^^^
app/helpers/issuables_helper.rb:399:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def path_data(parent) ...
  ^^^^^^^^^^^^^^^^^^^^^
app/helpers/issuables_helper.rb:409:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def updated_at_by(issuable) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/jira_connect_helper.rb:19:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def jira_connect_oauth_data(installation) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/jira_connect_helper.rb:42:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def oauth_state ...
  ^^^^^^^^^^^^^^^
app/helpers/jira_connect_helper.rb:46:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def serialize_subscription(subscription) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/labels_helper.rb:231:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def render_label_link(label_html, link:, title:, dataset:) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/labels_helper.rb:243:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def render_label_text(name, suffix: '', css_class: nil, bg_color: nil) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/lazy_image_tag_helper.rb:38:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def prepare_dark_variant(source, options) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/markup_helper.rb:157:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def render_wiki_content_context(wiki, wiki_page, context) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/markup_helper.rb:168:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def render_wiki_content_context_container(wiki) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/markup_helper.rb:182:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def render_links(text) ...
  ^^^^^^^^^^^^^^^^^^^^^^
app/helpers/markup_helper.rb:193:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def markdown_toolbar_button(options = {}) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/markup_helper.rb:212:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def render_markdown_field(object, field, context = {}) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/markup_helper.rb:223:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def markdown_field_render_context(object, field, base_context = {}) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/markup_helper.rb:229:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def prepare_for_rendering(html, context = {}) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/markup_helper.rb:239:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def postprocess_context ...
  ^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/markup_helper.rb:251:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def prepare_asciidoc_context(file_name, context) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/members_helper.rb:48:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def source_text(member) ...
  ^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/members_helper.rb:56:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def members_pagination_data(members, pagination = {}) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/members_helper.rb:66:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def member_request_access_link(member) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/merge_requests_helper.rb:238:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def review_requested_merge_requests_count ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/merge_requests_helper.rb:242:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def default_suggestion_commit_message(project) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/merge_requests_helper.rb:246:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def merge_request_source_branch(merge_request) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/merge_requests_helper.rb:277:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def merge_request_header(project, merge_request) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/merge_requests_helper.rb:289:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def sticky_header_data ...
  ^^^^^^^^^^^^^^^^^^^^^^
app/helpers/merge_requests_helper.rb:311:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def hidden_merge_request_icon(merge_request) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/merge_requests_helper.rb:317:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def tab_count_display(merge_request, count) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/merge_requests_helper.rb:321:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def review_bar_data(_merge_request, _user) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/milestones_helper.rb:17:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def milestone_header_color(primary: false) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/milestones_helper.rb:23:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def milestone_header_border(issuables) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/nav/new_dropdown_helper.rb:26:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def group_menu_section(group) ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/nav/new_dropdown_helper.rb:63:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def project_menu_section(project) ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/nav/new_dropdown_helper.rb:110:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def general_menu_section ...
    ^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/nav/new_dropdown_helper.rb:163:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def invite_members_menu_item(partial:) ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/nav/new_dropdown_helper.rb:178:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def create_epic_menu_item(group) ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/nav_helper.rb:58:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def get_header_links ...
  ^^^^^^^^^^^^^^^^^^^^
app/helpers/organizations/organization_helper.rb:57:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def shared_groups_and_projects_app_data ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/organizations/organization_helper.rb:66:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def shared_new_settings_general_app_data ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/organizations/organization_helper.rb:75:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def organizations_users_paths ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/page_layout_helper.rb:184:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def generic_canonical_url ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/page_layout_helper.rb:194:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def generate_generic_canonical_url? ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/preferences_helper.rb:132:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def gitpod_url_placeholder ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/preferences_helper.rb:137:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def validate_dashboard_choices!(user_dashboards) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/preferences_helper.rb:146:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def excluded_dashboard_choices ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/preferences_helper.rb:150:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def default_first_day_of_week ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/preferences_helper.rb:154:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def selectable_locales_with_translation_level(minimum_level) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/projects/alert_management_helper.rb:32:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def alert_management_enabled?(project) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/projects/error_tracking_helper.rb:36:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def show_integrated_tracking_disabled_alert?(project) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/projects/error_tracking_helper.rb:42:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def integrated_tracking_enabled?(project) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/projects/error_tracking_helper.rb:46:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def integrated_client_enabled?(project) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/projects/project_members_helper.rb:31:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def share_project_description(project) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/projects/project_members_helper.rb:47:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def project_members_serialized(project, members) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/projects/project_members_helper.rb:51:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def project_group_links_serialized(project, group_links) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/projects/project_members_helper.rb:55:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def project_members_list_data(project, members, pagination = {}) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/projects/project_members_helper.rb:63:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def project_group_links_list_data(project, include_relations, search) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/projects_helper.rb:536:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def can_admin_project_clusters?(project) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/projects_helper.rb:540:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def can_admin_group_clusters?(project) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/projects_helper.rb:544:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def create_merge_request_path(project, source_project, ref, merge_request) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/projects_helper.rb:556:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def can_sync_branch?(project, ref) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/projects_helper.rb:562:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def localized_access_names ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/projects_helper.rb:574:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def configure_oauth_import_message(provider, help_url) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/projects_helper.rb:585:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def project_lfs_status(project) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/projects_helper.rb:597:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def git_user_name ...
  ^^^^^^^^^^^^^^^^^
app/helpers/projects_helper.rb:605:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def git_user_email ...
  ^^^^^^^^^^^^^^^^^^
app/helpers/projects_helper.rb:613:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def default_url_to_repo(project = @project) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/projects_helper.rb:622:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def default_clone_label ...
  ^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/projects_helper.rb:626:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def default_clone_protocol ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/projects_helper.rb:634:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def extra_default_clone_protocol ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/projects_helper.rb:642:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def current_ref ...
  ^^^^^^^^^^^^^^^
app/helpers/projects_helper.rb:646:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def project_child_container_class(view_path) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/projects_helper.rb:650:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def project_issues(project) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/projects_helper.rb:654:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def restricted_levels ...
  ^^^^^^^^^^^^^^^^^^^^^
app/helpers/projects_helper.rb:660:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def project_permissions_settings(project) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/projects_helper.rb:695:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def project_allowed_visibility_levels(project) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/projects_helper.rb:701:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def find_file_path(ref_type: nil) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/projects_helper.rb:710:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def can_show_last_commit_in_list?(project) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/projects_helper.rb:716:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def pages_https_only_disabled? ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/projects_helper.rb:720:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def pages_https_only_title ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/projects_helper.rb:726:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def filter_starrer_path(options = {}) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/projects_helper.rb:731:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def sidebar_operations_paths ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/projects_helper.rb:751:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def user_can_see_auto_devops_implicitly_enabled_banner?(project, user) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/projects_helper.rb:758:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def show_visibility_confirm_modal?(project) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/projects_helper.rb:762:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def confirm_reduce_visibility_message(project) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/projects_helper.rb:774:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def visibility_confirm_modal_data(project, target_form_id = nil) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/projects_helper.rb:787:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def build_project_breadcrumb_link(project) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/projects_helper.rb:798:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def build_namespace_breadcrumb_link(project) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/projects_helper.rb:811:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def delete_inactive_projects? ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/releases_helper.rb:75:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def new_edit_pages_shared_data ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/reminder_emails_helper.rb:67:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def invitation_reminder_body_text(reminder_index) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/routing/projects_helper.rb:97:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def use_work_items_path?(issue) ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/routing/projects_helper.rb:103:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def use_issue_path?(work_item) ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/routing/pseudonymization_helper.rb:51:7: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
      def mask_id(value) ...
      ^^^^^^^^^^^^^^^^^^
app/helpers/routing/pseudonymization_helper.rb:64:7: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
      def has_maskable_params? ...
      ^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/routing/pseudonymization_helper.rb:69:7: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
      def masked_query_params ...
      ^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/routing/snippets_helper.rb:131:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def snippet_query_params(snippet, *args) ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/search_helper.rb:254:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def default_autocomplete ...
  ^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/search_helper.rb:263:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def default_autocomplete_admin ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/search_helper.rb:270:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def help_autocomplete ...
  ^^^^^^^^^^^^^^^^^^^^^
app/helpers/search_helper.rb:284:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def project_autocomplete ...
  ^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/search_helper.rb:325:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def groups_autocomplete(term, limit = 5) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/search_helper.rb:339:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def issue_autocomplete(term) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/search_helper.rb:359:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def projects_autocomplete(term, limit = 5) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/search_helper.rb:373:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def users_autocomplete(term, limit = 5) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/search_helper.rb:391:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def recent_merge_requests_autocomplete(term) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/search_helper.rb:407:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def recent_issues_autocomplete(term) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/search_helper.rb:424:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def search_result_sanitize(str) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/search_helper.rb:428:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def search_filter_link(scope, label, data: {}, search: {}) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/search_helper.rb:451:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def search_filter_link_json(scope, label, data, search) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/search_helper.rb:467:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def nav_options ...
  ^^^^^^^^^^^^^^^
app/helpers/search_helper.rb:473:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def search_navigation_json ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/search_helper.rb:482:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def search_filter_input_options(type, placeholder = _('Search or filter results…')) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/search_helper.rb:515:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def search_history_storage_prefix ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/search_helper.rb:525:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def search_md_sanitize(source) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/search_helper.rb:529:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def simple_search_highlight_and_truncate(text, phrase, options = {}) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/search_helper.rb:535:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def search_truncate(source) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/search_helper.rb:545:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def search_sanitize(html) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/search_helper.rb:551:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def highlight_and_truncate_issuable(issuable, search_term, _search_highlight) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/search_helper.rb:557:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def issuable_state_to_badge_class(issuable) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/search_helper.rb:574:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def issuable_state_text(issuable) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/search_helper.rb:585:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def sanitized_search_params ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/search_helper.rb:599:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def wiki_blob_link(wiki_blob) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/sidebars_helper.rb:175:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def search_data ...
  ^^^^^^^^^^^^^^^
app/helpers/sidebars_helper.rb:185:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def user_status_menu_data(user) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/sidebars_helper.rb:198:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def create_new_menu_groups(group:, project:) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/sidebars_helper.rb:222:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def create_merge_request_menu(user) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/sidebars_helper.rb:256:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def sidebar_attributes_for_object(object) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/sidebars_helper.rb:269:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def sidebar_project_attributes ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/sidebars_helper.rb:276:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def sidebar_group_attributes ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/sidebars_helper.rb:283:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def sidebar_user_attributes ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/sidebars_helper.rb:289:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def sidebar_project_tracking_attrs ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/sidebars_helper.rb:293:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def sidebar_group_tracking_attrs ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/sidebars_helper.rb:297:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def sidebar_user_profile_tracking_attrs ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/sidebars_helper.rb:301:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def project_sidebar_context_data(project, user, current_ref, ref_type: nil) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/sidebars_helper.rb:313:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def group_sidebar_context_data(group, user) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/sidebars_helper.rb:320:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def your_work_context_data(user) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/sidebars_helper.rb:328:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def super_sidebar_current_context(project: nil, group: nil) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/sidebars_helper.rb:358:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def context_switcher_links ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/sidebars_helper.rb:375:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def impersonating? ...
  ^^^^^^^^^^^^^^^^^^
app/helpers/sidebars_helper.rb:379:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def shortcut_links_anonymous ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/sidebars_helper.rb:399:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def shortcut_links(user: nil, project: nil) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/sidebars_helper.rb:441:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def super_sidebar_default_pins(panel_type) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/stat_anchors_helper.rb:14:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def new_button_attribute(anchor) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/stat_anchors_helper.rb:18:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def button_attribute(anchor) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/stat_anchors_helper.rb:22:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def extra_classes(anchor) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/tab_helper.rb:176:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def route_matches_paths?(paths) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/tab_helper.rb:182:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def route_matches_page_without_exclusion?(pages, exclude_page) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/tab_helper.rb:189:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def route_matches_pages?(pages) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/tab_helper.rb:209:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def route_matches_controllers_and_or_actions?(controller, action) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/tab_helper.rb:217:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def gl_tab_link_to_active?(options, html_options) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/timeboxes_helper.rb:267:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def milestone_visible_issues_count(milestone) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/todos_helper.rb:259:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def todos_design_path(todo, path_options) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/todos_helper.rb:271:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def todo_action_subject(todo) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/todos_helper.rb:275:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def show_todo_state?(todo) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/users/callouts_helper.rb:88:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def user_dismissed?(feature_name, ignore_dismissal_earlier_than = nil, object: nil) ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/users/callouts_helper.rb:100:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def dismissed_callout?(object, query) ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/users/group_callouts_helper.rb:17:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def user_dismissed_for_group(feature_name, group, ignore_dismissal_earlier_than = nil) ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/users/group_callouts_helper.rb:27:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def just_created? ...
    ^^^^^^^^^^^^^^^^^
app/helpers/users/group_callouts_helper.rb:31:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def multiple_members?(group) ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/users_helper.rb:247:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def admin_users_paths ...
  ^^^^^^^^^^^^^^^^^^^^^
app/helpers/users_helper.rb:267:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def blocked_user_badge(user) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/users_helper.rb:280:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def get_profile_tabs ...
  ^^^^^^^^^^^^^^^^^^^^
app/helpers/users_helper.rb:290:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def get_current_user_menu_items ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/users_helper.rb:304:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def render_job_title(job_title, with_schema_markup: false) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/users_helper.rb:314:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def render_organization(organization, with_schema_markup: false) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/users_helper.rb:324:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def render_job_title_and_organization(job_title, organization, with_schema_markup: false) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/users_helper.rb:336:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def localized_user_roles ...
  ^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/users_helper.rb:350:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def preload_project_associations(_) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/visibility_level_helper.rb:93:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def max_allowed_visibility_level(form_model) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/visibility_level_helper.rb:101:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def max_allowed_visibility_level_by_model(form_model) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/visibility_level_helper.rb:115:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def project_visibility_level_description(level) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/visibility_level_helper.rb:126:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def show_updated_public_description_for_setting(group) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/visibility_level_helper.rb:130:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def group_visibility_level_description(level, group = nil) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/visibility_level_helper.rb:154:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def project_visibility_icon_description(level) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/visibility_level_helper.rb:158:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def group_visibility_icon_description(level) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/web_hooks/web_hooks_helper.rb:13:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def show_hook_failed_callout?(object) ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/web_hooks/web_hooks_helper.rb:24:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def project_hook_page? ...
    ^^^^^^^^^^^^^^^^^^^^^^
app/helpers/web_hooks/web_hooks_helper.rb:28:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def can_access_web_hooks?(object) ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
app/helpers/wiki_helper.rb:137:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def wiki_page_render_api_endpoint_params(page) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/admin/application_settings_helper.rb:22:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def ai_powered_docs_url ...
    ^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/admin/application_settings_helper.rb:26:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def gitlab_testing_agreement_url ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/admin/application_settings_helper.rb:31:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def tag_pair_for_link(url) ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/analytics/analytics_dashboards_helper.rb:42:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def project?(namespace) ...
    ^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/analytics/analytics_dashboards_helper.rb:46:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def group?(namespace) ...
    ^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/analytics/analytics_dashboards_helper.rb:50:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def collector_host(project) ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/analytics/analytics_dashboards_helper.rb:58:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def tracking_key(project) ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/analytics/analytics_dashboards_helper.rb:62:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def enabled_analytics_features(project) ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/analytics/analytics_dashboards_helper.rb:68:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def product_analytics_enabled?(project) ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/analytics/analytics_dashboards_helper.rb:75:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def can_configure_dashboards_project?(namespace) ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/analytics/analytics_dashboards_helper.rb:81:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def project_dashboard_pointer(project) ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/analytics/analytics_dashboards_helper.rb:85:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def group_dashboard_pointer(group) ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/analytics/analytics_dashboards_helper.rb:89:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def analytics_dashboard_pointer_project(namespace) ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/analytics/analytics_dashboards_helper.rb:99:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def router_base(namespace) ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/analytics/analytics_dashboards_helper.rb:105:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def analytics_settings_path(namespace) ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/analytics/analytics_settings_helper.rb:27:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def analytics_input_copy_visibility_data(name, value, placeholder, label, description) ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/billing_plans_helper.rb:199:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def seats_last_updated_value(namespace) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/billing_plans_helper.rb:208:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def add_seats_url(group) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/billing_plans_helper.rb:214:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def plan_upgrade_url(group, plan) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/billing_plans_helper.rb:220:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def plan_renew_url(group) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/billing_plans_helper.rb:226:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def billable_seats_href(namespace) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/billing_plans_helper.rb:232:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def offer_from_previous_tier?(namespace_id, plan_id) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/billing_plans_helper.rb:240:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def upgrade_for_free?(namespace_id) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/billing_plans_helper.rb:244:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def upgrade_plan_data(namespace_id) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/billing_plans_helper.rb:252:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def highest_tier?(namespace) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/billing_plans_helper.rb:256:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def plans_features ...
  ^^^^^^^^^^^^^^^^^^
ee/app/helpers/compliance_management/compliance_framework/group_settings_helper.rb:24:7: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
      def pipeline_configuration_full_path_enabled?(group) ...
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/ee/application_helper.rb:110:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def custom_maintenance_mode_message ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/ee/application_helper.rb:115:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def db_lag ...
    ^^^^^^^^^^
ee/app/helpers/ee/application_helper.rb:121:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def next_unprocessed_event ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/ee/application_helper.rb:125:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def unprocessed_too_old? ...
    ^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/ee/ci/runners_helper.rb:53:7: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
      def notification_dot_acknowledged? ...
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/ee/ci/runners_helper.rb:59:7: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
      def show_out_of_pipeline_minutes_notification?(project, namespace) ...
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/ee/dashboard_helper.rb:36:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def security_dashboard_available? ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/ee/feature_flags_helper.rb:17:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def feature_flag_issues_links_endpoint(project, feature_flag, user) ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/ee/feature_flags_helper.rb:23:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def feature_flags_search_path(project, feature_flag, user) ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/ee/groups/settings_helper.rb:36:7: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
      def saas_user_caps_i18n_string(group) ...
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/ee/ide_helper.rb:10:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def new_ide_code_suggestions_data ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/ee/ide_helper.rb:16:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def show_code_suggestions? ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/ee/integrations_helper.rb:71:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def external_issue_breadcrumb_link(img, text, href, options = {}) ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/ee/issuables_helper.rb:41:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def issue_only_initial_data(issuable) ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/ee/issuables_helper.rb:53:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def issue_header_data(issuable) ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/ee/lock_helper.rb:30:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def exact_lock_file_link(path_lock, locker) ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/ee/lock_helper.rb:39:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def upstream_lock_file_link(path_lock, locker) ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/ee/lock_helper.rb:44:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def downstream_lock_file_link(path_lock, locker) ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/ee/lock_helper.rb:57:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def disabled_lock_link(label, title) ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/ee/lock_helper.rb:66:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def enabled_lock_link(label, title, state) ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/ee/markup_helper.rb:10:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def render_wiki_content_context_container(wiki) ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/ee/members_helper.rb:12:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def member_header_manage_namespace_members_text(namespace) ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/ee/namespace_user_cap_reached_alert_helper.rb:29:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def alert_has_been_dismissed?(root_namespace) ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/ee/namespaces_helper.rb:99:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def more_minutes_url ...
    ^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/ee/namespaces_helper.rb:103:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def use_customers_dot_for_addon_path?(namespace) ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/ee/nav/new_dropdown_helper.rb:11:7: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
      def create_epic_menu_item(group) ...
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/ee/operations_helper.rb:51:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def incident_sla_data ...
    ^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/ee/operations_helper.rb:61:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def sla_feature_available? ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/ee/operations_helper.rb:65:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def alert_management_multiple_integrations_data ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/ee/operations_helper.rb:71:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def alert_fields ...
    ^^^^^^^^^^^^^^^^
ee/app/helpers/ee/packages_helper.rb:16:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def show_dependency_proxy_settings?(project) ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/ee/personal_access_tokens_helper.rb:26:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def instance_level_personal_access_token_expiration_policy_enabled? ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/ee/personal_access_tokens_helper.rb:30:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def instance_level_personal_access_token_max_expiry_date ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/ee/personal_access_tokens_helper.rb:34:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def group_level_personal_access_token_expiration_policy_enabled? ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/ee/personal_access_tokens_helper.rb:38:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def group_level_personal_access_token_max_expiry_date ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/ee/preferences_helper.rb:33:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def group_view_security_dashboard_enabled? ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/ee/projects/incidents_helper.rb:17:7: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
      def incidents_data_ee(project) ...
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/ee/projects/pipeline_helper.rb:68:7: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
      def scanner_for_pipeline(project, pipeline) ...
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/ee/projects_helper.rb:319:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def remove_message_data(project) ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/ee/projects_helper.rb:330:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def security_dashboard_pipeline_data(project) ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/ee/projects_helper.rb:365:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def allowed_subgroups(group_id) ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/ee/projects_helper.rb:369:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def projects_not_aimed_for_deletions_for(group_id) ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/ee/registrations_helper.rb:57:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def registration_objective_options ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/ee/routing/projects_helper.rb:10:7: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
      def use_work_items_path?(issue) ...
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/ee/saml_providers_helper.rb:56:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def saml_url(group_path, redirect = nil) ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/ee/search_helper.rb:120:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def recent_epics_autocomplete(term) ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/ee/search_helper.rb:136:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def search_multiple_assignees?(type) ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/ee/search_helper.rb:143:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def allow_filtering_by_iteration? ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/ee/search_helper.rb:153:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def gitlab_com_snippet_db_search? ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/ee/search_helper.rb:161:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def nav_options ...
    ^^^^^^^^^^^^^^^
ee/app/helpers/ee/sidebars_helper.rb:79:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def trial_data(root_namespace) ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/ee/sidebars_helper.rb:95:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def trial_status(group) ...
    ^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/ee/sidebars_helper.rb:99:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def super_sidebar_default_pins(panel_type) ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/ee/subscribable_banner_helper.rb:47:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def current_namespace ...
    ^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/ee/subscribable_banner_helper.rb:51:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def license_message(signed_in: signed_in?, is_admin: current_user&.can_admin_all_resources?, license: License.current, force_notification: false) ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/ee/subscribable_banner_helper.rb:60:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def license_subject(signed_in: signed_in?, is_admin: current_user&.can_admin_all_resources?, license: License.current, force_notification: false) ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/ee/subscribable_banner_helper.rb:69:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def subscription_message ...
    ^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/ee/subscribable_banner_helper.rb:80:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def subscription_subject ...
    ^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/ee/subscribable_banner_helper.rb:91:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def decorated_subscription ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/ee/subscribable_banner_helper.rb:102:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def display_subscription_banner? ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/ee/users/callouts_helper.rb:95:7: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
      def dismissed_callout?(object, query) ...
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/ee/users/callouts_helper.rb:101:7: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
      def eoa_bronze_plan_end_date ...
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/ee/users/callouts_helper.rb:105:7: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
      def hashed_storage_enabled? ...
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/ee/users/callouts_helper.rb:109:7: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
      def show_ultimate_trial?(user, callout = ULTIMATE_TRIAL) ...
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/ee/users/callouts_helper.rb:117:7: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
      def show_ultimate_trial_suitable_env? ...
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/ee/users/callouts_helper.rb:121:7: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
      def show_code_suggestions_ga_alert?(group) ...
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/ee/users_helper.rb:62:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def preload_project_associations(projects) ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/ee/web_hooks/web_hooks_helper.rb:18:7: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
      def can_access_web_hooks?(object) ...
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/license_monitoring_helper.rb:23:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def license_is_over_capacity? ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/license_monitoring_helper.rb:30:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def license_not_available_or_trial? ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/license_monitoring_helper.rb:34:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def current_license ...
  ^^^^^^^^^^^^^^^^^^^
ee/app/helpers/license_monitoring_helper.rb:38:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def current_license_overage ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/license_monitoring_helper.rb:42:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def active_user_count_threshold ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/license_monitoring_helper.rb:46:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def total_user_count ...
  ^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/license_monitoring_helper.rb:50:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def remaining_user_count ...
  ^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/projects/learn_gitlab_helper.rb:25:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def onboarding_actions_data(project) ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/projects/learn_gitlab_helper.rb:48:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def can_start_trial?(project) ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/projects/learn_gitlab_helper.rb:53:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def onboarding_sections_data ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/projects/learn_gitlab_helper.rb:74:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def onboarding_project_data(project) ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/projects/learn_gitlab_helper.rb:81:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def action_urls(project) ...
    ^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/projects/learn_gitlab_helper.rb:113:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def new_trial_path_with_glm(namespace_id:, content:, source: GITLAB_COM) ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/projects/learn_gitlab_helper.rb:117:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def deploy_section_action_urls(project) ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/projects/learn_gitlab_helper.rb:125:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def promote_ultimate_features?(group) ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/projects/observability_helper.rb:30:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def generate_model(project) ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/projects/observability_helper.rb:38:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def shared_model(project) ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/projects/on_demand_scans_helper.rb:44:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def common_data(project) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/projects/security/dast_configuration_helper.rb:24:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def yml_config_data(project, current_user) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/projects/security/dast_configuration_helper.rb:34:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def pipeline_data(project, current_user) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/projects/security/dast_profiles_helper.rb:48:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def dast_profile_forms_common_data(project) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/push_rules_helper.rb:36:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def push_rule_update_description(message, push_rule, rule) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/security_helper.rb:40:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def can_admin_vulnerability? ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/security_helper.rb:47:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def instance_security_dashboard ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/subscriptions_helper.rb:42:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def new_user? ...
  ^^^^^^^^^^^^^
ee/app/helpers/subscriptions_helper.rb:48:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def plans_data ...
  ^^^^^^^^^^^^^^
ee/app/helpers/subscriptions_helper.rb:65:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def subscription_available_plans ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/subscriptions_helper.rb:69:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def present_groups(groups) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/subscriptions_helper.rb:73:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def present_group(namespace, account_id = nil) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/trial_status_widget_helper.rb:40:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def trial_status_common_data_attrs(group) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/trials_helper.rb:87:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def passed_through_params ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/trials_helper.rb:97:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def trial_eligible_namespaces ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/trials_helper.rb:101:3: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
  def any_trial_eligible_namespaces? ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/users/identity_verification_helper.rb:66:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def email_verification_data(user) ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/users/identity_verification_helper.rb:74:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def phone_number_verification_data(user) ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee/app/helpers/users/identity_verification_helper.rb:96:5: C: Style/PrivateHelperMethods: Private helper methods should begin with an underscore
    def credit_card_verification_data(user) ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

331 files inspected, 420 offenses detected

How to set up and validate locally

  1. Write a bad helper method in private and run bundle exec rubocop
private

def method_without_beginning_underscore
end

Thanks

Thank you to @sgarg_gitlab @mallocke and @tachyons-gitlab for pairing on this with me during our weekly EMEA/APAC backend pairing session.

Edited by Peter Leitzen

Merge request reports

Loading