AI Slop Code Risk Monitor

apache/storm

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

Apache Storm

2.8 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for apache/storm, a Java project with 6,698 GitHub stars. SynthScan examined 401,232 lines of code across 2439 source files, recording 627 pattern matches distributed across 16 syntactic categories. The legacy adjusted pattern signal is 2.8 (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.8
Adjusted Signal
2.8
Raw Pattern Score
100%
Time Factor
2026-10-29
Last Push
6.7K
Stars
Java
Language
401.2K
Lines of Code
2.4K
Files
627
Pattern Hits
2026-10-31
Scan Date
0.02
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.8/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 7.7/100 · LOW

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

Agent Over-Engineering Ratio 2.2/100 · LOW

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

PR Review Velocity Impact 12.6/100 · LOW

Which changes need focused human review? 627 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 48HIGH 2MEDIUM 5LOW 572

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 627 distinct pattern matches across 16 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 Indicators48 hits · 602 pts
SeverityFileLineSnippetContext
CRITICALdocs/STORM-UI-REST-API.md735 "lastError": "java.lang.RuntimeException: Error here! at org.apache.storm.starter.bolt.WordCountBolt.nextTupCODE
CRITICALdocs/STORM-UI-REST-API.md1161 "error": "java.lang.RuntimeException: java.lang.StringIndexOutOfBoundsException: Some Error\n\taCODE
CRITICALdocs/Troubleshooting.md84 at org.apache.storm.utils.DisruptorQueue.consumeBatchToCursor(DisruptorQueue.java:84)CODE
CRITICALdocs/Troubleshooting.md85 at org.apache.storm.utils.DisruptorQueue.consumeBatchWhenAvailable(DisruptorQueue.java:55)CODE
CRITICAL⚡docs/Troubleshooting.md100 at org.apache.storm.serialization.SerializableSerializer.write(SerializableSerializer.java:21)CODE
CRITICAL⚡docs/Troubleshooting.md102 at com.esotericsoftware.kryo.serializers.CollectionSerializer.write(CollectionSerializer.java:77)CODE
CRITICAL⚡docs/Troubleshooting.md103 at com.esotericsoftware.kryo.serializers.CollectionSerializer.write(CollectionSerializer.java:18)CODE
CRITICAL⚡docs/Troubleshooting.md105 at org.apache.storm.serialization.KryoValuesSerializer.serializeInto(KryoValuesSerializer.java:27)CODE
CRITICAL…org/apache/storm/state/DefaultStateSerializerTest.java157 org.apache.storm.serialization.SerializationFactory.register(CODE
CRITICAL…lient/src/jvm/org/apache/storm/utils/CuratorUtils.java39 = org.apache.storm.shade.org.apache.zookeeper.ClientCnxnSocketNetty.class.getName();CODE
CRITICAL…rc/main/java/org/apache/storm/daemon/ui/UIHelpers.java2465 logLevel.set_target_log_level(org.apache.logging.log4j.Level.toLevel(targetLevel).name());CODE
CRITICAL⚡…storm/metrics/prometheus/PrometheusReporterClient.java112 CLUSTER_SUMMARY_METRICS.put("summary.cluster:num-nimbus-leaders", io.prometheus.metrics.core.metrics.Gauge.buildCODE
CRITICAL⚡…storm/metrics/prometheus/PrometheusReporterClient.java117 CLUSTER_SUMMARY_METRICS.put("summary.cluster:num-nimbuses", io.prometheus.metrics.core.metrics.Gauge.builder()CODE
CRITICAL⚡…storm/metrics/prometheus/PrometheusReporterClient.java122 CLUSTER_SUMMARY_METRICS.put("summary.cluster:num-supervisors", io.prometheus.metrics.core.metrics.Gauge.builder(CODE
CRITICAL⚡…storm/metrics/prometheus/PrometheusReporterClient.java127 CLUSTER_SUMMARY_METRICS.put("summary.cluster:num-topologies", io.prometheus.metrics.core.metrics.Gauge.builder()CODE
CRITICAL⚡…storm/metrics/prometheus/PrometheusReporterClient.java132 CLUSTER_SUMMARY_METRICS.put("summary.cluster:num-total-used-workers", io.prometheus.metrics.core.metrics.Gauge.bCODE
CRITICAL⚡…storm/metrics/prometheus/PrometheusReporterClient.java137 CLUSTER_SUMMARY_METRICS.put("summary.cluster:num-total-workers", io.prometheus.metrics.core.metrics.Gauge.buildeCODE
CRITICAL⚡…storm/metrics/prometheus/PrometheusReporterClient.java142 CLUSTER_SUMMARY_METRICS.put("summary.cluster:total-fragmented-cpu-non-negative", io.prometheus.metrics.core.metrCODE
CRITICAL⚡…storm/metrics/prometheus/PrometheusReporterClient.java147 CLUSTER_SUMMARY_METRICS.put("summary.cluster:total-fragmented-memory-non-negative", io.prometheus.metrics.core.mCODE
CRITICAL⚡…storm/metrics/prometheus/PrometheusReporterClient.java152 CLUSTER_SUMMARY_METRICS.put("nimbus:available-cpu-non-negative", io.prometheus.metrics.core.metrics.Gauge.buildeCODE
CRITICAL⚡…storm/metrics/prometheus/PrometheusReporterClient.java157 CLUSTER_SUMMARY_METRICS.put("nimbus:total-cpu", io.prometheus.metrics.core.metrics.Gauge.builder()CODE
CRITICAL⚡…storm/metrics/prometheus/PrometheusReporterClient.java162 CLUSTER_SUMMARY_METRICS.put("nimbus:total-memory", io.prometheus.metrics.core.metrics.Gauge.builder()CODE
CRITICAL⚡…storm/metrics/prometheus/PrometheusReporterClient.java167 CLUSTER_SUMMARY_METRICS.put("summary.topologies:assigned-cpu", io.prometheus.metrics.core.metrics.Histogram.builCODE
CRITICAL⚡…storm/metrics/prometheus/PrometheusReporterClient.java172 CLUSTER_SUMMARY_METRICS.put("summary.topologies:assigned-mem-off-heap", io.prometheus.metrics.core.metrics.HistoCODE
CRITICAL⚡…storm/metrics/prometheus/PrometheusReporterClient.java177 CLUSTER_SUMMARY_METRICS.put("summary.topologies:assigned-mem-on-heap", io.prometheus.metrics.core.metrics.HistogCODE
CRITICAL⚡…storm/metrics/prometheus/PrometheusReporterClient.java182 CLUSTER_SUMMARY_METRICS.put("summary.topologies:num-executors", io.prometheus.metrics.core.metrics.Histogram.buiCODE
CRITICAL⚡…storm/metrics/prometheus/PrometheusReporterClient.java187 CLUSTER_SUMMARY_METRICS.put("summary.topologies:num-tasks", io.prometheus.metrics.core.metrics.Histogram.builderCODE
CRITICAL⚡…storm/metrics/prometheus/PrometheusReporterClient.java192 CLUSTER_SUMMARY_METRICS.put("summary.topologies:num-workers", io.prometheus.metrics.core.metrics.Histogram.buildCODE
CRITICAL⚡…storm/metrics/prometheus/PrometheusReporterClient.java197 CLUSTER_SUMMARY_METRICS.put("summary.topologies:replication-count", io.prometheus.metrics.core.metrics.HistogramCODE
CRITICAL⚡…storm/metrics/prometheus/PrometheusReporterClient.java202 CLUSTER_SUMMARY_METRICS.put("summary.topologies:requested-cpu", io.prometheus.metrics.core.metrics.Histogram.buiCODE
CRITICAL⚡…storm/metrics/prometheus/PrometheusReporterClient.java207 CLUSTER_SUMMARY_METRICS.put("summary.topologies:requested-mem-off-heap", io.prometheus.metrics.core.metrics.HistCODE
CRITICAL⚡…storm/metrics/prometheus/PrometheusReporterClient.java212 CLUSTER_SUMMARY_METRICS.put("summary.topologies:requested-mem-on-heap", io.prometheus.metrics.core.metrics.HistoCODE
CRITICAL⚡…storm/metrics/prometheus/PrometheusReporterClient.java217 CLUSTER_SUMMARY_METRICS.put("summary.topologies:uptime-secs", io.prometheus.metrics.core.metrics.Histogram.buildCODE
CRITICAL⚡…storm/metrics/prometheus/PrometheusReporterClient.java222 CLUSTER_SUMMARY_METRICS.put("summary.supervisors:fragmented-cpu", io.prometheus.metrics.core.metrics.Histogram.bCODE
CRITICAL⚡…storm/metrics/prometheus/PrometheusReporterClient.java227 CLUSTER_SUMMARY_METRICS.put("summary.supervisors:fragmented-mem", io.prometheus.metrics.core.metrics.Histogram.bCODE
CRITICAL⚡…storm/metrics/prometheus/PrometheusReporterClient.java232 CLUSTER_SUMMARY_METRICS.put("summary.supervisors:num-used-workers", io.prometheus.metrics.core.metrics.HistogramCODE
CRITICAL⚡…storm/metrics/prometheus/PrometheusReporterClient.java237 CLUSTER_SUMMARY_METRICS.put("summary.supervisors:num-workers", io.prometheus.metrics.core.metrics.Histogram.builCODE
CRITICAL⚡…storm/metrics/prometheus/PrometheusReporterClient.java242 CLUSTER_SUMMARY_METRICS.put("summary.supervisors:uptime-secs", io.prometheus.metrics.core.metrics.Histogram.builCODE
CRITICAL⚡…storm/metrics/prometheus/PrometheusReporterClient.java247 CLUSTER_SUMMARY_METRICS.put("summary.supervisors:used-cpu", io.prometheus.metrics.core.metrics.Histogram.builderCODE
CRITICAL⚡…storm/metrics/prometheus/PrometheusReporterClient.java252 CLUSTER_SUMMARY_METRICS.put("summary.supervisors:used-mem", io.prometheus.metrics.core.metrics.Histogram.builderCODE
CRITICAL…test/java/org/apache/storm/security/auth/AuthTest.java626 InetAddress unauthorizedHost = com.google.common.net.InetAddresses.forString("10.10.10.10");CODE
CRITICAL⚡…/apache/storm/daemon/nimbus/NimbusClojurePortTest.java1109 org.apache.storm.stats.StatsUtil.convertZkWorkerHb(CODE
CRITICAL⚡…/apache/storm/daemon/nimbus/NimbusClojurePortTest.java1113 stats.put(org.apache.storm.stats.ClientStatsUtil.convertExecutor(executor),CODE
CRITICAL⚡…/apache/storm/daemon/nimbus/NimbusClojurePortTest.java1119 org.apache.storm.stats.ClientStatsUtil.thriftifyZkWorkerHb(CODE
CRITICAL⚡…/apache/storm/daemon/nimbus/NimbusClojurePortTest.java1120 org.apache.storm.stats.ClientStatsUtil.mkZkWorkerHb(stormId, stats, 10)));CODE
CRITICAL⚡…/apache/storm/daemon/nimbus/NimbusClojurePortTest.java1122 org.apache.storm.stats.StatsUtil.thriftifyRpcWorkerHb(stormId, executor));CODE
CRITICAL…/src/main/java/org/apache/storm/utils/ServerUtils.java205 boolean isSymLink = org.apache.commons.io.FileUtils.isSymlink(allFiles[i]);CODE
CRITICAL…ava/org/apache/storm/daemon/supervisor/Supervisor.java414 return new org.apache.storm.generated.Supervisor.Iface() {CODE
Over-Commented Block166 hits · 164 pts
SeverityFileLineSnippetContext
LOWrewrite.yml1#COMMENT
LOWrewrite.yml21# Checkstyle's own reports).COMMENT
LOW…st/binary/final-package/src/main/scripts/dedup-libs.py1#!/usr/bin/env python3COMMENT
LOW…st/binary/final-package/src/main/scripts/dedup-libs.py21# directory, to keep the distribution small.COMMENT
LOW…st/binary/final-package/src/main/scripts/dedup-libs.py41# lib-common copy silently shadowing the lib one. All conflicts are detected inCOMMENT
LOW…nary/final-package/src/main/scripts/test_dedup_libs.py1#!/usr/bin/env python3COMMENT
LOWstorm-core/src/native/worker-launcher/.autom4te.cfg1#COMMENT
LOW…core/src/native/worker-launcher/impl/worker-launcher.h61};COMMENT
LOW…core/src/native/worker-launcher/impl/worker-launcher.c21#include "utils/file-utils.h"COMMENT
LOWstorm-core/src/native/worker-launcher/impl/main.c21#include "oci/oci.h"COMMENT
LOW…m-core/src/native/worker-launcher/impl/configuration.c21COMMENT
LOW…ore/src/native/worker-launcher/impl/oci/oci_base_ctx.c21#include <errno.h>COMMENT
LOW…src/native/worker-launcher/impl/oci/oci_write_config.c21#include <stdio.h>COMMENT
LOW…rm-core/src/native/worker-launcher/impl/oci/oci_reap.c21#include <sys/wait.h>COMMENT
LOW…rm-core/src/native/worker-launcher/impl/oci/oci_reap.c41#define DEV_LOOP_PREFIX "/dev/loop"COMMENT
LOW…e/src/native/worker-launcher/impl/oci/oci_launch_cmd.c21#include <stdbool.h>COMMENT
LOWstorm-core/src/native/worker-launcher/impl/oci/oci.c21#include <sys/stat.h>COMMENT
LOWstorm-core/src/native/worker-launcher/impl/oci/oci.c41#include "utils/string-utils.h"COMMENT
LOW…-core/src/native/worker-launcher/impl/oci/oci_config.h21// Prefix for all OCI config keysCOMMENT
LOW…orm-core/src/native/worker-launcher/impl/utils/cJSON.h61#endifCOMMENT
LOW…orm-core/src/native/worker-launcher/impl/utils/cJSON.h81/* project version */COMMENT
LOW…orm-core/src/native/worker-launcher/impl/utils/cJSON.c21*/COMMENT
LOW…orm-core/src/native/worker-launcher/impl/utils/cJSON.c41#include <stdio.h>COMMENT
LOW…core/src/native/worker-launcher/impl/utils/user_info.c21#include <errno.h>COMMENT
LOW…ore/src/native/worker-launcher/impl/utils/file-utils.c21#include <sys/types.h>COMMENT
LOW…src/native/worker-launcher/test/test-worker-launcher.c21COMMENT
LOWstorm-core/src/resources/compile-worker-launcher.sh1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWstorm-core/src/dev/resources/tester_bolt.rb1# -*- coding: utf-8 -*-COMMENT
LOWstorm-core/src/dev/resources/tester_spout_metrics.py1# -*- coding: utf-8 -*-COMMENT
LOWstorm-core/src/dev/resources/tester_spout.py1# -*- coding: utf-8 -*-COMMENT
LOWstorm-core/src/dev/resources/tester_spout.rb1# -*- coding: utf-8 -*-COMMENT
LOWstorm-core/src/dev/resources/tester_bolt.py1# -*- coding: utf-8 -*-COMMENT
LOWstorm-core/src/dev/resources/tester_bolt_metrics.py1# -*- coding: utf-8 -*-COMMENT
LOWbin/test_storm.py1#!/usr/bin/env python3COMMENT
LOWbin/docker-to-squash.py1#!/usr/bin/env python3COMMENT
LOWbin/storm.py1#!/usr/bin/env python3COMMENT
LOWbin/test_docker_to_squash.py1#!/usr/bin/env python3COMMENT
LOWbin/test_docker_to_squash.py41 # TODO:COMMENT
LOWbin/flight.bash1#!/usr/bin/env bashCOMMENT
LOW…wrappers/src/main/resources/resources/splitsentence.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW…ux/flux-core/src/test/resources/configs/hdfs_test.yaml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW…x/flux-core/src/test/resources/configs/kafka_test.yaml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW…/src/test/resources/configs/component-config-test.yaml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW…st/resources/configs/existing-topology-reflection.yaml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW…/test/resources/configs/existing-topology-trident.yaml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW…t/resources/configs/component-config-missing-test.yaml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW…urces/configs/existing-topology-reflection-config.yaml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW…flux-core/src/test/resources/configs/include_test.yaml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW…core/src/test/resources/configs/existing-topology.yaml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW…rc/test/resources/configs/bad_static_factory_test.yaml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW…-core/src/test/resources/configs/diamond-topology.yaml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW…sources/configs/existing-topology-method-override.yaml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW…core/src/test/resources/configs/substitution-test.yaml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW…core/src/test/resources/configs/substitution-test.yaml21# name to be used when submittingCOMMENT
LOW…ux-core/src/test/resources/configs/bad_shell_test.yaml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW…ux-core/src/test/resources/configs/bad_shell_test.yaml21# name to be used when submittingCOMMENT
LOW…/flux-core/src/test/resources/configs/worker_hook.yaml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW…sources/configs/component-config-invalid-key-test.yaml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW…/resources/configs/component-config-override-test.yaml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWflux/flux-core/src/test/resources/configs/tck.yaml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
106 more matches not shown…
Hyper-Verbose Identifiers100 hits · 94 pts
SeverityFileLineSnippetContext
LOW…nary/final-package/src/main/scripts/test_dedup_libs.py59 def test_identical_jars_are_deduped(self):CODE
LOW…nary/final-package/src/main/scripts/test_dedup_libs.py76 def test_diverged_jar_between_lib_and_worker_fails(self):CODE
LOW…nary/final-package/src/main/scripts/test_dedup_libs.py99 def test_diverged_jar_between_lib_and_common_fails(self):CODE
LOW…nary/final-package/src/main/scripts/test_dedup_libs.py115 def test_diverged_jar_between_worker_and_common_fails(self):CODE
LOW…nary/final-package/src/main/scripts/test_dedup_libs.py134 def test_all_conflicts_are_reported(self):CODE
LOW…nary/final-package/src/main/scripts/test_dedup_libs.py148 def test_version_drift_between_lib_and_worker_fails(self):CODE
LOW…nary/final-package/src/main/scripts/test_dedup_libs.py169 def test_version_drift_between_lib_and_prestaged_common_fails(self):CODE
LOW…nary/final-package/src/main/scripts/test_dedup_libs.py182 def test_version_drift_between_worker_and_common_fails(self):CODE
LOW…nary/final-package/src/main/scripts/test_dedup_libs.py209 def test_worker_only_jar_is_promoted_and_counted(self):CODE
LOWbin/test_storm.py69 def test_get_classpath_includes_lib_common(self):CODE
LOWbin/test_storm.py82 def test_resolve_dependencies(self):CODE
LOW⚡bin/test_storm.py116 def test_print_localconfvalue(self):CODE
LOW⚡bin/test_storm.py125 def test_print_remoteconfvalue(self):CODE
LOW⚡bin/test_storm.py134 def test_initialize_main_command(self):CODE
LOWbin/test_storm.py224 def test_print_server_classpath(self):CODE
LOW⚡bin/docker-to-squash.py278def get_local_manifest_from_path(manifest_path):CODE
LOW⚡bin/docker-to-squash.py286def get_hdfs_manifest_from_path(manifest_path):CODE
LOW⚡bin/docker-to-squash.py293def get_hdfs_manifests_from_paths(manifest_paths):CODE
LOWbin/docker-to-squash.py309def get_config_hash_from_manifest(manifest):CODE
LOWbin/docker-to-squash.py332def get_layer_hashes_from_manifest(manifest, error_on_size_check=True):CODE
LOWbin/docker-to-squash.py354def get_manifest_from_docker_image(pull_format, image):CODE
LOWbin/docker-to-squash.py456def remove_image_hash_from_dicts(hash_to_tags, tag_to_hash, image_hash):CODE
LOWbin/docker-to-squash.py486def write_local_image_tag_to_hash(image_tag_to_hash, hash_to_tags):CODE
LOWbin/docker-to-squash.py507def update_dicts_for_multiple_tags(hash_to_tags, tag_to_hash, tags, manifest_hash, comment):CODE
LOWbin/docker-to-squash.py527def populate_tag_dicts_set_root(image_tag_to_hash, local_image_tag_to_hash, hdfs_root):CODE
LOWbin/docker-to-squash.py576def make_whiteout_block_device(file_path, whiteout):CODE
LOWbin/docker-to-squash.py678def check_image_for_magic_file(magic_file, skopeo_dir, layers):CODE
LOWbin/docker-to-squash.py1001def get_delete_list_from_images_to_remove(images_to_remove, known_images):CODE
LOWbin/docker-to-squash.py1389def get_all_layers_and_configs(manifest_names):CODE
LOWbin/docker-to-squash.py1449def does_image_have_unref_file(image):CODE
LOWbin/docker-to-squash.py1453def does_image_have_dead_perms(image):CODE
LOWbin/docker-to-squash.py1466def cleanup_handle_tagged_images(tagged_images):CODE
LOWbin/docker-to-squash.py1479def cleanup_handle_untagged_images(untagged_images):CODE
LOWbin/docker-to-squash.py1492def cleanup_handle_stale_images(stale_images):CODE
LOWbin/docker-to-squash.py1506def cleanup_handle_dead_images(dead_images, known_images):CODE
LOWbin/docker-to-squash.py1519def make_manifests_unreadable(images):CODE
LOWbin/docker-to-squash.py1656def add_parser_default_arguments(parser):CODE
LOW⚡bin/storm.py1029def initialize_classpath_subcommand(subparsers):CODE
LOW⚡bin/storm.py1036def initialize_server_classpath_subcommand(subparsers):CODE
LOW⚡bin/storm.py1043def initialize_monitor_subcommand(subparsers):CODE
LOWbin/storm.py355def initialize_localconfvalue_subcommand(subparsers):CODE
LOWbin/storm.py366def initialize_remoteconfvalue_subcommand(subparsers):CODE
LOWbin/storm.py468def initialize_local_subcommand(subparsers):CODE
LOWbin/storm.py505def initialize_kill_subcommand(subparsers):CODE
LOWbin/storm.py540def initialize_upload_credentials_subcommand(subparsers):CODE
LOWbin/storm.py571def initialize_blobstore_subcommand(subparsers):CODE
LOWbin/storm.py650def initialize_heartbeats_subcommand(subparsers):CODE
LOWbin/storm.py667def initialize_activate_subcommand(subparsers):CODE
LOWbin/storm.py678def initialize_listtopos_subcommand(subparsers):CODE
LOWbin/storm.py687def initialize_set_log_level_subcommand(subparsers):CODE
LOWbin/storm.py804def initialize_healthcheck_subcommand(subparsers):CODE
LOWbin/storm.py813def initialize_kill_workers_subcommand(subparsers):CODE
LOWbin/storm.py824def initialize_admin_subcommand(subparsers):CODE
LOWbin/storm.py884def initialize_shell_subcommand(subparsers):CODE
LOWbin/storm.py899def initialize_repl_subcommand(subparsers):CODE
LOWbin/storm.py910def initialize_nimbus_subcommand(subparsers):CODE
LOWbin/storm.py998def initialize_drpc_subcommand(subparsers):CODE
LOWbin/storm.py1433def merge_args_and_preserve_order(sys_args, known_args, unknown_args):CODE
LOW⚡bin/storm.py1022def initialize_version_subcommand(subparsers):STRING
LOWbin/storm.py439def initialize_jar_subcommand(subparsers):STRING
40 more matches not shown…
Deep Nesting159 hits · 92 pts
SeverityFileLineSnippetContext
LOWbin/docker-to-squash.py389CODE
LOWbin/docker-to-squash.py690CODE
LOWbin/docker-to-squash.py827CODE
LOWbin/docker-to-squash.py1001CODE
LOWbin/docker-to-squash.py1033CODE
LOWbin/docker-to-squash.py1087CODE
LOWstorm-client/src/py/storm/Nimbus.py4062CODE
LOWstorm-client/src/py/storm/Nimbus.py4161CODE
LOWstorm-client/src/py/storm/Nimbus.py4253CODE
LOWstorm-client/src/py/storm/Nimbus.py4363CODE
LOWstorm-client/src/py/storm/Nimbus.py4513CODE
LOWstorm-client/src/py/storm/Nimbus.py4589CODE
LOWstorm-client/src/py/storm/Nimbus.py4666CODE
LOWstorm-client/src/py/storm/Nimbus.py4806CODE
LOWstorm-client/src/py/storm/Nimbus.py4946CODE
LOWstorm-client/src/py/storm/Nimbus.py5022CODE
LOWstorm-client/src/py/storm/Nimbus.py5101CODE
LOWstorm-client/src/py/storm/Nimbus.py5187CODE
LOWstorm-client/src/py/storm/Nimbus.py5441CODE
LOWstorm-client/src/py/storm/Nimbus.py5537CODE
LOWstorm-client/src/py/storm/Nimbus.py5613CODE
LOWstorm-client/src/py/storm/Nimbus.py5737CODE
LOWstorm-client/src/py/storm/Nimbus.py5821CODE
LOWstorm-client/src/py/storm/Nimbus.py5895CODE
LOWstorm-client/src/py/storm/Nimbus.py5974CODE
LOWstorm-client/src/py/storm/Nimbus.py6060CODE
LOWstorm-client/src/py/storm/Nimbus.py6139CODE
LOWstorm-client/src/py/storm/Nimbus.py6290CODE
LOWstorm-client/src/py/storm/Nimbus.py6375CODE
LOWstorm-client/src/py/storm/Nimbus.py6837CODE
LOWstorm-client/src/py/storm/Nimbus.py6923CODE
LOWstorm-client/src/py/storm/Nimbus.py7000CODE
LOWstorm-client/src/py/storm/Nimbus.py7142CODE
LOWstorm-client/src/py/storm/Nimbus.py7292CODE
LOWstorm-client/src/py/storm/Nimbus.py7433CODE
LOWstorm-client/src/py/storm/Nimbus.py7713CODE
LOWstorm-client/src/py/storm/Nimbus.py7798CODE
LOWstorm-client/src/py/storm/Nimbus.py7876CODE
LOWstorm-client/src/py/storm/Nimbus.py8115CODE
LOWstorm-client/src/py/storm/Nimbus.py8190CODE
LOWstorm-client/src/py/storm/Nimbus.py8522CODE
LOWstorm-client/src/py/storm/Nimbus.py8642CODE
LOWstorm-client/src/py/storm/Nimbus.py8762CODE
LOWstorm-client/src/py/storm/Nimbus.py8883CODE
LOWstorm-client/src/py/storm/Nimbus.py9033CODE
LOWstorm-client/src/py/storm/Nimbus.py9185CODE
LOWstorm-client/src/py/storm/Nimbus.py9316CODE
LOWstorm-client/src/py/storm/Nimbus.py9456CODE
LOWstorm-client/src/py/storm/Nimbus.py9597CODE
LOWstorm-client/src/py/storm/Nimbus.py9749CODE
LOWstorm-client/src/py/storm/Nimbus.py9835CODE
LOWstorm-client/src/py/storm/Nimbus.py9914CODE
LOWstorm-client/src/py/storm/Nimbus.py10000CODE
LOWstorm-client/src/py/storm/Nimbus.py10079CODE
LOWstorm-client/src/py/storm/Nimbus.py10167CODE
LOWstorm-client/src/py/storm/Nimbus.py10255CODE
LOWstorm-client/src/py/storm/Nimbus.py10343CODE
LOWstorm-client/src/py/storm/Nimbus.py10431CODE
LOWstorm-client/src/py/storm/Nimbus.py10521CODE
LOWstorm-client/src/py/storm/Nimbus.py10619CODE
99 more matches not shown…
Excessive Try-Catch Wrapping87 hits · 76 pts
SeverityFileLineSnippetContext
LOW⚡bin/docker-to-squash.py1706 except Exception as ex:CODE
LOW⚡bin/docker-to-squash.py1716 except Exception as _:CODE
LOW⚡bin/docker-to-squash.py1723 except Exception as _:CODE
LOW⚡bin/docker-to-squash.py1731 except Exception as _:CODE
LOW⚡bin/docker-to-squash.py1738 except Exception:CODE
LOWbin/docker-to-squash.py88 except Exception as ex:CODE
LOWbin/docker-to-squash.py247 except Exception as ex:CODE
LOWbin/docker-to-squash.py653 except Exception as ex:CODE
LOWbin/docker-to-squash.py821 except Exception as _:CODE
LOWbin/storm.py239 except Exception:CODE
LOWbin/storm.py1139 except Exception:CODE
LOWbin/storm.py1165 except Exception:CODE
LOWstorm-client/src/py/storm/Nimbus.py2550 except Exception:CODE
LOWstorm-client/src/py/storm/Nimbus.py2582 except Exception:CODE
LOWstorm-client/src/py/storm/Nimbus.py2611 except Exception:CODE
LOWstorm-client/src/py/storm/Nimbus.py2640 except Exception:CODE
LOWstorm-client/src/py/storm/Nimbus.py2669 except Exception:CODE
LOWstorm-client/src/py/storm/Nimbus.py2698 except Exception:CODE
LOWstorm-client/src/py/storm/Nimbus.py2730 except Exception:CODE
LOWstorm-client/src/py/storm/Nimbus.py2753 except Exception:CODE
LOWstorm-client/src/py/storm/Nimbus.py2776 except Exception:CODE
LOWstorm-client/src/py/storm/Nimbus.py2805 except Exception:CODE
LOWstorm-client/src/py/storm/Nimbus.py2828 except Exception:CODE
LOWstorm-client/src/py/storm/Nimbus.py2851 except Exception:CODE
LOWstorm-client/src/py/storm/Nimbus.py2883 except Exception:CODE
LOWstorm-client/src/py/storm/Nimbus.py2912 except Exception:CODE
LOWstorm-client/src/py/storm/Nimbus.py2941 except Exception:CODE
LOWstorm-client/src/py/storm/Nimbus.py2967 except Exception:CODE
LOWstorm-client/src/py/storm/Nimbus.py2993 except Exception:CODE
LOWstorm-client/src/py/storm/Nimbus.py3019 except Exception:CODE
LOWstorm-client/src/py/storm/Nimbus.py3048 except Exception:CODE
LOWstorm-client/src/py/storm/Nimbus.py3077 except Exception:CODE
LOWstorm-client/src/py/storm/Nimbus.py3106 except Exception:CODE
LOWstorm-client/src/py/storm/Nimbus.py3132 except Exception:CODE
LOWstorm-client/src/py/storm/Nimbus.py3164 except Exception:CODE
LOWstorm-client/src/py/storm/Nimbus.py3187 except Exception:CODE
LOWstorm-client/src/py/storm/Nimbus.py3216 except Exception:CODE
LOWstorm-client/src/py/storm/Nimbus.py3245 except Exception:CODE
LOWstorm-client/src/py/storm/Nimbus.py3268 except Exception:CODE
LOWstorm-client/src/py/storm/Nimbus.py3294 except Exception:CODE
LOWstorm-client/src/py/storm/Nimbus.py3320 except Exception:CODE
LOWstorm-client/src/py/storm/Nimbus.py3346 except Exception:CODE
LOWstorm-client/src/py/storm/Nimbus.py3372 except Exception:CODE
LOWstorm-client/src/py/storm/Nimbus.py3398 except Exception:CODE
LOWstorm-client/src/py/storm/Nimbus.py3424 except Exception:CODE
LOWstorm-client/src/py/storm/Nimbus.py3450 except Exception:CODE
LOWstorm-client/src/py/storm/Nimbus.py3479 except Exception:CODE
LOWstorm-client/src/py/storm/Nimbus.py3508 except Exception:CODE
LOWstorm-client/src/py/storm/Nimbus.py3534 except Exception:CODE
LOWstorm-client/src/py/storm/Nimbus.py3560 except Exception:CODE
LOWstorm-client/src/py/storm/Nimbus.py3589 except Exception:CODE
LOWstorm-client/src/py/storm/Nimbus.py3618 except Exception:CODE
LOWstorm-client/src/py/storm/Nimbus.py3647 except Exception:CODE
LOWstorm-client/src/py/storm/Nimbus.py3676 except Exception:CODE
LOWstorm-client/src/py/storm/Nimbus.py3705 except Exception:CODE
LOWstorm-client/src/py/storm/Nimbus.py3734 except Exception:CODE
LOWstorm-client/src/py/storm/Nimbus.py3763 except Exception:CODE
LOWstorm-client/src/py/storm/Nimbus.py3792 except Exception:CODE
LOWstorm-client/src/py/storm/Nimbus.py3821 except Exception:CODE
LOWstorm-client/src/py/storm/Nimbus.py3850 except Exception:CODE
27 more matches not shown…
Unused Imports36 hits · 34 pts
SeverityFileLineSnippetContext
LOWstorm-core/src/dev/resources/tester_spout_metrics.py23CODE
LOWstorm-core/src/dev/resources/tester_bolt_metrics.py22CODE
LOWstorm-client/src/py/storm/Nimbus.py27CODE
LOWstorm-client/src/py/storm/Nimbus.py27CODE
LOWstorm-client/src/py/storm/Nimbus.py28CODE
LOWstorm-client/src/py/storm/Nimbus.py30CODE
LOWstorm-client/src/py/storm/Nimbus.py34CODE
LOWstorm-client/src/py/storm/DistributedRPCInvocations.py27CODE
LOWstorm-client/src/py/storm/DistributedRPCInvocations.py27CODE
LOWstorm-client/src/py/storm/DistributedRPCInvocations.py28CODE
LOWstorm-client/src/py/storm/DistributedRPCInvocations.py30CODE
LOWstorm-client/src/py/storm/DistributedRPCInvocations.py34CODE
LOWstorm-client/src/py/storm/Supervisor.py27CODE
LOWstorm-client/src/py/storm/Supervisor.py27CODE
LOWstorm-client/src/py/storm/Supervisor.py28CODE
LOWstorm-client/src/py/storm/Supervisor.py30CODE
LOWstorm-client/src/py/storm/Supervisor.py34CODE
LOWstorm-client/src/py/storm/constants.py27CODE
LOWstorm-client/src/py/storm/constants.py27CODE
LOWstorm-client/src/py/storm/constants.py27CODE
LOWstorm-client/src/py/storm/constants.py27CODE
LOWstorm-client/src/py/storm/constants.py27CODE
LOWstorm-client/src/py/storm/constants.py28CODE
LOWstorm-client/src/py/storm/constants.py29CODE
LOWstorm-client/src/py/storm/constants.py30CODE
LOWstorm-client/src/py/storm/constants.py32CODE
LOWstorm-client/src/py/storm/constants.py33CODE
LOWstorm-client/src/py/storm/ttypes.py27CODE
LOWstorm-client/src/py/storm/ttypes.py27CODE
LOWstorm-client/src/py/storm/ttypes.py27CODE
LOWstorm-client/src/py/storm/ttypes.py30CODE
LOWstorm-client/src/py/storm/DistributedRPC.py27CODE
LOWstorm-client/src/py/storm/DistributedRPC.py27CODE
LOWstorm-client/src/py/storm/DistributedRPC.py28CODE
LOWstorm-client/src/py/storm/DistributedRPC.py30CODE
LOWstorm-client/src/py/storm/DistributedRPC.py34CODE
Slop Phrases7 hits · 10 pts
SeverityFileLineSnippetContext
LOW…t/src/jvm/org/apache/storm/utils/SupervisorClient.java161 * @return the client, don't forget to close it when done.COMMENT
LOW…t/src/jvm/org/apache/storm/utils/SupervisorClient.java177 * @return the client, don't forget to close it when done.COMMENT
LOW…t/src/jvm/org/apache/storm/utils/SupervisorClient.java192 * @return the client, don't forget to close it when done.COMMENT
LOW…lient/src/jvm/org/apache/storm/utils/NimbusClient.java188 * @return the client, don't forget to close it when done.COMMENT
LOW…lient/src/jvm/org/apache/storm/utils/NimbusClient.java201 * @return the client, don't forget to close it when done.COMMENT
LOW…lient/src/jvm/org/apache/storm/utils/NimbusClient.java237 * @return the client, don't forget to close it when done.COMMENT
LOW…lient/src/jvm/org/apache/storm/utils/NimbusClient.java251 * @return the client, don't forget to close it when done.COMMENT
AI Structural Patterns12 hits · 7 pts
SeverityFileLineSnippetContext
LOWbin/storm.py243CODE
LOWstorm-client/src/py/storm/ttypes.py601CODE
LOWstorm-client/src/py/storm/ttypes.py1429CODE
LOWstorm-client/src/py/storm/ttypes.py2228CODE
LOWstorm-client/src/py/storm/ttypes.py2523CODE
LOWstorm-client/src/py/storm/ttypes.py3930CODE
LOWstorm-client/src/py/storm/ttypes.py4821CODE
LOWstorm-client/src/py/storm/ttypes.py5161CODE
LOWstorm-client/src/py/storm/ttypes.py5692CODE
LOWstorm-client/src/py/storm/ttypes.py6743CODE
LOWstorm-client/src/py/storm/ttypes.py7457CODE
LOWstorm-client/src/py/storm/ttypes.py8922CODE
Verbosity Indicators3 hits · 7 pts
SeverityFileLineSnippetContext
LOW⚡…/test/jvm/org/apache/storm/metrics2/EwmaGaugeTest.java118 // Step 1: transit=10, prev=0, D=10, J = 0 + (10-0) * 0.5 = 5.0COMMENT
LOW⚡…/test/jvm/org/apache/storm/metrics2/EwmaGaugeTest.java122 // Step 2: transit=0, prev=10, D=10, J = 5.0 + (10-5.0) * 0.5 = 7.5COMMENT
LOW⚡…/test/jvm/org/apache/storm/metrics2/EwmaGaugeTest.java126 // Step 3: transit=10, prev=0, D=10, J = 7.5 + (10-7.5) * 0.5 = 8.75COMMENT
Structural Annotation Overuse3 hits · 7 pts
SeverityFileLineSnippetContext
LOW⚡…/test/jvm/org/apache/storm/metrics2/EwmaGaugeTest.java118 // Step 1: transit=10, prev=0, D=10, J = 0 + (10-0) * 0.5 = 5.0COMMENT
LOW⚡…/test/jvm/org/apache/storm/metrics2/EwmaGaugeTest.java122 // Step 2: transit=0, prev=10, D=10, J = 5.0 + (10-5.0) * 0.5 = 7.5COMMENT
LOW⚡…/test/jvm/org/apache/storm/metrics2/EwmaGaugeTest.java126 // Step 3: transit=10, prev=0, D=10, J = 7.5 + (10-7.5) * 0.5 = 8.75COMMENT
Cross-Language Confusion1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHbin/docker-to-squash.py240 working_dir = "(undefined)"CODE
Docstring Block Structure1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHbin/storm.py1434 Attributes: - sys_args: original system arguments - known_args: tokens argparse recognized as a declared STRING
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMconf/defaults.yaml186# Define the amount of workers that can be run on this machine. Each worker is assigned a port to use for communicationCOMMENT
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWdev-tools/cluster/netsim.sh32# Usage:COMMENT
Modern Structural Boilerplate1 hit · 1 pts
SeverityFileLineSnippetContext
LOWstorm-client/src/py/storm/__init__.py19__all__ = ['ttypes', 'constants', 'Nimbus', 'DistributedRPC', 'DistributedRPCInvocations', 'Supervisor']CODE
Fake / Example Data1 hit · 1 pts
SeverityFileLineSnippetContext
LOW…server/src/test/java/org/apache/storm/TestCgroups.java89 String user = "dummy-user";CODE