Repository Analysis

telegramdesktop/tdesktop

Telegram Desktop messaging app

1.4 Likely human-written View on GitHub
1.4
Adjusted Score
1.4
Raw Score
100%
Time Factor
2026-05-28
Last Push
31,903
Stars
C++
Language
989,727
Lines of Code
2634
Files
1364
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 1MEDIUM 2LOW 1361

Pattern Findings

1364 matches across 7 categories. Click a row to expand file-level details.

Over-Commented Block1351 hits · 1351 pts
SeverityFileLineSnippet
LOWREVIEW.md201```cpp
LOWTelegram/CMakeLists.txt2021if (WIN32)
LOWTelegram/Resources/default_shortcuts-custom.json1// This is a list of your own shortcuts for Telegram Desktop
LOWTelegram/SourceFiles/apiwrap.cpp1/*
LOWTelegram/SourceFiles/apiwrap.cpp21#include "api/api_polls.h"
LOWTelegram/SourceFiles/apiwrap.cpp41#include "data/business/data_shortcut_messages.h"
LOWTelegram/SourceFiles/apiwrap.cpp61#include "data/data_histories.h"
LOWTelegram/SourceFiles/apiwrap.cpp81#include "boxes/sticker_set_box.h"
LOWTelegram/SourceFiles/stdafx.h21#elif defined _MSC_VER && _MSC_VER >= 1914 // __clang__
LOWTelegram/SourceFiles/stdafx.h41#include <QtCore/QFile>
LOWTelegram/SourceFiles/stdafx.h61#include <QtGui/QImage>
LOWTelegram/SourceFiles/stdafx.h81#endif // !Q_OS_WIN
LOWTelegram/SourceFiles/stdafx.h101#include <optional>
LOWTelegram/SourceFiles/stdafx.h121#include "base/weak_qptr.h"
LOWTelegram/SourceFiles/tray_accounts_menu.cpp1/*
LOWTelegram/SourceFiles/config.h61-----END RSA PUBLIC KEY-----\
LOWTelegram/SourceFiles/config.h81// very limited by the Telegram API server.
LOWTelegram/SourceFiles/mainwindow.cpp1/*
LOWTelegram/SourceFiles/mainwindow.cpp21#include "lang/lang_cloud_manager.h"
LOWTelegram/SourceFiles/mainwindow.cpp41#include "window/themes/window_theme.h"
LOWTelegram/SourceFiles/mainwidget.cpp1/*
LOWTelegram/SourceFiles/mainwidget.cpp21#include "data/data_changes.h"
LOWTelegram/SourceFiles/mainwidget.cpp41#include "window/notifications_manager.h"
LOWTelegram/SourceFiles/mainwidget.cpp61#include "lang/lang_cloud_manager.h"
LOWTelegram/SourceFiles/mainwidget.cpp81#include "calls/calls_instance.h"
LOWTelegram/SourceFiles/mainwidget.cpp2901 && _controller->widget()->positionInited()) {
LOWTelegram/SourceFiles/calls/calls_call.cpp1/*
LOWTelegram/SourceFiles/calls/calls_call.cpp21#include "data/data_session.h"
LOWTelegram/SourceFiles/calls/calls_instance.cpp1/*
LOWTelegram/SourceFiles/calls/calls_instance.cpp21#include "main/main_app_config.h"
LOWTelegram/SourceFiles/calls/calls_emoji_fingerprint.cpp1/*
LOWTelegram/SourceFiles/calls/calls_panel_background.cpp1/*
LOWTelegram/SourceFiles/calls/calls_box_controller.cpp1/*
LOWTelegram/SourceFiles/calls/calls_box_controller.cpp21#include "ui/vertical_list.h"
LOWTelegram/SourceFiles/calls/calls_box_controller.cpp41#include "base/unixtime.h"
LOWTelegram/SourceFiles/calls/calls_video_incoming.cpp1/*
LOWTelegram/SourceFiles/calls/calls_top_bar.cpp1/*
LOWTelegram/SourceFiles/calls/calls_top_bar.cpp21#include "lang/lang_keys.h"
LOWTelegram/SourceFiles/calls/calls_userpic.cpp1/*
LOWTelegram/SourceFiles/calls/calls_panel.cpp1/*
LOWTelegram/SourceFiles/calls/calls_panel.cpp21#include "calls/ui/calls_device_menu.h"
LOWTelegram/SourceFiles/calls/calls_panel.cpp41#include "ui/wrap/padding_wrap.h"
LOWTelegram/SourceFiles/calls/calls_panel.cpp61#include "media/streaming/media_streaming_utility.h"
LOWTelegram/SourceFiles/calls/calls_panel.cpp341 });
LOWTelegram/SourceFiles/calls/ui/calls_device_menu.cpp1/*
LOWTelegram/SourceFiles/calls/group/calls_group_toasts.cpp1/*
LOW…egram/SourceFiles/calls/group/calls_group_viewport.cpp1/*
LOW…egram/SourceFiles/calls/group/calls_group_viewport.cpp21#include "base/platform/base_platform_info.h"
LOW…egram/SourceFiles/calls/group/calls_group_viewport.cpp1061 // return real->scheduleDateValue(
LOW…egram/SourceFiles/calls/group/calls_choose_join_as.cpp1/*
LOW…egram/SourceFiles/calls/group/calls_choose_join_as.cpp21#include "ui/layers/generic_box.h"
LOWTelegram/SourceFiles/calls/group/calls_group_rtmp.cpp1/*
LOWTelegram/SourceFiles/calls/group/calls_group_rtmp.cpp21#include "ui/layers/generic_box.h"
LOW…/SourceFiles/calls/group/calls_group_message_field.cpp1/*
LOW…/SourceFiles/calls/group/calls_group_message_field.cpp21#include "data/data_document.h"
LOW…egram/SourceFiles/calls/group/calls_group_settings.cpp1/*
LOW…egram/SourceFiles/calls/group/calls_group_settings.cpp21#include "ui/wrap/slide_wrap.h"
LOW…egram/SourceFiles/calls/group/calls_group_settings.cpp41#include "ui/toast/toast.h"
LOWTelegram/SourceFiles/calls/group/calls_group_panel.cpp1/*
LOWTelegram/SourceFiles/calls/group/calls_group_panel.cpp21#include "calls/group/ui/desktop_capture_choose_source.h"
1291 more matches not shown…
AI Slop Vocabulary2 hits · 6 pts
SeverityFileLineSnippet
MEDIUMTelegram/SourceFiles/ui/chat/continuous_scroll.h15// This class is designed for seamless scrolling of
MEDIUMTelegram/SourceFiles/api/api_user_names.h59 // Used for a seamless display of usernames list.
Unused Imports5 hits · 5 pts
SeverityFileLineSnippet
LOWTelegram/Resources/langs/stale.py1
LOWTelegram/Resources/langs/refresh.py1
LOWTelegram/SourceFiles/codegen/scheme/codegen_scheme.py8
LOWTelegram/SourceFiles/codegen/scheme/codegen_scheme.py8
LOWTelegram/SourceFiles/codegen/scheme/codegen_scheme.py8
Cross-Language Confusion1 hit · 5 pts
SeverityFileLineSnippet
HIGH.github/scripts/generate_changelog.py288 history.replaceState(null, '', anchor.getAttribute('href'));
Hyper-Verbose Identifiers3 hits · 3 pts
SeverityFileLineSnippet
LOWTelegram/Resources/bot_webview_shell_html/page.js296 function titleControlColorsForBackground(value) {
LOWTelegram/Resources/bot_webview_shell_html/page.js330 function buttonRippleForBackground(value) {
LOWTelegram/Resources/iv_html/morphdom-umd.min.2.7.2.js1(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?module.exports=factory():typeof define=
Slop Phrases1 hit · 1 pts
SeverityFileLineSnippet
LOW…ourceFiles/platform/mac/touchbar/mac_touchbar_common.h19 id block = [^{ callable(); } copy]; // Don't forget to -release.
Deep Nesting1 hit · 1 pts
SeverityFileLineSnippet
LOW.github/scripts/generate_changelog.py35