Repository Analysis

drogonframework/drogon

Drogon: A C++14/17/20 based HTTP web application framework running on Linux/macOS/Unix/Windows

1.7 Likely human-written View on GitHub
1.7
Adjusted Score
1.7
Raw Score
100%
Time Factor
2026-05-23
Last Push
13,929
Stars
C++
Language
44,395
Lines of Code
265
Files
75
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 0MEDIUM 0LOW 75

Pattern Findings

75 matches across 2 categories. Click a row to expand file-level details.

Over-Commented Block74 hits · 74 pts
SeverityFileLineSnippet
LOWconfig.example.json41 //name: Name of the client,'default' by default
LOWconfig.example.json61 //means use the default character set.
LOWconfig.example.json81 //host: Server IP, 127.0.0.1 by default
LOWconfig.example.json101 ],*/
LOWconfig.example.json161 "mime": {
LOWconfig.example.json201 //dynamic_views_output_path: Default by an empty string which means the output path of source
LOWconfig.example.json221 "use_spdlog": false,
LOWconfig.example.json241 //handle_sig_term: True by default
LOWconfig.example.json261 // "get",
LOWconfig.example.json281 //keepalive_requests: Set the maximum number of requests that can be served through one keep-alive connection.
LOWconfig.example.json301 //If the body size of a HTTP request exceeds this limit, the body is stored to a temporary file for processing.
LOWconfig.example.yaml1# This is a YAML format configuration file
LOWconfig.example.yaml21# https: true
LOWconfig.example.yaml41# port: 5432
LOWconfig.example.yaml61# # the wiki for more details.
LOWconfig.example.yaml81# # any synchronous interface of it.
LOWconfig.example.yaml101 # session_max_age: The max age of the session cookie, -1 by default
LOWconfig.example.yaml141 # note: This option only adds MIME to the sever. `file_types` above have to be set for the server to serve them.
LOWconfig.example.yaml161 is_case_sensitive: false
LOWconfig.example.yaml181 # files is the path where the csp files locate. If the path isn't prefixed with /, it is relative
LOWconfig.example.yaml201 # log_path: ./
LOWconfig.example.yaml221 relaunch_on_error: false
LOWconfig.example.yaml241 # idle_connection_timeout: Defaults to 60 seconds, the lifetime
LOWconfig.example.yaml261 # gzip_static: If it is set to true, when the client requests a static file, drogon first finds the compressed
LOWconfig.example.yaml281 # enabled_compressed_request: Defaults to false. If true the server will automatically decompress compressed request b
LOWthird_party/mman-win32/mman.h21#if defined(MMAN_LIBRARY)
LOWthird_party/mman-win32/mman.h41#ifdef __cplusplus
LOWexamples/redis_cache/config.json41 //enable_session: False by default
LOWexamples/redis_cache/config.json121 //it is relative path of document_root path
LOWexamples/redis_cache/config.json141 "log": {
LOWexamples/redis_cache/config.json161 //uses sendfile() system-call to send static files to clients;
LOWexamples/redis_cache/config.json181 "enable_server_header": true,
LOWexamples/redis_cache/config.json201 //client_max_body_size: Set the maximum body size of HTTP requests received by drogon. The default value is "1M"
LOWexamples/simple_reverse_proxy/config.json81 //"log_path": "./",
LOWexamples/simple_reverse_proxy/config.json101 //use_gzip: True by default, use gzip to compress the response body's content;
LOWexamples/simple_reverse_proxy/config.json121 "keepalive_requests": 0,
LOWlib/inc/drogon/drogon_test.h21{
LOWlib/inc/drogon/HttpAppFramework.h21#include <drogon/CacheMap.h>
LOWlib/inc/drogon/HttpAppFramework.h41#include <string>
LOWlib/inc/drogon/CacheMap.h21#include <map>
LOWlib/inc/drogon/drogon.h21
LOWlib/inc/drogon/HttpClient.h21#include <drogon/HttpRequest.h>
LOWlib/inc/drogon/HttpRequest.h21#include <drogon/Session.h>
LOWlib/inc/drogon/HttpRequest.h481 * @param flag
LOWlib/inc/drogon/HttpBinder.h21#include <drogon/DrClassMap.h>
LOWlib/inc/drogon/utils/Utilities.h21#include <trantor/utils/LogStream.h>
LOWlib/tests/integration_test/server/PipeliningTest.h1#pragma once
LOWlib/src/HttpRequestImpl.h21#include <drogon/HttpRequest.h>
LOWorm_lib/inc/drogon/orm/Field.h21#include <string_view>
LOWorm_lib/inc/drogon/orm/Field.h81 // }
LOWorm_lib/inc/drogon/orm/SqlBinder.h21#include <drogon/orm/ResultIterator.h>
LOWorm_lib/inc/drogon/orm/SqlBinder.h41#include <winsock2.h>
LOWorm_lib/inc/drogon/orm/Exception.h681// const char sqlstate[] = nullptr) : sql_error(err, Q, sqlstate) {}
LOWorm_lib/inc/drogon/orm/Exception.h701// };
LOWorm_lib/inc/drogon/orm/DbClient.h21#include <drogon/orm/ResultIterator.h>
LOWorm_lib/tests/postgresql/Tag.h1/**
LOWorm_lib/tests/postgresql/BlogTag.h1/**
LOWorm_lib/tests/postgresql/Users.h1/**
LOWorm_lib/tests/postgresql/Blog.h1/**
LOWorm_lib/tests/postgresql/Category.h1/**
14 more matches not shown…
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippet
LOWformat.sh6# Check if clang-format version is 17 to avoid inconsistent formatting