Repository Analysis

oracle/graal

GraalVM compiles applications into native executables that start instantly, scale fast, and use fewer compute resources 🚀

12.6 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of oracle/graal, a Java project with 21,653 GitHub stars. SynthScan v2.0 examined 3,553,187 lines of code across 18657 source files, recording 6994 pattern matches distributed across 21 syntactic categories. The overall adjusted score of 12.6 places this repository in the Low AI signal band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

12.6
Adjusted Score
12.6
Raw Score
100%
Time Factor
2026-08-01
Last Push
21.7K
Stars
Java
Language
3.6M
Lines of Code
18.7K
Files
7.0K
Pattern Hits
2026-08-02
Scan Date
0.29
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 5395HIGH 66MEDIUM 64LOW 1469

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 6994 distinct pattern matches across 21 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Hallucination Indicators5395 hits · 42642 pts
SeverityFileLineSnippetContext
CRITICAL…cle/truffle/tools/dap/server/LoadedSourcesHandler.java180 com.oracle.truffle.tools.dap.types.Source src = com.oracle.truffle.tools.dap.types.Source.create().setName(sourcCODE
CRITICAL…racle/truffle/tools/dap/server/BreakpointsHandler.java159 breakpoints.add(com.oracle.truffle.tools.dap.types.Breakpoint.create(message == null).setId(id).setMCODE
CRITICAL…racle/truffle/tools/dap/server/BreakpointsHandler.java163 breakpoints.add(com.oracle.truffle.tools.dap.types.Breakpoint.create(false).setId(id).setMessage(mesCODE
CRITICAL…racle/truffle/tools/dap/server/BreakpointsHandler.java235 com.oracle.truffle.tools.dap.types.Breakpoint.create(finalMessage == nulCODE
CRITICAL…racle/truffle/tools/dap/server/BreakpointsHandler.java241 breakpoints.add(com.oracle.truffle.tools.dap.types.Breakpoint.create(false).setId(id).setMessage(finCODE
CRITICAL…racle/truffle/tools/dap/server/BreakpointsHandler.java308 breakpoints.add(com.oracle.truffle.tools.dap.types.Breakpoint.create(message == null).setId(id).setMessaCODE
CRITICAL…racle/truffle/tools/dap/server/BreakpointsHandler.java312 breakpoints.add(com.oracle.truffle.tools.dap.types.Breakpoint.create(false).setId(id).setMessage(messageCODE
CRITICAL…racle/truffle/tools/dap/server/BreakpointsHandler.java504 com.oracle.truffle.tools.dap.types.Breakpoint.create(true).setId(breakpointId) //CODE
CRITICAL…om/oracle/truffle/tools/dap/server/ThreadsHandler.java100 ret.add(com.oracle.truffle.tools.dap.types.Thread.create(entry.getValue(), entry.getKey().getName()));CODE
CRITICAL…alvm/tools/lsp/server/request/HoverRequestHandler.java183 contents.add(org.graalvm.tools.lsp.server.types.MarkedString.create(langInfo.getId(), formattedSignature));CODE
CRITICAL…alvm/tools/lsp/server/request/HoverRequestHandler.java193 contents.add(org.graalvm.tools.lsp.server.types.MarkedString.create(langInfo.getId(), markup.getValuCODE
CRITICAL…alvm/tools/lsp/server/request/HoverRequestHandler.java226 contents.add(org.graalvm.tools.lsp.server.types.MarkedString.create(langInfo.getId(), textAtHoverPosition));CODE
CRITICAL…alvm/tools/lsp/server/request/HoverRequestHandler.java243 contents.add(org.graalvm.tools.lsp.server.types.MarkedString.create(langInfo.getId(), markup.getValue())CODE
CRITICAL…fle/tools/chromeinspector/test/SLInspectDebugTest.java1238 com.oracle.truffle.api.source.Source source = com.oracle.truffle.api.source.Source.newBuilder("sl", truffleFile)CODE
CRITICAL…ratevm/docs/module-system/ModuleSystemSupportHosted.md33 at org.graalvm.nativeimage.builder/com.oracle.svm.core.util.VMError.shouldNotReachHere(VMError.java:78)CODE
CRITICAL…ratevm/docs/module-system/ModuleSystemSupportHosted.md34 at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGeneratorRunner.checkBootModuleDependencies(NativeICODE
CRITICAL…ratevm/docs/module-system/ModuleSystemSupportHosted.md35 at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGeneratorRunner.start(NativeImageGeneratorRunner.jaCODE
CRITICAL…ratevm/docs/module-system/ModuleSystemSupportHosted.md36 at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGeneratorRunner.main(NativeImageGeneratorRunner.javCODE
CRITICALsubstratevm/mx.substratevm/mx_substratevm.py659 at org.graalvm.nativeimage.shared/com.oracle.svm.shared.util.VMError.shouldNotReachHere(VMError.java:121)CODE
CRITICALsubstratevm/mx.substratevm/mx_substratevm.py660 at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.imagelayer.HostedImageLayerBuildingSupport.validateSingletoCODE
CRITICALsubstratevm/mx.substratevm/mx_substratevm.py663 at org.graalvm.nativeimage.shared/com.oracle.svm.shared.singletons.ImageSingletonsSupportImpl.add(ImageSingletonsSupCODE
CRITICALsubstratevm/mx.substratevm/mx_substratevm.py665 at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGenerator.loadAndInstallLayeredSingletons(NativeCODE
CRITICALsubstratevm/mx.substratevm/mx_substratevm.py666 at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGenerator.installSingletonRegistries(NativeImageCODE
CRITICALsubstratevm/mx.substratevm/mx_substratevm.py667 at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGenerator.run(NativeImageGenerator.java:582)CODE
CRITICALsubstratevm/mx.substratevm/mx_substratevm.py668 at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGeneratorRunner.buildImage(NativeImageGeneratorRCODE
CRITICALsubstratevm/mx.substratevm/mx_substratevm.py669 at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGeneratorRunner.build(NativeImageGeneratorRunnerCODE
CRITICALsubstratevm/mx.substratevm/mx_substratevm.py670 at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGeneratorRunner.start(NativeImageGeneratorRunnerCODE
CRITICALsubstratevm/mx.substratevm/mx_substratevm.py671 at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGeneratorRunner.main(NativeImageGeneratorRunner.CODE
CRITICALsubstratevm/mx.substratevm/mx_substratevm.py3313 # com.oracle.svm.driver.NativeImage.BuildConfiguration.getBuilderJavaArgs().STRING
CRITICAL…ore/src/com/oracle/svm/core/jfr/JfrTypeRepository.java818 return com.oracle.svm.guest.staging.core.jdk.UninterruptibleUtils.Long.hashCode(value);CODE
CRITICAL…ore/src/com/oracle/svm/core/jfr/JfrTypeRepository.java823 return object == null ? 0 : com.oracle.svm.guest.staging.core.jdk.UninterruptibleUtils.Long.hashCode(Word.objectCODE
CRITICAL…ore/src/com/oracle/svm/core/jfr/JfrTypeRepository.java832 return 31 * com.oracle.svm.guest.staging.core.jdk.UninterruptibleUtils.Long.hashCode(sum) + getIdHash(moduleId);CODE
CRITICAL…re/src/com/oracle/svm/core/jfr/traceid/JfrTraceId.java126 if ((jdk.internal.event.Event.class.isAssignableFrom(clazz) || jdk.jfr.Event.class.isAssignableFrom(clazz)) &&CODE
CRITICAL…/src/com/oracle/svm/core/jdk/JavaNetSubstitutions.java180 return new sun.net.www.protocol.file.Handler();CODE
CRITICAL…e/src/com/oracle/svm/core/jdk/SunNioSubstitutions.java55 SelectorProvider result = java.nio.channels.spi.SelectorProvider.provider();CODE
CRITICAL…ldtimeinit/FileSystemProviderBuildTimeInitSupport.java102 * java.nio.file.spi.FileSystemProvider.loadInstalledProviders().COMMENT
CRITICAL…ldtimeinit/FileSystemProviderBuildTimeInitSupport.java124 * java.nio.file.spi.FileSystemProvider.loadInstalledProviders().COMMENT
CRITICAL…ore/src/com/oracle/svm/core/debug/BFDNameProvider.java343 * com.oracle.svm.core.posix.PosixUtils.dlsym(org.graalvm.word.PointerBase, java.lang.String)COMMENT
CRITICAL…m/oracle/graal/pointsto/reports/ObjectTreePrinter.java286 "com.oracle.svm.guest.staging.option.RuntimeOptionsSupportImpl.set(String, Object)"};CODE
CRITICAL…m/oracle/svm/core/posix/PosixSignalHandlerSupport.java469 com.oracle.svm.core.jdk.Target_jdk_internal_misc_Signal.dispatch(sigNum);CODE
CRITICAL…le/svm/guest/staging/GuestStagingDependencyBridge.java50 * {@code com.oracle.svm.core.IsolateArgumentParser.singleton().verifyOptionValues()}.COMMENT
CRITICAL…le/svm/guest/staging/GuestStagingDependencyBridge.java58 * Delegates to {@code com.oracle.svm.core.SubstrateOptions.useEpsilonGC()}.COMMENT
CRITICAL…le/svm/guest/staging/GuestStagingDependencyBridge.java65 * Delegates to {@code com.oracle.svm.core.SubstrateOptions.useSerialGC()}.COMMENT
CRITICAL…le/svm/guest/staging/GuestStagingDependencyBridge.java73 * {@code com.oracle.svm.core.heap.ReferenceAccess.singleton().getMaxAddressSpaceSize()}.COMMENT
CRITICAL…le/svm/guest/staging/GuestStagingDependencyBridge.java81 * {@code com.oracle.svm.core.heap.ReferenceAccess.singleton().getCompressionShift()}.COMMENT
CRITICAL…le/svm/guest/staging/GuestStagingDependencyBridge.java112 * Delegates to {@code com.oracle.svm.core.heap.Heap.getHeap().optionValueChanged(key)}.COMMENT
CRITICAL…le/svm/guest/staging/GuestStagingDependencyBridge.java119 * Delegates to {@code com.oracle.svm.core.Isolates.isCurrentFirst()}.COMMENT
CRITICAL…le/svm/guest/staging/GuestStagingDependencyBridge.java128 * {@code com.oracle.svm.core.jdk.Target_java_lang_Shutdown.shutdown()}.COMMENT
CRITICAL…le/svm/guest/staging/GuestStagingDependencyBridge.java137 * {@code com.oracle.svm.core.jdk.Util_java_lang_Shutdown.runLogManagerShutdownHook()}.COMMENT
CRITICAL…/oracle/svm/guest/staging/option/RuntimeOptionKey.java183 * See {@code com.oracle.svm.core.IsolateArgumentParser.verifyOptionValues()} for theCOMMENT
CRITICAL….staging/src/com/oracle/svm/guest/staging/log/Log.java47 * uninterruptible code, please use {@code com.oracle.svm.core.log.Debug.stderr()} instead.COMMENT
CRITICAL…t/src/com/oracle/svm/test/DisabledURLProtocolTest.java109 RuntimeReflection.register(com.oracle.svm.test.protocol.disabled.Handler.class.getDeclaredConstructors());CODE
CRITICAL…/src/com/oracle/svm/test/NativeImageResourceUtils.java85 RuntimeReflection.register(com.oracle.svm.test.protocol.resource.Handler.class.getDeclaredConstructors());CODE
CRITICAL…t/src/com/oracle/svm/test/jfr/TestStackTraceEvent.java63 * com.oracle.svm.core.jfr.JfrStackTraceRepository.getStackTraceId(int) call and stack walk.COMMENT
CRITICAL…/src/com/oracle/svm/test/jni/JNIGlobalHandlesTest.java90 long isolateId = com.oracle.svm.core.Isolates.getIsolateId();CODE
CRITICAL…/src/com/oracle/svm/test/jni/JNIGlobalHandlesTest.java257 return com.oracle.svm.core.Isolates.ISOLATE_COUNTER.get().readLong(0);CODE
CRITICAL…acle.svm.hosted/src/com/oracle/svm/hosted/SVMHost.java1255 nativeLibraries = com.oracle.svm.hosted.c.NativeLibraries.singleton();CODE
CRITICAL…src/com/oracle/svm/hosted/SecurityServicesFeature.java926 assert sun.security.x509.Extension.class.isAssignableFrom(extensionClass);CODE
CRITICAL…sted/src/com/oracle/svm/hosted/ModuleLayerFeature.java397 * com.oracle.svm.driver.NativeImage.BuildConfiguration.getImageProvidedJars().COMMENT
CRITICAL…d/substitute/AutomaticUnsafeTransformationSupport.java218 Method atomicIntegerFieldUpdaterNewUpdater = java.util.concurrent.atomic.AtomicIntegerFieldUpdater.class.getCODE
5335 more matches not shown…
Over-Commented Block800 hits · 756 pts
SeverityFileLineSnippetContext
LOWpyproject.toml1[tool.black]COMMENT
LOWTHIRD_PARTY_LICENSE.txt2421# Redistribution and use in source and binary forms, with or withoutCOMMENT
LOWTHIRD_PARTY_LICENSE.txt2441# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OFCOMMENT
LOWTHIRD_PARTY_LICENSE.txt2461#COMMENT
LOWTHIRD_PARTY_LICENSE.txt2481# * from this software without specific prior written permission.COMMENT
LOWTHIRD_PARTY_LICENSE.txt2501# *COMMENT
LOWTHIRD_PARTY_LICENSE.txt2521# * REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,COMMENT
LOWTHIRD_PARTY_LICENSE.txt2541# and Technology. All Rights Reserved.COMMENT
LOWTHIRD_PARTY_LICENSE.txt2561# Each User may also freely distribute the Program, whether in itsCOMMENT
LOWTHIRD_PARTY_LICENSE.txt2581#COMMENT
LOWTHIRD_PARTY_LICENSE.txt2601# production of secondary products from the program.COMMENT
LOWTHIRD_PARTY_LICENSE.txt2621# (copied below)COMMENT
LOWTHIRD_PARTY_LICENSE.txt2641# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORSCOMMENT
LOWTHIRD_PARTY_LICENSE.txt2661# --------------------------------------------------------------------------COMMENT
LOWTHIRD_PARTY_LICENSE.txt2681# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARECOMMENT
LOWTHIRD_PARTY_LICENSE.txt2701# that is in the public domain, and is intended to remain in theCOMMENT
LOWtools/mx.tools/suite.py1#COMMENT
LOWtools/mx.tools/mx_tools.py1#COMMENT
LOW…racle/truffle/tools/profiler/test/ProfilerCLITest.java381 options.put("cpusampler.SummariseThreads", "true");COMMENT
LOW…racle/truffle/tools/profiler/test/ProfilerCLITest.java421 HashMap<String, String> options = new HashMap<>();COMMENT
LOWespresso-shared/mx.espresso-shared/suite.py1#COMMENT
LOW…presso-shared/mx.espresso-shared/mx_espresso_shared.py1#COMMENT
LOW…e/truffle/espresso/shared/verifier/MethodVerifier.java461COMMENT
LOW…cle/truffle/espresso/shared/resolver/LinkResolver.java541 resolved.getDeclaringClass().getJavaName(),COMMENT
LOW…oracle/truffle/espresso/classfile/ClassfileParser.java741 if (valid) {COMMENT
LOWsubstratevm/mx.substratevm/mx_substratevm.py1#COMMENT
LOWsubstratevm/mx.substratevm/mx_substratevm.py2201 # Thus, we cannot use the naive default ClassForName implementation that onlyCOMMENT
LOWsubstratevm/mx.substratevm/mx_substratevm_docs.py1# Copyright (c) 2026, Oracle and/or its affiliates. All rights reserved.COMMENT
LOWsubstratevm/mx.substratevm/mx_substratevm_namespace.py1#COMMENT
LOWsubstratevm/mx.substratevm/mx_substratevm_benchmark.py1#COMMENT
LOWsubstratevm/mx.substratevm/rebuild-images.sh1#!/usr/bin/env bashCOMMENT
LOWsubstratevm/debug/gdbpy/gdb-debughelpers.py1#COMMENT
LOW…e.svm.core/src/com/oracle/svm/core/jvmti/JvmtiEnv.java61COMMENT
LOW…le.svm.core/src/com/oracle/svm/core/jdk/Resources.java301 private Function<ClassLoader, String> hostedToRuntimeLoaderKeyMapper;COMMENT
LOW…/oracle/svm/core/jdk/Target_java_lang_StackWalker.java641///COMMENT
LOW…oracle/svm/core/jdk/RuntimeBootModuleLayerSupport.java141 ///COMMENT
LOW…le/svm/core/jdk/resources/NativeImageResourcePath.java81/// For example, `resource://java.base@boot/2!/java/lang/uniName.dat` is stored internally as theCOMMENT
LOW…racle/svm/core/jdk/resources/ResourceStorageEntry.java81 /// Maps a dense loader-root ID back to the local data index for this resource entry. Root IDs areCOMMENT
LOW…com/oracle/svm/core/feature/InternalFeatureBridge.java41/// Migration path:COMMENT
LOW…com/oracle/svm/core/feature/InternalFeatureBridge.java61/// `com.oracle.svm.hosted.FeatureImpl` implement both access interface families. If a newCOMMENT
LOW…ore/src/com/oracle/svm/core/debug/BFDNameProvider.java601 // able to call mangleWriteSubstitutableNameNoRecord(name) at thisCOMMENT
LOW…acle/svm/guest/staging/option/RuntimeOptionParser.java321 }COMMENT
LOW…acle/svm/guest/staging/option/RuntimeOptionParser.java341 /// Some documented `java --help` and `java -X` options are handled entirely by the launcher andCOMMENT
LOW…acle.svm.util/src/com/oracle/svm/util/GuestAccess.java121COMMENT
LOW…/src/com/oracle/svm/test/jfr/utils/RecordingInput.java221 }COMMENT
LOW…sted/src/com/oracle/svm/hosted/ModuleLayerFeature.java1601 ///COMMENT
LOW…m/oracle/svm/hosted/reflect/ReflectionDataBuilder.java141/// [ReflectionDataBuilder] manages reflection registrations in Native Image. It makes sure that classes, methods andCOMMENT
LOW…m/oracle/svm/hosted/reflect/ReflectionDataBuilder.java161///COMMENT
LOW…/oracle/objectfile/elf/dwarf/DwarfInfoSectionImpl.java541 pos = writeEmbeddedArrayDataType(context, valueType, valueSize, fieldSize / valueSize, buffer, pos);COMMENT
LOW…oracle.svm.test.debug/src/gdb-tests/test_cinterface.py1#COMMENT
LOW…/com.oracle.svm.test.debug/src/gdb-tests/gdb_helper.py1#COMMENT
LOW…le.svm.test.debug/src/gdb-tests/test_pretty_printer.py1#COMMENT
LOW…c/com.oracle.svm.test.debug/src/gdb-tests/gdb_utils.py1#COMMENT
LOW…c/com.oracle.svm.test.debug/src/gdb-tests/gdb_utils.py81# expressionsCOMMENT
LOW…m.oracle.svm.test.debug/src/gdb-tests/test_svm_util.py1#COMMENT
LOW…cle.svm.test.debug/src/gdb-tests/test_runtime_deopt.py1#COMMENT
LOW…m.test.debug/src/gdb-tests/test_runtime_compilation.py1#COMMENT
LOW…acle.svm.test.debug/src/gdb-tests/test_class_loader.py1#COMMENT
LOW…c/com.oracle.svm.test.debug/src/gdb-tests/testhello.py1#COMMENT
LOW…c/com.oracle.svm.test.debug/src/gdb-tests/testhello.py21# or visit www.oracle.com if you need additional information or have anyCOMMENT
740 more matches not shown…
Hyper-Verbose Identifiers335 hits · 298 pts
SeverityFileLineSnippetContext
LOW…tools/lsp/server/request/CompletionRequestHandler.java75public final class CompletionRequestHandler extends AbstractRequestHandler {CODE
LOW…ls/lsp/server/request/SignatureHelpRequestHandler.java62public final class SignatureHelpRequestHandler extends AbstractRequestHandler {CODE
LOW…/tools/lsp/server/request/HighlightRequestHandler.java56public final class HighlightRequestHandler extends AbstractRequestHandler {CODE
LOW…m/tools/lsp/server/request/AbstractRequestHandler.java55public abstract class AbstractRequestHandler {CODE
LOW…m/tools/lsp/server/request/CoverageRequestHandler.java66public final class CoverageRequestHandler extends AbstractRequestHandler {CODE
LOW…alvm/tools/lsp/server/request/HoverRequestHandler.java69public final class HoverRequestHandler extends AbstractRequestHandler {CODE
LOWsubstratevm/mx.substratevm/mx_substratevm.py129def _abort_if_skills_are_not_synchronized():CODE
LOWsubstratevm/mx.substratevm/mx_substratevm.py298def _maybe_convert_to_args_file(args):CODE
LOWsubstratevm/mx.substratevm/mx_substratevm.py737def _compute_native_unittest_args(extra_build_args=None, include_svm_test_features=True):STRING
LOWsubstratevm/mx.substratevm/mx_substratevm.py771 def write_micronaut_style_service_entries(cp_entry, service_name, implementation_names):STRING
LOWsubstratevm/mx.substratevm/mx_substratevm.py831def runtime_classpath_resource_test_task(extra_build_args=None):STRING
LOWsubstratevm/mx.substratevm/mx_substratevm.py862def java_desktop_integration_task(native_image, extra_build_args=None):STRING
LOWsubstratevm/mx.substratevm/mx_substratevm.py887def run_agent_jar_url_protocol_config_test(agent_path):STRING
LOWsubstratevm/mx.substratevm/mx_substratevm.py957def _configure_test_jvmci_exports():STRING
LOWsubstratevm/mx.substratevm/mx_substratevm.py966def run_nic_conditional_config_test(agent_path, conditional_config_filter_path):STRING
LOWsubstratevm/mx.substratevm/mx_substratevm.py1007def run_agent_conditional_config_test(agent_path, conditional_config_filter_path):STRING
LOWsubstratevm/mx.substratevm/mx_substratevm.py1121def _native_unittest_helper_jdk(config=None):STRING
LOWsubstratevm/mx.substratevm/mx_substratevm.py1130def _collect_native_unittest_groups(unittest_deps, unittest_file):STRING
LOWsubstratevm/mx.substratevm/mx_substratevm.py1144def _partition_native_unittest_groups(grouped_test_specs, include_custom_test_groups):STRING
LOWsubstratevm/mx.substratevm/mx_substratevm.py1224def standalone_pointsto_unittest(args):STRING
LOWsubstratevm/mx.substratevm/mx_substratevm.py1918def _native_image_launcher_main_class():STRING
LOWsubstratevm/mx.substratevm/mx_substratevm.py1925def _native_image_launcher_extra_jvm_args():STRING
LOWsubstratevm/mx.substratevm/mx_substratevm.py2136def allow_build_path_in_libgraal():STRING
LOWsubstratevm/mx.substratevm/mx_substratevm.py2142def prevent_build_path_in_libgraal():STRING
LOWsubstratevm/mx.substratevm/mx_substratevm.py2485def _native_image_utils_extra_jvm_args():STRING
LOWsubstratevm/mx.substratevm/mx_substratevm.py2736 def build_and_test_java_agent_image(native_image, args):STRING
LOWsubstratevm/mx.substratevm/mx_substratevm.py2768 def build_and_test_clinittest_image(native_image, args):STRING
LOWsubstratevm/mx.substratevm/mx_substratevm.py2794 def check_class_initialization(classes_file_name):STRING
LOWsubstratevm/mx.substratevm/mx_substratevm.py3224def mx_register_dynamic_suite_constituents(register_project, register_distribution):STRING
LOWsubstratevm/mx.substratevm/mx_substratevm.py3314 def compute_graal_compiler_flags_map(self):STRING
LOWsubstratevm/mx.substratevm/mx_substratevm.py3396def native_image_utils_on_jvm(args, **kwargs):STRING
LOWsubstratevm/mx.substratevm/mx_substratevm.py3477def check_libcontainer_annotations(args):STRING
LOWsubstratevm/mx.substratevm/mx_substratevm.py3507def reimport_libcontainer_files(args):STRING
LOWsubstratevm/mx.substratevm/mx_substratevm.py3547def svm_libcontainer_namespace(args):STRING
LOWsubstratevm/mx.substratevm/mx_substratevm.py3675 def _check_svm_invariants_jars(self):STRING
LOWsubstratevm/mx.substratevm/mx_substratevm.py3709def update_build_options_table_command(args):STRING
LOWsubstratevm/mx.substratevm/mx_substratevm_docs.py36def _ensure_native_image_executable():CODE
LOWsubstratevm/mx.substratevm/mx_substratevm_docs.py55def _generate_markdown_options_table():CODE
LOWsubstratevm/mx.substratevm/mx_substratevm_docs.py62def _extract_table_from_markdown(markdown_text):CODE
LOWsubstratevm/mx.substratevm/mx_substratevm_docs.py107def verify_build_options_table():CODE
LOWsubstratevm/mx.substratevm/mx_substratevm_docs.py208def update_build_options_table():CODE
LOWsubstratevm/mx.substratevm/mx_substratevm_namespace.py304def is_preprocessor_directive(line):CODE
LOWsubstratevm/mx.substratevm/mx_substratevm_namespace.py309def is_preprocessor_directive_name(line, name):CODE
LOWsubstratevm/mx.substratevm/mx_substratevm_namespace.py357def is_valid_identifier_character(c):CODE
LOWsubstratevm/mx.substratevm/mx_substratevm_namespace.py386def remove_namespace_from_file(file, namespaceName):CODE
LOWsubstratevm/mx.substratevm/mx_substratevm_namespace.py427def remove_namespace_delimiter(lines, index):CODE
LOWsubstratevm/mx.substratevm/mx_substratevm_benchmark.py167 def renaissance_harness_lib_name(self):CODE
LOWsubstratevm/mx.substratevm/mx_substratevm_benchmark.py351 def extra_image_build_argument(self, benchmark, args):CODE
LOWsubstratevm/mx.substratevm/mx_substratevm_benchmark.py363 def _ensure_necessary_benchmark_files_exist(self):CODE
LOWsubstratevm/mx.substratevm/mx_substratevm_benchmark.py215 def renaissance_additional_lib(self, lib):CODE
LOWsubstratevm/mx.substratevm/mx_substratevm_benchmark.py243 def extra_image_build_argument(self, benchmark, args):CODE
LOWsubstratevm/mx.substratevm/mx_substratevm_benchmark.py321 def application_fixed_image_name(self):CODE
LOWsubstratevm/mx.substratevm/mx_substratevm_benchmark.py385 def _generate_or_lookup_bundle(self, benchmark: str, layer_info: Layer) -> str:CODE
LOWsubstratevm/mx.substratevm/mx_substratevm_benchmark.py469 def ensure_image_is_at_desired_location(self, bmSuiteArgs):CODE
LOWsubstratevm/mx.substratevm/mx_substratevm_benchmark.py493 def _short_load_testing_phases(self):CODE
LOWsubstratevm/mx.substratevm/mx_substratevm_benchmark.py660 def collect_nested_dependencies(path):CODE
LOWsubstratevm/mx.substratevm/mx_substratevm_benchmark.py690 def collect_unique_dependencies(self, path, benchmark, exclude_libs):CODE
LOWsubstratevm/mx.substratevm/mx_substratevm_benchmark.py870 def extra_image_build_argument(self, benchmark, args):CODE
LOWsubstratevm/mx.substratevm/mx_substratevm_benchmark.py1053 def native_image_run_system_properties(self, args):CODE
LOWsubstratevm/mx.substratevm/mx_substratevm_benchmark.py1065 def extra_image_build_argument(self, benchmark, args):CODE
275 more matches not shown…
Cross-Language Confusion30 hits · 151 pts
SeverityFileLineSnippetContext
HIGH…le.svm.test.debug/src/gdb-tests/test_pretty_printer.py355 self.assertEqual(exec_string, 'java.util.ArrayList(3) = {null, null, null}')CODE
HIGH…m.oracle.svm.test.debug/src/gdb-tests/test_svm_util.py145 self.assertEqual(self.svm_util.get_java_string(null), "")CODE
HIGH…m.oracle.svm.test.debug/src/gdb-tests/test_settings.py161 self.assertRaises(gdb.error, lambda: gdb_advanced_print("object.toString()", 'r')) # check if 'p' command is skCODE
HIGH…m.oracle.svm.test.debug/src/gdb-tests/test_settings.py164 self.assertIn("(java.lang.String *)", gdb_advanced_print("object.toString()", 'r'))CODE
HIGHtruffle/mx.truffle/suite.py1333 "String dataPath = ICUConfig\\.get\\(ICUBinary\\.class\\.getName\\(\\) \\+ \".dataPath\"\\);" : "String dataCODE
HIGHtruffle/mx.truffle/suite.py1339 "root.getResourceAsStream\\(resourceName\\)": "getResourceStream(null, root, resourceName)",CODE
HIGHtruffle/mx.truffle/suite.py1340 "loader.getResourceAsStream\\(resourceName\\)": "getResourceStream(loader, null, resourceName)",CODE
HIGHtruffle/mx.truffle/suite.py1344 if (refClass == null && loader == ICUData.class.getClassLoader()) {CODE
HIGHtruffle/mx.truffle/suite.py1348 if (refClass != null) {CODE
HIGHtruffle/mx.truffle/suite.py1359 "protected static URLHandler getDefault.*" : "\\g<0>\nif (Boolean.TRUE) {\nreturn null;\n}",CODE
HIGHtruffle/mx.truffle/suite.py1414 if (result == null) {CODE
HIGHtruffle/mx.truffle/suite.py1417 if (result == null) {CODE
HIGHtruffle/mx.truffle/suite.py1431 if (result == null) {CODE
HIGHtruffle/mx.truffle/suite.py1434 if (result == null) {CODE
HIGHtruffle/mx.truffle/suite.py1448 if (result == null) {CODE
HIGHtruffle/mx.truffle/suite.py1451 if (result == null) {CODE
HIGHtruffle/mx.truffle/suite.py1465 if (result == null) {CODE
HIGHtruffle/mx.truffle/suite.py1468 if (result == null) {CODE
HIGHtruffle/mx.truffle/suite.py1484 if (result == null) {CODE
HIGHtruffle/mx.truffle/suite.py1487 if (result == null) {CODE
HIGHtruffle/mx.truffle/suite.py1503 if (result == null) {CODE
HIGHtruffle/mx.truffle/suite.py1506 if (result == null) {CODE
HIGHtruffle/mx.truffle/suite.py1522 if (result == null) {CODE
HIGHtruffle/mx.truffle/suite.py1525 if (result == null) {CODE
HIGHtruffle/mx.truffle/suite.py1548 if (result == null) {CODE
HIGHtruffle/mx.truffle/suite.py1551 if (result == null) {CODE
HIGHtruffle/mx.truffle/suite.py1575 "registry = new TransliteratorRegistry\\(\\);" : "if (registry != null) return;\n \\g<0>",CODE
HIGHtruffle/mx.truffle/suite.py1369 Map<K, V> map = null;""" : """STRING
HIGHsdk/mx.sdk/suite.py758 String getDetectedCharset() { return null; }STRING
HIGHsdk/mx.sdk/suite.py800 if (p != null) {STRING
Cross-Language Confusion (JS/TS)24 hits · 135 pts
SeverityFileLineSnippetContext
HIGHvm/tests/js/agentscript/agent-sumarray.js32print(sum);CODE
HIGHvm/tests/js/agentscript/agent-sum.js38print(sumRange(1, 6));CODE
HIGHvm/tests/js/agentscript/agent-histogram.js29 print("==== Histogram ====");CODE
HIGHvm/tests/js/agentscript/agent-histogram.js38 print(`${number} calls to ${entry[0]}`);CODE
HIGHvm/tests/js/agentscript/agent-histogram.js40 print("===================");CODE
HIGHvm/tests/js/agentscript/agent-summul3.js29 print(`enter of ${ctx.name} with ${i} * ${frame.a} * ${frame.b} = ${r}`);CODE
HIGHvm/tests/js/agentscript/strip-license.js47 print(lines[i]);CODE
HIGHvm/tests/js/agentscript/agent-fib.js37print("Three is the result " + fib(4));CODE
HIGHvm/tests/js/agentscript/agent-sumneg.js31 print(`Original value was ${positive}, but returning ${-positive}`);CODE
HIGHvm/tests/js/agentscript/location/distance-trace.js27 print("Squares: " + frame.x2 + ", " + frame.y2);CODE
HIGHvm/tests/js/agentscript/location/distance-trace.js37 print("Loop var i = " + frame.i);CODE
HIGHvm/tests/js/agentscript/location/agent-fib.js37print("Three is the result " + fib(4));CODE
HIGH…js/agentscript/iterateframes/iterateFramesJsInsight.js32 print(log);CODE
HIGH…sts/js/agentscript/iterateframes/iterateFramesSieve.js30 print(`Iterating the ${ctx.name} with ${frame.number} stack from Insight`);CODE
HIGH…sts/js/agentscript/iterateframes/iterateFramesSieve.js32 print(` at <${at.source.language}> ${at.name}(${at.source.name}:${at.line}:${at.charIndex}-${at.charECODE
HIGHvm/tests/js/agentscript/iterateframes/iterateFrames.js30 print("dumping locals");CODE
HIGHvm/tests/js/agentscript/iterateframes/iterateFrames.js33 print(` at ${at.name} (${at.source.name}:${at.line}:${at.column}) ${p} has value ${vars[p]}`);CODE
HIGHvm/tests/js/agentscript/iterateframes/iterateFrames.js39 print("end of locals");CODE
HIGHvm/tests/js/agentscript/iterateframes/agent-fib-main.js41 print(prefix + fib4);CODE
HIGH…ests/gh_workflows/CDTInspectorTest/scripts/StepTest.js51print('Index of element 12 is: ' + index12);CODE
HIGH…ests/gh_workflows/CDTInspectorTest/scripts/StepTest.js52print('Index of element 8 is: ' + index8);CODE
HIGH…/agent-embedding/src/main/resources/agent-embedding.js27 print(`calling ${ev.name} with ${frame.n}`);CODE
HIGH…entscript/agent-python/src/main/resources/agent-fib.js37print("Three is the result " + fib(4));CODE
HIGH…om/oracle/svm/hosted/webimage/codegen/runtime/timer.js39 print(log_fun) {CODE
AI Slop Vocabulary37 hits · 110 pts
SeverityFileLineSnippetContext
MEDIUMsubstratevm/mx.substratevm/mx_substratevm.py3646 # for the junit harness which uses reflection to find @Test methods. In addition, theSTRING
MEDIUMsubstratevm/mx.substratevm/mx_substratevm_benchmark.py168 # Before Renaissance 0.14.0, we had to cross-compile the Renaissance harness to ensure we have a matchingCOMMENT
MEDIUMsubstratevm/mx.substratevm/mx_substratevm_benchmark.py169 # harness for each project compiled with different scala versions.COMMENT
MEDIUMsubstratevm/mx.substratevm/mx_substratevm_benchmark.py171 # friendly classpath and already bundles all harness versions needed.COMMENT
MEDIUMsubstratevm/mx.substratevm/mx_substratevm_benchmark.py610 # Get bench name and workload to use in the barista harness - we might have custom named benchmarks that neeCOMMENT
MEDIUMsubstratevm/mx.substratevm/mx_substratevm_benchmark.py614 # Provide image built in the previous stage to the Barista harness using the `--app-executable` optionCOMMENT
MEDIUMsubstratevm/mx.substratevm/mx_substratevm_benchmark.py803 # The version 9.12-MR1-git+2baec49 also ships a custom harness class to allow native image to find the entry poiCOMMENT
LOWsubstratevm/debug/gdbpy/gdb-debughelpers.py505 # just use the raw pointer value and cast it instead the objCOMMENT
MEDIUM…/src/com/oracle/svm/core/jdk/NativeLibrarySupport.java50 // Essentially a revised implementation of the relevant methods in OpenJDK's ClassLoaderCOMMENT
LOW…/src/com/oracle/svm/core/jdk/NativeLibrarySupport.java95 * The map {@code LibraryInitializer#onLoadCGlobalDataMap} uses identity equivalence, so we can't just pass on the nCOMMENT
MEDIUM….native.libcontainer/src/hotspot/os/linux/os_linux.cpp3174 // To make NUMA and large pages more robust when both enabled, we need to easeCOMMENT
MEDIUM…r/src/hotspot/share/utilities/compilerWarnings_gcc.hpp99// Probably the most robust is to use the same style of noreturn attribute asCOMMENT
MEDIUM…/org.graalvm.wasm.benchcases/src/bench/c/micro/phong.c43#include "harness.h"COMMENT
MEDIUM…g.graalvm.wasm.benchcases/src/bench/c/micro/digitron.c45#include "harness.h"COMMENT
MEDIUM…rg.graalvm.wasm.benchcases/src/bench/c/micro/strings.c43#include "harness.h"COMMENT
MEDIUM…org.graalvm.wasm.benchcases/src/bench/c/micro/fib-vm.c43#include "harness.h"COMMENT
MEDIUM…rc/org.graalvm.wasm.benchcases/src/bench/c/micro/cdf.c44#include "harness.h"COMMENT
MEDIUM….graalvm.wasm.benchcases/src/bench/c/micro/event-sim.c46#include "harness.h"COMMENT
MEDIUM…/org.graalvm.wasm.benchcases/src/bench/c/micro/qsort.c43#include "harness.h"COMMENT
MEDIUM…rc/org.graalvm.wasm.benchcases/src/bench/c/micro/fft.c45#include "harness.h"COMMENT
MEDIUM…graalvm.wasm.benchcases/src/bench/c/micro/merge-join.c42#include "harness.h"COMMENT
MEDIUM….graalvm.wasm.benchcases/src/bench/c/micro/hash-join.c44#include "harness.h"COMMENT
MEDIUMtruffle/mx.truffle/mx_polybench/model.py1549 # Here, we just infer it based on the presence of some language in a list. This must be made more robustCOMMENT
MEDIUM…e/dsl/processor/java/transform/AbstractCodeWriter.java513 // just to be robust against not referenced classes.COMMENT
MEDIUM…ruffle/api/bytecode/test/examples/ParsingTutorial.java518 // robust implementation should implement scoping.COMMENT
MEDIUM…e/truffle/llvm/runtime/nodes/op/ToComparableValue.java76 // if we ever switch to a more robust implementation, we can simplify theCOMMENT
LOW…le.truffle.llvm.tests.libc.native/include/win/unistd.h41#define X_OK 0 // does not exist in windows, just use 0COMMENT
MEDIUMsdk/mx.sdk/mx_sdk_benchmark.py1391 # By encoding the app layer with a fixed value string ("app-layer") we facilitate bench-serverCOMMENT
MEDIUMsdk/mx.sdk/mx_sdk_benchmark.py4026 # Get bench name and workload to use in the barista harness - we might have custom named benchmarks that neeCOMMENT
LOWweb-image/mx.web-image/mx_web_image.py354 # The driver requires a class name to invoke the builder, so we just pass an arbitrary name, the builder will exitCOMMENT
MEDIUMcompiler/mx.compiler/mx_compiler.py596 # java.util.Logging assertions disabled because the the DaCapo harnessCOMMENT
MEDIUMcompiler/mx.compiler/mx_compiler.py597 # misuses the API. The same harness is used by Scala DaCapo.COMMENT
MEDIUMcompiler/mx.compiler/mx_compiler.py865 # for the junit harness which uses reflection to find @Test methods. In addition, theCOMMENT
MEDIUMcompiler/mx.compiler/mx_run_jdk_test.py336 # Enable the HotSpot compatibility options only for the JDK test harness invocation.COMMENT
MEDIUM…r/src/jdk/graal/compiler/asm/amd64/AMD64Assembler.java2069 // VexRVMOp.VMOVSS/VMOVSD utilize the merge semantics, while these simply move the wholeCOMMENT
MEDIUM…m/oracle/truffle/espresso/runtime/JDWPContextImpl.java597 // on other threads, we have to utilize Truffle safe pointsCOMMENT
MEDIUM…m/oracle/truffle/espresso/runtime/JDWPContextImpl.java728 // on other threads, we have to utilize Truffle safe pointsCOMMENT
Deep Nesting122 hits · 91 pts
SeverityFileLineSnippetContext
LOWtools/mx.tools/mx_tools.py91CODE
LOW…presso-shared/mx.espresso-shared/mx_espresso_shared.py95CODE
LOW…presso-shared/mx.espresso-shared/mx_espresso_shared.py151CODE
LOWsubstratevm/mx.substratevm/mx_substratevm.py442CODE
LOWsubstratevm/mx.substratevm/mx_substratevm.py484CODE
LOWsubstratevm/mx.substratevm/mx_substratevm.py1045CODE
LOWsubstratevm/mx.substratevm/mx_substratevm.py1272CODE
LOWsubstratevm/mx.substratevm/mx_substratevm.py1406CODE
LOWsubstratevm/mx.substratevm/mx_substratevm.py1417CODE
LOWsubstratevm/mx.substratevm/mx_substratevm.py1835CODE
LOWsubstratevm/mx.substratevm/mx_substratevm.py3453CODE
LOWsubstratevm/mx.substratevm/mx_substratevm.py2916CODE
LOWsubstratevm/mx.substratevm/mx_substratevm.py3009CODE
LOWsubstratevm/mx.substratevm/mx_substratevm_docs.py107CODE
LOWsubstratevm/mx.substratevm/mx_substratevm_namespace.py72CODE
LOWsubstratevm/mx.substratevm/mx_substratevm_namespace.py95CODE
LOWsubstratevm/mx.substratevm/mx_substratevm_namespace.py165CODE
LOWsubstratevm/debug/gdbpy/gdb-debughelpers.py186CODE
LOWsubstratevm/debug/gdbpy/gdb-debughelpers.py761CODE
LOWsubstratevm/debug/gdbpy/gdb-debughelpers.py1437CODE
LOW…c/com.oracle.svm.test.debug/src/gdb-tests/gdb_utils.py103CODE
LOW…ls/update-libcontainer/scripts/project_native_image.py53CODE
LOW…mx.espresso-compiler-stub/mx_espresso_compiler_stub.py79CODE
LOWwasm/mx.wasm/mx_wasm.py136CODE
LOWwasm/mx.wasm/mx_wasm.py463CODE
LOWtruffle/mx.truffle/mx_truffle.py241CODE
LOWtruffle/mx.truffle/mx_truffle.py1324CODE
LOWtruffle/mx.truffle/mx_truffle.py1521CODE
LOWtruffle/mx.truffle/mx_truffle.py1639CODE
LOWtruffle/mx.truffle/mx_truffle.py142CODE
LOWtruffle/mx.truffle/mx_truffle.py1334CODE
LOWtruffle/mx.truffle/mx_polybench/model.py526CODE
LOWtruffle/mx.truffle/mx_polybench/model.py724CODE
LOWvm/mx.vm/mx_vm_benchmark.py171CODE
LOWvm/mx.vm/mx_vm_gate.py92CODE
LOWvm/mx.vm/mx_vm_gate.py223CODE
LOWvm/mx.vm/mx_vm_gate.py494CODE
LOWvm/mx.vm/mx_vm_gate.py634CODE
LOWvm/mx.vm/mx_vm_gate.py725CODE
LOWvm/mx.vm/mx_vm_gate.py890CODE
LOWvm/mx.vm/mx_vm_gate.py982CODE
LOWvm/mx.vm/mx_vm_gate.py97CODE
LOWvm/mx.vm/mx_vm.py269CODE
LOWsulong/mx.sulong/mx_sulong_fuzz.py58CODE
LOWsulong/mx.sulong/mx_sulong_fuzz.py138CODE
LOWsulong/mx.sulong/mx_sulong_gen.py204CODE
LOWsulong/mx.sulong/mx_sulong_suite_constituents.py120CODE
LOWsulong/mx.sulong/mx_sulong_suite_constituents.py101CODE
LOWsulong/mx.sulong/mx_sulong_suite_constituents.py121CODE
LOWsulong/mx.sulong/mx_sulong.py153CODE
LOWsdk/mx.sdk/mx_sdk_shaded.py366CODE
LOWsdk/mx.sdk/mx_sdk_shaded.py195CODE
LOWsdk/mx.sdk/mx_sdk_shaded.py251CODE
LOWsdk/mx.sdk/mx_sdk_benchmark.py200CODE
LOWsdk/mx.sdk/mx_sdk_benchmark.py2381CODE
LOWsdk/mx.sdk/mx_sdk_benchmark.py5070CODE
LOWsdk/mx.sdk/mx_sdk_benchmark.py919CODE
LOWsdk/mx.sdk/mx_sdk_benchmark.py1024CODE
LOWsdk/mx.sdk/mx_sdk_benchmark.py1280CODE
LOWsdk/mx.sdk/mx_sdk_benchmark.py1299CODE
62 more matches not shown…
Structural Annotation Overuse45 hits · 81 pts
SeverityFileLineSnippetContext
LOWwasm/mx.wasm/mx_wasm.py523 # Step 1: compile the .wat file to .wasm.COMMENT
LOWwasm/mx.wasm/mx_wasm.py533 # Step 2: copy the result file if it exists.COMMENT
LOWwasm/mx.wasm/mx_wasm.py539 # Step 3: copy the opts file if it exists.COMMENT
LOWwasm/mx.wasm/mx_wasm.py548 # Step 4: produce the .wat files, for easier debugging.COMMENT
LOWwasm/mx.wasm/mx_wasm.py552 # Step 4: copy the .wat file, for easier debugging.COMMENT
LOWwasm/mx.wasm/mx_wasm.py556 # Step 5: if this is a benchmark project, create native binaries too.COMMENT
LOWwasm/mx.wasm/mx_wasm.py510 # Step 1: build the .wasm binary.COMMENT
LOWdocs/getting-started/oci/code-editor.md17### Step 1: Open a Terminal in Code EditorCOMMENT
LOWdocs/getting-started/oci/code-editor.md22### Step 2: Select GraalVM JDK as the Default JDKCOMMENT
LOWdocs/getting-started/oci/code-editor.md50## Step 3: Setup a Java Project and RunCOMMENT
LOWdocs/getting-started/oci/code-editor.md87## Step 4: Build and Run a Native ExecutableCOMMENT
LOWtruffle/docs/bytecode_dsl/Optimization.md67### Step 1: Build the tracing interpreterCOMMENT
LOWtruffle/docs/bytecode_dsl/Optimization.md85### Step 2: Collect tracing dataCOMMENT
LOWtruffle/docs/bytecode_dsl/Optimization.md111### Step 3: Apply optimization decisionsCOMMENT
LOW…com/oracle/truffle/api/test/polyglot/ValueAPITest.java2905 // Step 6: Free the allocated memoryCOMMENT
LOW…e/dsl/processor/bytecode/generator/BuilderElement.java6499 // Step 2: Load immediates needed for constraint checking and for the RHS.STRING
LOW…e/dsl/processor/bytecode/generator/BuilderElement.java6515 // Step 3: Check rewrite conditions.STRING
LOW…e/dsl/processor/bytecode/generator/BuilderElement.java6544 // Step 4: Undo LHS.STRING
LOW…e/dsl/processor/bytecode/generator/BuilderElement.java6593 // Step 5: Emit RHS.STRING
LOW…m/oracle/svm/webimage/thirdparty/JSBodyStubMethod.java235 // Step 1: Perform dynamic-type-driven JS-to-Java conversion.COMMENT
LOW…m/oracle/svm/webimage/thirdparty/JSBodyStubMethod.java245 // Step 2: Perform the static-return-type-driven check-cast.COMMENT
LOW…m/oracle/svm/webimage/thirdparty/JSBodyStubMethod.java281 // Step 3: Perform the static-return-type-driven implicit conversion for certain types.COMMENT
LOW…acle/svm/webimage/functionintrinsics/JSConversion.java482 // Step 1: check the null value, which is mapped directly to null in JavaScript.COMMENT
LOW…acle/svm/webimage/functionintrinsics/JSConversion.java487 // Step 2: check if the value is the JSUndefined singleton.COMMENT
LOW…acle/svm/webimage/functionintrinsics/JSConversion.java492 // Step 3: check if a JavaScript value is associated with this object.COMMENT
LOW…acle/svm/webimage/functionintrinsics/JSConversion.java503 // Step 4: for all other Java classes, create an Web Image Proxy object.COMMENT
LOW…acle/svm/webimage/functionintrinsics/JSConversion.java532 // Step 1: check if the object is null.COMMENT
LOW…acle/svm/webimage/functionintrinsics/JSConversion.java537 // Step 2: check if the object is already a JavaScript value.COMMENT
LOW…acle/svm/webimage/functionintrinsics/JSConversion.java542 // Step 3: check if the object is a convertible numeric type.COMMENT
LOW…acle/svm/webimage/functionintrinsics/JSConversion.java557 // Step 4: check if the object is a String.COMMENT
LOW…acle/svm/webimage/functionintrinsics/JSConversion.java562 // Step 5: check if the object is a Boolean.COMMENT
LOW…acle/svm/webimage/functionintrinsics/JSConversion.java567 // Step 6: check if the object is a character.COMMENT
LOW…rc/com/oracle/svm/hosted/webimage/js/JSStubMethod.java140 // Step 1: convert the Java arguments to JavaScript values.COMMENT
LOW…rc/com/oracle/svm/hosted/webimage/js/JSStubMethod.java159 // Step 2: insert the JS body representation node.COMMENT
LOW…rc/com/oracle/svm/hosted/webimage/js/JSStubMethod.java173 // Step 3: convert the JavaScript return value back to a Java value.COMMENT
LOW…rc/com/oracle/svm/hosted/webimage/js/JSStubMethod.java190 // Step 1: box the argument.COMMENT
LOW…rc/com/oracle/svm/hosted/webimage/js/JSStubMethod.java195 // Step 2: perform Java-to-JavaScript type conversion.COMMENT
LOW…rc/com/oracle/svm/hosted/webimage/js/JSStubMethod.java219 // Step 1: check void, and discard JavaScript value in this case.COMMENT
LOW…rc/com/oracle/svm/hosted/webimage/js/JSStubMethod.java248 // Step 3: Perform checkcast against the expected (boxed) return type.COMMENT
LOW…rc/com/oracle/svm/hosted/webimage/js/JSStubMethod.java266 // Step 4: Perform unboxing if necessary.COMMENT
LOW…le/svm/hosted/webimage/codegen/runtime/jsconversion.js524 // Step 1: check null, which is mapped 1:1 to null in Java.COMMENT
LOW…le/svm/hosted/webimage/codegen/runtime/jsconversion.js529 // Step 2: check undefined, which is a singleton in Java.COMMENT
LOW…le/svm/hosted/webimage/codegen/runtime/jsconversion.js534 // Step 3: Unproxy Java proxies to get the underlying Java objectCOMMENT
LOW…le/svm/hosted/webimage/codegen/runtime/jsconversion.js540 // Step 4: use the JavaScript type to select the appropriate Java representation.COMMENT
LOW…izer/hierarchicallayout/HierarchicalLayoutManager.java595 // Step 1: Build up data structureCOMMENT
Verbosity Indicators43 hits · 78 pts
SeverityFileLineSnippetContext
LOW…svm/hosted/phases/DevirtualizeInterfaceCallPlugin.java91 * We need to check if the declaring class of the method is an interface to avoid recursiveCOMMENT
LOWwasm/mx.wasm/mx_wasm.py523 # Step 1: compile the .wat file to .wasm.COMMENT
LOWwasm/mx.wasm/mx_wasm.py533 # Step 2: copy the result file if it exists.COMMENT
LOWwasm/mx.wasm/mx_wasm.py539 # Step 3: copy the opts file if it exists.COMMENT
LOWwasm/mx.wasm/mx_wasm.py548 # Step 4: produce the .wat files, for easier debugging.COMMENT
LOWwasm/mx.wasm/mx_wasm.py552 # Step 4: copy the .wat file, for easier debugging.COMMENT
LOWwasm/mx.wasm/mx_wasm.py556 # Step 5: if this is a benchmark project, create native binaries too.COMMENT
LOWwasm/mx.wasm/mx_wasm.py510 # Step 1: build the .wasm binary.COMMENT
LOW…com/oracle/truffle/polyglot/InternalResourceCache.java292 // instead of FileAlreadyExistsException. We need to check if this is the case.COMMENT
LOW…com/oracle/truffle/api/test/polyglot/ValueAPITest.java2905 // Step 6: Free the allocated memoryCOMMENT
LOW…e/dsl/processor/bytecode/generator/BuilderElement.java6499 // Step 2: Load immediates needed for constraint checking and for the RHS.STRING
LOW…e/dsl/processor/bytecode/generator/BuilderElement.java6515 // Step 3: Check rewrite conditions.STRING
LOW…e/dsl/processor/bytecode/generator/BuilderElement.java6544 // Step 4: Undo LHS.STRING
LOW…e/dsl/processor/bytecode/generator/BuilderElement.java6593 // Step 5: Emit RHS.STRING
LOW…ns/src/org/graalvm/collections/LockFreePrefixTree.java256 // We need to check if the failed CAS was due to another thread insertingCOMMENT
LOW…m/oracle/svm/webimage/thirdparty/JSBodyStubMethod.java235 // Step 1: Perform dynamic-type-driven JS-to-Java conversion.COMMENT
LOW…m/oracle/svm/webimage/thirdparty/JSBodyStubMethod.java245 // Step 2: Perform the static-return-type-driven check-cast.COMMENT
LOW…m/oracle/svm/webimage/thirdparty/JSBodyStubMethod.java281 // Step 3: Perform the static-return-type-driven implicit conversion for certain types.COMMENT
LOW…acle/svm/webimage/functionintrinsics/JSConversion.java482 // Step 1: check the null value, which is mapped directly to null in JavaScript.COMMENT
LOW…acle/svm/webimage/functionintrinsics/JSConversion.java487 // Step 2: check if the value is the JSUndefined singleton.COMMENT
LOW…acle/svm/webimage/functionintrinsics/JSConversion.java492 // Step 3: check if a JavaScript value is associated with this object.COMMENT
LOW…acle/svm/webimage/functionintrinsics/JSConversion.java503 // Step 4: for all other Java classes, create an Web Image Proxy object.COMMENT
LOW…acle/svm/webimage/functionintrinsics/JSConversion.java532 // Step 1: check if the object is null.COMMENT
LOW…acle/svm/webimage/functionintrinsics/JSConversion.java537 // Step 2: check if the object is already a JavaScript value.COMMENT
LOW…acle/svm/webimage/functionintrinsics/JSConversion.java542 // Step 3: check if the object is a convertible numeric type.COMMENT
LOW…acle/svm/webimage/functionintrinsics/JSConversion.java557 // Step 4: check if the object is a String.COMMENT
LOW…acle/svm/webimage/functionintrinsics/JSConversion.java562 // Step 5: check if the object is a Boolean.COMMENT
LOW…acle/svm/webimage/functionintrinsics/JSConversion.java567 // Step 6: check if the object is a character.COMMENT
LOW…rc/com/oracle/svm/hosted/webimage/js/JSStubMethod.java140 // Step 1: convert the Java arguments to JavaScript values.COMMENT
LOW…rc/com/oracle/svm/hosted/webimage/js/JSStubMethod.java159 // Step 2: insert the JS body representation node.COMMENT
LOW…rc/com/oracle/svm/hosted/webimage/js/JSStubMethod.java173 // Step 3: convert the JavaScript return value back to a Java value.COMMENT
LOW…rc/com/oracle/svm/hosted/webimage/js/JSStubMethod.java190 // Step 1: box the argument.COMMENT
LOW…rc/com/oracle/svm/hosted/webimage/js/JSStubMethod.java195 // Step 2: perform Java-to-JavaScript type conversion.COMMENT
LOW…rc/com/oracle/svm/hosted/webimage/js/JSStubMethod.java219 // Step 1: check void, and discard JavaScript value in this case.COMMENT
LOW…rc/com/oracle/svm/hosted/webimage/js/JSStubMethod.java248 // Step 3: Perform checkcast against the expected (boxed) return type.COMMENT
LOW…rc/com/oracle/svm/hosted/webimage/js/JSStubMethod.java266 // Step 4: Perform unboxing if necessary.COMMENT
LOW…le/svm/hosted/webimage/codegen/runtime/jsconversion.js524 // Step 1: check null, which is mapped 1:1 to null in Java.COMMENT
LOW…le/svm/hosted/webimage/codegen/runtime/jsconversion.js529 // Step 2: check undefined, which is a singleton in Java.COMMENT
LOW…le/svm/hosted/webimage/codegen/runtime/jsconversion.js534 // Step 3: Unproxy Java proxies to get the underlying Java objectCOMMENT
LOW…le/svm/hosted/webimage/codegen/runtime/jsconversion.js540 // Step 4: use the JavaScript type to select the appropriate Java representation.COMMENT
LOW…le/svm/hosted/webimage/codegen/runtime/jsconversion.js886 * we need to check if the property access is an indexed access.COMMENT
LOW…hosted/webimage/wasmgc/codegen/runtime/wasm-imports.js30 * we need to check if the property access is an indexed access.COMMENT
LOW…izer/hierarchicallayout/HierarchicalLayoutManager.java595 // Step 1: Build up data structureCOMMENT
Unused Imports56 hits · 51 pts
SeverityFileLineSnippetContext
LOWtools/mx.tools/mx_tools.py44CODE
LOWsubstratevm/mx.substratevm/mx_substratevm.py69CODE
LOW…oracle.svm.test.debug/src/gdb-tests/test_cinterface.py35CODE
LOW…le.svm.test.debug/src/gdb-tests/test_pretty_printer.py33CODE
LOW…m.oracle.svm.test.debug/src/gdb-tests/test_svm_util.py35CODE
LOW…cle.svm.test.debug/src/gdb-tests/test_runtime_deopt.py34CODE
LOW…m.test.debug/src/gdb-tests/test_runtime_compilation.py35CODE
LOW…acle.svm.test.debug/src/gdb-tests/test_class_loader.py33CODE
LOW…c/com.oracle.svm.test.debug/src/gdb-tests/testhello.py54CODE
LOW…m.oracle.svm.test.debug/src/gdb-tests/test_settings.py35CODE
LOW…mx.espresso-compiler-stub/mx_espresso_compiler_stub.py33CODE
LOWwasm/mx.wasm/mx_wasm.py63CODE
LOWwasm/mx.wasm/mx_wasm.py64CODE
LOWwasm/mx.wasm/mx_wasm.py64CODE
LOWwasm/mx.wasm/mx_wasm.py64CODE
LOWwasm/mx.wasm/mx_wasm.py64CODE
LOWwasm/mx.wasm/mx_wasm.py64CODE
LOWtruffle/mx.truffle/mx_truffle.py77CODE
LOWtruffle/mx.truffle/mx_polybench/__init__.py45CODE
LOWtruffle/mx.truffle/mx_polybench/__init__.py45CODE
LOWtruffle/mx.truffle/mx_polybench/__init__.py45CODE
LOWtruffle/mx.truffle/mx_polybench/__init__.py45CODE
LOWtruffle/mx.truffle/mx_polybench/__init__.py45CODE
LOWvm/mx.vm/mx_vm_benchmark.py25CODE
LOWsulong/mx.sulong/mx_sulong.py52CODE
LOWsulong/mx.sulong/mx_sulong.py53CODE
LOWsulong/mx.sulong/mx_sulong.py54CODE
LOWsulong/mx.sulong/mx_sulong.py55CODE
LOWsulong/mx.sulong/mx_sulong.py56CODE
LOWsulong/mx.sulong/mx_sulong.py57CODE
LOWsulong/mx.sulong/mx_sulong.py58CODE
LOWsulong/mx.sulong/mx_sulong.py59CODE
LOWsulong/mx.sulong/mx_sulong.py60CODE
LOWsulong/mx.sulong/mx_sulong.py61CODE
LOWsulong/mx.sulong/mx_sulong.py62CODE
LOWsulong/mx.sulong/mx_sulong.py63CODE
LOWsulong/mx.sulong/mx_sulong.py64CODE
LOWsulong/mx.sulong/mx_sulong.py64CODE
LOWsulong/mx.sulong/mx_sulong.py64CODE
LOWsulong/mx.sulong/mx_sulong.py64CODE
LOWsulong/mx.sulong/mx_sulong.py64CODE
LOWsulong/mx.sulong/mx_sulong.py64CODE
LOWsulong/mx.sulong/mx_sulong.py64CODE
LOWsulong/mx.sulong/mx_sulong.py64CODE
LOWsdk/mx.sdk/mx_sdk_benchmark.py42CODE
LOWsdk/mx.sdk/mx_sdk.py51CODE
LOWsdk/mx.sdk/mx_sdk.py65CODE
LOWsdk/mx.sdk/mx_sdk.py66CODE
LOWcompiler/mx.compiler/mx_compiler.py62CODE
LOWcompiler/mx.compiler/mx_compiler.py63CODE
LOWespresso/mx.espresso/mx_espresso.py49CODE
LOWespresso/mx.espresso/mx_espresso.py50CODE
LOWespresso/mx.espresso/mx_espresso.py50CODE
LOWespresso/mx.espresso/mx_espresso.py50CODE
LOWespresso/mx.espresso/mx_espresso.py50CODE
LOWespresso/mx.espresso/mx_espresso.py50CODE
Cross-File Repetition10 hits · 50 pts
SeverityFileLineSnippetContext
HIGH…fle/src/com/oracle/svm/truffle/TruffleBaseFeature.java0your java runtime '%s' with compiler version '%s' is incompatible with polyglot version '%s'. update the org.graalvm.polSTRING
HIGH…src/com/oracle/truffle/api/impl/TruffleAPIFeature.java0your java runtime '%s' with compiler version '%s' is incompatible with polyglot version '%s'. update the org.graalvm.polSTRING
HIGH…uffle/runtime/hotspot/HotSpotTruffleRuntimeAccess.java0your java runtime '%s' with compiler version '%s' is incompatible with polyglot version '%s'. update the org.graalvm.polSTRING
HIGH…fle/src/com/oracle/svm/truffle/TruffleBaseFeature.java0to disable this version check the '-dpolyglotimpl.disableversionchecks=true' system property can be used. it is not recoSTRING
HIGH…src/com/oracle/truffle/api/impl/TruffleAPIFeature.java0to disable this version check the '-dpolyglotimpl.disableversionchecks=true' system property can be used. it is not recoSTRING
HIGH…uffle/runtime/hotspot/HotSpotTruffleRuntimeAccess.java0to disable this version check the '-dpolyglotimpl.disableversionchecks=true' system property can be used. it is not recoSTRING
HIGH….graalvm.polyglot/src/org/graalvm/polyglot/Engine.java0to disable this version check the '-dpolyglotimpl.disableversionchecks=true' system property can be used. it is not recoSTRING
HIGHvm/mx.vm/mx_vm.py0:type register_project: (mx.project) -> none :type register_distribution: (mx.distribution) -> noneSTRING
HIGHsdk/mx.sdk/mx_sdk_vm_impl.py0:type register_project: (mx.project) -> none :type register_distribution: (mx.distribution) -> noneSTRING
HIGHespresso/mx.espresso/mx_espresso.py0:type register_project: (mx.project) -> none :type register_distribution: (mx.distribution) -> noneSTRING
Fake / Example Data35 hits · 47 pts
SeverityFileLineSnippetContext
LOW…le/truffle/api/test/ArrayUtilsIndexOfWithMaskTest.java63 private static final String strWithFF = "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam \u00ff noCODE
LOW…le/truffle/api/test/ArrayUtilsIndexOfWithMaskTest.java63 private static final String strWithFF = "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam \u00ff noCODE
LOW…le/truffle/api/test/ArrayUtilsIndexOfWithMaskTest.java64 private static final String strWith7F = "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam \u007f noCODE
LOW…le/truffle/api/test/ArrayUtilsIndexOfWithMaskTest.java64 private static final String strWith7F = "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam \u007f noCODE
LOW…le/truffle/api/test/ArrayUtilsIndexOfWithMaskTest.java65 private static final String lipsum = "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy " +CODE
LOW…le/truffle/api/test/ArrayUtilsIndexOfWithMaskTest.java65 private static final String lipsum = "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy " +CODE
LOW…uffle/api/test/ArrayUtilsRegionEqualsWithMaskTest.java61 public static final String lipsum = "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy " +CODE
LOW…uffle/api/test/ArrayUtilsRegionEqualsWithMaskTest.java61 public static final String lipsum = "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy " +CODE
LOW…uffle/api/test/ArrayUtilsRegionEqualsWithMaskTest.java67 private static final String strWithFF = "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam \u00ff noCODE
LOW…uffle/api/test/ArrayUtilsRegionEqualsWithMaskTest.java67 private static final String strWithFF = "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam \u00ff noCODE
LOW…uffle/api/test/ArrayUtilsRegionEqualsWithMaskTest.java69 private static final String strWithFFFF = "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam \uffff CODE
LOW…uffle/api/test/ArrayUtilsRegionEqualsWithMaskTest.java69 private static final String strWithFFFF = "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam \uffff CODE
LOW…uffle/api/test/ArrayUtilsRegionEqualsWithMaskTest.java70 private static final String strWith7F = "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam \u007f noCODE
LOW…uffle/api/test/ArrayUtilsRegionEqualsWithMaskTest.java70 private static final String strWith7F = "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam \u007f noCODE
LOW…st/src/com/oracle/truffle/api/test/ArrayUtilsTest.java54 private static final String strS = "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy " +CODE
LOW…st/src/com/oracle/truffle/api/test/ArrayUtilsTest.java54 private static final String strS = "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy " +CODE
LOW…hmarks/src/micro/benchmarks/StringDecodeBenchmark.java56 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam ac sem euCODE
LOW…hmarks/src/micro/benchmarks/StringDecodeBenchmark.java56 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam ac sem euCODE
LOW…hmarks/src/micro/benchmarks/StringCodingBenchmark.java46 private String loremUTF8 = "Lorem ipsum dolor sit amet, consectetur adipisici elit, sed eiusmod tempor incidunt ut lCODE
LOW…hmarks/src/micro/benchmarks/StringCodingBenchmark.java46 private String loremUTF8 = "Lorem ipsum dolor sit amet, consectetur adipisici elit, sed eiusmod tempor incidunt ut lCODE
LOW…o.benchmarks/src/micro/benchmarks/StringBenchmark.java59 String lorem = "Lorem ipsum dolor sit amet, consectetur adipisici elit, sed eiusmod tempor incidunt ut labore etCODE
LOW…o.benchmarks/src/micro/benchmarks/StringBenchmark.java59 String lorem = "Lorem ipsum dolor sit amet, consectetur adipisici elit, sed eiusmod tempor incidunt ut labore etCODE
LOW…o.benchmarks/src/micro/benchmarks/StringBenchmark.java60 String loremLastChar = "Lorem ipsum dolor sit amet, consectetur adipisici elit, sed eiusmod tempor incidunt ut lCODE
LOW…o.benchmarks/src/micro/benchmarks/StringBenchmark.java60 String loremLastChar = "Lorem ipsum dolor sit amet, consectetur adipisici elit, sed eiusmod tempor incidunt ut lCODE
LOW…/compiler/replacements/test/StringIndexOfTestBase.java48 String lipsum = "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor inviduntCODE
LOW…/compiler/replacements/test/StringIndexOfTestBase.java48 String lipsum = "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor inviduntCODE
LOW…jdk/graal/compiler/hotspot/test/HotSpotBase64Test.java44 private static final String lipsum = "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmoCODE
LOW…jdk/graal/compiler/hotspot/test/HotSpotBase64Test.java44 private static final String lipsum = "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmoCODE
LOW…rc/jdk/graal/compiler/truffle/test/ArrayUtilsTest.java59 "Lorem ipsum dolor sit amet, cons0",CODE
LOW…rc/jdk/graal/compiler/truffle/test/ArrayUtilsTest.java59 "Lorem ipsum dolor sit amet, cons0",CODE
LOW…rc/jdk/graal/compiler/truffle/test/ArrayUtilsTest.java60 "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed dia0",CODE
LOW…rc/jdk/graal/compiler/truffle/test/ArrayUtilsTest.java60 "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed dia0",CODE
LOW…rc/jdk/graal/compiler/truffle/test/ArrayUtilsTest.java61 "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy " +CODE
LOW…rc/jdk/graal/compiler/truffle/test/ArrayUtilsTest.java61 "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy " +CODE
LOW…/graal/compiler/truffle/test/IndirectCallSiteTest.java191 static final String LOREM_IPSUM = "Lorem ipsum!";CODE
Decorative Section Separators17 hits · 41 pts
SeverityFileLineSnippetContext
MEDIUMTHIRD_PARTY_LICENSE.txt2625# ----------------------------------------------------------------------COMMENT
MEDIUMTHIRD_PARTY_LICENSE.txt2653# --------------------------------------------------------------------------COMMENT
MEDIUMTHIRD_PARTY_LICENSE.txt2661# --------------------------------------------------------------------------COMMENT
MEDIUMTHIRD_PARTY_LICENSE.txt2691# --------------------------------------------------------------------------COMMENT
MEDIUMsubstratevm/mx.substratevm/mx_substratevm.py1626 # ===============================STRING
MEDIUM…c/com.oracle.svm.test.debug/src/gdb-tests/gdb_utils.py24# ----------------------------------------------------------------------------------------------------COMMENT
MEDIUM…c/com.oracle.svm.test.debug/src/gdb-tests/testhello.py24# ----------------------------------------------------------------------------------------------------COMMENT
MEDIUMvm/THIRD_PARTY_LICENSE_CE.txt7116 # ----------------------------------------------------------------------COMMENT
MEDIUMvm/THIRD_PARTY_LICENSE_CE.txt7141 # --------------------------------------------------------------------------COMMENT
MEDIUMvm/THIRD_PARTY_LICENSE_CE.txt7153 # --------------------------------------------------------------------------COMMENT
MEDIUMvm/THIRD_PARTY_LICENSE_CE.txt7183 # --------------------------------------------------------------------------COMMENT
MEDIUMvm/THIRD_PARTY_LICENSE_CE.txt3340 # ----------------------------------------------------------------------STRING
MEDIUMvm/THIRD_PARTY_LICENSE_CE.txt3365 # --------------------------------------------------------------------------STRING
MEDIUMvm/THIRD_PARTY_LICENSE_CE.txt3377 # --------------------------------------------------------------------------STRING
MEDIUMvm/THIRD_PARTY_LICENSE_CE.txt3407 # --------------------------------------------------------------------------STRING
MEDIUMweb-image/mx.web-image/mx_web_image.py2# ----------------------------------------------------------------------------------------------------COMMENT
MEDIUMweb-image/mx.web-image/mx_web_image.py27# ----------------------------------------------------------------------------------------------------COMMENT
Self-Referential Comments7 hits · 20 pts
SeverityFileLineSnippetContext
MEDIUMsubstratevm/mx.substratevm/mx_substratevm_benchmark.py358 # This class is made reachable through DragSource.<init>, which is reachable because XToolkit.createDragCOMMENT
MEDIUMsubstratevm/debug/gdbpy/gdb-debughelpers.py1375 # Define the token specificationsCOMMENT
MEDIUM…c/com.oracle.svm.test.debug/src/gdb-tests/gdb_utils.py84 # Create a checker to check gdb command output text.COMMENT
MEDIUM…vm/src/com.oracle.svm.native.libcontainer/configure.py87 rules += "# Create a static lib from all the object files."CODE
MEDIUM…vm/src/com.oracle.svm.native.libcontainer/configure.py121 rules += "# Create a shared lib from all the object files."CODE
MEDIUMvm/mx.vm/mx_vm_gate.py156 # Create a minimal image that should contain libgraalCOMMENT
MEDIUMweb-image/mx.web-image/mx_web_image.py666 "# This file is auto-generated",CODE
Excessive Try-Catch Wrapping14 hits · 19 pts
SeverityFileLineSnippetContext
LOWsubstratevm/debug/gdbpy/gdb-debughelpers.py209 except Exception as ex:CODE
LOWsubstratevm/debug/gdbpy/gdb-debughelpers.py255 except Exception as ex:CODE
LOWsubstratevm/debug/gdbpy/gdb-debughelpers.py827 except Exception as ex:CODE
LOWsubstratevm/debug/gdbpy/gdb-debughelpers.py1101 except Exception as ex:CODE
LOWsubstratevm/debug/gdbpy/gdb-debughelpers.py1691 except Exception as ex:CODE
LOWsubstratevm/debug/gdbpy/gdb-debughelpers.py1868except Exception as e:CODE
LOWsubstratevm/debug/gdbpy/gdb-debughelpers.py1914except Exception as e:CODE
MEDIUMsubstratevm/debug/gdbpy/gdb-debughelpers.py69def try_or_else(success, failure, *exceptions):CODE
LOW…le.svm.test.debug/src/gdb-tests/test_pretty_printer.py403 except Exception:CODE
MEDIUM…/gh_workflows/NILayerTests/build_native_image_layer.py57 print(f"Error loading files: {e}")CODE
MEDIUM…/gh_workflows/NILayerTests/build_native_image_layer.py82 print(f"Error writing to GITHUB_OUTPUT: {e}")CODE
MEDIUM…/gh_workflows/NILayerTests/build_native_image_layer.py137 print("Error: Wrong number of arguments!")CODE
MEDIUMsdk/mx.sdk/mx_sdk_vm.py385def direct_dependencies(self):CODE
LOWsdk/mx.sdk/mx_sdk_vm.py388 except Exception as e:CODE
Synthetic Comment Markers2 hits · 15 pts
SeverityFileLineSnippetContext
HIGH…e.libcontainer/src/hotspot/share/utilities/ostream.hpp298 // Copy to a resource, or C-heap, array as requestedCOMMENT
HIGHsdk/mx.sdk/mx_sdk_benchmark.py4360 # Produced when the last stage as requested by the user (see: NativeImageBenchmarkMixin.stages) finishedCOMMENT
TODO Padding8 hits · 13 pts
SeverityFileLineSnippetContext
LOW…le/llvm/runtime/nodes/asm/syscall/LLVMSyscallNode.java102 // TODO: implement big switch with type casts + logic + ...?COMMENT
LOW…/src/com/oracle/truffle/llvm/asm/amd64/AsmFactory.java492 // TODO: implement properlyCOMMENT
LOW…m/parser/factories/LinuxAArch64PlatformCapability.java55 case SYS_exit_group: // TODO: implement difference to SYS_exitCODE
LOW…lvm/parser/factories/LinuxAMD64PlatformCapability.java69 case SYS_exit_group: // TODO: implement difference to SYS_exitCODE
LOW…om.oracle.truffle.llvm.libraries.pthread/src/pthread.c90 // TODO: implementCOMMENT
LOW…om.oracle.truffle.llvm.libraries.pthread/src/pthread.c95 // TODO: implementCOMMENT
LOW…om.oracle.truffle.llvm.libraries.pthread/src/pthread.c100 // TODO: implementCOMMENT
LOW…le.espresso/src/com/oracle/truffle/espresso/vm/VM.java684 // TODO: implement '--finalization' flag.COMMENT
Slop Phrases2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUM….native.libcontainer/src/hotspot/os/posix/os_posix.cpp1439// The current time in seconds is also passed in to enforce an upper bound as discussed above.COMMENT
MEDIUM…uffle/api/bytecode/test/examples/BuiltinsTutorial.java673 * Instead of parsing the source, like in a real language, for demonstration purposes weCOMMENT
Redundant / Tautological Comments4 hits · 6 pts
SeverityFileLineSnippetContext
LOWsdk/mx.sdk/mx_sdk_benchmark.py1816 # Set LinkerRPath to point to the directories containing the shared objects of underlying layersCOMMENT
LOWsdk/mx.sdk/mx_sdk_benchmark.py1831 # Set LayerUse to point to the .nil archive of the preceeding layerCOMMENT
LOWcompiler/mx.compiler/mx_compiler.py1276 # Check if we're using the same JVMCI JDK as the CI system does.COMMENT
LOWespresso/mx.espresso/import_order.py175 # Set state to next prefix.COMMENT
AI Structural Patterns5 hits · 4 pts
SeverityFileLineSnippetContext
LOWtruffle/mx.truffle/mx_truffle.py550CODE
LOWvm/mx.vm/mx_vm_gate.py1130CODE
LOWsdk/mx.sdk/mx_sdk_vm.py149CODE
LOWsdk/mx.sdk/mx_sdk_vm.py228CODE
LOWsdk/mx.sdk/mx_sdk_vm_impl.py774CODE
Modern Structural Boilerplate3 hits · 3 pts
SeverityFileLineSnippetContext
LOW…/com.oracle.svm.test.debug/src/gdb-tests/gdb_helper.py180def set_up_test() -> None:CODE
LOW…/com.oracle.svm.test.debug/src/gdb-tests/gdb_helper.py191def set_up_gdb_debughelpers() -> None:CODE
LOWtruffle/mx.truffle/mx_polybench/__init__.py53__all__ = [CODE