AI Slop Code RIsk Monitor

phusion/passenger

A fast and robust web server and application server for Ruby, Python and Node.js

10.7 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for phusion/passenger, a C++ project with 5,092 GitHub stars. SynthScan examined 1,013,812 lines of code across 4160 source files, recording 12718 pattern matches distributed across 17 syntactic categories. The legacy adjusted pattern signal is 10.7 (Moderate 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.

10.7
Adjusted Signal
10.7
Raw Pattern Score
100%
Time Factor
2026-10-05
Last Push
5.1K
Stars
C++
Language
1.0M
Lines of Code
4.2K
Files
12.7K
Pattern Hits
2026-10-12
Scan Date
0.00
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 40.5/100 · MEDIUM

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

Hallucinated Dependency & Supply Chain Risk 0.0/100 · LOW

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

Agent Over-Engineering Ratio 1.8/100 · LOW

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

PR Review Velocity Impact 47.7/100 · MEDIUM

Which changes need focused human review? 12718 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 0HIGH 13MEDIUM 181LOW 12524

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 12718 distinct pattern matches across 17 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.

Over-Commented Block12413 hits · 10234 pts
SeverityFileLineSnippetContext
LOWtest/integration_tests/native_packaging_spec.rb1# encoding: utf-8COMMENT
LOWtest/integration_tests/source_packaging_test.rb1# Phusion Passenger - https://www.phusionpassenger.com/COMMENT
LOWtest/integration_tests/standalone_tests.rb221 output.should include(AGENT_BINARY_DOWNLOAD_MESSAGE)COMMENT
LOWtest/integration_tests/standalone_tests.rb241 # FileUtils.mkdir_p("cxx_supportlib/libpassenger_common/ApplicationPool2")COMMENT
LOWtest/integration_tests/standalone_tests.rb261 # "--runtime-dir '#{@runtime_dir}' " +COMMENT
LOWtest/integration_tests/standalone_tests.rb281 # test_serving_application(command)COMMENT
LOWtest/integration_tests/standalone_tests.rb301 # File.rename("#{PhusionPassenger.build_system_dir}/buildout",COMMENT
LOWtest/integration_tests/standalone_tests.rb321 # test_serving_application("#{command} --no-compile-runtime")COMMENT
LOWtest/integration_tests/standalone_tests.rb341 # File.unlink("#{PhusionPassenger.lib_dir}/PassengerWebHelper")COMMENT
LOWtest/integration_tests/standalone_tests.rb361 # "--runtime-dir '#{@runtime_dir}' " +COMMENT
LOWtest/cxx/TestSupport.h1#ifndef _TEST_SUPPORT_H_COMMENT
LOWtest/cxx/CxxTestMain.cpp1#include <TestSupport.h>COMMENT
LOWtest/cxx/UtilsTest.cpp1#include <TestSupport.h>COMMENT
LOWtest/cxx/TestSupport.cpp1#include <TestSupport.h>COMMENT
LOWtest/cxx/ServerKit/ServerTest.cpp1#include <TestSupport.h>COMMENT
LOWtest/cxx/ServerKit/HttpServerTest.cpp1#include <TestSupport.h>COMMENT
LOWtest/cxx/SystemTools/ProcessMetricsCollectorTest.cpp1#include <TestSupport.h>COMMENT
LOWtest/cxx/Core/SpawningKit/SmartSpawnerTest.cpp1#include <TestSupport.h>COMMENT
LOWtest/cxx/Core/ApplicationPool/PoolTest.cpp1#include <TestSupport.h>COMMENT
LOWtest/cxx/Core/ApplicationPool/PoolTest.cpp1581 // TODO: asyncGet() should not select a disabling process when non-rolling restarting.COMMENT
LOWtest/support/apache2_controller.rb1require 'erb'COMMENT
LOWtest/support/apache2_controller.rb21#COMMENT
LOWtest/support/valgrind.h81COMMENT
LOWtest/stub/wsgi/cgishim.py21"""COMMENT
LOWtest/stub/wsgi/cgishim.py441 if 'filename' in pdict:COMMENT
LOWtest/ruby/utils/json_spec.rb141 # // comment inside arrayCOMMENT
LOWtest/ruby/utils/json_spec.rb161 # /* anotherCOMMENT
LOWdev/install_scripts_bootstrap_code.rb1#!/usr/bin/env rubyCOMMENT
LOWsrc/schema_printer/SchemaPrinterMain.cpp41COMMENT
LOW…c/nodejs_supportlib/vendor-copy/winston/lib/winston.js41// programmer may manage multiple `winston.Logger` instances without any additional overhead.COMMENT
LOW…s_supportlib/vendor-copy/winston/lib/winston/logger.js21// #### @options {Object} Options for this instance.COMMENT
LOW…s_supportlib/vendor-copy/winston/lib/winston/logger.js101//COMMENT
LOW…s_supportlib/vendor-copy/winston/lib/winston/common.js61//COMMENT
LOW…s_supportlib/vendor-copy/winston/lib/winston/common.js121 }COMMENT
LOW…s_supportlib/vendor-copy/winston/lib/winston/common.js301//COMMENT
LOW…endor-copy/winston/lib/winston/transports/transport.js41//COMMENT
LOW…lib/vendor-copy/winston/lib/winston/transports/file.js121// #### @level {string} Level at which to log the message.COMMENT
LOW…lib/vendor-copy/winston/lib/winston/transports/file.js361};COMMENT
LOW…lib/vendor-copy/winston/lib/winston/transports/file.js501 //COMMENT
LOW…lib/vendor-copy/winston/lib/winston/transports/file.js581// in the case that log filesizes are being capped.COMMENT
LOWsrc/nginx_module/ngx_http_passenger_module.c21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)COMMENT
LOWsrc/nginx_module/ngx_http_passenger_module.c41#include <string.h>COMMENT
LOWsrc/nginx_module/Configuration.c21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)COMMENT
LOWsrc/agent/FileReadHelper/FileReadHelperMain.cpp21 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHERCOMMENT
LOWsrc/agent/FileReadHelper/FileReadHelperMain.cpp41// to lower its privilege, otherwise no protection is provided.COMMENT
LOWsrc/agent/Core/CoreMain.cpp21 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHERCOMMENT
LOWsrc/agent/Core/CoreMain.cpp41#include <boost/foreach.hpp>COMMENT
LOWsrc/agent/Core/CoreMain.cpp61#include <curl/curl.h>COMMENT
LOWsrc/agent/Core/CoreMain.cpp81#include <AppTypeDetector/Detector.h>COMMENT
LOWsrc/agent/Core/OptionParser.h21 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHERCOMMENT
LOWsrc/agent/Core/TelemetryCollector.h21 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHERCOMMENT
LOWsrc/agent/Core/Config.h21 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHERCOMMENT
LOWsrc/agent/Core/Config.h41#include <ConfigKit/PrefixTranslator.h>COMMENT
LOWsrc/agent/Core/Controller.h41COMMENT
LOWsrc/agent/Core/Controller.h61#include <ServerKit/HttpServer.h>COMMENT
LOWsrc/agent/Core/ResponseCache.h21 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHERCOMMENT
LOWsrc/agent/Core/ApiServer.h21 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHERCOMMENT
LOWsrc/agent/Core/ApiServer.h41#include <Core/ConfigChange.h>COMMENT
LOWsrc/agent/Core/SecurityUpdateChecker.h21 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHERCOMMENT
LOWsrc/agent/Core/SecurityUpdateChecker.h41#include <Utils/Curl.h>COMMENT
12353 more matches not shown…
Decorative Section Separators134 hits · 262 pts
SeverityFileLineSnippetContext
MEDIUMtest/stub/wsgi/cgishim.py57# ===============COMMENT
MEDIUMtest/stub/wsgi/cgishim.py120# =================COMMENT
MEDIUMtest/stub/wsgi/cgishim.py257# =========================COMMENT
MEDIUMtest/stub/wsgi/cgishim.py848# ===============COMMENT
MEDIUMtest/stub/wsgi/cgishim.py1005# ===============STRING
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh157# --------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh183# ----------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh192# --------------------------------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh378# ---------------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh523# -------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh572# ---------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh607# ----------------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh630# --------------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh654# ------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh678# ------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh711# -------------------------------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh723# --------------------------------------------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh744# ----------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh763# --------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh772# ------------------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh808# -----------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh821# -----------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh833# -----------------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh844# ---------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh870# ---------------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh918# -------------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh956# ------------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh1046# --------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh1062# --------------------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh1127# ----------------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh1207# -----------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh1242# ------------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh1253# ----------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh1306# ------------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh1327# ---------------------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh1357# -----------------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh1382# ------------------------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh1411# ----------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh1432# -------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh1445# -----------------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh1458# ----------------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh1483# -----------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh1500# ---------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh1629# -----------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh1641# ---------------------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh1658# ------------------------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh1670# ---------------------------------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh1688# ---------------------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh1804# ----------------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh1816# ---------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh1849# --------------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh1870# ---------------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh1990# ------------------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh2019# ----------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh2047# ------------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh2060# ------------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh2096# -----------------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh2122# ----------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh2135# ------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh2155# ------------COMMENT
74 more matches not shown…
Self-Referential Comments36 hits · 76 pts
SeverityFileLineSnippetContext
MEDIUMtest/support/apache2_controller.rb85 # Create an Apache configuration folder and start Apache on thatCOMMENT
MEDIUMtest/support/apache2_controller.rb247 # Define a virtual host configuration block for the Apache configurationCOMMENT
MEDIUM…c/ruby_supportlib/phusion_passenger/request_handler.rb74 # Create a new RequestHandler with the given owner pipe.COMMENT
MEDIUMsrc/ruby_supportlib/phusion_passenger/platform_info.rb158 # This function is mostly used for compiling C programs to autodetectCOMMENT
MEDIUM…_supportlib/phusion_passenger/loader_shared_helpers.rb150 # This method is to be called before loading the application code.COMMENT
MEDIUM…_supportlib/phusion_passenger/loader_shared_helpers.rb231 # This method is to be called after the load path has been set upCOMMENT
MEDIUM…_supportlib/phusion_passenger/loader_shared_helpers.rb237 # This method is to be called after loading the application code butCOMMENT
MEDIUM…uby_supportlib/phusion_passenger/abstract_installer.rb56 # Create an AbstractInstaller. All options will be stored as instanceCOMMENT
MEDIUM…c/ruby_supportlib/phusion_passenger/message_channel.rb45 # Create a new MessageChannel by wrapping the given IO object.COMMENT
MEDIUM…ib/phusion_passenger/standalone/config_options_list.rb28# This file contains a specification of all supported Passenger StandaloneCOMMENT
MEDIUM…c/ruby_supportlib/phusion_passenger/utils/tee_input.rb4# This file is taken from Unicorn. The following license applies to this fileCOMMENT
MEDIUM…supportlib/phusion_passenger/apache2/config_options.rb25# This file defines all supported Apache per-directory configuration options. TheCOMMENT
MEDIUM…y_supportlib/phusion_passenger/nginx/config_options.rb25# This file defines all supported Nginx configuration options. TheCOMMENT
MEDIUMsrc/helper-scripts/download_binaries/extconf.rb29# Create a dummy Makefile to prevent 'gem install' from borking out.COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh77# This file is dual licensed under the terms of the MIT licenseCOMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh1530# This file is dual licensed under the terms of the MIT licenseCOMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh1548# This file is a library for parsing options in your shell scripts alongCOMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh2800# This function is only a basic sanity check; it will hardly flush outCOMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh2810# This function implements the same check as func_lalib_p withoutCOMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh2833# This function is only a basic sanity check; it will hardly flush outCOMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh2843# This function is only a basic sanity check; it will hardly flush outCOMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh2868# This function is only a basic sanity check; it will hardly flush outCOMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh3008# Create a libtool object file (analogous to a ".la" file),COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh7931 # Create the object directory.COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh10518 # Create the old-style object.COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh10538 # Create an invalid libtool object if no PIC, so that we don'tCOMMENT
MEDIUMsrc/cxx_supportlib/vendor-modified/libev/ltmain.sh1402# This file is a library for parsing options in your shell scripts alongCOMMENT
MEDIUMsrc/cxx_supportlib/vendor-modified/libev/ltmain.sh2594# This function is only a basic sanity check; it will hardly flush outCOMMENT
MEDIUMsrc/cxx_supportlib/vendor-modified/libev/ltmain.sh2604# This function implements the same check as func_lalib_p withoutCOMMENT
MEDIUMsrc/cxx_supportlib/vendor-modified/libev/ltmain.sh2627# This function is only a basic sanity check; it will hardly flush outCOMMENT
MEDIUMsrc/cxx_supportlib/vendor-modified/libev/ltmain.sh2637# This function is only a basic sanity check; it will hardly flush outCOMMENT
MEDIUMsrc/cxx_supportlib/vendor-modified/libev/ltmain.sh2662# This function is only a basic sanity check; it will hardly flush outCOMMENT
MEDIUMsrc/cxx_supportlib/vendor-modified/libev/ltmain.sh2802# Create a libtool object file (analogous to a ".la" file),COMMENT
MEDIUMsrc/cxx_supportlib/vendor-modified/libev/ltmain.sh7568 # Create the object directory.COMMENT
MEDIUMsrc/cxx_supportlib/vendor-modified/libev/ltmain.sh10247 # Create the old-style object.COMMENT
MEDIUMsrc/cxx_supportlib/vendor-modified/libev/ltmain.sh10267 # Create an invalid libtool object if no PIC, so that we don'tCOMMENT
Hyper-Verbose Identifiers62 hits · 64 pts
SeverityFileLineSnippetContext
LOWtest/support/apache2_controller.rb307 def read_error_log_starting_from(prev_pos)CODE
LOWtest/stub/wsgi/cgishim.py744 def read_lines_to_outerboundary(self):CODE
LOWtest/ruby/config/utils_spec.rb21 def select_instance_exit_status(options)CODE
LOWtest/ruby/shared/loader_sharedspec.rb68 def find_socket_with_protocol(protocol)CODE
LOWdev/index_cxx_dependencies.rb195def gather_all_dependencies_recursively(source_file, basic_map, result)CODE
LOWdev/configkit-schemas/update_schema_inline_comments.rb53def format_inline_comment_for_schema(prefix, class_name)CODE
LOWdev/configkit-schemas/update_schema_inline_comments.rb107def format_default_value_desc(value)CODE
LOW…c/ruby_supportlib/phusion_passenger/request_handler.rb41 class RequestHandlerCODE
LOW…c/ruby_supportlib/phusion_passenger/request_handler.rb289 def create_unix_socket_on_filesystem(options)CODE
LOW…_supportlib/phusion_passenger/loader_shared_helpers.rb80 def check_rvm_using_wrapper_script(options)CODE
LOW…_supportlib/phusion_passenger/loader_shared_helpers.rb251 def maybe_make_path_relative_to_app_root(app_root, abs_path)CODE
LOW…_supportlib/phusion_passenger/loader_shared_helpers.rb388 def record_journey_step_begin(step, state, *args)CODE
LOW…_supportlib/phusion_passenger/loader_shared_helpers.rb396 def run_block_and_record_step_progress(step, *args)CODE
LOW…_supportlib/phusion_passenger/loader_shared_helpers.rb416 def record_and_print_exception(e)CODE
LOW…_supportlib/phusion_passenger/loader_shared_helpers.rb435 def record_error_category_based_on_exception(e)CODE
LOW⚡…_supportlib/phusion_passenger/loader_shared_helpers.rb450 def record_and_print_error_summary(summary)CODE
LOW⚡…_supportlib/phusion_passenger/loader_shared_helpers.rb455 def record_advanced_problem_details(message)CODE
LOW⚡…_supportlib/phusion_passenger/loader_shared_helpers.rb460 def record_problem_description_html(html)CODE
LOW⚡…_supportlib/phusion_passenger/loader_shared_helpers.rb465 def record_solution_description_html(html)CODE
LOW…_supportlib/phusion_passenger/loader_shared_helpers.rb907 def check_execution_environment_solution_description(passenger_user, passenger_user_doc, bundle_path)CODE
LOW…_supportlib/phusion_passenger/loader_shared_helpers.rb955 def attach_problem_description_html_to_exception(e, html)CODE
LOW…_supportlib/phusion_passenger/loader_shared_helpers.rb962 def attach_solution_description_html_to_exception(e, html)CODE
LOW…uby_supportlib/phusion_passenger/abstract_installer.rb223 def check_whether_system_has_enough_ram(required = 1024)CODE
LOW…uby_supportlib/phusion_passenger/abstract_installer.rb251 def show_support_options_for_installer_bug(e)CODE
LOW…uby_supportlib/phusion_passenger/abstract_installer.rb364 def prompt_confirmation_with_default(message, default)CODE
LOW…pportlib/phusion_passenger/preloader_shared_helpers.rb61 def accept_and_process_next_client(server_socket, options)CODE
LOWsrc/ruby_supportlib/phusion_passenger/utils.rb109 def create_thread_and_abort_on_exception(*args)CODE
LOWsrc/ruby_supportlib/phusion_passenger/common_library.rb125 def define_object_compilation_task(object_name, extra_compiler_flags)CODE
LOWsrc/ruby_supportlib/phusion_passenger/common_library.rb236 def selected_objects_belonging_to_category(category)CODE
LOW…supportlib/phusion_passenger/platform_info/depcheck.rb115 def append_install_instructions(value)CODE
LOW…lib/phusion_passenger/platform_info/apache_detector.rb279 def remove_symlink_duplications(filenames)CODE
LOW…ib/phusion_passenger/request_handler/thread_handler.rb34 class RequestHandlerCODE
LOW…ib/phusion_passenger/request_handler/thread_handler.rb122 def accept_and_process_next_request(socket_wrapper, channel, buffer)CODE
LOW…ib/phusion_passenger/request_handler/thread_handler.rb347 end # class RequestHandlerCODE
LOW…upportlib/phusion_passenger/standalone/config_utils.rb155 def add_option_parser_options_from_config_spec(parser, spec, options)CODE
LOW…upportlib/phusion_passenger/standalone/config_utils.rb194 def remerge_all_config_without_defaults(global_options, local_options, env_options, parsed_options)CODE
LOW…upportlib/phusion_passenger/standalone/config_utils.rb282 def determine_cli_switch_type(spec_item)CODE
LOW…upportlib/phusion_passenger/standalone/config_utils.rb296 def format_cli_switch_description(spec_item)CODE
LOW…pportlib/phusion_passenger/standalone/start_command.rb193 def check_nginx_option_used_with_builtin_engine(option, argument)CODE
LOW…pportlib/phusion_passenger/standalone/start_command.rb519 def trapsafe_shutdown_and_cleanup(error_occurred)CODE
LOW…_supportlib/phusion_passenger/standalone/app_finder.rb176 def determine_mode_and_execution_root(options, local_options)CODE
LOW…uby_supportlib/phusion_passenger/standalone/command.rb58 def load_and_merge_global_options(options)CODE
LOW…ion_passenger/standalone/start_command/nginx_engine.rb232 def nginx_listen_address_with_ssl_port(options = @options)CODE
LOW…ion_passenger/standalone/start_command/nginx_engine.rb287 def include_passenger_internal_template(name, indent = 0, fix_existing_indenting = true, the_binding = get_bindiCODE
LOW…n_passenger/standalone/start_command/builtin_engine.rb245 def add_enterprise_flag_param(command, option_name, param_name)CODE
LOW…ortlib/phusion_passenger/config/reopen_logs_command.rb106 def perform_reinherit_logs_on(name, socket_name)CODE
LOW…tlib/phusion_passenger/config/nginx_engine_compiler.rb395 def run_command_yield_activity(command)CODE
LOW…portlib/phusion_passenger/config/installation_utils.rb235 def mkdir_p_preserve_parent_owner(path)CODE
LOWsrc/ruby_supportlib/phusion_passenger/config/utils.rb100 def complain_that_multiple_passenger_instances_are_running(instances)CODE
LOWsrc/ruby_supportlib/phusion_passenger/config/utils.rb110 def list_all_passenger_instances(instances, print_preamble = true)CODE
LOWsrc/ruby_supportlib/phusion_passenger/config/utils.rb126 def try_performing_ro_admin_basic_auth(request, instance)CODE
LOWsrc/ruby_supportlib/phusion_passenger/config/utils.rb135 def try_performing_full_admin_basic_auth(request, instance)CODE
LOW…lib/phusion_passenger/config/download_agent_command.rb257 def real_download_support_file(site, name, output)CODE
LOW…sion_passenger/config/download_nginx_engine_command.rb261 def real_download_support_file(site, name, output)CODE
LOW…ortlib/phusion_passenger/config/restart_app_command.rb151 def select_app_group_name_exact(name)CODE
LOW…ortlib/phusion_passenger/config/restart_app_command.rb203 def select_app_group_name_by_app_root_regex(app_root)CODE
LOWsrc/ruby_supportlib/phusion_passenger/utils/download.rb176 def remove_curl_output_prefix(line)CODE
LOW…pportlib/phusion_passenger/admin_tools/memory_stats.rb285 def determine_private_dirty_rss(pid)CODE
LOWsrc/helper-scripts/wsgi-loader.py62def record_journey_step_begin(step, state):CODE
LOWsrc/helper-scripts/wsgi-loader.py194class RequestHandler:CODE
2 more matches not shown…
Empty Error Handlers8 hits · 40 pts
SeverityFileLineSnippetContext
HIGHtest/stub/wsgi/cgishim.py217except KeyError:CODE
HIGHtest/stub/wsgi/cgishim.py91except OSError:CODE
HIGHtest/stub/wsgi/cgishim.py495except AttributeError:CODE
HIGHtest/stub/wsgi/cgishim.py475except ValueError:CODE
HIGHsrc/helper-scripts/wsgi-loader.py411except OSError:CODE
HIGHsrc/helper-scripts/wsgi-loader.py236except KeyboardInterrupt:CODE
HIGHsrc/helper-scripts/wsgi-loader.py230except:CODE
HIGHsrc/helper-scripts/wsgi-loader.py234except:CODE
AI Response Leakage3 hits · 34 pts
SeverityFileLineSnippetContext
HIGH⚡…_supportlib/vendor-modified/boost/container/string.hpp544//! In this implementation, basic_string has performance characteristics very similar toCOMMENT
HIGH⚡…_supportlib/vendor-modified/boost/container/string.hpp548//! In this implementation, begin(),COMMENT
HIGH⚡…_supportlib/vendor-modified/boost/container/string.hpp550//! In this implementation, iterators are only invalidated by member functions thatCOMMENT
AI Slop Vocabulary9 hits · 22 pts
SeverityFileLineSnippetContext
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh345# Sed substitution that helps us do robust quoting. It backslashifiesCOMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh5624# Sed substitution that helps us do robust quoting. It backslashifiesCOMMENT
MEDIUM…cxx_supportlib/vendor-modified/jsoncpp/json-forwards.h100/// If defined, indicates that json may leverage CppTL libraryCOMMENT
MEDIUMsrc/cxx_supportlib/vendor-modified/jsoncpp/json.h133/// If defined, indicates that json may leverage CppTL libraryCOMMENT
MEDIUM…-modified/boost/atomic/detail/extra_fp_ops_generic.hpp95//! Negate implementation for IEEE 754 / IEC 559 floating point types. We leverage the fact that the sign bit is the mosCOMMENT
MEDIUM…_supportlib/vendor-modified/boost/container/vector.hpp2322 //Absolutely experimental. This function might change, disappear or simply crash!COMMENT
MEDIUMsrc/cxx_supportlib/vendor-modified/libev/ltmain.sh331# Sed substitution that helps us do robust quoting. It backslashifiesCOMMENT
MEDIUMsrc/cxx_supportlib/vendor-modified/libev/ltmain.sh5319# Sed substitution that helps us do robust quoting. It backslashifiesCOMMENT
MEDIUMsrc/cxx_supportlib/vendor-modified/libev/ltmain.sh9269 # This code stresses the "libraries are programs" paradigm to itsCOMMENT
Verbosity Indicators7 hits · 15 pts
SeverityFileLineSnippetContext
LOWsrc/agent/Core/ApplicationPool/Process.h244 // Step 1: append strings to temporary buffer and take note of theirCOMMENT
LOW⚡src/agent/Core/ApplicationPool/Process.h270 // Step 2: allocate the real buffer.COMMENT
LOW⚡src/agent/Core/ApplicationPool/Process.h276 // Step 3: initialize the string fields and point them toCOMMENT
LOW⚡…b/vendor-modified/boost/container/detail/flat_tree.hpp945 //Step 1: put new elements in the backCOMMENT
LOW⚡…b/vendor-modified/boost/container/detail/flat_tree.hpp948 //Step 2: sort themCOMMENT
LOW⚡…b/vendor-modified/boost/container/detail/flat_tree.hpp951 //Step 3: only left unique values from the back not already present in the original rangeCOMMENT
LOW⚡…b/vendor-modified/boost/container/detail/flat_tree.hpp960 //Step 4: merge both rangesCOMMENT
Structural Annotation Overuse7 hits · 15 pts
SeverityFileLineSnippetContext
LOWsrc/agent/Core/ApplicationPool/Process.h244 // Step 1: append strings to temporary buffer and take note of theirCOMMENT
LOW⚡src/agent/Core/ApplicationPool/Process.h270 // Step 2: allocate the real buffer.COMMENT
LOW⚡src/agent/Core/ApplicationPool/Process.h276 // Step 3: initialize the string fields and point them toCOMMENT
LOW⚡…b/vendor-modified/boost/container/detail/flat_tree.hpp945 //Step 1: put new elements in the backCOMMENT
LOW⚡…b/vendor-modified/boost/container/detail/flat_tree.hpp948 //Step 2: sort themCOMMENT
LOW⚡…b/vendor-modified/boost/container/detail/flat_tree.hpp951 //Step 3: only left unique values from the back not already present in the original rangeCOMMENT
LOW⚡…b/vendor-modified/boost/container/detail/flat_tree.hpp960 //Step 4: merge both rangesCOMMENT
Synthetic Comment Markers2 hits · 15 pts
SeverityFileLineSnippetContext
HIGH…cxx_supportlib/vendor-modified/boost/system/config.hpp38// enable dynamic or static linking as requested --------------------------------------//COMMENT
HIGH…tlib/vendor-modified/boost/thread/detail/singleton.hpp20// a class on demand, then dish it out as requested.COMMENT
Redundant / Tautological Comments13 hits · 10 pts
SeverityFileLineSnippetContext
LOWsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh379# Check if we can use backslash as IFS='\' separator, and setCOMMENT
LOWsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh655# Set func_arith_result to the result of evaluating TERMs.COMMENT
LOWsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh679# Set func_basename_result to FILE with everything up to and includingCOMMENT
LOWsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh845# Set func_len_result to the length of STRING. STRING may notCOMMENT
LOWsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh1063# Set func_relative_path_result to the relative path from SRCDIR to DSTDIR.COMMENT
LOWsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh4287 # Check if any of the arguments is a wrapper script.COMMENT
LOWsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh10241 # Loop over the list of objects to be linked.COMMENT
LOWsrc/cxx_supportlib/vendor-modified/libev/ltmain.sh623# Set func_arith_result to the result of evaluating TERMs.COMMENT
LOWsrc/cxx_supportlib/vendor-modified/libev/ltmain.sh647# Set func_basename_result to FILE with everything up to and includingCOMMENT
LOWsrc/cxx_supportlib/vendor-modified/libev/ltmain.sh813# Set func_len_result to the length of STRING. STRING may notCOMMENT
LOWsrc/cxx_supportlib/vendor-modified/libev/ltmain.sh1031# Set func_relative_path_result to the relative path from SRCDIR to DSTDIR.COMMENT
LOWsrc/cxx_supportlib/vendor-modified/libev/ltmain.sh4003 # Check if any of the arguments is a wrapper script.COMMENT
LOWsrc/cxx_supportlib/vendor-modified/libev/ltmain.sh9970 # Loop over the list of objects to be linked.COMMENT
Deep Nesting9 hits · 9 pts
SeverityFileLineSnippetContext
LOWtest/stub/wsgi/passenger_wsgi.py37CODE
LOWtest/stub/wsgi/passenger_wsgi.py66CODE
LOWtest/stub/wsgi/passenger_wsgi.py166CODE
LOWtest/stub/wsgi/cgishim.py126CODE
LOWtest/stub/wsgi/cgishim.py744CODE
LOWsrc/helper-scripts/wsgi-loader.py93CODE
LOWsrc/helper-scripts/wsgi-loader.py200CODE
LOWsrc/helper-scripts/wsgi-loader.py279CODE
LOWsrc/helper-scripts/wsgi-loader.py302CODE
Slop Phrases5 hits · 9 pts
SeverityFileLineSnippetContext
LOWsrc/agent/Core/SpawningKit/SmartSpawner.h436 // then don't forget to also update these locations:COMMENT
LOWsrc/ruby_supportlib/phusion_passenger.rb103 # Follows the logic of src/cxx_supportlib/ResourceLocator.h, so don't forget to modify that too.COMMENT
LOWsrc/ruby_supportlib/phusion_passenger.rb103 # Follows the logic of src/cxx_supportlib/ResourceLocator.h, so don't forget to modify that too.COMMENT
LOW…pportlib/phusion_passenger/standalone/start_command.rb97 # If you add or change an option, make sure to update the following places too:COMMENT
MEDIUM…supportlib/phusion_passenger/apache2/config_options.rb68# when you can use this option to override what gets written in theCOMMENT
Excessive Try-Catch Wrapping5 hits · 6 pts
SeverityFileLineSnippetContext
LOWsrc/helper-scripts/wsgi-loader.py222 except Exception:CODE
LOWsrc/helper-scripts/wsgi-loader.py375 except Exception:CODE
LOWsrc/helper-scripts/wsgi-loader.py385 except Exception:CODE
LOWsrc/helper-scripts/wsgi-loader.py400 except Exception:CODE
MEDIUMsrc/helper-scripts/wsgi-loader.py39def try_write_file(path, contents):CODE
Example Usage Blocks3 hits · 4 pts
SeverityFileLineSnippetContext
LOW…uby_supportlib/phusion_passenger/abstract_installer.rb47 # Usage:COMMENT
LOWsrc/ruby_supportlib/phusion_passenger/utils/json.rb36# Usage:COMMENT
LOW…by_supportlib/phusion_passenger/rack/out_of_band_gc.rb34 # Usage:COMMENT
Modern Structural Boilerplate1 hit · 1 pts
SeverityFileLineSnippetContext
LOWtest/stub/wsgi/cgishim.py51__all__ = ["MiniFieldStorage", "FieldStorage", "parse", "parse_multipart",CODE
AI Structural Patterns1 hit · 1 pts
SeverityFileLineSnippetContext
LOWtest/stub/wsgi/cgishim.py327CODE