Repository Analysis

dail8859/NotepadNext

A cross-platform, reimplementation of Notepad++

3.2 Likely human-written View on GitHub
3.2
Adjusted Score
3.2
Raw Score
100%
Time Factor
2026-05-25
Last Push
14,197
Stars
C++
Language
243,884
Lines of Code
875
Files
737
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 1MEDIUM 66LOW 670

Pattern Findings

737 matches across 11 categories. Click a row to expand file-level details.

Over-Commented Block568 hits · 438 pts
SeverityFileLineSnippet
LOWthirdparty/lexilla/test/unit/catch.hpp21# pragma clang system_header
LOWthirdparty/lexilla/test/unit/catch.hpp41 // Wparentheses have to be suppressed globally.
LOWthirdparty/lexilla/test/unit/catch.hpp61# if !defined(CATCH_CONFIG_ENABLE_CHRONO_STRINGMAKER)
LOWthirdparty/lexilla/test/unit/catch.hpp81# define CATCH_PLATFORM_LINUX
LOWthirdparty/lexilla/test/unit/catch.hpp101
LOWthirdparty/lexilla/test/unit/catch.hpp121// In general each macro has a _NO_<feature name> form
LOWthirdparty/lexilla/test/unit/catch.hpp141# define CATCH_INTERNAL_START_WARNINGS_SUPPRESSION _Pragma( "GCC diagnostic push" )
LOWthirdparty/lexilla/test/unit/catch.hpp181# define CATCH_INTERNAL_SUPPRESS_UNUSED_TEMPLATE_WARNINGS \
LOWthirdparty/lexilla/test/unit/catch.hpp201#endif
LOWthirdparty/lexilla/test/unit/catch.hpp221
LOWthirdparty/lexilla/test/unit/catch.hpp241#if defined(_MSC_VER)
LOWthirdparty/lexilla/test/unit/catch.hpp261# define CATCH_INTERNAL_START_WARNINGS_SUPPRESSION __pragma( warning(push) )
LOWthirdparty/lexilla/test/unit/catch.hpp281# define CATCH_INTERNAL_CONFIG_NO_WCHAR
LOWthirdparty/lexilla/test/unit/catch.hpp301////////////////////////////////////////////////////////////////////////////////
LOWthirdparty/lexilla/test/unit/catch.hpp321 #endif
LOWthirdparty/lexilla/test/unit/catch.hpp341 # include <ciso646>
LOWthirdparty/lexilla/test/unit/catch.hpp361# define CATCH_CONFIG_POSIX_SIGNALS
LOWthirdparty/lexilla/test/unit/catch.hpp381# define CATCH_CONFIG_CPP17_VARIANT
LOWthirdparty/lexilla/test/unit/catch.hpp401# define CATCH_CONFIG_POLYFILL_ISNAN
LOWthirdparty/lexilla/test/unit/catch.hpp421#if !defined(CATCH_INTERNAL_STOP_WARNINGS_SUPPRESSION)
LOWthirdparty/lexilla/test/unit/catch.hpp441#endif
LOWthirdparty/lexilla/test/unit/catch.hpp461#endif
LOWthirdparty/lexilla/test/unit/catch.hpp701#define INTERNAL_CATCH_EXPAND_VARGS(...) __VA_ARGS__
LOWthirdparty/lexilla/test/unit/catch.hpp721
LOWthirdparty/lexilla/test/unit/catch.hpp741#define INTERNAL_CATCH_STRINGIZE(...) INTERNAL_CATCH_STRINGIZE2(__VA_ARGS__)
LOWthirdparty/lexilla/test/unit/catch.hpp761#define INTERNAL_CATCH_MAKE_TYPE_LIST2(...) INTERNAL_CATCH_EXPAND_VARGS(decltype(get_wrapper<INTERNAL_CATCH_REMOVE_PAREN
LOWthirdparty/lexilla/test/unit/catch.hpp901#define INTERNAL_CATCH_NTTP_REG_GEN(TestFunc, ...) INTERNAL_CATCH_VA_NARGS_IMPL( "dummy", __VA_ARGS__, INTERNAL_CATCH_NT
LOWthirdparty/lexilla/test/unit/catch.hpp1021 #ifndef CATCH_CONFIG_TRADITIONAL_MSVC_PREPROCESSOR
LOWthirdparty/lexilla/test/unit/catch.hpp1401 ResultDisposition::Flags resultDisposition;
LOWthirdparty/lexilla/test/unit/catch.hpp1521 return nil;
LOWthirdparty/lexilla/test/unit/catch.hpp1861 }
LOWthirdparty/lexilla/test/unit/catch.hpp2181
LOWthirdparty/lexilla/test/unit/catch.hpp2681#else
LOWthirdparty/lexilla/test/unit/catch.hpp5061
LOWthirdparty/lexilla/test/unit/catch.hpp6941
LOWthirdparty/lexilla/test/unit/catch.hpp7941namespace Catch {
LOWthirdparty/lexilla/test/unit/catch.hpp7961 #define CATCH_TRAP() __asm__(".inst 0xe7f001f0")
LOWthirdparty/lexilla/test/unit/catch.hpp7981 #define CATCH_TRAP() DebugBreak()
LOWthirdparty/lexilla/test/unit/catch.hpp8001 // Wrapper for platform-specific fatal error (signals/SEH) handlers
LOWthirdparty/lexilla/test/unit/catch.hpp8401} // namespace Catch
LOWthirdparty/lexilla/test/unit/catch.hpp8421#endif
LOWthirdparty/lexilla/test/unit/catch.hpp8441
LOWthirdparty/lexilla/test/unit/catch.hpp10041 int m_oldErrno;
LOWthirdparty/lexilla/test/unit/catch.hpp10061#ifdef __AFXDLL
LOWthirdparty/lexilla/test/unit/catch.hpp10401# include <unistd.h>
LOWthirdparty/lexilla/test/unit/catch.hpp10461 // The standard POSIX way of detecting a debugger is to attempt to
LOWthirdparty/lexilla/test/unit/catch.hpp11461 std::string to_string(T const& t) {
LOWthirdparty/lexilla/test/unit/catch.hpp12041 };
LOWthirdparty/lexilla/test/unit/catch.hpp14341 className = className.substr( penultimateColons, lastColons-penultimateColons );
LOWthirdparty/lexilla/test/unit/catch.hpp15001// end catch_timer.cpp
LOWthirdparty/lexilla/test/unit/catch.hpp15321#define CATCH_CONFIG_UNCAUGHT_EXCEPTIONS_HPP
LOWthirdparty/lexilla/test/unit/catch.hpp15341# define CATCH_CONFIG_CPP17_UNCAUGHT_EXCEPTIONS
LOWthirdparty/lexilla/test/unit/catch.hpp15761// start catch_reporter_bases.cpp
LOWthirdparty/lexilla/test/unit/catch.hpp17521
LOWthirdparty/lexilla/test/unit/catch.hpp17561 return result;
LOWthirdparty/lexilla/test/unit/catch.hpp17581#define CATCH_REQUIRE_FALSE( ... ) INTERNAL_CATCH_TEST( "CATCH_REQUIRE_FALSE", Catch::ResultDisposition::Normal | Catch:
LOWthirdparty/lexilla/test/unit/catch.hpp17601#define CATCH_CHECK_THROWS_MATCHES( expr, exceptionType, matcher ) INTERNAL_CATCH_THROWS_MATCHES( "CATCH_CHECK_THROWS_MA
LOWthirdparty/lexilla/test/unit/catch.hpp17621#define CATCH_DYNAMIC_SECTION( ... ) INTERNAL_CATCH_DYNAMIC_SECTION( __VA_ARGS__ )
LOWthirdparty/lexilla/test/unit/catch.hpp17641#define CATCH_TEMPLATE_TEST_CASE_METHOD_SIG( className, ... ) INTERNAL_CATCH_EXPAND_VARGS( INTERNAL_CATCH_TEMPLATE_TEST_
LOWthirdparty/lexilla/test/unit/catch.hpp17661#define CATCH_WHEN( desc ) INTERNAL_CATCH_DYNAMIC_SECTION( " When: " << desc )
508 more matches not shown…
Decorative Section Separators54 hits · 206 pts
SeverityFileLineSnippet
MEDIUM…arty/lexilla/test/examples/perl/perl-test-5220delta.pl2#--------------------------------------------------------------------------
MEDIUM…arty/lexilla/test/examples/perl/perl-test-5220delta.pl4#--------------------------------------------------------------------------
MEDIUM…arty/lexilla/test/examples/perl/perl-test-5220delta.pl9#--------------------------------------------------------------------------
MEDIUM…arty/lexilla/test/examples/perl/perl-test-5220delta.pl11#--------------------------------------------------------------------------
MEDIUM…arty/lexilla/test/examples/perl/perl-test-5220delta.pl14#--------------------------------------------------------------------------
MEDIUM…arty/lexilla/test/examples/perl/perl-test-5220delta.pl18#--------------------------------------------------------------------------
MEDIUM…arty/lexilla/test/examples/perl/perl-test-5220delta.pl20#--------------------------------------------------------------------------
MEDIUM…arty/lexilla/test/examples/perl/perl-test-5220delta.pl41#--------------------------------------------------------------------------
MEDIUM…arty/lexilla/test/examples/perl/perl-test-5220delta.pl43#--------------------------------------------------------------------------
MEDIUM…arty/lexilla/test/examples/perl/perl-test-5220delta.pl51#--------------------------------------------------------------------------
MEDIUM…arty/lexilla/test/examples/perl/perl-test-5220delta.pl53#--------------------------------------------------------------------------
MEDIUM…arty/lexilla/test/examples/perl/perl-test-5220delta.pl59#--------------------------------------------------------------------------
MEDIUM…arty/lexilla/test/examples/perl/perl-test-5220delta.pl61#--------------------------------------------------------------------------
MEDIUM…arty/lexilla/test/examples/perl/perl-test-5220delta.pl66#--------------------------------------------------------------------------
MEDIUM…arty/lexilla/test/examples/perl/perl-test-5220delta.pl68#--------------------------------------------------------------------------
MEDIUM…arty/lexilla/test/examples/perl/perl-test-5220delta.pl120#--------------------------------------------------------------------------
MEDIUM…arty/lexilla/test/examples/perl/perl-test-5220delta.pl122#--------------------------------------------------------------------------
MEDIUM…arty/lexilla/test/examples/perl/perl-test-5220delta.pl132#--------------------------------------------------------------------------
MEDIUM…arty/lexilla/test/examples/perl/perl-test-5220delta.pl134#--------------------------------------------------------------------------
MEDIUM…arty/lexilla/test/examples/perl/perl-test-5220delta.pl168#--------------------------------------------------------------------------
MEDIUM…arty/lexilla/test/examples/perl/perl-test-5220delta.pl170#--------------------------------------------------------------------------
MEDIUM…arty/lexilla/test/examples/perl/perl-test-5220delta.pl176#--------------------------------------------------------------------------
MEDIUM…arty/lexilla/test/examples/perl/perl-test-5220delta.pl178#--------------------------------------------------------------------------
MEDIUM…arty/lexilla/test/examples/perl/perl-test-5220delta.pl93#--------------------------------------------------------------------------
MEDIUM…arty/lexilla/test/examples/perl/perl-test-5220delta.pl95#--------------------------------------------------------------------------
MEDIUM…lexilla/test/examples/perl/perl-test-sub-prototypes.pl2#--------------------------------------------------------------------------
MEDIUM…lexilla/test/examples/perl/perl-test-sub-prototypes.pl4#--------------------------------------------------------------------------
MEDIUM…lexilla/test/examples/perl/perl-test-sub-prototypes.pl7#--------------------------------------------------------------------------
MEDIUM…lexilla/test/examples/perl/perl-test-sub-prototypes.pl9#--------------------------------------------------------------------------
MEDIUM…lexilla/test/examples/perl/perl-test-sub-prototypes.pl11#--------------------------------------------------------------------------
MEDIUM…lexilla/test/examples/perl/perl-test-sub-prototypes.pl13#--------------------------------------------------------------------------
MEDIUM…lexilla/test/examples/perl/perl-test-sub-prototypes.pl15#--------------------------------------------------------------------------
MEDIUM…lexilla/test/examples/perl/perl-test-sub-prototypes.pl17#--------------------------------------------------------------------------
MEDIUM…lexilla/test/examples/perl/perl-test-sub-prototypes.pl75#--------------------------------------------------------------------------
MEDIUM…lexilla/test/examples/perl/perl-test-sub-prototypes.pl77#--------------------------------------------------------------------------
MEDIUM…lexilla/test/examples/perl/perl-test-sub-prototypes.pl79#--------------------------------------------------------------------------
MEDIUM…lexilla/test/examples/perl/perl-test-sub-prototypes.pl91#--------------------------------------------------------------------------
MEDIUM…lexilla/test/examples/perl/perl-test-sub-prototypes.pl93#--------------------------------------------------------------------------
MEDIUM…lexilla/test/examples/perl/perl-test-sub-prototypes.pl95#--------------------------------------------------------------------------
MEDIUM…lexilla/test/examples/perl/perl-test-sub-prototypes.pl120#--------------------------------------------------------------------------
MEDIUM…lexilla/test/examples/perl/perl-test-sub-prototypes.pl122#--------------------------------------------------------------------------
MEDIUM…lexilla/test/examples/perl/perl-test-sub-prototypes.pl124#--------------------------------------------------------------------------
MEDIUM…lexilla/test/examples/perl/perl-test-sub-prototypes.pl173#--------------------------------------------------------------------------
MEDIUM…lexilla/test/examples/perl/perl-test-sub-prototypes.pl175#--------------------------------------------------------------------------
MEDIUM…lexilla/test/examples/perl/perl-test-sub-prototypes.pl177#--------------------------------------------------------------------------
MEDIUM…lexilla/test/examples/perl/perl-test-sub-prototypes.pl208#--------------------------------------------------------------------------
MEDIUM…lexilla/test/examples/perl/perl-test-sub-prototypes.pl210#--------------------------------------------------------------------------
MEDIUM…lexilla/test/examples/perl/perl-test-sub-prototypes.pl212#--------------------------------------------------------------------------
MEDIUM…lexilla/test/examples/perl/perl-test-sub-prototypes.pl34#--------------------------------------------------------------------------
MEDIUM…lexilla/test/examples/perl/perl-test-sub-prototypes.pl36#--------------------------------------------------------------------------
MEDIUM…lexilla/test/examples/perl/perl-test-sub-prototypes.pl55#--------------------------------------------------------------------------
MEDIUM…lexilla/test/examples/perl/perl-test-sub-prototypes.pl57#--------------------------------------------------------------------------
MEDIUM…lexilla/test/examples/perl/perl-test-sub-prototypes.pl237#--------------------------------------------------------------------------
MEDIUM…lexilla/test/examples/perl/perl-test-sub-prototypes.pl239#--------------------------------------------------------------------------
Unused Imports62 hits · 62 pts
SeverityFileLineSnippet
LOWscripts/GenerateEnums.py3
LOWthirdparty/scintilla/test/XiteMenu.py3
LOWthirdparty/scintilla/test/XiteWin.py5
LOWthirdparty/scintilla/test/XiteWin.py6
LOWthirdparty/scintilla/test/ScintillaCallable.py3
LOWthirdparty/scintilla/test/performanceTests.py5
LOWthirdparty/scintilla/test/performanceTests.py6
LOWthirdparty/scintilla/test/simpleTests.py6
LOWthirdparty/scintilla/test/simpleTests.py7
LOWthirdparty/scintilla/test/win32Tests.py10
LOWthirdparty/scintilla/test/win32Tests.py11
LOWthirdparty/scintilla/scripts/FileGenerator.py14
LOWthirdparty/uchardet/script/BuildLangModel.py57
LOWthirdparty/uchardet/script/charsets/iso-8859-3.py41
LOWthirdparty/uchardet/script/charsets/windows-1256.py41
LOWthirdparty/uchardet/script/charsets/ibm852.py41
LOWthirdparty/uchardet/script/charsets/iso-8859-7.py41
LOWthirdparty/uchardet/script/charsets/windows-1252.py41
LOWthirdparty/uchardet/script/charsets/iso-8859-6.py41
LOWthirdparty/uchardet/script/charsets/windows-1253.py41
LOWthirdparty/uchardet/script/charsets/iso-8859-2.py41
LOWthirdparty/uchardet/script/charsets/windows-1257.py41
LOWthirdparty/uchardet/script/charsets/iso-8859-15.py41
LOWthirdparty/uchardet/script/charsets/iso-8859-9.py41
LOWthirdparty/uchardet/script/charsets/tis-620.py41
LOWthirdparty/uchardet/script/charsets/iso-8859-11.py41
LOWthirdparty/uchardet/script/charsets/windows-1258.py41
LOWthirdparty/uchardet/script/charsets/iso-8859-10.py41
LOWthirdparty/uchardet/script/charsets/iso-8859-13.py41
LOWthirdparty/uchardet/script/charsets/iso-8859-16.py41
LOWthirdparty/uchardet/script/charsets/viscii.py41
LOWthirdparty/uchardet/script/charsets/windows-1250.py41
LOWthirdparty/uchardet/script/charsets/iso-8859-1.py41
LOW…irdparty/uchardet/script/charsets/mac-centraleurope.py41
LOWthirdparty/uchardet/script/charsets/iso-8859-4.py41
LOWthirdparty/uchardet/script/charsets/ibm865.py41
LOWthirdparty/uchardet/script/langs/sl.py41
LOWthirdparty/uchardet/script/langs/et.py41
LOWthirdparty/uchardet/script/langs/el.py41
LOWthirdparty/uchardet/script/langs/pl.py41
LOWthirdparty/uchardet/script/langs/vi.py41
LOWthirdparty/uchardet/script/langs/lv.py41
LOWthirdparty/uchardet/script/langs/pt.py41
LOWthirdparty/uchardet/script/langs/th.py41
LOWthirdparty/uchardet/script/langs/fi.py41
LOWthirdparty/uchardet/script/langs/hr.py41
LOWthirdparty/uchardet/script/langs/lt.py41
LOWthirdparty/uchardet/script/langs/mt.py41
LOWthirdparty/uchardet/script/langs/hu.py41
LOWthirdparty/uchardet/script/langs/fr.py41
LOWthirdparty/uchardet/script/langs/cs.py41
LOWthirdparty/uchardet/script/langs/sv.py41
LOWthirdparty/uchardet/script/langs/tr.py41
LOWthirdparty/uchardet/script/langs/ro.py41
LOWthirdparty/uchardet/script/langs/eo.py41
LOWthirdparty/uchardet/script/langs/es.py41
LOWthirdparty/uchardet/script/langs/sk.py41
LOWthirdparty/uchardet/script/langs/it.py41
LOWthirdparty/uchardet/script/langs/ar.py41
LOWthirdparty/uchardet/script/langs/de.py41
2 more matches not shown…
Deep Nesting33 hits · 33 pts
SeverityFileLineSnippet
LOWscripts/GenerateEnums.py35
LOWthirdparty/lexilla/test/Metadata/CheckMeta.py13
LOWthirdparty/lexilla/scripts/LexillaData.py55
LOWthirdparty/lexilla/scripts/LexillaData.py83
LOWthirdparty/lexilla/scripts/LexillaData.py160
LOWthirdparty/lexilla/scripts/LexillaData.py177
LOWthirdparty/lexilla/scripts/LexillaData.py219
LOWthirdparty/scintilla/test/XiteWin.py252
LOWthirdparty/scintilla/test/XiteWin.py348
LOWthirdparty/scintilla/test/ScintillaCallable.py87
LOWthirdparty/scintilla/test/ScintillaCallable.py121
LOWthirdparty/scintilla/test/simpleTests.py278
LOWthirdparty/scintilla/qt/ScintillaEdit/WidgetGen.py95
LOWthirdparty/scintilla/qt/ScintillaEdit/WidgetGen.py115
LOWthirdparty/scintilla/qt/ScintillaEdit/WidgetGen.py124
LOWthirdparty/scintilla/qt/ScintillaEdit/WidgetGen.py177
LOWthirdparty/scintilla/qt/ScintillaEdit/WidgetGen.py205
LOWthirdparty/scintilla/scripts/ScintillaData.py27
LOWthirdparty/scintilla/scripts/FileGenerator.py48
LOWthirdparty/scintilla/scripts/FileGenerator.py140
LOWthirdparty/scintilla/scripts/HeaderCheck.py35
LOWthirdparty/scintilla/scripts/CheckMentioned.py49
LOWthirdparty/scintilla/scripts/CheckMentioned.py101
LOWthirdparty/scintilla/scripts/CheckMentioned.py127
LOWthirdparty/scintilla/scripts/ScintillaAPIFacer.py145
LOWthirdparty/scintilla/scripts/ScintillaAPIFacer.py187
LOWthirdparty/scintilla/scripts/ScintillaAPIFacer.py218
LOWthirdparty/scintilla/scripts/ScintillaAPIFacer.py239
LOWthirdparty/scintilla/scripts/Dependencies.py41
LOWthirdparty/scintilla/scripts/HFacer.py11
LOWthirdparty/scintilla/scripts/HFacer.py36
LOWthirdparty/scintilla/scripts/Face.py70
LOWthirdparty/uchardet/script/BuildLangModel.py168
Self-Referential Comments5 hits · 15 pts
SeverityFileLineSnippet
MEDIUMthirdparty/lexilla/src/DepGen.py27 # Create the dependencies file for g++
MEDIUMthirdparty/lexilla/src/DepGen.py35 # Create the dependencies file for MSVC
MEDIUMthirdparty/scintilla/test/simpleTests.py1520 # Create a two character indicator over "BC" in "aBCd" and ensure that it doesn't
MEDIUMthirdparty/scintilla/win32/DepGen.py19 # Create the dependencies file for g++
MEDIUMthirdparty/scintilla/win32/DepGen.py27 # Create the dependencies file for MSVC
Excessive Try-Catch Wrapping6 hits · 12 pts
SeverityFileLineSnippet
MEDIUMthirdparty/uchardet/script/BuildLangModel.py208 print('Error: `iconv` ended with error "{}".\n'.format(error))
MEDIUMthirdparty/uchardet/script/BuildLangModel.py212 print('Error: "{}" is not a supported charset by python and `iconv` is not installed.\n')
MEDIUMthirdparty/uchardet/script/BuildLangModel.py301 print('Error: connection to Wikipedia failed. Aborting\n')
MEDIUMthirdparty/uchardet/script/BuildLangModel.py343 print("Error: alphabet characters are absent from data collection"
MEDIUMthirdparty/uchardet/script/BuildLangModel.py421 print('Error: `iconv` ended with error "{}".\n'.format(error))
MEDIUMthirdparty/uchardet/script/BuildLangModel.py426 print('Error: "{}" is not a supported charset by python and `iconv` is not installed.\n')
Cross-Language Confusion1 hit · 8 pts
SeverityFileLineSnippet
HIGHthirdparty/scintilla/test/simpleTests.py1513 # Since null, remaining calls return 0
AI Slop Vocabulary4 hits · 8 pts
SeverityFileLineSnippet
MEDIUMthirdparty/scintilla/cocoa/InfoBar.mm232 // Since the background is seamless, we don't need to take care for the proper offset.
LOWthirdparty/uchardet/script/BuildLangModel.py326# If there is no alphabet defined, we just use the first 64 letters, which was
LOWthirdparty/uchardet/script/langs/tr.py51# So I just use the alphabet variable below instead.
LOWthirdparty/uchardet/script/langs/eo.py51# So I just use the alphabet variable below instead.
Verbosity Indicators2 hits · 3 pts
SeverityFileLineSnippet
LOWthirdparty/lexilla/test/unit/catch.hpp12659 // No children have started. We need to check if they _can_
LOWthirdparty/scintilla/test/unit/catch.hpp12659 // No children have started. We need to check if they _can_
Slop Phrases1 hit · 2 pts
SeverityFileLineSnippet
LOWthirdparty/lexilla/test/examples/dart/AllStyles.dart207/// so don't forget to [feed] them some [Food].
Hyper-Verbose Identifiers1 hit · 1 pts
SeverityFileLineSnippet
LOWsrc/scripts/init.lua5function DetectLanguageFromContents(contents)