Repository Analysis

AlDanial/cloc

cloc counts blank lines, comment lines, and physical lines of source code in many programming languages.

6.2 Low AI signal View on GitHub
6.2
Adjusted Score
6.2
Raw Score
100%
Time Factor
2026-05-23
Last Push
23,113
Stars
Perl
Language
32,170
Lines of Code
678
Files
104
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 1HIGH 5MEDIUM 24LOW 74

Pattern Findings

104 matches across 10 categories. Click a row to expand file-level details.

Self-Referential Comments13 hits · 45 pts
SeverityFileLineSnippet
MEDIUMtests/inputs/utilities.R286 ## Create the interaction terms for nested effects
MEDIUMtests/inputs/nomad_job.hcl33 # Create an individual task (unit of work). This particular
MEDIUMtests/inputs/issues/906/previous_version.py267 # Create a partial function with 'project' as a fixed argument
MEDIUMtests/inputs/issues/906/previous_version.py273 # Create a ThreadPoolExecutor with the specified number of threads
MEDIUMtests/inputs/issues/906/previous_version.py90 # Create a metadata object
MEDIUMtests/inputs/issues/906/previous_version.py93 # Define the tbl_orcode_extension_mapping table
MEDIUMtests/inputs/issues/906/previous_version.py114 # Create a connection
MEDIUMtests/inputs/issues/906/current_version.py267 # Create a partial function with 'project' as a fixed argument
MEDIUMtests/inputs/issues/906/current_version.py273 # Create a ThreadPoolExecutor with the specified number of threads
MEDIUMtests/inputs/issues/906/current_version.py90 # Create a metadata object
MEDIUMtests/inputs/issues/906/current_version.py93 # Define the tbl_orcode_extension_mapping table
MEDIUMtests/inputs/issues/906/current_version.py114 # Create a connection
MEDIUMtests/inputs/issues/606/in/nomad_job.hcl33 # Create an individual task (unit of work). This particular
Excessive Try-Catch Wrapping26 hits · 45 pts
SeverityFileLineSnippet
MEDIUMtests/inputs/issues/906/previous_version.py333 # print(f"An error occurred for branch {branch_name}: {e}")
MEDIUMtests/inputs/issues/906/previous_version.py283 print(f"An error occurred: {e}")
MEDIUMtests/inputs/issues/906/previous_version.py172 print(f"An error occurred for project {git_project_id}: {e}")
MEDIUMtests/inputs/issues/906/previous_version.py80def mapTechExtensions(engine,or_code,logger):
MEDIUMtests/inputs/issues/906/previous_version.py296def wrapper_function(branch_name, project):
LOWtests/inputs/issues/906/previous_version.py256 except Exception as e:
LOWtests/inputs/issues/906/previous_version.py281 except Exception as e:
LOWtests/inputs/issues/906/previous_version.py331 except Exception as e:
LOWtests/inputs/issues/906/previous_version.py342 except Exception as ex:
LOWtests/inputs/issues/906/previous_version.py119 except Exception as e:
LOWtests/inputs/issues/906/previous_version.py171 except Exception as e:
LOWtests/inputs/issues/906/previous_version.py364 except Exception as ex:
LOWtests/inputs/issues/906/previous_version.py377 except Exception as ex:
MEDIUMtests/inputs/issues/906/current_version.py333 # print(f"An error occurred for branch {branch_name}: {e}")
MEDIUMtests/inputs/issues/906/current_version.py283 print(f"An error occurred: {e}")
MEDIUMtests/inputs/issues/906/current_version.py172 print(f"An error occurred for project {git_project_id}: {e}")
MEDIUMtests/inputs/issues/906/current_version.py80def mapTechExtensions(engine,or_code,logger):
MEDIUMtests/inputs/issues/906/current_version.py296def wrapper_function(branch_name, project):
LOWtests/inputs/issues/906/current_version.py256 except Exception as e:
LOWtests/inputs/issues/906/current_version.py281 except Exception as e:
LOWtests/inputs/issues/906/current_version.py331 except Exception as e:
LOWtests/inputs/issues/906/current_version.py342 except Exception as ex:
LOWtests/inputs/issues/906/current_version.py119 except Exception as e:
LOWtests/inputs/issues/906/current_version.py171 except Exception as e:
LOWtests/inputs/issues/906/current_version.py364 except Exception as ex:
LOWtests/inputs/issues/906/current_version.py377 except Exception as ex:
Over-Commented Block42 hits · 42 pts
SeverityFileLineSnippet
LOWtests/inputs/Application_Data_Test.feature.cs1// ------------------------------------------------------------------------------
LOWtests/inputs/csharp-designer.designer.cs1//------------------------------------------------------------------------------
LOWtests/inputs/tour.swift1// https://developer.apple.com/library/prerelease/ios/documentation/Swift/Conceptual/Swift_Programming_Language/GuidedTo
LOWtests/inputs/utilities.R1# from https://github.com/lme4/lme4
LOWtests/inputs/utilities.R141 fl <- do.call(data.frame, c(fl, check.names = FALSE))
LOWtests/inputs/utilities.R241
LOWtests/inputs/utilities.R261##' ## => list of length 2: list ( 1 | cask:batch , 1 | batch)
LOWtests/inputs/utilities.R321##' expand terms with the double vertical bar operator
LOWtests/inputs/utilities.R361
LOWtests/inputs/utilities.R401##' model.frame function.
LOWtests/inputs/utilities.R661## (2) otherwise, if formula has an environment, use it
LOWtests/inputs/utilities.R741## }
LOWtests/inputs/utilities.R761##' Not exported.
LOWtests/inputs/messages.rb1#!/usr/local/bin/ruby
LOWtests/inputs/messages.rb21# along with this program; if not, write to the Free Software
LOWtests/inputs/hello_app_autogen.go1// Code generated by manual copy DO NOT EDIT.
LOWtests/inputs/TypeScript.ts1//
LOWtests/inputs/hello_app.go1// https://raw.githubusercontent.com/golang/example/master/appengine-hello/app.go
LOWtests/inputs/locale_facets.h1// Locale support -*- C++ -*-
LOWtests/inputs/locale_facets.h21// USA.
LOWtests/inputs/locale_facets.h41#ifndef _LOCALE_FACETS_H
LOWtests/inputs/dd/bb/ee/TeapotRenderer.cpp21//--------------------------------------------------------------------------------
LOWtests/inputs/dd/bb/cc/MoreTeapotsRenderer.cpp21//--------------------------------------------------------------------------------
LOWtests/inputs/aa/bb/cc/plasma.c61#define FIXED_FROM_FLOAT(x) ((Fixed)((x)*FIXED_ONE))
LOWtests/inputs/aa/bb/cc/plasma.c81#endif
LOW…sts/inputs/issues/753/Application_Data_Test.feature.cs1// ------------------------------------------------------------------------------
LOWtests/inputs/issues/753/csharp-designer.designer.cs1//------------------------------------------------------------------------------
LOWtests/inputs/issues/280/R/locale_facets.h1// Locale support -*- C++ -*-
LOWtests/inputs/issues/280/R/locale_facets.h21// USA.
LOWtests/inputs/issues/280/R/locale_facets.h41#ifndef _LOCALE_FACETS_H
LOWtests/inputs/issues/280/L/locale_facets.h1// Locale support -*- C++ -*-
LOWtests/inputs/issues/280/L/locale_facets.h21// USA.
LOWtests/inputs/issues/280/L/locale_facets.h41#ifndef _LOCALE_FACETS_H
LOWtests/inputs/issues/513/R/locale_facets.h1// Locale support -*- C++ -*-
LOWtests/inputs/issues/513/R/locale_facets.h21// USA.
LOWtests/inputs/issues/513/R/locale_facets.h41#ifndef _LOCALE_FACETS_H
LOWtests/inputs/issues/513/L/locale_facets.h1// Locale support -*- C++ -*-
LOWtests/inputs/issues/513/L/locale_facets.h21// USA.
LOWtests/inputs/issues/513/L/locale_facets.h41#ifndef _LOCALE_FACETS_H
LOWtests/inputs/issues/579/csharp-autogen.cs1//------------------------------------------------------------------------------
LOWtests/inputs/issues/577/tour.swift1// https://developer.apple.com/library/prerelease/ios/documentation/Swift/Conceptual/Swift_Programming_Language/GuidedTo
LOWtests/inputs/issues/577/tour2.swift1// https://developer.apple.com/library/prerelease/ios/documentation/Swift/Conceptual/Swift_Programming_Language/GuidedTo
Synthetic Comment Markers5 hits · 38 pts
SeverityFileLineSnippet
HIGHtests/inputs/Application_Data_Test.feature.cs3// This code was generated by SpecFlow (https://www.specflow.org/).
HIGHtests/inputs/csharp-designer.designer.cs3// This code was generated by a tool.
HIGH…sts/inputs/issues/753/Application_Data_Test.feature.cs3// This code was generated by SpecFlow (https://www.specflow.org/).
HIGHtests/inputs/issues/753/csharp-designer.designer.cs3// This code was generated by a tool.
HIGHtests/inputs/issues/579/csharp-autogen.cs3// This code was generated by a tool.
Hallucination Indicators1 hit · 10 pts
SeverityFileLineSnippet
CRITICALtests/inputs/issues/365/RSpecTests.java27 org.assertj.core.util.Files.currentFolder().getParent(), "lib/bootstrap/rspec.rb"
Redundant / Tautological Comments4 hits · 6 pts
SeverityFileLineSnippet
LOWtests/inputs/issues/906/previous_version.py195 # Check if the combination of or_code and extension already exists
LOWtests/inputs/issues/906/previous_version.py228 # Check if the extension already exists in master extension table
LOWtests/inputs/issues/906/current_version.py195 # Check if the combination of or_code and extension already exists
LOWtests/inputs/issues/906/current_version.py228 # Check if the extension already exists in master extension table
Hyper-Verbose Identifiers4 hits · 5 pts
SeverityFileLineSnippet
LOWtests/inputs/issues/906/previous_version.py260def list_file_extensions_all_branches(project):
LOWtests/inputs/issues/906/previous_version.py304def list_file_extensions_recursive(project,branch_name, path=""):
LOWtests/inputs/issues/906/current_version.py260def list_file_extensions_all_branches(project):
LOWtests/inputs/issues/906/current_version.py304def list_file_extensions_recursive(project,branch_name, path=""):
Unused Imports6 hits · 4 pts
SeverityFileLineSnippet
LOWtests/inputs/issues/906/previous_version.py2
LOWtests/inputs/issues/906/previous_version.py14
LOWtests/inputs/issues/906/previous_version.py15
LOWtests/inputs/issues/906/previous_version.py16
LOWtests/inputs/issues/862/a.py2
LOWtests/inputs/issues/862/b.py4
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippet
MEDIUMtests/inputs/utilities.R436##' Does every level of f1 occur in conjunction with exactly one level
Deep Nesting2 hits · 1 pts
SeverityFileLineSnippet
LOWtests/inputs/issues/906/previous_version.py80
LOWtests/inputs/issues/906/previous_version.py304