Repository Analysis

fastfetch-cli/fastfetch

A maintained, feature-rich and performance oriented, neofetch like system information tool.

2.7 Likely human-written View on GitHub
2.7
Adjusted Score
2.7
Raw Score
100%
Time Factor
2026-05-30
Last Push
22,986
Stars
C
Language
140,390
Lines of Code
1378
Files
445
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 2MEDIUM 1LOW 442

Pattern Findings

445 matches across 5 categories. Click a row to expand file-level details.

Over-Commented Block438 hits · 356 pts
SeverityFileLineSnippet
LOWsrc/fastfetch.c1#include "fastfetch.h"
LOWsrc/fastfetch.h1#pragma once
LOWsrc/common/time.h1#pragma once
LOWsrc/common/library.h1#pragma once
LOWsrc/common/arrayUtils.h1#pragma once
LOWsrc/common/color.h1#pragma once
LOWsrc/common/color.h21#define FF_COLOR_FG_DEFAULT "39"
LOWsrc/common/color.h41
LOWsrc/common/textModifier.h1#pragma once
LOWsrc/common/attributes.h1#pragma once
LOWsrc/common/FFstrbuf.h1#pragma once
LOWsrc/common/mallocHelper.h1#pragma once
LOWsrc/common/io.h1#pragma once
LOWsrc/common/io.h21 #define FF_INVALID_FD (-1)
LOWsrc/common/impl/format.c181 "liblua5." #version FF_LIBRARY_EXTENSION, 0, \
LOWsrc/common/impl/init.c1#include "fastfetch.h"
LOWsrc/common/impl/init.c181#if FF_HAVE_QUICKJS
LOWsrc/common/impl/init.c201#endif
LOWsrc/common/impl/init.c221 "dbus\n"
LOWsrc/common/impl/init.c241#if FF_HAVE_EGL
LOWsrc/common/impl/init.c261#endif
LOWsrc/common/impl/smbios.c141}
LOWsrc/common/impl/binary_apple.c1#include "common/binary.h"
LOWsrc/common/impl/netif_bsd.c1#include "common/netif.h"
LOWsrc/common/impl/processing_linux.c1#include "fastfetch.h"
LOWsrc/common/impl/processing_linux.c21 #include <sys/user.h>
LOWsrc/common/impl/jsonconfig.c1#include "fastfetch.h"
LOWsrc/common/impl/io_unix.c1#include "common/io.h"
LOWsrc/common/impl/library.c1#include "fastfetch.h"
LOWsrc/common/impl/FFPlatform_unix.c1#include "FFPlatform_private.h"
LOWsrc/common/impl/netif_apple.c1#include "common/netif.h"
LOWsrc/common/impl/FFPlatform_windows.c1#include "FFPlatform_private.h"
LOWsrc/common/impl/processing_windows.c1#include "fastfetch.h"
LOWsrc/common/impl/networking_linux.c1#include "fastfetch.h"
LOWsrc/common/windows/nt.h261
LOWsrc/common/windows/nt.h301 // Minimum size of a large page on the system, in bytes.
LOWsrc/common/windows/nt.h341
LOWsrc/common/windows/nt.h361 //
LOWsrc/common/windows/nt.h381 // N.B. This field must be accessed via the RtlGetNtProductType API for
LOWsrc/common/windows/nt.h401 //
LOWsrc/common/windows/nt.h441
LOWsrc/common/windows/nt.h481 //
LOWsrc/common/windows/nt.h501 // can use to see if they need to probe handles.
LOWsrc/common/windows/nt.h521
LOWsrc/common/windows/nt.h561 //
LOWsrc/common/windows/nt.h801 HANDLE Mutant;
LOWsrc/common/windows/nt.h821 PVOID SubSystemData;
LOWsrc/common/windows/nt.h881 // Pointer to the API Set Schema.
LOWsrc/common/windows/nt.h901 // Reserved for CSRSS.
LOWsrc/common/windows/nt.h921 // Pointer to the OEM code page data.
LOWsrc/common/windows/nt.h981
LOWsrc/common/windows/nt.h1001
LOWsrc/common/windows/nt.h1021 // Pointer to the system GDI shared handle table.
LOWsrc/common/windows/nt.h1041 // Major version of the operating system.
LOWsrc/common/windows/nt.h1061 // Platform ID of the operating system.
LOWsrc/common/windows/nt.h1081} PEB_FULL, *PPEB_FULL;
LOWsrc/common/windows/nt.h1101 //
LOWsrc/common/windows/nt.h1121 //
LOWsrc/common/windows/perflib_.h1#pragma once
LOWsrc/common/windows/registry.h1#pragma once
378 more matches not shown…
Synthetic Comment Markers2 hits · 15 pts
SeverityFileLineSnippet
HIGHsrc/3rdparty/display-library/adl_structures.h3755///\brief Structure Containing All Generic LED configuration for user requested LED pattern. The driver will apply the c
HIGHsrc/3rdparty/display-library/adl_structures.h3772///\brief Structure Containing All custom grid pattern LED configuration for user requested LED grid pattern. The driver
Excessive Try-Catch Wrapping3 hits · 4 pts
SeverityFileLineSnippet
LOWcompletions/fastfetch.zsh74 except Exception:
LOWcompletions/fastfetch.bash106 except Exception:
MEDIUMcompletions/fastfetch.bash86def main(current):
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippet
LOWcompletions/fastfetch.bash8 # Check if Python is available
Deep Nesting1 hit · 1 pts
SeverityFileLineSnippet
LOWscripts/gen-man.py183