AI Slop Code Risk Monitor

jruby/jruby

SlopCodeMonitor badge for jruby/jruby Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

JRuby, an implementation of Ruby on the JVM

2.0 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for jruby/jruby, a Ruby project with 3,925 GitHub stars. SynthScan examined 1,131,299 lines of code across 9522 source files, recording 993 pattern matches distributed across 13 syntactic categories. The legacy adjusted pattern signal is 2.0 (Low pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

2.0
Adjusted Signal
2.0
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
3.9K
Stars
Ruby
Language
1.1M
Lines of Code
9.5K
Files
993
Pattern Hits
2026-10-31
Scan Date
0.01
HC Hit Rate

Risk Review · Payload v1

Use each vector to guide manual verification of the underlying findings.

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 4.7/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 832 finding(s).

Hallucinated Dependency & Supply Chain Risk 4.4/100 · LOW

Are imports declared and package/API names verified? 124 finding(s).

Agent Over-Engineering Ratio 1.3/100 · LOW

Are wrappers, guards, and repeated structures necessary? 196 finding(s).

PR Review Velocity Impact 8.2/100 · LOW

Which changes need focused human review? 993 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 70HIGH 2MEDIUM 156LOW 765

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 993 distinct pattern matches across 13 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Hallucination Indicators70 hits · 948 pts
SeverityFileLineSnippetContext
CRITICAL…/test/java/org/jruby/embed/ScriptingContainerTest.java2551 org.jruby.embed.util.SystemPropertyCatcher.setClassLoader(instance);CODE
CRITICAL…/test/java/org/jruby/embed/ScriptingContainerTest.java2556 org.jruby.embed.util.SystemPropertyCatcher.setClassLoader(instance);CODE
CRITICAL⚡…test/java/org/jruby/exceptions/TestRaiseException.java231 // at org.jruby.java.invokers.InstanceMethodInvoker.call(org/jruby/java/invokers/InstanceMethodInvoker.java:3COMMENT
CRITICAL⚡…test/java/org/jruby/exceptions/TestRaiseException.java232 // at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(org/jruby/runtime/callsite/CachingCallSite.javaCOMMENT
CRITICAL⚡…test/java/org/jruby/exceptions/TestRaiseException.java233 // at org.jruby.runtime.callsite.CachingCallSite.call(org/jruby/runtime/callsite/CachingCallSite.java:131)COMMENT
CRITICAL⚡…test/java/org/jruby/exceptions/TestRaiseException.java239 // at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(org/jruby/runtime/callsite/CachingCallSite.javaCOMMENT
CRITICAL⚡…test/java/org/jruby/exceptions/TestRaiseException.java240 // at org.jruby.runtime.callsite.CachingCallSite.callBlock(org/jruby/runtime/callsite/CachingCallSite.java:14COMMENT
CRITICAL⚡…test/java/org/jruby/exceptions/TestRaiseException.java241 // at org.jruby.runtime.callsite.CachingCallSite.call(org/jruby/runtime/callsite/CachingCallSite.java:145)COMMENT
CRITICAL⚡…test/java/org/jruby/exceptions/TestRaiseException.java243 // at org.jruby.internal.runtime.methods.CompiledIRMethod.invokeExact(org/jruby/internal/runtime/methods/CompCOMMENT
CRITICAL⚡…test/java/org/jruby/exceptions/TestRaiseException.java244 // at org.jruby.internal.runtime.methods.CompiledIRMethod.call(org/jruby/internal/runtime/methods/CompiledIRMCOMMENT
CRITICAL⚡…test/java/org/jruby/exceptions/TestRaiseException.java245 // at org.jruby.internal.runtime.methods.DynamicMethod.call(org/jruby/internal/runtime/methods/DynamicMethod.COMMENT
CRITICAL⚡…test/java/org/jruby/exceptions/TestRaiseException.java246 // at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(org/jruby/runtime/callsite/CachingCallSite.javaCOMMENT
CRITICAL⚡…test/java/org/jruby/exceptions/TestRaiseException.java247 // at org.jruby.runtime.callsite.CachingCallSite.call(org/jruby/runtime/callsite/CachingCallSite.java:131)COMMENT
CRITICAL…test/java/org/jruby/exceptions/TestRaiseException.java277 // at org.jruby.java.invokers.InstanceMethodInvoker.call(org/jruby/java/invokers/InstanceMethodInvoker.java:3COMMENT
CRITICALcore/src/main/java/org/jruby/RubyClass.java1608 output.writeString(org.jruby.runtime.marshal.MarshalStream.getPathFromClass(clazz));CODE
CRITICALcore/src/main/java/org/jruby/RubyClass.java1620 return org.jruby.runtime.marshal.UnmarshalStream.getClassFromPath(input.getRuntime(), name);CODE
CRITICALcore/src/main/java/org/jruby/RubySignal.java58 return org.jruby.util.SunSignalFacade.class.getConstructor().newInstance();CODE
CRITICALcore/src/main/java/org/jruby/RubyModule.java4310 output.writeString(org.jruby.runtime.marshal.MarshalStream.getPathFromClass(module));CODE
CRITICALcore/src/main/java/org/jruby/RubyModule.java4323 return org.jruby.runtime.marshal.UnmarshalStream.getModuleFromPath(input.getRuntime(), name);CODE
CRITICALcore/src/main/java/org/jruby/util/io/Sockaddr.java171 throw org.jruby.ext.socket.ResolutionError.newNameNotKnown(context);CODE
CRITICAL⚡…main/java/org/jruby/ir/persistence/IRReaderStream.java525 case BOOLEAN: return org.jruby.ir.operands.Boolean.decode(this);CODE
CRITICAL⚡…main/java/org/jruby/ir/persistence/IRReaderStream.java533 case FLOAT: return org.jruby.ir.operands.Float.decode(this);CODE
CRITICAL⚡…main/java/org/jruby/ir/persistence/IRReaderStream.java538 case INTEGER: return org.jruby.ir.operands.Integer.decode(this);CODE
CRITICAL…/src/main/java/org/jruby/ext/digest/DigestLibrary.java39 org.jruby.ext.digest.RubyDigest.createDigest(context);CODE
CRITICALcore/src/main/java/org/jruby/ext/digest/MD5.java40 org.jruby.ext.digest.RubyDigest.createDigestMD5(context);CODE
CRITICALcore/src/main/java/org/jruby/ext/digest/RMD160.java41 org.jruby.ext.digest.RubyDigest.createDigestRMD160(context);CODE
CRITICALcore/src/main/java/org/jruby/ext/digest/SHA1.java40 org.jruby.ext.digest.RubyDigest.createDigestSHA1(context);CODE
CRITICALcore/src/main/java/org/jruby/ext/digest/SHA2.java40 org.jruby.ext.digest.RubyDigest.createDigestSHA2(context);CODE
CRITICAL…/main/java/org/jruby/ext/ffi/jffi/VariadicInvoker.java102 final Type returnType = org.jruby.ext.ffi.Util.findType(context, rbReturnType, typeMap);CODE
CRITICAL…c/main/java/org/jruby/ext/ffi/jffi/DataConverters.java227 return new org.jruby.ext.ffi.jffi.Function(context.runtime, Access.getClass(context, "FFI", "Function"),CODE
CRITICAL…ava/org/jruby/ext/ffi/jffi/FastIntMethodGenerator.java74 com.kenai.jffi.Invoker.class.getDeclaredMethod("invokeI6", CallContext.class, long.class,CODE
CRITICAL…org/jruby/ext/ffi/jffi/FastNumericMethodGenerator.java74 com.kenai.jffi.Invoker.class.getDeclaredMethod("invokeN6", CallContext.class, long.class,CODE
CRITICAL…va/org/jruby/ext/ffi/jffi/FastLongMethodGenerator.java75 com.kenai.jffi.Invoker.class.getDeclaredMethod("invokeL6", CallContext.class, long.class,CODE
CRITICALcore/src/main/java/org/jruby/ext/ffi/jffi/Function.java89 parameterTypes[i] = org.jruby.ext.ffi.Util.findType(context, paramTypes.entry(i));CODE
CRITICALcore/src/main/java/org/jruby/ext/ffi/jffi/Function.java105 Type returnType = org.jruby.ext.ffi.Util.findType(context, args[0]);CODE
CRITICAL⚡…rc/main/java/org/jruby/ext/socket/RubyBasicSocket.java615 int F_GETFL = jnr.constants.platform.Fcntl.F_GETFL.intValue();CODE
CRITICAL⚡…rc/main/java/org/jruby/ext/socket/RubyBasicSocket.java616 int F_SETFL = jnr.constants.platform.Fcntl.F_SETFL.intValue();CODE
CRITICAL⚡…rc/main/java/org/jruby/ext/socket/RubyBasicSocket.java617 int O_NONBLOCK = jnr.constants.platform.OpenFlags.O_NONBLOCK.intValue();CODE
CRITICAL…ternal/runtime/methods/InvokeDynamicMethodFactory.java127 org.jruby.runtime.Signature.OPTIONAL.encode(),CODE
CRITICAL…ava/org/jruby/parser/prism/parser/ParserPrismBase.java39 protected boolean parserTiming = org.jruby.util.cli.Options.PARSER_SUMMARY.load();CODE
CRITICAL⚡core/src/main/java/org/jruby/javasupport/Java.java126 org.jruby.javasupport.ext.Kernel.define(context, Kernel);CODE
CRITICAL⚡core/src/main/java/org/jruby/javasupport/Java.java127 org.jruby.javasupport.ext.Module.define(context, Module);CODE
CRITICAL⚡core/src/main/java/org/jruby/javasupport/Java.java129 org.jruby.javasupport.ext.JavaLang.define(context, Enumerable, Comparable);CODE
CRITICAL⚡core/src/main/java/org/jruby/javasupport/Java.java130 org.jruby.javasupport.ext.JavaLangReflect.define(context);CODE
CRITICAL⚡core/src/main/java/org/jruby/javasupport/Java.java131 org.jruby.javasupport.ext.JavaUtil.define(context, Enumerable);CODE
CRITICAL⚡core/src/main/java/org/jruby/javasupport/Java.java132 org.jruby.javasupport.ext.JavaUtilRegex.define(context);CODE
CRITICAL⚡core/src/main/java/org/jruby/javasupport/Java.java133 org.jruby.javasupport.ext.JavaIo.define(context);CODE
CRITICAL⚡core/src/main/java/org/jruby/javasupport/Java.java134 org.jruby.javasupport.ext.JavaNio.define(context);CODE
CRITICAL⚡core/src/main/java/org/jruby/javasupport/Java.java135 org.jruby.javasupport.ext.JavaNet.define(context);CODE
CRITICAL⚡core/src/main/java/org/jruby/javasupport/Java.java136 org.jruby.javasupport.ext.JavaMath.define(context);CODE
CRITICAL⚡core/src/main/java/org/jruby/javasupport/Java.java137 org.jruby.javasupport.ext.JavaTime.define(context);CODE
CRITICALcore/src/main/java/org/jruby/javasupport/Java.java548 proxy.getMetaClass().addMethod(context, "inherited", new org.jruby.internal.runtime.methods.JavaMethod(proxyCODE
CRITICALtest/jruby/test_instantiating_interfaces.rb348 counter = java.util.concurrent.atomic.AtomicInteger.new(0)CODE
CRITICALtest/jruby/test_coverage.rb463 span = org.jruby.ast.Node.java_class.declared_field('span')CODE
CRITICALtest/jruby/test_higher_javasupport.rb964 value1_field = java.lang.reflect.Method.java_class.field(:DECLARED)CODE
CRITICALtest/jruby/test_higher_javasupport.rb1180 javax.xml.xpath.XPathFactory.newInstance.newXPath.setNamespaceContext(NSCT.new(1))CODE
CRITICALspec/java_integration/types/retrieval_spec.rb133 expect( java.awt.font.TextLayout.constants.map(&:to_sym) ).to include :CaretPolicyCODE
CRITICALspec/regression/JRUBY-6324_random_srand_spec.rb5 rt = Java.org.jruby.embed.ScriptingContainer.new(org.jruby.embed.LocalContextScope::SINGLETHREAD)CODE
CRITICALspec/regression/JRUBY-6324_random_srand_spec.rb10 rt = Java.org.jruby.embed.ScriptingContainer.new(org.jruby.embed.LocalContextScope::SINGLETHREAD)CODE
CRITICALspec/compiler/skinnymethodadapter_spec.rb7 let(:instance_methods) { org.jruby.compiler.impl.SkinnyMethodAdapter.instance_methods.map(&:to_s) }CODE
10 more matches not shown…
Over-Commented Block517 hits · 501 pts
SeverityFileLineSnippetContext
LOWbench/bench_wide_finder.rb21 }COMMENT
LOWbench/bench_java_subclass_ctor.rb1# Micro-benchmark for constructing Ruby subclasses of a Java classCOMMENT
LOWbench/mri/bm_so_meteor_contest.rb1#!/usr/bin/env rubyCOMMENT
LOWbench/mri/bm_so_meteor_contest.rb101 # 0 0 0 0 0 x [positions 30-35]COMMENT
LOWbench/mri/bm_so_meteor_contest.rb221 # important: the outbound board string is 5 wide, the normal location notation is six wide (padded)COMMENT
LOWbench/mri/bm_so_meteor_contest.rb261# support function that create three utility maps:COMMENT
LOWbench/mri/bm_so_meteor_contest.rb301# determines if a board is punable, meaning that there is no possibility that itCOMMENT
LOWbench/mri/bm_so_meteor_contest.rb321# three values at the start of an iteration:COMMENT
LOWbench/mri/bm_so_meteor_contest.rb441# the reason for it is basically to force a particular ordering on how the rotations are tested forCOMMENT
LOW…/test/java/org/jruby/embed/ScriptingContainerTest.java2621 container.put("@message", "That's the way you are.");COMMENT
LOW…/test/java/org/jruby/embed/ScriptingContainerTest.java2641// // create a scripting container and run a basic script that uses the timeout module, expecting an exceptionCOMMENT
LOW…re/src/test/java/org/jruby/util/ShellLauncherTest.java41// public void testScriptThreadProcessPuts() {COMMENT
LOW…test/java/org/jruby/exceptions/TestRaiseException.java221 }COMMENT
LOW…test/java/org/jruby/exceptions/TestRaiseException.java241 // at org.jruby.runtime.callsite.CachingCallSite.call(org/jruby/runtime/callsite/CachingCallSite.java:145)COMMENT
LOW…test/java/org/jruby/exceptions/TestRaiseException.java261COMMENT
LOWcore/src/main/java/org/jruby/RubyFile.java181 }COMMENT
LOWcore/src/main/java/org/jruby/RubyFile.java1921// if (nextSlash != -1) {COMMENT
LOWcore/src/main/java/org/jruby/RubyHashLinkedBuckets.java101// Design overview:COMMENT
LOWcore/src/main/java/org/jruby/RubyHash.java61COMMENT
LOWcore/src/main/java/org/jruby/RubyHash.java81// to the next RubyHashEntry is preserved so that iterators are notCOMMENT
LOWcore/src/main/java/org/jruby/util/MurmurHash.java1package org.jruby.util;COMMENT
LOWcore/src/main/java/org/jruby/util/io/OpenFile.java741//// struct stat buf;COMMENT
LOWcore/src/main/java/org/jruby/util/io/OpenFile.java2341 // if (!rb_w32_fd_is_text(fptr->fd)) {COMMENT
LOWcore/src/main/java/org/jruby/util/io/OpenFile.java2541 // !(fptr->encs.ecflags & ECONV_NEWLINE_DECORATOR_MASK)) {COMMENT
LOWcore/src/main/java/org/jruby/util/io/OpenFile.java2941COMMENT
LOW…re/src/main/java/org/jruby/util/io/SelectExecutor.java81// if (readBlocking[i] != null) {COMMENT
LOW…re/src/main/java/org/jruby/util/io/SelectExecutor.java421COMMENT
LOW…re/src/main/java/org/jruby/util/io/SelectExecutor.java441// rb_fd_dup(except, &orig_except);COMMENT
LOWcore/src/main/java/org/jruby/util/io/PopenExecutor.java601 // TODO: WindowsCOMMENT
LOWcore/src/main/java/org/jruby/util/io/PopenExecutor.java941 rlim.rlim_max = RubyNumeric.num2int(((RubyArray)elt).eltOk(2));COMMENT
LOWcore/src/main/java/org/jruby/util/io/PopenExecutor.java961// BlockCallback SaveEnvBody = new BlockCallback() {COMMENT
LOW…org/jruby/util/collections/NonBlockingHashMapLong.java121COMMENT
LOW…org/jruby/util/collections/NonBlockingHashMapLong.java361 // --- help_copy -----------------------------------------------------------COMMENT
LOW…org/jruby/util/collections/NonBlockingHashMapLong.java381COMMENT
LOW…org/jruby/util/collections/NonBlockingHashMapLong.java401 // The 'next' CHM - created during a resize operation. This representsCOMMENT
LOW…org/jruby/util/collections/NonBlockingHashMapLong.java541 // Claim the zero key-slotCOMMENT
LOW…org/jruby/util/collections/NonBlockingHashMapLong.java581 // ---COMMENT
LOW…org/jruby/util/collections/NonBlockingHashMapLong.java641 // decided the table must be full, then always the estimate_sum must beCOMMENT
LOW…org/jruby/util/collections/NonBlockingHashMapLong.java741 //notifyAll(); // Wake up any sleepersCOMMENT
LOW…org/jruby/util/collections/NonBlockingHashMapLong.java821 if( !copy_all && panic_start == -1 ) // No panic?COMMENT
LOW…org/jruby/util/collections/NonBlockingHashMapLong.java881 }COMMENT
LOWcore/src/main/java/org/jruby/ir/IRFlags.java1package org.jruby.ir;COMMENT
LOWcore/src/main/java/org/jruby/ir/IRFlags.java21 // endCOMMENT
LOW…uby/ir/dataflow/analyses/UnboxableOpsAnalysisNode.java521COMMENT
LOW…y/ir/dataflow/analyses/StoreLocalVarPlacementNode.java81 Operand o = ((ClosureAcceptingInstr)i).getClosureArg();COMMENT
LOW…rc/main/java/org/jruby/ir/instructions/BreakInstr.java21// Like a return instruction, it exits a scope and returns a valueCOMMENT
LOW…rc/main/java/org/jruby/ir/instructions/BreakInstr.java61 if (info instanceof SimpleCloneInfo) return new BreakInstr(getReturnValue().cloneForInlining(info), scopeId);COMMENT
LOWcore/src/main/java/org/jruby/ir/targets/JVMVisitor.java3101 public void Self(Self self) {COMMENT
LOW…org/jruby/ir/targets/indy/ResolvedSuperInvokeSite.java41 default:COMMENT
LOW…org/jruby/ir/targets/indy/ResolvedSuperInvokeSite.java61// }COMMENT
LOW…org/jruby/ir/targets/indy/ResolvedSuperInvokeSite.java81// }COMMENT
LOW…rc/main/java/org/jruby/ir/targets/indy/InvokeSite.java1341// DynamicMethod innerMethod = alias.getRealMethod();COMMENT
LOW…c/main/java/org/jruby/ir/runtime/IRRuntimeHelpers.java1301 // Top-level-scripts are special but, not if binding-evals are in force!COMMENT
LOW…c/main/java/org/jruby/ir/runtime/IRRuntimeHelpers.java1321 // be covered by the (scopeType == IRScopeType.INSTANCE_METHOD)COMMENT
LOW…in/java/org/jruby/ir/passes/LocalOptimizationPass.java141 instrs[i] = newInstr;COMMENT
LOW…java/org/jruby/ir/operands/TemporaryLocalVariable.java41 }COMMENT
LOWcore/src/main/java/org/jruby/ir/operands/Splat.java61 }COMMENT
LOWcore/src/main/java/org/jruby/ir/builder/IRBuilder.java121COMMENT
LOWcore/src/main/java/org/jruby/ir/builder/IRBuilder.java521 addInstr(new ExceptionRegionEndMarkerInstr());COMMENT
LOWcore/src/main/java/org/jruby/ir/builder/IRBuilder.java1781 // If we return 'value' this will get translated to:COMMENT
457 more matches not shown…
Self-Referential Comments112 hits · 340 pts
SeverityFileLineSnippetContext
MEDIUMcore/src/main/java/org/jruby/ext/date/RubyDate.java369 # Create a new Date object for the Civil Date specified byCOMMENT
MEDIUMcore/src/main/java/org/jruby/ext/date/RubyDate.java776 # Create a new Date object representing today.COMMENT
MEDIUMcore/src/main/java/org/jruby/ext/date/RubyDateTime.java147 # Create a new DateTime object corresponding to the specifiedCOMMENT
MEDIUMcore/src/main/java/org/jruby/ext/date/RubyDateTime.java381 # Create a new DateTime object corresponding to the specifiedCOMMENT
MEDIUMcore/src/main/java/org/jruby/ext/date/RubyDateTime.java433 # Create a new DateTime object representing the current time.COMMENT
MEDIUMcore/src/main/ruby/jruby/kernel/proc.rb64 # Create a singleton class based on Proc that re-defines these methods butCOMMENT
MEDIUMtest/jruby/test_require_once_foo.rb1# This file is used by test_require_once to ensure that concurrent requires at least doCOMMENT
MEDIUMtest/jruby/test_file.rb956 # Create a ruby file that sets a global variable to its view of __FILE__COMMENT
MEDIUMtest/mri/test_timeout.rb278 # Create the timeout thread under a handle_interrupt(:never)COMMENT
MEDIUMtest/mri/test_timeout.rb325 # Create the timeout thread under a handle_interrupt(:never)COMMENT
MEDIUMtest/mri/rubygems/test_gem_request.rb22 # This method is same code as Base64.encode64COMMENT
MEDIUMtest/mri/rubygems/test_gem_installer.rb1587 # Create the non-user ext dirCOMMENT
MEDIUMtest/mri/json/json_encoding_test.rb137 # Create a large array with repeated elementsCOMMENT
MEDIUMtest/mri/json/json_encoding_test.rb147 # Create a large hashCOMMENT
MEDIUMtest/mri/fiber/scheduler.rb301 # This method is invoked from a thread or fiber to unblock a fiber that isCOMMENT
MEDIUMtest/mri/fiber/scheduler.rb552 # This method is invoked when the thread is exiting.COMMENT
MEDIUMtest/mri/fiber/test_thread.rb109 # Create a fiber that will join a long-running thread:COMMENT
MEDIUMtest/mri/win32/test_registry.rb20 # Create a new registry key per test in an atomic way, which is deleted on teardown.COMMENT
MEDIUMtest/mri/ruby/test_compile_prism.rb3# This file is organized to match itemization in https://github.com/ruby/prism/issues/1335COMMENT
MEDIUMtest/mri/ruby/test_box.rb800 # Define a constant in the box via evalCOMMENT
MEDIUMtest/mri/ruby/test_box.rb811 # Define a class in the box via evalCOMMENT
MEDIUMtest/mri/ruby/test_method.rb1753 # The following code emulate this listing.COMMENT
MEDIUMtest/tool/gen_ruby_tapset.rb3# Create a tapset for systemtap and DTraceCOMMENT
MEDIUMtest/tool/test/webrick/test_httpserver.rb311 # This class is needed by test_response_io_with_chunked_set methodCOMMENT
MEDIUMtest/tool/ruby_vm/models/instructions_unifications.rb8# This file is a part of the programming language Ruby. Permission is herebyCOMMENT
MEDIUMtest/tool/ruby_vm/models/typemap.rb8# This file is a part of the programming language Ruby. Permission is herebyCOMMENT
MEDIUMtest/tool/ruby_vm/models/trace_instructions.rb8# This file is a part of the programming language Ruby. Permission is herebyCOMMENT
MEDIUMtest/tool/ruby_vm/models/bare_instructions.rb8# This file is a part of the programming language Ruby. Permission is herebyCOMMENT
MEDIUMtest/tool/ruby_vm/models/c_expr.rb8# This file is a part of the programming language Ruby. Permission is herebyCOMMENT
MEDIUMtest/tool/ruby_vm/models/operands_unifications.rb8# This file is a part of the programming language Ruby. Permission is herebyCOMMENT
MEDIUMtest/tool/ruby_vm/models/instructions.rb8# This file is a part of the programming language Ruby. Permission is herebyCOMMENT
MEDIUMtest/tool/ruby_vm/models/attribute.rb8# This file is a part of the programming language Ruby. Permission is herebyCOMMENT
MEDIUMtest/tool/ruby_vm/scripts/insns2vm.rb8# This file is a part of the programming language Ruby. Permission is herebyCOMMENT
MEDIUMtest/tool/ruby_vm/controllers/application_controller.rb8# This file is a part of the programming language Ruby. Permission is herebyCOMMENT
MEDIUMtest/tool/ruby_vm/loaders/vm_opts_h.rb8# This file is a part of the programming language Ruby. Permission is herebyCOMMENT
MEDIUMtest/tool/ruby_vm/loaders/insns_def.rb8# This file is a part of the programming language Ruby. Permission is herebyCOMMENT
MEDIUMtest/tool/ruby_vm/loaders/opt_insn_unif_def.rb8# This file is a part of the programming language Ruby. Permission is herebyCOMMENT
MEDIUMtest/tool/ruby_vm/loaders/opt_operand_def.rb8# This file is a part of the programming language Ruby. Permission is herebyCOMMENT
MEDIUMtest/tool/ruby_vm/helpers/c_escape.rb8# This file is a part of the programming language Ruby. Permission is herebyCOMMENT
MEDIUMtest/tool/ruby_vm/helpers/dumper.rb8# This file is a part of the programming language Ruby. Permission is herebyCOMMENT
MEDIUMtest/tool/ruby_vm/helpers/scanner.rb8# This file is a part of the programming language Ruby. Permission is herebyCOMMENT
MEDIUMtest/tool/lib/webrick/httprequest.rb402 # This method provides the metavariables defined by the revision 3COMMENT
MEDIUMtest/tool/lib/webrick/httpstatus.rb17 # This module is used to manager HTTP status codes.COMMENT
MEDIUMtest/tool/lib/webrick/httputils.rb23 # This module is generally used internally by WEBrickCOMMENT
MEDIUM…ates/hellowarld/config/initializers/wrap_parameters.rb3# This file contains settings for ActionController::ParamsWrapper whichCOMMENT
MEDIUMspec/mspec/lib/mspec/runner/mspec.rb240 # This method is used for registering actions that areCOMMENT
MEDIUMspec/mspec/lib/mspec/runner/actions/leakchecker.rb323 # This function is intended to disable all NSS modules when ruby is compiledCOMMENT
MEDIUMspec/ffi/spec_helper.rb2# This file is part of ruby-ffi.COMMENT
MEDIUMspec/ffi/custom_type_spec.rb2# This file is part of ruby-ffi.COMMENT
MEDIUMspec/ffi/strptr_spec.rb3# This file is part of ruby-ffi.COMMENT
MEDIUMspec/ffi/errno_spec.rb2# This file is part of ruby-ffi.COMMENT
MEDIUMspec/ffi/io_spec.rb2# This file is part of ruby-ffi.COMMENT
MEDIUMspec/ffi/struct_packed_spec.rb2# This file is part of ruby-ffi.COMMENT
MEDIUMspec/ffi/fork_spec.rb2# This file is part of ruby-ffi.COMMENT
MEDIUMspec/ffi/bitmask_spec.rb2# This file is part of ruby-ffi.COMMENT
MEDIUMspec/ffi/managed_struct_spec.rb2# This file is part of ruby-ffi.COMMENT
MEDIUMspec/ffi/enum_spec.rb2# This file is part of ruby-ffi.COMMENT
MEDIUMspec/ffi/async_callback_spec.rb2# This file is part of ruby-ffi.COMMENT
MEDIUMspec/ffi/variadic_spec.rb2# This file is part of ruby-ffi.COMMENT
MEDIUMspec/ffi/buffer_spec.rb2# This file is part of ruby-ffi.COMMENT
52 more matches not shown…
Hyper-Verbose Identifiers159 hits · 170 pts
SeverityFileLineSnippetContext
LOWtest/jruby/test_date.rb1119 def html_escape_interpolated_argument(arg)CODE
LOWtest/jruby/test_exception.rb127 def test_exception_rescue_java(previous_error = nil)CODE
LOWtest/jruby/test_backtraces.rb372 def assert_exception_backtrace(expectations, exception)CODE
LOWtest/jruby/test_block.rb231 def block_arg_that_breaks_while(&block)CODE
LOWtest/jruby/test_block.rb393 def check_requiredargs_definemethods(obj)CODE
LOWtest/jruby/test_socket.rb30 def assert_buffered_input_survives_socket_write(socket, peer, write_method)CODE
LOWtest/jruby/test_weakmap.rb166 def make_unreferenced_weakref(obj)CODE
LOWtest/jruby/test_integer_overflows.rb41 def checks_for_integer_overflow(nbits)CODE
LOWtest/jruby/test_integer_overflows.rb96 def check_integer_add_overflow(av, bv)CODE
LOWtest/jruby/test_integer_overflows.rb149 def check_integer_negate_overflow(nv)CODE
LOWtest/jruby/test_integer_overflows.rb233 def checks_for_integer_iteration_overflows(nbits)CODE
LOWtest/jruby/test_integer_overflows.rb479 def reset_actual_expected_etc()CODE
LOWtest/jruby/test_integer_overflows.rb607 def process_test_result_private(actual_resultv, expected_resultv,CODE
LOWtest/jruby/test_integer_overflows.rb629 def set_numeric_expected_iterations(fromv, tov, stepv, exclude_fromv, exclude_tov)CODE
LOWtest/mri/test_securerandom.rb46 def check_forking_random_bytes(target_pid, target)CODE
LOWtest/mri/test_time.rb421 def subtest_xmlschema_leap_second(method)CODE
LOWtest/mri/test_time.rb445 def subtest_xmlschema_fraction(method)CODE
LOWtest/mri/test_forwardable.rb396 def single_forwardable_object(&block)CODE
LOWtest/mri/resolv/test_resource_leak.rb20 def unknown_typeclass_response(count)CODE
LOWtest/mri/resolv/test_resource_leak.rb35 def unknown_svcparam_response(count)CODE
LOWtest/mri/net/http/test_http.rb684 def _test_request__accept_encoding(http)CODE
LOWtest/mri/net/http/test_http.rb749 def _test_request__stream_body(http)CODE
LOWtest/mri/net/http/test_http.rb900 def _test_set_form_urlencoded(http, data)CODE
LOWtest/mri/net/http/test_httpheader.rb373 def try_invalid_content_range(s)CODE
LOWtest/mri/net/http/test_httpheader.rb451 def try_invalid_content_length(str)CODE
LOW⚡test/mri/optparse/test_load.rb62 def setup_options_xdg_config_home(&block)CODE
LOW⚡test/mri/optparse/test_load.rb66 def setup_options_home_config(&block)CODE
LOW⚡test/mri/optparse/test_load.rb70 def setup_options_xdg_config_dirs(&block)CODE
LOW⚡test/mri/optparse/test_load.rb74 def setup_options_home_config_settings(&block)CODE
LOW⚡test/mri/optparse/test_load.rb78 def setup_options_home_options(envname, &block)CODE
LOWtest/mri/error_highlight/test_error_highlight.rb1461 def wrong_number_of_arguments_test(x, y)CODE
LOWtest/mri/error_highlight/test_error_highlight.rb1474 | def wrong_number_of_arguments_test(x, y)CODE
LOWtest/mri/error_highlight/test_error_highlight.rb1755 def def_with_required_keyword(x:)CODE
LOWtest/mri/objspace/test_objspace.rb739 def assert_test_string_entry_correct_in_dump_all(output)CODE
LOWtest/mri/prism/library_symbols_test.rb32 def hidden_global_objdump_symbols(path)CODE
LOWtest/mri/prism/library_symbols_test.rb36 def visible_global_objdump_symbols(path)CODE
LOW…mri/prism/encoding/regular_expression_encoding_test.rb36 def assert_regular_expression_encoding_flags(encoding, regexps)CODE
LOWtest/mri/prism/encoding/encodings_test.rb45 def assert_encoding_identifier(name, character)CODE
LOWtest/mri/prism/ruby/parser_test.rb246 def assert_equal_asts_message(expected_ast, actual_ast)CODE
LOWtest/mri/prism/ruby/desugar_compiler_test.rb57 def ensure_every_node_once_in_ast(node, all_nodes = {}.compare_by_identity)CODE
LOWtest/mri/-ext-/symbol/test_inadvertent_creation.rb21 def assert_not_interned_error(obj, meth, name, msg = nil, &block)CODE
LOWtest/mri/-ext-/symbol/test_inadvertent_creation.rb27 def assert_not_interned_false(obj, meth, name, msg = nil)CODE
LOWtest/mri/-ext-/symbol/test_inadvertent_creation.rb397 def assert_no_immortal_symbol_created(name)CODE
LOWtest/mri/-ext-/symbol/test_inadvertent_creation.rb403 def assert_no_immortal_symbol_in_method_missing(name)CODE
LOWtest/mri/-ext-/thread/helper.rb21 def assert_consistent_timeline(events)CODE
LOWtest/mri/-ext-/debug/test_debug.rb116 def getlocal_after_splatarray(array)CODE
LOWtest/mri/-ext-/debug/test_debug.rb121 def setlocal_after_splatarray(array)CODE
LOWtest/mri/rubygems/test_require.rb807 def util_install_extension_file(name)CODE
LOWtest/mri/rubygems/test_rubygems.rb56 def util_install_operating_system_rb(content)CODE
LOWtest/mri/rubygems/test_rubygems.rb73 def ruby_with_rubygems_and_fake_operating_system_in_load_path(operating_system_path)CODE
LOWtest/mri/rubygems/test_webauthn_listener.rb132 def wait_for_otp_code_expect_error_with_message(message)CODE
LOWtest/mri/rubygems/multifactor_auth_utilities.rb53 def respond_with_webauthn_polling(code)CODE
LOWtest/mri/rubygems/helper.rb270 def parse_make_command_line_targets(line)CODE
LOWtest/mri/rubygems/helper.rb288 def assert_contains_make_command(target, output, msg = nil)CODE
LOWtest/mri/rubygems/helper.rb1141 def write_marshalled_gemspecs(*all_specs)CODE
LOWtest/mri/rubygems/test_gem_version.rb283 def assert_approximate_satisfies_itself(version)CODE
LOWtest/mri/rubygems/test_gem_version.rb291 def assert_bumped_version_equal(expected, unbumped)CODE
LOWtest/mri/rubygems/test_gem.rb152 def assert_self_install_permissions(format_executable: false, data_mode: 0o640)CODE
LOWtest/mri/rubygems/test_gem_update_suggestion.rb18 def with_eligible_environment(**params)CODE
LOWtest/mri/rubygems/test_gem_requirement.rb477 def assert_requirement_hash_equal(expected, actual)CODE
99 more matches not shown…
Decorative Section Separators37 hits · 116 pts
SeverityFileLineSnippetContext
MEDIUMtest/jruby/test_call_info.rb22 # ── Hash#initialize ────────────────────────────────────────────────COMMENT
MEDIUMtest/jruby/test_call_info.rb41 # ── Struct.new callInfo leak ───────────────────────────────────────COMMENT
MEDIUMtest/jruby/test_call_info.rb58 # ── Struct#initialize callInfo leak ────────────────────────────────COMMENT
MEDIUMtest/jruby/test_call_info.rb92 # ── Regexp.linear_time? keyword handling ───────────────────────────COMMENT
MEDIUMtest/jruby/test_call_info.rb119 # ── Regexp#initialize keyword handling ───────────────────────────COMMENT
MEDIUMtest/jruby/test_call_info.rb139 # ── ARGF keyword handling ──────────────────────────────────────────COMMENT
MEDIUMtest/jruby/test_call_info.rb185 # ── Kernel#open with to_open redirect ──────────────────────────────COMMENT
MEDIUMtest/jruby/test_call_info.rb212 # ── to_enum keyword propagation ────────────────────────────────────COMMENT
MEDIUMtest/jruby/test_call_info.rb237 # ── Data class keyword handling ────────────────────────────────────COMMENT
MEDIUMtest/jruby/test_call_info.rb269 # ── Dir.glob / Dir[] keyword handling ──────────────────────────────COMMENT
MEDIUMtest/jruby/test_call_info.rb286 # ── Proc#parameters keyword handling ───────────────────────────────COMMENT
MEDIUMtest/jruby/test_call_info.rb307 # ── Warning.warn keyword handling ──────────────────────────────────COMMENT
MEDIUMtest/jruby/test_call_info.rb319 # ── IO.foreach keyword handling ────────────────────────────────────COMMENT
MEDIUMtest/jruby/test_call_info.rb336 # ── File#initialize keyword handling ────────────────────────────────COMMENT
MEDIUMtest/jruby/test_call_info.rb371 # ── NoMatchingPatternKeyError keyword handling ─────────────────────COMMENT
MEDIUMtest/jruby/test_call_info.rb391 # ── `(...)` argument forwarding to a native method ─────────────────COMMENT
MEDIUMtest/jruby/test_call_info.rb429 # ── General: keywords after non-keyword calls ──────────────────────COMMENT
MEDIUMtest/mri/ruby/test_module.rb154 # -----------------------------------------------------------COMMENT
MEDIUMtest/mri/ruby/test_class.rb5 # ------------------COMMENT
MEDIUMtest/mri/ruby/test_class.rb7 # ------------------COMMENT
MEDIUMtest/mri/ruby/test_class.rb36 # ------------------COMMENT
MEDIUMtest/mri/ruby/test_class.rb38 # ------------------COMMENT
MEDIUMbin/jruby.sh4# -----------------------------------------------------------------------------COMMENT
MEDIUMbin/jruby.sh29# -----------------------------------------------------------------------------COMMENT
MEDIUMspec/ruby/language/precedence_spec.rb22# -----------------------------------------------------------------------COMMENT
MEDIUM⚡spec/ruby/language/precedence_spec.rb47# -----------------------------------------------------------------------COMMENT
MEDIUM⚡spec/ruby/language/precedence_spec.rb56# -----------------------------------------------------------------------COMMENT
MEDIUM⚡spec/ruby/language/precedence_spec.rb61#---------------------------------------------------------------COMMENT
MEDIUMspec/ruby/language/precedence_spec.rb84# -----------------------------------------------------------------------COMMENT
MEDIUMspec/ruby/language/predefined_spec.rb13# ---------------------------------------------------------------------------------------------------COMMENT
MEDIUMspec/ruby/language/predefined_spec.rb19# ---------------------------------------------------------------------------------------------------COMMENT
MEDIUMspec/ruby/language/predefined_spec.rb645# ---------------------------------------------------------------------------------------------------COMMENT
MEDIUMspec/ruby/language/predefined_spec.rb1008# ---------------------------------------------------------------------------------------------------COMMENT
MEDIUMspec/ruby/language/predefined_spec.rb1281# ---------------------------------------------------------------------------------------------------COMMENT
MEDIUMspec/ruby/language/predefined_spec.rb1347# ---------------------------------------------------------------------------------------------------COMMENT
MEDIUMlib/ruby/stdlib/win32/resolv.rb118#====================================================================COMMENT
MEDIUMlib/ruby/stdlib/win32/resolv.rb120#====================================================================COMMENT
Fake / Example Data54 hits · 70 pts
SeverityFileLineSnippetContext
LOWcore/src/test/java/org/jruby/test/TestRubyHash.java204 assertEquals(10L, rubyHash.put("Jane Doe", 42));CODE
LOWcore/src/test/java/org/jruby/test/TestRubyHash.java212 assertEquals(null, rubyHash.put("Jane Doe", 42));CODE
LOW⚡test/mri/psych/test_string.rb64 str = "Lorem ipsum"CODE
LOW⚡test/mri/psych/test_string.rb71 str = "Lorem ipsum\n"CODE
LOW⚡test/mri/psych/test_string.rb78 str = "Lorem ipsum dolor sit\n"CODE
LOW⚡test/mri/psych/test_string.rb86 str = "Lorem ipsum dolor sit amet, consectetur"CODE
LOW⚡test/mri/psych/test_string.rb86 str = "Lorem ipsum dolor sit amet, consectetur"CODE
LOW⚡test/mri/psych/test_string.rb94 "Lorem ipsum\ndolor\n",CODE
LOW⚡test/mri/psych/test_string.rb95 "Lorem ipsum\nZolor\n",CODE
LOWtest/mri/psych/test_string.rb106 "Lorem ipsum\ndolor",CODE
LOWtest/mri/psych/test_string.rb107 "Lorem ipsum\nZolor",CODE
LOW⚡test/mri/json/json_parser_test.rb429 fake_key = Object.newCODE
LOW⚡test/mri/json/json_parser_test.rb430 JSON.load('{"a": 1, "a": 2}', -> (obj) { obj == "a" ? fake_key : obj }, allow_duplicate_key: false)CODE
LOW⚡test/mri/json/json_parser_test.rb434 fake_key = Object.newCODE
LOW⚡test/mri/json/json_parser_test.rb435 JSON.load('{"a": 1, "a": 2}', -> (obj) { obj == "a" ? fake_key : obj })CODE
LOW⚡test/mri/open-uri/test_open-uri.rb346 URI.open("#{url}/r1/", "Authorization" => "dummy_token") {|f|CODE
LOW⚡test/mri/open-uri/test_open-uri.rb347 assert_equal("dummy_token", authorization_header)CODE
LOW⚡test/mri/open-uri/test_open-uri.rb349 assert_equal("dummy_token", redirected_authorization_header)CODE
LOWtest/mri/open-uri/test_open-uri.rb360 URI.open("#{url}/r1/", request_specific_fields: {"Authorization" => "dummy_token"}) {|f|CODE
LOWtest/mri/open-uri/test_open-uri.rb361 assert_equal("dummy_token", authorization_header)CODE
LOWtest/mri/open-uri/test_open-uri.rb374 "dummy_token"CODE
LOW⚡test/mri/open-uri/test_open-uri.rb385 assert_equal("dummy_token", authorization_header)CODE
LOW⚡test/mri/open-uri/test_open-uri.rb395 exc = assert_raise(ArgumentError) { URI.open("#{url}/r1/", request_specific_fields: "dummy_token") {} }CODE
LOW⚡test/mri/open-uri/test_open-uri.rb396 assert_equal('Invalid request_specific_fields option: "dummy_token"', exc.message)CODE
LOWtest/mri/ruby/test_zjit.rb68 tmp.puts("Lorem ipsum dolor sit amet, consectetur adipiscing elit, ...")CODE
LOWtest/mri/ruby/test_zjit.rb68 tmp.puts("Lorem ipsum dolor sit amet, consectetur adipiscing elit, ...")CODE
LOW⚡test/mri/ruby/test_module.rb3382 assert_same m, m.set_temporary_name(name = "fake_name")CODE
LOW⚡test/mri/ruby/test_module.rb3384 assert_equal("fake_name", m.name)CODE
LOW⚡test/mri/ruby/test_module.rb3386 assert_equal("fake_name::N", m::N.name)CODE
LOW⚡test/mri/ruby/test_module.rb3387 assert_equal("fake_name::N::O", m::N::O.name)CODE
LOWtest/mri/ruby/test_module.rb3405 mod.set_temporary_name("fake_name")CODE
LOW⚡spec/ruby/core/module/set_temporary_name_spec.rb9 m.set_temporary_name("fake_name")CODE
LOW⚡spec/ruby/core/module/set_temporary_name_spec.rb10 m.name.should == "fake_name"CODE
LOW⚡spec/ruby/core/module/set_temporary_name_spec.rb18 m.set_temporary_name("fake_name").should.equal? mCODE
LOW⚡spec/ruby/core/module/set_temporary_name_spec.rb64 -> { Object.set_temporary_name("fake_name") }.should.raise(RuntimeError, "can't change permanent name")CODE
LOW⚡spec/ruby/core/module/set_temporary_name_spec.rb72 m::N.set_temporary_name("fake_name")CODE
LOW⚡spec/ruby/core/module/set_temporary_name_spec.rb73 m::N.name.should == "fake_name"CODE
LOW⚡spec/ruby/core/module/set_temporary_name_spec.rb83 m::N.set_temporary_name("fake_name")CODE
LOW⚡spec/ruby/core/module/set_temporary_name_spec.rb84 m::N.name.should == "fake_name"CODE
LOWspec/ruby/core/module/set_temporary_name_spec.rb105 cls.set_temporary_name("fake_name")CODE
LOWspec/ruby/core/module/set_temporary_name_spec.rb106 cls.name.should == "fake_name"CODE
LOWspec/ruby/core/module/set_temporary_name_spec.rb119 m.set_temporary_name("fake_name")CODE
LOWspec/ruby/core/module/set_temporary_name_spec.rb120 m.name.should == "fake_name"CODE
LOW⚡spec/ruby/core/module/set_temporary_name_spec.rb144 m::N::O.set_temporary_name("fake_name")CODE
LOW⚡spec/ruby/core/module/set_temporary_name_spec.rb145 m::N::O.name.should == "fake_name"CODE
LOW⚡spec/ruby/core/module/set_temporary_name_spec.rb153 -> { m::N::O.set_temporary_name("fake_name") }.should.raise(RuntimeError, "can't change permanent name")CODE
LOWspec/ruby/core/module/set_temporary_name_spec.rb193 m::N.set_temporary_name("fake_name")CODE
LOWspec/ruby/core/dir/shared/glob.rb391 path = File.join(@mock_dir, "fake-name")CODE
LOWspec/ruby/library/digest/sha512/shared/constants.rb7 Contents = "Ipsum is simply dummy text of the printing and typesetting industry. \nLorem Ipsum has been the industrys CODE
LOWspec/ruby/library/digest/md5/shared/constants.rb6 Contents = "Ipsum is simply dummy text of the printing and typesetting industry. \nLorem Ipsum has been the industrys CODE
LOWspec/ruby/library/digest/sha384/shared/constants.rb7 Contents = "Ipsum is simply dummy text of the printing and typesetting industry. \nLorem Ipsum has been the industrys CODE
LOWspec/ruby/library/digest/sha256/shared/constants.rb7 Contents = "Ipsum is simply dummy text of the printing and typesetting industry. \nLorem Ipsum has been the industrys CODE
LOWspec/ruby/library/digest/sha1/shared/constants.rb7 Contents = "Ipsum is simply dummy text of the printing and typesetting industry. \nLorem Ipsum has been the industrys CODE
LOWspec/ruby/library/openssl/shared/constants.rb4 Contents = "Ipsum is simply dummy text of the printing and typesetting industry. \nLorem Ipsum has been the industrys CODE
AI Slop Vocabulary9 hits · 21 pts
SeverityFileLineSnippetContext
MEDIUMcore/src/main/java/org/jruby/util/ShellLauncher.java1137 // Essentially, we just check for shell meta characters.COMMENT
MEDIUMtest/mri/rubygems/test_gem_installer.rb33 # this file is here to facilitate running it.COMMENT
LOWtest/mri/ruby/test_random_formatter.rb97 # It would be nice to simply use Time#floor here. But that is problematicCOMMENT
MEDIUMtest/mri/ruby/test_string.rb2602 # more comprehensive tests are in test_pack.rbCOMMENT
MEDIUMtest/mri/ruby/test_array.rb1402 # more comprehensive tests are in test_pack.rbCOMMENT
MEDIUMspec/mspec/lib/mspec/runner/context.rb42 # Returns true if this is a shared +ContextState+. Essentially, whenCOMMENT
LOWspec/mspec/lib/mspec/runner/actions/leakchecker.rb334 # configuration in /etc/nsswitch.conf, and just use the built in files/dnsCOMMENT
LOWlib/pom.rb328 # TODO: better way to just set it writable without changing all modes?COMMENT
LOWtool/compiler2.rb174 # restarg or optarg, just pass array throughCOMMENT
TODO Padding11 hits · 19 pts
SeverityFileLineSnippetContext
LOWcore/src/test/ruby/test_yaml.rb1353## TODO: implement real fuzz testing of YAML round tripping hereCOMMENT
LOW⚡…src/main/java/org/jruby/ext/tracepoint/TracePoint.java181 // TODO: implement targetCOMMENT
LOW⚡…src/main/java/org/jruby/ext/tracepoint/TracePoint.java191 // TODO: implement target, target_lineCOMMENT
LOW⚡…src/main/java/org/jruby/ext/tracepoint/TracePoint.java201 // TODO: implement target, target_lineCOMMENT
LOW…e/src/main/java/org/jruby/ext/socket/RubyIPSocket.java117 // TODO: implement flagsCOMMENT
LOW…/src/main/java/org/jruby/ext/socket/RubyUDPSocket.java309 // TODO: implement flagsCOMMENT
LOW…/src/main/java/org/jruby/ext/socket/RubyUDPSocket.java336 // TODO: implement flagsCOMMENT
LOW…rc/main/java/org/jruby/ext/socket/RubyBasicSocket.java184 // TODO: implement flagsCOMMENT
LOW…rc/main/java/org/jruby/ext/socket/RubyBasicSocket.java232 // TODO: implement flagsCOMMENT
LOW…rc/main/java/org/jruby/ext/socket/RubyBasicSocket.java285 // TODO: implement flagsCOMMENT
LOW…re/src/main/java/org/jruby/ext/socket/SocketUtils.java291 // TODO: implement flagsCOMMENT
Synthetic Comment Markers2 hits · 15 pts
SeverityFileLineSnippetContext
HIGH…a/org/jruby/embed/ScriptingContainerClassLeakTest.java51 * This test was generated by Copilot and justified with incorrect logic, but the basic testsCOMMENT
HIGH…a/org/jruby/embed/ScriptingContainerClassLeakTest.java130 * Generated by Copilot, modified by headius.COMMENT
Slop Phrases8 hits · 13 pts
SeverityFileLineSnippetContext
LOWtest/mri/rubygems/test_gem_commands_cert_command.rb137 assert_equal "Don't forget to move the key file to somewhere private!",CODE
LOWtest/mri/rubygems/test_gem_commands_cert_command.rb169 assert_equal "Don't forget to move the key file to somewhere private!",CODE
LOWtest/mri/rubygems/test_gem_commands_cert_command.rb229 assert_equal "Don't forget to move the key file to somewhere private!",CODE
LOWtest/mri/rubygems/test_gem_specification.rb2765#{w}: make sure you specify the oldest ruby version constraint (like \">= 3.0\") that you want your gem to support by sCOMMENT
LOWtest/mri/rubygems/test_gem_specification.rb2782#{w}: make sure you specify the oldest ruby version constraint (like \">= 3.0\") that you want your gem to support by sCOMMENT
MEDIUMtest/tool/lib/test/unit/testcase.rb9 # Provides a simple set of guards that you can use in your testsCOMMENT
LOWspec/ruby/optional/capi/encoding_spec.rb401 str.valid_encoding? # make sure to set the coderangeCODE
MEDIUMlib/ruby/stdlib/profiler.rb20# If you're profiling an executable in your <code>$PATH</code> you can useCOMMENT
Redundant / Tautological Comments9 hits · 12 pts
SeverityFileLineSnippetContext
LOWtest/jruby/test_file.rb1179 File.umask( 0172 ) # Set umask to fixed weird test valueCODE
LOWtest/mri/rubygems/test_gem_commands_rebuild_command.rb119 # Set SOURCE_DATE_EPOCH to 2001-02-03 04:05:06 -0500.COMMENT
LOWtest/mri/rubygems/test_gem_commands_rebuild_command.rb133 # Set SOURCE_DATE_EPOCH to a different value, meaning we areCOMMENT
LOWtest/mri/rubygems/test_gem_installer.rb967 Gem.use_paths "#{@gemhome}2" # Set GEM_HOME to an uninitialized repoCODE
LOWtest/mri/openssl/test_pkcs12.rb237 # Print the value of the @mycert such as by `puts @mycert.to_s` andCOMMENT
LOWbin/jruby.sh88# Assign ELEMENT to the list named by LISTNAME.COMMENT
LOWbin/jruby.sh100# Append ELEMENT to the list named by LISTNAME.COMMENT
LOW…templates/hellowarld/config/environments/production.rb64 # Set this to true and configure the email server for immediate delivery to raise delivery errors.COMMENT
LOWspec/ruby/core/process/setpriority_spec.rb38 # Check if we can lower the nice value or not.COMMENT
Example Usage Blocks4 hits · 6 pts
SeverityFileLineSnippetContext
LOWtest/tool/downloader.rb154 # Example usage:COMMENT
LOWspec/mspec/lib/mspec/guards/feature.rb18# Usage example:COMMENT
LOWspec/mspec/tool/wrap_with_guard.rb4# Example usage:COMMENT
LOWspec/ruby/shared/types/rb_num2dbl_fails.rb4# Usage example:COMMENT
Verbosity Indicators1 hit · 2 pts
SeverityFileLineSnippetContext
LOWspec/ruby/core/file/expand_path_spec.rb223 # We need to check if getlogin(3) returns non-NULL,COMMENT