Repository Analysis

aristocratos/btop

A monitor of resources

2.8 Likely human-written View on GitHub
2.8
Adjusted Score
2.8
Raw Score
100%
Time Factor
2026-05-30
Last Push
32,542
Stars
C++
Language
52,356
Lines of Code
89
Files
132
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 1MEDIUM 2LOW 129

Pattern Findings

132 matches across 6 categories. Click a row to expand file-level details.

Over-Commented Block124 hits · 124 pts
SeverityFileLineSnippet
LOWCHANGELOG.md1## v1.4.7
LOWCHANGELOG.md21#1409 | fix: remove unused asprintf implementation function | @deckstose
LOWCHANGELOG.md41--- | --- | ---
LOWCHANGELOG.md61d0cbaf7 | Add configuration toggle for terminal synchronization | @aristocratos
LOWCHANGELOG.md81## v1.4.5
LOWCHANGELOG.md121--- | --- | ---
LOWCHANGELOG.md141#1079 | Allow MidnightBSD to build btop using the existing freebsd support. | @laffer1
LOWCHANGELOG.md1813f384c0 | Fixed missing CPU core temps when too small to show core temp graphs, issues #792 #867 | @aristocratos
LOWinclude/fmt/ostream.h1// Formatting library for C++ - std::ostream support
LOWinclude/fmt/ostream.h21#endif
LOWinclude/fmt/format-inl.h1// Formatting library for C++ - implementation
LOWinclude/fmt/format-inl.h21#endif
LOWinclude/fmt/format-inl.h221
LOWinclude/fmt/format-inl.h1301 // Compute zi and deltai.
LOWinclude/fmt/ranges.h1// Formatting library for C++ - range and tuple support
LOWinclude/fmt/xchar.h1// Formatting library for C++ - optional wchar_t and exotic character support
LOWinclude/fmt/core.h1// This file is only provided for compatibility and may be removed in future
LOWinclude/fmt/chrono.h1// Formatting library for C++ - chrono support
LOWinclude/fmt/chrono.h21#endif
LOWinclude/fmt/chrono.h221}
LOWinclude/fmt/chrono.h241#endif
LOWinclude/fmt/chrono.h541
LOWinclude/fmt/os.h1// Formatting library for C++ - optional OS-specific functionality
LOWinclude/fmt/os.h21# endif
LOWinclude/fmt/os.h41#ifndef FMT_POSIX
LOWinclude/fmt/color.h241 // │23│─┘
LOWinclude/fmt/color.h261 // │62│─┬── unused
LOWinclude/fmt/args.h1// Formatting library for C++ - dynamic argument lists
LOWinclude/fmt/printf.h1// Formatting library for C++ - legacy printf implementation
LOWinclude/fmt/compile.h1// Formatting library for C++ - experimental format string compilation
LOWinclude/fmt/format.h41#include "base.h"
LOWinclude/fmt/format.h61# include <bit> // std::bit_cast
LOWinclude/fmt/format.h81# define FMT_USE_NONTYPE_TEMPLATE_ARGS 1
LOWinclude/fmt/format.h101 defined(__INTEL_RTTI__) || defined(__RTTI)
LOWinclude/fmt/format.h121#ifdef FMT_DEPRECATED
LOWinclude/fmt/format.h141# else
LOWinclude/fmt/format.h161 using difference_type =
LOWinclude/fmt/format.h201# if FMT_HAS_BUILTIN(__builtin_clz) || FMT_GCC_VERSION || FMT_ICC_VERSION
LOWinclude/fmt/format.h701 !std::is_same<T, wchar_t>::value>;
LOWinclude/fmt/format.h3301 write2digits(buffer + number_of_digits_printed, digits);
LOWinclude/fmt/std.h1// Formatting library for C++ - formatters for standard library types
LOWinclude/fmt/std.h21# include <thread>
LOWinclude/fmt/std.h41# if FMT_CPLUSPLUS > 201703L && FMT_HAS_INCLUDE(<source_location>)
LOWinclude/fmt/std.h61#endif
LOWinclude/fmt/base.h1// Formatting library for C++ - the base API for char/UTF-8
LOWinclude/fmt/base.h21#endif
LOWinclude/fmt/base.h41#else
LOWinclude/fmt/base.h61
LOWinclude/fmt/base.h81#else
LOWinclude/fmt/base.h101// https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66297.
LOWinclude/fmt/base.h121#elif FMT_GLIBCXX_RELEASE && FMT_GLIBCXX_RELEASE < 10
LOWinclude/fmt/base.h141# define FMT_CONSTEXPR20
LOWinclude/fmt/base.h161# define FMT_CATCH(x) if (false)
LOWinclude/fmt/base.h181# define FMT_FALLTHROUGH [[clang::fallthrough]]
LOWinclude/fmt/base.h201# define FMT_NODISCARD
LOWinclude/fmt/base.h221#else
LOWinclude/fmt/base.h241# define FMT_ALWAYS_INLINE inline __attribute__((always_inline))
LOWinclude/fmt/base.h261#ifndef FMT_EXPORT
LOWinclude/fmt/base.h281#endif
LOWinclude/fmt/base.h381FMT_NORETURN FMT_API void assert_fail(const char* file, int line,
64 more matches not shown…
Synthetic Comment Markers1 hit · 8 pts
SeverityFileLineSnippet
HIGHCONTRIBUTING.md15## AI generated code
Verbosity Indicators3 hits · 4 pts
SeverityFileLineSnippet
LOWinclude/fmt/format-inl.h1264 // Step 1: integer promotion & Schubfach multiplier calculation.
LOWinclude/fmt/format-inl.h1319 // Step 2: Try larger divisor; remove trailing zeros if necessary.
LOWinclude/fmt/format-inl.h1351 // Step 3: Find the significand with the smaller divisor.
AI Slop Vocabulary2 hits · 4 pts
SeverityFileLineSnippet
MEDIUMinclude/fmt/format.h3347 // Compilers are not aware of how to leverage the maximum value of
LOWsrc/linux/intel_gpu_top/intel_chipset.h112/* Exclude chipset #defines, they just add noise */
Decorative Section Separators1 hit · 2 pts
SeverityFileLineSnippet
MEDIUMsrc/btop.cpp95 {"#000000", "╚═════╝ ╚═╝ ╚═════╝ ╚═╝"},
Slop Phrases1 hit · 2 pts
SeverityFileLineSnippet
LOWsrc/linux/intel_gpu_top/drm_mode.h86 * When adding a new stereo mode don't forget to adjust DRM_MODE_FLAGS_3D_MAX