Repository Analysis

mikefarah/yq

yq is a portable command-line YAML, JSON, XML, CSV, TOML, HCL and properties processor

0.5 Likely human-written View on GitHub
0.5
Adjusted Score
0.5
Raw Score
100%
Time Factor
2026-05-28
Last Push
15,461
Stars
Go
Language
64,779
Lines of Code
526
Files
16
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 1MEDIUM 5LOW 10

Pattern Findings

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

Over-Commented Block9 hits · 9 pts
SeverityFileLineSnippet
LOWacceptance_tests/nul-separator.sh81testBasicUsageRaw() {
LOWexamples/data2.yaml1# --------------------------------------------------
LOWscripts/extract-checksum.sh1#!/bin/bash
LOW.github/workflows/codeql.yml1# For most projects, this workflow file will not need changing; you simply need
LOW.github/workflows/codeql.yml61 # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
LOW.github/workflows/scorecard.yml41 - name: "Run analysis"
LOWpkg/yqlib/encoder_shellvariables.go101 // Since yaml names can contain basically any character, we will process them according to these steps:
LOWpkg/yqlib/goccy_yaml_test.go101 // description: "basic - head comment",
LOWpkg/yqlib/goccy_yaml_test.go161 // description: "doc separator",
Self-Referential Comments3 hits · 9 pts
SeverityFileLineSnippet
MEDIUMexamples/sample.tf19# Define an S3 bucket resource
MEDIUMscripts/release-deb.sh106# Define the folders with the source project and the build artifacts and files
MEDIUMscripts/coverage.sh16# Create a simple approach using grep and sed to extract file coverage
Synthetic Comment Markers1 hit · 8 pts
SeverityFileLineSnippet
HIGHpkg/yqlib/encoder_kyaml.go127 // and this ensures all quoted strings have a trailing `",` as requested.
Decorative Section Separators2 hits · 6 pts
SeverityFileLineSnippet
MEDIUMexamples/data2.yaml1# --------------------------------------------------
MEDIUMexamples/data2.yaml3# --------------------------------------------------
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippet
LOWscripts/coverage.sh38# Display results with status indicators