Repository Analysis

phusion/passenger

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

10.6 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of phusion/passenger, a C++ project with 5,086 GitHub stars. SynthScan v2.0 examined 997,216 lines of code across 4117 source files, recording 12573 pattern matches distributed across 16 syntactic categories. The overall adjusted score of 10.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).

10.6
Adjusted Score
10.6
Raw Score
100%
Time Factor
2026-08-01
Last Push
5.1K
Stars
C++
Language
997.2K
Lines of Code
4.1K
Files
12.6K
Pattern Hits
2026-08-02
Scan Date
0.00
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

Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.

No multi-scan history yet — run the scanner again to build trend data.

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 0HIGH 5MEDIUM 110LOW 12458

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 12573 distinct pattern matches across 16 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.

Over-Commented Block12353 hits · 10194 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 = capture_output('passenger start --runtime-check-only')COMMENT
LOWtest/integration_tests/standalone_tests.rb241 # FileUtils.mkdir_p("support-binaries")COMMENT
LOWtest/integration_tests/standalone_tests.rb261 # @output = capture_output("passenger start " +COMMENT
LOWtest/integration_tests/standalone_tests.rb281COMMENT
LOWtest/integration_tests/standalone_tests.rb301 # # not compiled.COMMENT
LOWtest/integration_tests/standalone_tests.rb321COMMENT
LOWtest/integration_tests/standalone_tests.rb341 # ENV.delete('PASSENGER_LOCATION_CONFIGURATION_FILE')COMMENT
LOWtest/integration_tests/standalone_tests.rb361 # command = "passenger start " +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/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# Apache2Controller ensures that starting, stopping and restarting are not proneCOMMENT
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
LOWsrc/agent/Core/SpawningKit/Spawner.h21 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHERCOMMENT
12293 more matches not shown…
Decorative Section Separators65 hits · 132 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.sh169# ----------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh178# --------------------------------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh480# -------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh529# ---------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh575# ----------------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh598# --------------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh622# ------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh646# ------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh679# -------------------------------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh691# --------------------------------------------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh712# ----------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh731# --------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh740# ------------------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh776# -----------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh789# -----------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh801# -----------------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh812# ---------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh838# ---------------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh886# -------------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh924# ------------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh1014# --------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh1030# --------------------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh1095# --------------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh1147# -------------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh1177# ---------------------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh1207# -----------------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh1232# ------------------------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh1261# ----------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh1282# -------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh1295# -----------------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh1308# ----------------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh1333# -----------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh1350# ---------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh1483# -----------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh1495# ---------------------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh1512# ------------------------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh1523# ---------------------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh1625# ---------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh1648# --------------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh1672# ---------------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh1773# ------------------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh1804# ----------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh1832# ------------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh1845# ------------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh1880# -----------------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh1906# ----------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh1919# ------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh1939# ------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh1984# ----------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh2004# -------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh2083# ---------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh2100 # ---------------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh2122# -------------------------------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh2134# -----------COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh2154# -------------COMMENT
5 more matches not shown…
Self-Referential Comments33 hits · 84 pts
SeverityFileLineSnippetContext
MEDIUMtest/support/apache2_controller.rb84 # Create an Apache configuration folder and start Apache on thatCOMMENT
MEDIUMtest/support/apache2_controller.rb233 # 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.rb157 # This function is mostly used for compiling C programs to autodetectCOMMENT
MEDIUM…_supportlib/phusion_passenger/loader_shared_helpers.rb149 # This method is to be called before loading the application code.COMMENT
MEDIUM…_supportlib/phusion_passenger/loader_shared_helpers.rb230 # This method is to be called after the load path has been set upCOMMENT
MEDIUM…_supportlib/phusion_passenger/loader_shared_helpers.rb236 # 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.sh1402# This file is a library for parsing options in your shell scripts alongCOMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh2502# This function is only a basic sanity check; it will hardly flush outCOMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh2512# This function implements the same check as func_lalib_p withoutCOMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh2535# This function is only a basic sanity check; it will hardly flush outCOMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh2545# This function is only a basic sanity check; it will hardly flush outCOMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh2570# This function is only a basic sanity check; it will hardly flush outCOMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh2710# Create a libtool object file (analogous to a ".la" file),COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh7472 # Create the object directory.COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh10145 # Create the old-style object.COMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh10165 # Create an invalid libtool object if no PIC, so that we don'tCOMMENT
MEDIUMsrc/cxx_supportlib/vendor-modified/libev/ltmain.sh1229# This function is only a basic sanity check; it will hardly flush outCOMMENT
MEDIUMsrc/cxx_supportlib/vendor-modified/libev/ltmain.sh1240# This function implements the same check as func_lalib_p withoutCOMMENT
MEDIUMsrc/cxx_supportlib/vendor-modified/libev/ltmain.sh1263# This function is only a basic sanity check; it will hardly flush outCOMMENT
MEDIUMsrc/cxx_supportlib/vendor-modified/libev/ltmain.sh1272# This function is only a basic sanity check; it will hardly flush outCOMMENT
MEDIUMsrc/cxx_supportlib/vendor-modified/libev/ltmain.sh1297# This function is only a basic sanity check; it will hardly flush outCOMMENT
MEDIUMsrc/cxx_supportlib/vendor-modified/libev/ltmain.sh1433# Create a libtool object file (analogous to a ".la" file),COMMENT
MEDIUMsrc/cxx_supportlib/vendor-modified/libev/ltmain.sh6028 # Create the object directory.COMMENT
MEDIUMsrc/cxx_supportlib/vendor-modified/libev/ltmain.sh8656 # Create the old-style object.COMMENT
MEDIUMsrc/cxx_supportlib/vendor-modified/libev/ltmain.sh8676 # Create an invalid libtool object if no PIC, so that we don'tCOMMENT
Hyper-Verbose Identifiers61 hits · 63 pts
SeverityFileLineSnippetContext
LOWtest/support/apache2_controller.rb293 def read_error_log_starting_from(prev_pos)CODE
LOWtest/stub/wsgi/cgishim.py744 def read_lines_to_outerboundary(self):CODE
LOWtest/ruby/shared/loader_sharedspec.rb68 def find_socket_with_protocol(protocol)CODE
LOWdev/index_cxx_dependencies.rb194def 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.rb79 def check_rvm_using_wrapper_script(options)CODE
LOW…_supportlib/phusion_passenger/loader_shared_helpers.rb250 def maybe_make_path_relative_to_app_root(app_root, abs_path)CODE
LOW…_supportlib/phusion_passenger/loader_shared_helpers.rb387 def record_journey_step_begin(step, state, *args)CODE
LOW…_supportlib/phusion_passenger/loader_shared_helpers.rb395 def run_block_and_record_step_progress(step, *args)CODE
LOW…_supportlib/phusion_passenger/loader_shared_helpers.rb415 def record_and_print_exception(e)CODE
LOW…_supportlib/phusion_passenger/loader_shared_helpers.rb434 def record_error_category_based_on_exception(e)CODE
LOW…_supportlib/phusion_passenger/loader_shared_helpers.rb449 def record_and_print_error_summary(summary)CODE
LOW…_supportlib/phusion_passenger/loader_shared_helpers.rb454 def record_advanced_problem_details(message)CODE
LOW…_supportlib/phusion_passenger/loader_shared_helpers.rb459 def record_problem_description_html(html)CODE
LOW…_supportlib/phusion_passenger/loader_shared_helpers.rb464 def record_solution_description_html(html)CODE
LOW…_supportlib/phusion_passenger/loader_shared_helpers.rb906 def check_execution_environment_solution_description(passenger_user, passenger_user_doc, bundle_path)CODE
LOW…_supportlib/phusion_passenger/loader_shared_helpers.rb954 def attach_problem_description_html_to_exception(e, html)CODE
LOW…_supportlib/phusion_passenger/loader_shared_helpers.rb961 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.rb60 def accept_and_process_next_client(server_socket, options)CODE
LOWsrc/ruby_supportlib/phusion_passenger/utils.rb108 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.rb238 def selected_objects_belonging_to_category(category)CODE
LOW…supportlib/phusion_passenger/platform_info/depcheck.rb113 def append_install_instructions(value)CODE
LOW…lib/phusion_passenger/platform_info/apache_detector.rb278 def remove_symlink_duplications(filenames)CODE
LOW…ib/phusion_passenger/request_handler/thread_handler.rb33 class RequestHandlerCODE
LOW…ib/phusion_passenger/request_handler/thread_handler.rb126 def accept_and_process_next_request(socket_wrapper, channel, buffer)CODE
LOW…ib/phusion_passenger/request_handler/thread_handler.rb351 end # class RequestHandlerCODE
LOW…upportlib/phusion_passenger/standalone/config_utils.rb153 def add_option_parser_options_from_config_spec(parser, spec, options)CODE
LOW…upportlib/phusion_passenger/standalone/config_utils.rb192 def remerge_all_config_without_defaults(global_options, local_options, env_options, parsed_options)CODE
LOW…upportlib/phusion_passenger/standalone/config_utils.rb280 def determine_cli_switch_type(spec_item)CODE
LOW…upportlib/phusion_passenger/standalone/config_utils.rb294 def format_cli_switch_description(spec_item)CODE
LOW…pportlib/phusion_passenger/standalone/start_command.rb192 def check_nginx_option_used_with_builtin_engine(option, argument)CODE
LOW…pportlib/phusion_passenger/standalone/start_command.rb518 def trapsafe_shutdown_and_cleanup(error_occurred)CODE
LOW…_supportlib/phusion_passenger/standalone/app_finder.rb175 def determine_mode_and_execution_root(options, local_options)CODE
LOW…uby_supportlib/phusion_passenger/standalone/command.rb57 def load_and_merge_global_options(options)CODE
LOW…ion_passenger/standalone/start_command/nginx_engine.rb229 def nginx_listen_address_with_ssl_port(options = @options)CODE
LOW…ion_passenger/standalone/start_command/nginx_engine.rb284 def include_passenger_internal_template(name, indent = 0, fix_existing_indenting = true, the_binding = get_bindiCODE
LOW…n_passenger/standalone/start_command/builtin_engine.rb242 def add_enterprise_flag_param(command, option_name, param_name)CODE
LOW…ortlib/phusion_passenger/config/reopen_logs_command.rb100 def perform_reinherit_logs_on(name, socket_name)CODE
LOW…tlib/phusion_passenger/config/nginx_engine_compiler.rb393 def run_command_yield_activity(command)CODE
LOW…portlib/phusion_passenger/config/installation_utils.rb233 def mkdir_p_preserve_parent_owner(path)CODE
LOWsrc/ruby_supportlib/phusion_passenger/config/utils.rb98 def complain_that_multiple_passenger_instances_are_running(instances)CODE
LOWsrc/ruby_supportlib/phusion_passenger/config/utils.rb108 def list_all_passenger_instances(instances, print_preamble = true)CODE
LOWsrc/ruby_supportlib/phusion_passenger/config/utils.rb124 def try_performing_ro_admin_basic_auth(request, instance)CODE
LOWsrc/ruby_supportlib/phusion_passenger/config/utils.rb133 def try_performing_full_admin_basic_auth(request, instance)CODE
LOW…lib/phusion_passenger/config/download_agent_command.rb256 def real_download_support_file(site, name, output)CODE
LOW…sion_passenger/config/download_nginx_engine_command.rb260 def real_download_support_file(site, name, output)CODE
LOW…ortlib/phusion_passenger/config/restart_app_command.rb150 def select_app_group_name_exact(name)CODE
LOW…ortlib/phusion_passenger/config/restart_app_command.rb202 def select_app_group_name_by_app_root_regex(app_root)CODE
LOWsrc/ruby_supportlib/phusion_passenger/utils/download.rb174 def remove_curl_output_prefix(line)CODE
LOW…pportlib/phusion_passenger/admin_tools/memory_stats.rb284 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
LOWsrc/helper-scripts/node-loader.js167function passengerToWinstonLogLevel(passengerLogLevel) {CODE
1 more matches not shown…
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 Vocabulary10 hits · 27 pts
SeverityFileLineSnippetContext
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh331# Sed substitution that helps us do robust quoting. It backslashifiesCOMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh5227# Sed substitution that helps us do robust quoting. It backslashifiesCOMMENT
MEDIUMsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh9167 # This code stresses the "libraries are programs" paradigm to itsCOMMENT
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.sh397# Sed substitution that helps us do robust quoting. It backslashifiesCOMMENT
MEDIUMsrc/cxx_supportlib/vendor-modified/libev/ltmain.sh3852# Sed substitution that helps us do robust quoting. It backslashifiesCOMMENT
MEDIUMsrc/cxx_supportlib/vendor-modified/libev/ltmain.sh7681 # 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
LOWsrc/agent/Core/ApplicationPool/Process.h270 // Step 2: allocate the real buffer.COMMENT
LOWsrc/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
LOWsrc/agent/Core/ApplicationPool/Process.h270 // Step 2: allocate the real buffer.COMMENT
LOWsrc/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
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.rb102 # Follows the logic of src/cxx_supportlib/ResourceLocator.h, so don't forget to modify that too.COMMENT
LOWsrc/ruby_supportlib/phusion_passenger.rb102 # 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.rb96 # 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
Redundant / Tautological Comments8 hits · 8 pts
SeverityFileLineSnippetContext
LOWsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh623# Set func_arith_result to the result of evaluating TERMs.COMMENT
LOWsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh647# Set func_basename_result to FILE with everything up to and includingCOMMENT
LOWsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh813# Set func_len_result to the length of STRING. STRING may notCOMMENT
LOWsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh1031# Set func_relative_path_result to the relative path from SRCDIR to DSTDIR.COMMENT
LOWsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh3911 # Check if any of the arguments is a wrapper script.COMMENT
LOWsrc/cxx_supportlib/vendor-copy/libuv/ltmain.sh9868 # Loop over the list of objects to be linked.COMMENT
LOWsrc/cxx_supportlib/vendor-modified/libev/ltmain.sh2593 # Check if any of the arguments is a wrapper script.COMMENT
LOWsrc/cxx_supportlib/vendor-modified/libev/ltmain.sh8382 # Loop over the list of objects to be linked.COMMENT
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.rb35# Usage:COMMENT
LOW…by_supportlib/phusion_passenger/rack/out_of_band_gc.rb33 # 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