Repository Analysis

JuliaLang/julia

The Julia Programming Language

2.6 Likely human-written View on GitHub
2.6
Adjusted Score
2.6
Raw Score
100%
Time Factor
2026-05-30
Last Push
48,722
Stars
Julia
Language
232,455
Lines of Code
616
Files
523
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 0MEDIUM 46LOW 477

Pattern Findings

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

Over-Commented Block462 hits · 456 pts
SeverityFileLineSnippet
LOWtest/gcext/gcext.c1// This file is a part of Julia. License is MIT: https://julialang.org/license
LOWcli/loader_lib.c201#endif
LOWcli/jl_exports.h1// This file is a part of Julia. License is MIT: https://julialang.org/license
LOWcli/list_strip_symbols.h1// This file is a part of Julia. License is MIT: https://julialang.org/license
LOWcli/loader.h1// This file is a part of Julia. License is MIT: https://julialang.org/license
LOWcli/loader.h21#endif
LOWcli/loader.h41# define JL_DLLIMPORT __declspec(dllimport) __attribute__ ((visibility("default")))
LOWcli/dl-cache.h21#define FLAG_ANY -1
LOWcli/dl-cache.h41#define FLAG_MIPS64_LIBN64_NAN2008 0x0e00
LOWcli/dl-cache.h101
LOWcli/loader_library_probe.c1#include "../src/support/platform.h"
LOWcli/trampolines/common.h1// This file is a part of Julia. License is MIT: https://julialang.org/license
LOWcli/trampolines/common.h21#if defined(_WIN32) || defined(_WIN64)
LOWcli/trampolines/common.h41#define SEH_START2() .seh_endprologue
LOWcli/trampolines/common.h61// aarch64 on mac requires some special assembler syntax for both calculating memory
LOWcontrib/normalize_triplet.py141 "": "",
LOWcontrib/tsan/build.sh1#!/bin/bash
LOWcontrib/mac/framework/Julia.h1// This file is a part of Julia. License is MIT: https://julialang.org/license
LOWcontrib/asan/build.sh1#!/bin/bash
LOWdeps/valgrind/valgrind.h121#undef PLAT_arm64_linux
LOWdeps/valgrind/valgrind.h141# define PLAT_amd64_linux 1
LOWdeps/valgrind/valgrind.h6581#undef PLAT_ppc64le_linux
LOWdoc/src/manual/methods.md781 # R = typeof(op(a[1], b[1]))
LOWsrc/runtime_intrinsics.c1// This file is a part of Julia. License is MIT: https://julialang.org/license
LOWsrc/runtime_intrinsics.c261 !defined(_CPU_PPC64_) && !defined(_CPU_PPC_) && \
LOWsrc/runtime_intrinsics.c281#elif defined(_CPU_PPC64_) || defined(_CPU_PPC_)
LOWsrc/runtime_intrinsics.c361}
LOWsrc/runtime_intrinsics.c721#define fp_select2(a, b, func) \
LOWsrc/runtime_intrinsics.c1561
LOWsrc/ircode.c1// This file is a part of Julia. License is MIT: https://julialang.org/license
LOWsrc/ircode.c21#define TAG_DATATYPE 4
LOWsrc/ircode.c41#define TAG_SINGLETON 24
LOWsrc/ircode.c61#define TAG_LONG_EDGE 44
LOWsrc/signal-handling.c1// This file is a part of Julia. License is MIT: https://julialang.org/license
LOWsrc/signal-handling.c81// or in the GC safe region and must NOT allocate anything through the GC
LOWsrc/gc-interface.h21struct _jl_genericmemory_t;
LOWsrc/gc-interface.h41 int64_t freed;
LOWsrc/gc-interface.h101} jl_gc_num_t;
LOWsrc/gc-interface.h141JL_DLLEXPORT void jl_gc_set_max_memory(uint64_t max_mem);
LOWsrc/gc-interface.h161
LOWsrc/gc-interface.h181// (doesn't include the number of allocated bytes since then).
LOWsrc/gc-interface.h201// Allocates small objects and increments Julia allocation counterst. Size of the object
LOWsrc/gc-interface.h221JL_DLLEXPORT void *jl_gc_counted_malloc(size_t sz);
LOWsrc/gc-interface.h241// Permanently allocates a memory slot of the size specified by the first parameter. This
LOWsrc/gc-interface.h261// must be either permanently allocated or have other roots.
LOWsrc/gc-interface.h281// parameter). If a field points to a young object, the first parameter is enqueued into the
LOWsrc/gc-interface.h301// As an optimization, the current_task is explicitly added to the remset while it is running.
LOWsrc/gc-interface.h321// Similar to jl_gc_wb_genericmemory_copy but must be used when copying *boxed* elements of a genericmemory
LOWsrc/abi_arm.cpp1// This file is a part of Julia. License is MIT: https://julialang.org/license
LOWsrc/abi_arm.cpp181
LOWsrc/abi_arm.cpp261
LOWsrc/llvm-cpufeatures.cpp1// This file is a part of Julia. License is MIT: https://julialang.org/license
LOWsrc/ast.c1// This file is a part of Julia. License is MIT: https://julialang.org/license
LOWsrc/smallintset.c1// This file is a part of Julia. License is MIT: https://julialang.org/license
LOWsrc/builtins.c1// This file is a part of Julia. License is MIT: https://julialang.org/license
LOWsrc/builtins.c21#else
LOWsrc/builtins.c61 case 1: return *(uint8_t*)a == *(uint8_t*)b;
LOWsrc/gc-common.c1// This file is a part of Julia. License is MIT: https://julialang.org/license
LOWsrc/gf.c1661 // Now there may be a problem: the widened signature is more general
LOWsrc/gf.c4601 typemap_slurp_search(ml, &closure->match);
402 more matches not shown…
Self-Referential Comments44 hits · 132 pts
SeverityFileLineSnippet
MEDIUMtest/gcext/ForeignObjSerialization/Manifest.toml1# This file is machine-generated - editing it directly is not advised
MEDIUMtest/gcext/Foreign/Manifest.toml1# This file is machine-generated - editing it directly is not advised
MEDIUMtest/gcext/DependsOnForeign/Manifest.toml1# This file is machine-generated - editing it directly is not advised
MEDIUMtest/manifest/v2.0/Manifest.toml1# This file is machine-generated - editing it directly is not advised
MEDIUMtest/manifest/v1.0/Manifest.toml1# This file is machine-generated - editing it directly is not advised
MEDIUMtest/project/Workspaces/PrecompileExt/Manifest.toml1# This file is machine-generated - editing it directly is not advised
MEDIUMtest/project/ProjectPath/Manifest.toml1# This file is machine-generated - editing it directly is not advised
MEDIUM…/project/Extensions/EnvWithHasExtensions/Manifest.toml1# This file is machine-generated - editing it directly is not advised
MEDIUMtest/project/Extensions/EnvWithDeps/Manifest.toml1# This file is machine-generated - editing it directly is not advised
MEDIUM…oject/Extensions/HasDepWithExtensions.jl/Manifest.toml1# This file is machine-generated - editing it directly is not advised
MEDIUM…xtensions/CrossPackageExtToExtDependency/Manifest.toml1# This file is machine-generated - editing it directly is not advised
MEDIUMtest/project/Extensions/CyclicExtensions/Manifest.toml1# This file is machine-generated - editing it directly is not advised
MEDIUMtest/project/Extensions/Parent.jl/Manifest.toml1# This file is machine-generated - editing it directly is not advised
MEDIUM…roject/Extensions/EnvWithHasExtensionsv2/Manifest.toml1# This file is machine-generated - editing it directly is not advised
MEDIUMtest/project/Extensions/HasExtensions.jl/Manifest.toml1# This file is machine-generated - editing it directly is not advised
MEDIUM…st/project/Extensions/ExtToExtDependency/Manifest.toml1# This file is machine-generated - editing it directly is not advised
MEDIUMtest/project/deps/BadStdlibDeps/Manifest.toml1# This file is machine-generated - editing it directly is not advised
MEDIUMtest/project/deps/BadStdlibDeps2/Manifest.toml1# This file is machine-generated - editing it directly is not advised
MEDIUMtest/project/SyntaxVersioning/explicit/Manifest.toml1# This file is machine-generated - editing it directly is not advised
MEDIUMtest/project/SubProject/Manifest.toml1# This file is machine-generated - editing it directly is not advised
MEDIUMcontrib/prepare_release.sh2# This file is a part of Julia. License is MIT: https://julialang.org/license
MEDIUMcontrib/delete-all-rpaths.sh2# This file is a part of Julia. License is MIT: https://julialang.org/license
MEDIUMcontrib/fixup-rpath.sh2# This file is a part of Julia. License is MIT: https://julialang.org/license
MEDIUMcontrib/install.sh2# This file is a part of Julia. License is MIT: https://julialang.org/license
MEDIUMcontrib/new-stdlib.sh2# This file is a part of Julia. License is MIT: https://julialang.org/license
MEDIUMcontrib/fixup-libgfortran.sh2# This file is a part of Julia. License is MIT: https://julialang.org/license
MEDIUMcontrib/commit-name.sh2# This file is a part of Julia. License is MIT: https://julialang.org/license
MEDIUMcontrib/download_cmake.sh2# This file is a part of Julia. License is MIT: https://julialang.org/license
MEDIUMcontrib/fixup-libstdc++.sh2# This file is a part of Julia. License is MIT: https://julialang.org/license
MEDIUMcontrib/tsan/build.sh2# This file is a part of Julia. License is MIT: https://julialang.org/license
MEDIUMcontrib/mac/app/renotarize_dmg.sh2# This file is a part of Julia. License is MIT: https://julialang.org/license
MEDIUMcontrib/mac/app/notarize_check.sh2# This file is a part of Julia. License is MIT: https://julialang.org/license
MEDIUMcontrib/asan/build.sh2# This file is a part of Julia. License is MIT: https://julialang.org/license
MEDIUMJuliaSyntax/docs/Manifest.toml1# This file is machine-generated - editing it directly is not advised
MEDIUMdeps/jlutilities/juliac/Manifest.toml1# This file is machine-generated - editing it directly is not advised
MEDIUMdeps/jlutilities/documenter/Manifest.toml1# This file is machine-generated - editing it directly is not advised
MEDIUMdeps/jlutilities/revise/Manifest.toml1# This file is machine-generated - editing it directly is not advised
MEDIUMdeps/jlutilities/objectfile/Manifest.toml1# This file is machine-generated - editing it directly is not advised
MEDIUMstdlib/Manifest.toml1# This file is machine-generated - editing it directly is not advised
MEDIUMstdlib/TOML/benchmark/Manifest.toml1# This file is machine-generated - editing it directly is not advised
MEDIUMstdlib/TOML/docs/Manifest.toml1# This file is machine-generated - editing it directly is not advised
MEDIUMJuliaLowering/Manifest.toml1# This file is machine-generated - editing it directly is not advised
MEDIUMCompiler/test/CompilerLoadingTest/Manifest.toml1# This file is machine-generated - editing it directly is not advised
MEDIUMbase/version_git.sh2# This file is a part of Julia. License is MIT: https://julialang.org/license
Verbosity Indicators6 hits · 9 pts
SeverityFileLineSnippet
LOWsrc/datatype.c2677 // Step 1: Create empty DataTypes for each type in the typegroup
LOWsrc/datatype.c2714 // Step 2: Resolve type parameters and set up wrapper UnionAlls
LOWsrc/datatype.c2740 // Step 3: Resolve supertypes (after wrapper UnionAlls are set up)
LOWsrc/datatype.c2776 // Step 4: Resolve field types
LOWsrc/datatype.c2862 // Step 6: Reinstantiate inner types
LOWsrc/method.c1398// This section handles method roots. Roots are GC-preserved items needed to
AI Slop Vocabulary3 hits · 8 pts
SeverityFileLineSnippet
LOWcontrib/fixup-libgfortran.sh122# don't care about full paths, we just set the rpath to `$ORIGIN`.
MEDIUMsrc/codegen.cpp6051 // This shouldn't happen in well-formed input, but let's be robust,
MEDIUMsrc/julia_internal.h1708//TODO: utilize https://github.com/openssl/openssl/blob/master/crypto/rand/rand_uniform.c#L13-L99
Unused Imports4 hits · 4 pts
SeverityFileLineSnippet
LOWtest/clangsa/lit.cfg.py2
LOWtest/clangsa/lit.cfg.py3
LOWtest/llvmpasses/lit.cfg.py2
LOWtest/llvmpasses/lit.cfg.py3
Example Usage Blocks2 hits · 3 pts
SeverityFileLineSnippet
LOWcontrib/tsan/build.sh5# Usage:
LOWcontrib/asan/build.sh5# Usage:
Slop Phrases2 hits · 3 pts
SeverityFileLineSnippet
LOWstdlib/CompilerSupportLibraries_jll/Project.toml4# NOTE: When updating this, also make sure to update the value
LOWsrc/gc-stock.c2836 // Don't forget to clear the remset