Repository Analysis

PowerDNS/pdns

PowerDNS Authoritative, PowerDNS Recursor, dnsdist

8.7 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of PowerDNS/pdns, a C++ project with 4,442 GitHub stars. SynthScan v2.0 examined 221,499 lines of code across 654 source files, recording 873 pattern matches distributed across 17 syntactic categories. The overall adjusted score of 8.7 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).

8.7
Adjusted Score
8.7
Raw Score
100%
Time Factor
2026-08-08
Last Push
4.4K
Stars
C++
Language
221.5K
Lines of Code
654
Files
873
Pattern Hits
2026-08-09
Scan Date
0.33
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 13HIGH 205MEDIUM 71LOW 584

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

Cross-Language Confusion144 hits · 860 pts
SeverityFileLineSnippetContext
HIGHtasks.py1197 c.run(f". {repo_home}/.venv/bin/activate && meson compile -C {build_dir} -j{get_build_concurrency(4)} --verbose")CODE
HIGHtasks.py1202 c.run(f". {repo_home}/.venv/bin/activate && meson compile -C {build_dir} -j{get_build_concurrency(4)} --verbose")CODE
HIGHtasks.py1649RUN apt update && apt install -y curl libluajit-5.1-dev adduserCODE
HIGHtasks.py1650RUN install -d /etc/apt/keyrings && curl -L {gpgkey_url} -o /etc/apt/keyrings/{product_name}-pub.ascCODE
HIGHtasks.py1653RUN apt-get update && apt-get install -y {package_name}={package_version}*CODE
HIGHtasks.py277 c.run("make && sudo make install")CODE
HIGHtasks.py902 c.run(f". {repo_home}/.venv/bin/activate && meson setup {dist_dir} && meson dist -C {dist_dir} --no-tests")CODE
HIGHtasks.py1077 c.run(f". {repo_home}/.venv/bin/activate && meson setup {dist_dir} && meson dist -C {dist_dir} --no-tests")CODE
HIGHtasks.py1242 res = c.run(f". {repo_home}/.venv/bin/activate && meson test --verbose -t {suite_timeout_sec}", warn=True)CODE
HIGHtasks.py1263 c.sudo(f"bash -c 'source {repo_home}/.venv/bin/activate && meson install'")CODE
HIGHtasks.py1268 c.sudo(f"bash -c 'source {repo_home}/.venv/bin/activate && meson install'")CODE
HIGHtasks.py1536 c.run("sudo apt-get update && sudo apt-get install -y npm")STRING
HIGHtasks.py1537 c.run("sudo mkdir -p /usr/local/lib/node_modules && sudo chmod 777 /usr/local/lib/node_modules")STRING
HIGHregression-tests.dnsdist/test_RulesActions.py269 Advanced: !A && UDP canaryCODE
HIGHregression-tests.dnsdist/test_RulesActions.py293 Advanced: !A && UDPCODE
HIGHregression-tests.dnsdist/test_RulesActions.py331 Advanced: A || UDP: AAAACODE
HIGHregression-tests.dnsdist/test_RulesActions.py360 Advanced: A || UDP: ACODE
HIGHregression-tests.dnsdist/test_RulesActions.py1528 return falseCODE
HIGHregression-tests.dnsdist/test_RulesActions.py1533 return falseCODE
HIGHregression-tests.dnsdist/test_RulesActions.py1536 return trueCODE
HIGHregression-tests.dnsdist/test_LuaFFI.py34 return falseCODE
HIGHregression-tests.dnsdist/test_LuaFFI.py41 return falseCODE
HIGHregression-tests.dnsdist/test_LuaFFI.py47 return falseCODE
HIGHregression-tests.dnsdist/test_LuaFFI.py53 return falseCODE
HIGHregression-tests.dnsdist/test_LuaFFI.py56 return falseCODE
HIGHregression-tests.dnsdist/test_LuaFFI.py62 return falseCODE
HIGHregression-tests.dnsdist/test_LuaFFI.py69 return falseCODE
HIGHregression-tests.dnsdist/test_LuaFFI.py75 return falseCODE
HIGHregression-tests.dnsdist/test_LuaFFI.py81 return falseCODE
HIGHregression-tests.dnsdist/test_LuaFFI.py88 return falseCODE
HIGHregression-tests.dnsdist/test_LuaFFI.py95 return falseCODE
HIGHregression-tests.dnsdist/test_LuaFFI.py102 return falseCODE
HIGHregression-tests.dnsdist/test_LuaFFI.py111 return falseCODE
HIGHregression-tests.dnsdist/test_LuaFFI.py114 return trueCODE
HIGHregression-tests.dnsdist/test_LuaFFI.py219 return falseCODE
HIGHregression-tests.dnsdist/test_LuaFFI.py226 return falseCODE
HIGHregression-tests.dnsdist/test_LuaFFI.py232 return falseCODE
HIGHregression-tests.dnsdist/test_LuaFFI.py238 return falseCODE
HIGHregression-tests.dnsdist/test_LuaFFI.py241 return falseCODE
HIGHregression-tests.dnsdist/test_LuaFFI.py247 return falseCODE
HIGHregression-tests.dnsdist/test_LuaFFI.py253 return falseCODE
HIGHregression-tests.dnsdist/test_LuaFFI.py259 return falseCODE
HIGHregression-tests.dnsdist/test_LuaFFI.py266 return falseCODE
HIGHregression-tests.dnsdist/test_LuaFFI.py273 return falseCODE
HIGHregression-tests.dnsdist/test_LuaFFI.py276 return trueCODE
HIGHregression-tests.dnsdist/test_LuaFFI.py17 return falseCODE
HIGHregression-tests.dnsdist/test_LuaFFI.py23 return falseCODE
HIGHregression-tests.dnsdist/test_LuaFFI.py202 return falseCODE
HIGHregression-tests.dnsdist/test_LuaFFI.py208 return falseCODE
HIGHregression-tests.dnsdist/test_DynBlocksGroup.py496 return falseCODE
HIGHregression-tests.dnsdist/test_HealthChecks.py263 return falseCODE
HIGHregression-tests.dnsdist/test_HealthChecks.py269 return falseCODE
HIGHregression-tests.dnsdist/test_HealthChecks.py273 return falseCODE
HIGHregression-tests.dnsdist/test_HealthChecks.py278 return falseCODE
HIGHregression-tests.dnsdist/test_HealthChecks.py283 return falseCODE
HIGHregression-tests.dnsdist/test_HealthChecks.py289 return falseCODE
HIGHregression-tests.dnsdist/test_HealthChecks.py293 return falseCODE
HIGHregression-tests.dnsdist/test_HealthChecks.py295 return trueCODE
HIGHregression-tests.dnsdist/test_Yaml.py123 return trueCODE
HIGHregression-tests.dnsdist/test_Yaml.py125 return falseCODE
84 more matches not shown…
Cross-File Repetition61 hits · 305 pts
SeverityFileLineSnippetContext
HIGHregression-tests.auth-py/test_GSSTSIG.py0module-dir={pdns_module_dir} daemon=no socket-dir={confdir} cache-ttl=0 negquery-cache-ttl=0 query-cache-ttl=0 log-dns-qSTRING
HIGHregression-tests.auth-py/authtests.py0module-dir={pdns_module_dir} daemon=no socket-dir={confdir} cache-ttl=0 negquery-cache-ttl=0 query-cache-ttl=0 log-dns-qSTRING
HIGHregression-tests.auth-py/test_AuthSignal.py0module-dir={pdns_module_dir} daemon=no socket-dir={confdir} cache-ttl=0 negquery-cache-ttl=0 query-cache-ttl=0 log-dns-qSTRING
HIGHregression-tests.auth-py/test_SoaEdit.py0private-key-format: v1.2 algorithm: 13 (ecdsap256sha256) privatekey: lt0v0gol3prufm7fddcy0iwn0o/mnemvpa+vyll8y4u=STRING
HIGHregression-tests.auth-py/authtests.py0private-key-format: v1.2 algorithm: 13 (ecdsap256sha256) privatekey: lt0v0gol3prufm7fddcy0iwn0o/mnemvpa+vyll8y4u=STRING
HIGHregression-tests.recursor-dnssec/recursortests.py0private-key-format: v1.2 algorithm: 13 (ecdsap256sha256) privatekey: lt0v0gol3prufm7fddcy0iwn0o/mnemvpa+vyll8y4u=STRING
HIGHregression-tests.auth-py/cookiesoption.py0create edns packet as defined in draft-ietf-dnsop-cookies-09.STRING
HIGHregression-tests.dnsdist/cookiesoption.py0create edns packet as defined in draft-ietf-dnsop-cookies-09.STRING
HIGHregression-tests.recursor-dnssec/cookiesoption.py0create edns packet as defined in draft-ietf-dnsop-cookies-09.STRING
HIGHregression-tests.auth-py/cookiesoption.py0read edns packet as defined in draft-ietf-dnsop-cookies-09. returns: an instance of cookiesoption based on the edns packSTRING
HIGHregression-tests.dnsdist/cookiesoption.py0read edns packet as defined in draft-ietf-dnsop-cookies-09. returns: an instance of cookiesoption based on the edns packSTRING
HIGHregression-tests.recursor-dnssec/cookiesoption.py0read edns packet as defined in draft-ietf-dnsop-cookies-09. returns: an instance of cookiesoption based on the edns packSTRING
HIGHregression-tests.auth-py/test_Protobuf.py0$origin example. @ 3600 in soa {soa} a 3600 in a 192.0.2.42 aaaa 3600 in aaaa 2001:db8::2 tagged 3600 in a 192.0.2.84 taSTRING
HIGHregression-tests.recursor-dnssec/test_Protobuf.py0$origin example. @ 3600 in soa {soa} a 3600 in a 192.0.2.42 aaaa 3600 in aaaa 2001:db8::2 tagged 3600 in a 192.0.2.84 taSTRING
HIGH…ression-tests.recursor-dnssec/test_ProtobufStrategy.py0$origin example. @ 3600 in soa {soa} a 3600 in a 192.0.2.42 aaaa 3600 in aaaa 2001:db8::2 tagged 3600 in a 192.0.2.84 taSTRING
HIGHregression-tests.recursor-dnssec/test_RecDnstap.py0$origin example. @ 3600 in soa {soa} a 3600 in a 192.0.2.42 aaaa 3600 in aaaa 2001:db8::2 tagged 3600 in a 192.0.2.84 taSTRING
HIGHregression-tests.auth-py/test_Protobuf.py0this test makes sure that we correctly export queries and response over protobuf.STRING
HIGHregression-tests.recursor-dnssec/test_Protobuf.py0this test makes sure that we correctly export queries and response over protobuf.STRING
HIGH…ression-tests.recursor-dnssec/test_ProtobufStrategy.py0this test makes sure that we correctly export queries and response over protobuf.STRING
HIGHregression-tests.auth-py/clientsubnetoption.py0class to implement draft-ietf-dnsop-edns-client-subnet (previously known as draft-vandergaast-edns-client-subnet. the coSTRING
HIGHregression-tests.dnsdist/clientsubnetoption.py0class to implement draft-ietf-dnsop-edns-client-subnet (previously known as draft-vandergaast-edns-client-subnet. the coSTRING
HIGHregression-tests.recursor-dnssec/clientsubnetoption.py0class to implement draft-ietf-dnsop-edns-client-subnet (previously known as draft-vandergaast-edns-client-subnet. the coSTRING
HIGHregression-tests.auth-py/clientsubnetoption.py0implementation of draft-vandergaast-edns-client-subnet-01. attributes: family: an integer indicating which address familSTRING
HIGHregression-tests.dnsdist/clientsubnetoption.py0implementation of draft-vandergaast-edns-client-subnet-01. attributes: family: an integer indicating which address familSTRING
HIGHregression-tests.recursor-dnssec/clientsubnetoption.py0implementation of draft-vandergaast-edns-client-subnet-01. attributes: family: an integer indicating which address familSTRING
HIGHregression-tests.auth-py/clientsubnetoption.py0calculates the relevant ip address based on the network mask. calculates the relevant bits of the ip address based on neSTRING
HIGHregression-tests.dnsdist/clientsubnetoption.py0calculates the relevant ip address based on the network mask. calculates the relevant bits of the ip address based on neSTRING
HIGHregression-tests.recursor-dnssec/clientsubnetoption.py0calculates the relevant ip address based on the network mask. calculates the relevant bits of the ip address based on neSTRING
HIGHregression-tests.auth-py/clientsubnetoption.py0" determines whether this instance is using the draft option codeSTRING
HIGHregression-tests.dnsdist/clientsubnetoption.py0" determines whether this instance is using the draft option codeSTRING
HIGHregression-tests.recursor-dnssec/clientsubnetoption.py0" determines whether this instance is using the draft option codeSTRING
HIGHregression-tests.auth-py/clientsubnetoption.py0create edns packet as defined in draft-vandergaast-edns-client-subnet-01.STRING
HIGHregression-tests.dnsdist/clientsubnetoption.py0create edns packet as defined in draft-vandergaast-edns-client-subnet-01.STRING
HIGHregression-tests.recursor-dnssec/clientsubnetoption.py0create edns packet as defined in draft-vandergaast-edns-client-subnet-01.STRING
HIGHregression-tests.auth-py/clientsubnetoption.py0read edns packet as defined in draft-vandergaast-edns-client-subnet-01. returns: an instance of clientsubnetoption basedSTRING
HIGHregression-tests.dnsdist/clientsubnetoption.py0read edns packet as defined in draft-vandergaast-edns-client-subnet-01. returns: an instance of clientsubnetoption basedSTRING
HIGHregression-tests.recursor-dnssec/clientsubnetoption.py0read edns packet as defined in draft-vandergaast-edns-client-subnet-01. returns: an instance of clientsubnetoption basedSTRING
HIGHregression-tests.auth-py/clientsubnetoption.py0rich comparison method for equality. two clientsubnetoptions are equal if their relevant ip bits, mask, and family are iSTRING
HIGHregression-tests.dnsdist/clientsubnetoption.py0rich comparison method for equality. two clientsubnetoptions are equal if their relevant ip bits, mask, and family are iSTRING
HIGHregression-tests.recursor-dnssec/clientsubnetoption.py0rich comparison method for equality. two clientsubnetoptions are equal if their relevant ip bits, mask, and family are iSTRING
HIGHregression-tests.auth-py/clientsubnetoption.py0rich comparison method for inequality. see notes for __eq__() returns: booleanSTRING
HIGHregression-tests.dnsdist/clientsubnetoption.py0rich comparison method for inequality. see notes for __eq__() returns: booleanSTRING
HIGHregression-tests.recursor-dnssec/clientsubnetoption.py0rich comparison method for inequality. see notes for __eq__() returns: booleanSTRING
HIGHregression-tests.dnsdist/paddingoption.py0read edns packet as defined in rfc7830. returns: an instance of paddingoption based on the edns packetSTRING
HIGHregression-tests.common/paddingoption.py0read edns packet as defined in rfc7830. returns: an instance of paddingoption based on the edns packetSTRING
HIGHregression-tests.recursor-dnssec/paddingoption.py0read edns packet as defined in rfc7830. returns: an instance of paddingoption based on the edns packetSTRING
HIGHpdns/recursordist/docs/depfile.py0depfile is a sphinx extension that writes a dependency file for an external build systemSTRING
HIGHpdns/dnsdistdist/docs/depfile.py0depfile is a sphinx extension that writes a dependency file for an external build systemSTRING
HIGHdocs/depfile.py0depfile is a sphinx extension that writes a dependency file for an external build systemSTRING
HIGHregression-tests.recursor-dnssec/test_Simple.py0$origin authzone.example. @ 3600 in soa {soa} @ 3600 in a 192.0.2.88STRING
HIGHregression-tests.recursor-dnssec/test_SimpleCookies.py0$origin authzone.example. @ 3600 in soa {soa} @ 3600 in a 192.0.2.88STRING
HIGHregression-tests.recursor-dnssec/test_NamedInterface.py0$origin authzone.example. @ 3600 in soa {soa} @ 3600 in a 192.0.2.88STRING
HIGHregression-tests.recursor-dnssec/test_ProxyByTable.py0$origin authzone.example. @ 3600 in soa {soa} @ 3600 in a 192.0.2.88STRING
HIGHregression-tests.recursor-dnssec/test_SimpleYAML.py0$origin authzone.example. @ 3600 in soa {soa} @ 3600 in a 192.0.2.88STRING
HIGHregression-tests.recursor-dnssec/test_AnyBind.py0$origin authzone.example. @ 3600 in soa {soa} @ 3600 in a 192.0.2.88STRING
HIGHregression-tests.recursor-dnssec/test_KeepOpenTCP.py0$origin authzone.example. @ 3600 in soa {soa} @ 3600 in a 192.0.2.88STRING
HIGHregression-tests.recursor-dnssec/test_SimpleTCP.py0$origin authzone.example. @ 3600 in soa {soa} @ 3600 in a 192.0.2.88STRING
HIGHmodules/remotebackend/unittest_post.py0finish one request by instantiating requesthandlerclass.STRING
HIGHmodules/remotebackend/unittest_http.py0finish one request by instantiating requesthandlerclass.STRING
HIGHmodules/remotebackend/unittest_json.py0finish one request by instantiating requesthandlerclass.STRING
1 more matches not shown…
Hyper-Verbose Identifiers229 hits · 179 pts
SeverityFileLineSnippetContext
LOWtasks.py1206def ci_auth_install_remotebackend_test_deps(c):CODE
LOWtasks.py172def install_lld_linker_if_needed(c):CODE
LOWtasks.py272def build_and_install_libfaketime(c):CODE
LOWtasks.py303def install_auth_test_deps_only(c, backend):CODE
LOWtasks.py342def install_rec_bulk_ubicloud_deps(c): # FIXME: rename this, we do way more than apt-getCODE
LOWtasks.py373def install_dnsdist_test_deps(c, skipXDP=False): # FIXME: rename this, we do way more than apt-getCODE
LOWtasks.py415def install_dnsdist_build_deps(c, skipXDP=False):CODE
LOWtasks.py604def get_base_configure_cmd_meson(CODE
LOWtasks.py625def ci_auth_configure_autotools(c):CODE
LOWtasks.py1051def ci_dnsdist_configure_meson(c, features, additional_flags, additional_ld_flags, build_dir, benchmark=False):CODE
LOWtasks.py1106def dev_dnsdist_configure_meson(CODE
LOWtasks.py1239def ci_dnsdist_run_unit_tests(c):CODE
LOWtasks.py1592def ci_build_and_install_quiche(c, repo):STRING
LOWregression-tests.auth-py/test_ResolveAcrossZones.py77 def impl_cname_and_target_test(self, qname, target, target_ip):STRING
LOWregression-tests.dnsdist/test_OTLP.py15class OTLPRequestHandler(http.server.BaseHTTPRequestHandler):CODE
LOWregression-tests.dnsdist/test_Advanced.py299 function answerBasedOnLocalAddress(dq)CODE
LOWregression-tests.dnsdist/test_Async.py548 function passResponseToAsyncFilter(dr)CODE
LOWregression-tests.dnsdist/test_Async.py683 function passResponseToAsyncFilter(dr)CODE
LOWregression-tests.dnsdist/test_Dnstap.py526def fstrm_get_control_frame_type(data):STRING
LOWregression-tests.dnsdist/test_Dnstap.py531def fstrm_make_control_frame_reply(cft, data):STRING
LOWregression-tests.dnsdist/test_Dnstap.py544def fstrm_read_and_dispatch_control_frame(conn):STRING
LOWregression-tests.dnsdist/test_Dnstap.py557def fstrm_handle_bidir_connection(conn, on_data, exit_early=False):STRING
LOWregression-tests.dnsdist/test_HealthChecks.py259 function myHealthCheckValidationFunction(dr)CODE
LOWregression-tests.dnsdist/test_EdnsClientSubnet.py787 function overrideECSPrefixLengthViaLua(dq)CODE
LOWregression-tests.dnsdist/test_EDNSOptions.py64 function testEDNSOptionsInResponses(dr)CODE
LOWregression-tests.dnsdist/test_DOQ.py271 function answerBasedOnLocalAddress(dq)CODE
LOWregression-tests.dnsdist/test_ProxyProtocol.py569 function answerBasedOnForwardedDest(dq)CODE
LOWregression-tests.dnsdist/test_ProxyProtocol.py576 function answerBasedOnForwardedSrc(dq)CODE
LOWregression-tests.dnsdist/test_DOH3.py405 function answerBasedOnLocalAddress(dq)CODE
LOWpdns/keyroller/pdns-keyroller-ctl.py15def display_keyrollerdomain_infos(zone, api):CODE
LOWpdns/recursordist/html/js/moment.js537 function replaceLongDateFormatTokens(input) {CODE
LOWpdns/recursordist/html/js/moment.js2811 function configFromStringAndFormat(config) {CODE
LOWpdns/recursordist/html/js/moment.js3484 function isDaylightSavingTimeShifted() {CODE
LOWpdns/recursordist/html/js/moment.js3610 function positiveMomentsDifference(base, other) {CODE
LOWpdns/recursordist/html/js/moment.js5454 function getSetRelativeTimeRounding(roundingFunction) {CODE
LOWpdns/recursordist/html/js/moment.js5466 function getSetRelativeTimeThreshold(threshold, limit) {CODE
LOWpdns/recursordist/html/js/handlebars-v4.7.8.js27(function webpackUniversalModuleDefinition(root, factory) {CODE
LOWpdns/recursordist/html/js/handlebars-v4.7.8.js362 resetLoggedPropertyAccesses: function resetLoggedPropertyAccesses() {CODE
LOWpdns/recursordist/html/js/handlebars-v4.7.8.js1939 function registerDefaultDecorators(instance) {CODE
LOWpdns/recursordist/html/js/handlebars-v4.7.8.js2094 function logUnexpecedPropertyAccessOnce(propertyName) {CODE
LOWpdns/recursordist/html/js/handlebars-v4.7.8.js2532 function wrapHelpersToPassLookupProperty(mergedHelpers, container) {CODE
LOWpdns/recursordist/html/js/handlebars-v4.7.8.js4961 lookupPropertyFunctionVarDeclaration: function lookupPropertyFunctionVarDeclaration() {CODE
LOWpdns/recursordist/rec-rust-lib/generate.py305def gen_cxx_defineoldsettings(file, entries):CODE
LOWpdns/recursordist/rec-rust-lib/generate.py328def gen_cxx_oldstylesettingstobridgestruct(file, entries):CODE
LOWpdns/recursordist/rec-rust-lib/generate.py364def gen_cxx_oldkvtobridgestruct(file, entries):CODE
LOWpdns/recursordist/rec-rust-lib/generate.py419def gen_cxx_brigestructtoldstylesettings(file, entries):CODE
LOWpdns/recursordist/rec-rust-lib/generate.py464def gen_rust_vec_default_functions(name, typeName, defvalue):CODE
LOWpdns/recursordist/rec-rust-lib/generate.py490def gen_rust_stringvec_default_functions(entry, name):CODE
LOWpdns/recursordist/rec-rust-lib/generate.py512def gen_rust_default_functions(entry, name, rust_type):CODE
LOWpdns/recursordist/rec-rust-lib/generate.py585def write_rust_default_trait_impl(file, section):CODE
LOWpdns/recursordist/rec-rust-lib/generate.py620def write_rust_merge_trait_impl(file, section, entries):CODE
LOW…nsdistdist/dnsdist-settings-documentation-generator.py31def get_definitions_from_file(def_file):CODE
LOW…nsdistdist/dnsdist-settings-documentation-generator.py154def get_temporary_file_for_generated_content(directory):CODE
LOW…nsdistdist/dnsdist-settings-documentation-generator.py202def process_selectors_or_actions(def_file, entry_type):STRING
LOWpdns/dnsdistdist/dnsdist-rules-generator.py42def get_definitions_from_file(def_file):CODE
LOWpdns/dnsdistdist/dnsdist-rules-generator.py99def get_cpp_parameters_definition(parameters, lua_interface):CODE
LOWpdns/dnsdistdist/dnsdist-rules-generator.py153def get_temporary_file_for_generated_code(dest_dir):CODE
LOWpdns/dnsdistdist/dnsdist-rules-generator.py164def generate_actions_factory_header(definitions, build_dir, response=False):CODE
LOWpdns/dnsdistdist/dnsdist-rules-generator.py212def generate_lua_actions_bindings(definitions, build_dir, response=False):CODE
LOWpdns/dnsdistdist/dnsdist-rules-generator.py239def generate_selectors_factory_header(definitions, build_dir):CODE
169 more matches not shown…
Excessive Try-Catch Wrapping117 hits · 138 pts
SeverityFileLineSnippetContext
MEDIUMregression-tests.auth-py/test_XFRIncomplete.py155 print("Error binding in the IXFR listener: %s" % str(e))CODE
MEDIUMregression-tests.auth-py/test_XFRIncomplete.py168 print("Error in IXFR socket: %s" % str(e))CODE
LOWregression-tests.auth-py/authtests.py272 except Exception as err:CODE
MEDIUMregression-tests.auth-py/authtests.py274 print(f"Error occurred: {try_number} {err}", file=sys.stderr)CODE
MEDIUMregression-tests.auth-py/test_Protobuf.py40 print("Error binding in the protobuf listener: %s" % str(e))CODE
MEDIUMregression-tests.auth-py/test_Protobuf.py52 print("Error in protobuf socket: %s" % str(e))CODE
LOWregression-tests.auth-py/clientsubnetoption.py86 except Exception:CODE
LOWregression-tests.auth-py/test_ProxyProtocol.py132 except Exception:STRING
MEDIUMregression-tests.auth-py/test_ProxyProtocol.py129def generateAuthZone(cls, confdir, zonename, zonecontent):CODE
MEDIUMregression-tests.auth-py/test_Carbon.py44 print("Error binding in the Carbon responder: %s" % str(e))STRING
MEDIUMregression-tests.dnsdist/test_OOOR.py39 print("Error in the thread handling reverse OOOR connections: %s" % (err))CODE
MEDIUMregression-tests.dnsdist/test_OOOR.py52 print("Error binding in the TCP responder: %s" % str(e))CODE
MEDIUMregression-tests.dnsdist/test_OOOR.py111 print("Error in the thread handling reverse OOOR connections: %s" % (err))CODE
MEDIUMregression-tests.dnsdist/test_OOOR.py124 print("Error binding in the TCP responder: %s" % str(e))CODE
LOWregression-tests.dnsdist/test_TCPLimits.py59 except Exception:STRING
LOWregression-tests.dnsdist/test_TCPLimits.py72 except Exception:STRING
LOWregression-tests.dnsdist/test_TCPLimits.py100 except Exception:STRING
LOWregression-tests.dnsdist/test_TCPLimits.py132 except Exception as e:STRING
LOWregression-tests.dnsdist/test_TCPLimits.py181 except Exception:STRING
LOWregression-tests.dnsdist/test_TCPLimits.py190 except Exception:STRING
LOWregression-tests.dnsdist/test_TCPLimits.py203 except Exception:STRING
LOWregression-tests.dnsdist/test_TCPLimits.py444 except Exception:STRING
MEDIUMregression-tests.dnsdist/test_Async.py26 print("Error binding in the Asynchronous responder: %s" % str(e))CODE
LOWregression-tests.dnsdist/test_TCPKeepAlive.py68 except Exception:STRING
LOWregression-tests.dnsdist/test_TCPKeepAlive.py103 except Exception:STRING
LOWregression-tests.dnsdist/test_TCPKeepAlive.py133 except Exception:STRING
LOWregression-tests.dnsdist/test_TCPKeepAlive.py157 except Exception:STRING
LOWregression-tests.dnsdist/test_TCPKeepAlive.py181 except Exception:STRING
LOWregression-tests.dnsdist/test_TCPKeepAlive.py204 except Exception:STRING
LOWregression-tests.dnsdist/test_TCPKeepAlive.py240 except Exception:STRING
LOWregression-tests.dnsdist/test_TCPKeepAlive.py299 except Exception:STRING
MEDIUMregression-tests.dnsdist/test_Dnstap.py166 print("Error binding in the protbuf listener: %s" % str(e))STRING
MEDIUMregression-tests.dnsdist/test_Dnstap.py365 print("Error binding in the protbuf listener: %s" % str(e))STRING
MEDIUMregression-tests.dnsdist/test_Dnstap.py621 print("Error binding in the framestream listener: %s" % str(e))STRING
MEDIUMregression-tests.dnsdist/test_Dnstap.py739 print("Error binding in the framestream listener: %s" % str(e))STRING
MEDIUMregression-tests.dnsdist/test_Dnstap.py826 print("Error binding in the framestream listener: %s" % str(e))STRING
MEDIUMregression-tests.dnsdist/test_Dnstap.py920 print("Error binding in the framestream listener: %s" % str(e))STRING
MEDIUMregression-tests.dnsdist/test_Dnstap.py995 print("Error binding in the framestream listener: %s" % str(e))STRING
LOWregression-tests.dnsdist/test_BindFatal.py28 except Exception:CODE
MEDIUMregression-tests.dnsdist/proxyprotocolutils.py17 print("Error binding in the Proxy Protocol UDP responder: %s" % str(e))CODE
MEDIUMregression-tests.dnsdist/proxyprotocolutils.py66 print("Error binding in the TCP responder: %s" % str(e))CODE
LOWregression-tests.dnsdist/test_DOH.py416 except Exception:STRING
LOWregression-tests.dnsdist/test_DOH.py1950 except Exception:STRING
LOWregression-tests.dnsdist/test_DOH.py1967 except Exception:STRING
LOWregression-tests.dnsdist/test_DOH.py2160 except Exception:STRING
LOWregression-tests.dnsdist/dnsdisttests.py139 except Exception as err:STRING
MEDIUMregression-tests.dnsdist/dnsdisttests.py141 print(f"Error occurred: {try_number} {err}", file=sys.stderr)STRING
LOWregression-tests.dnsdist/dnsdisttests.py441 except Exception as err:STRING
MEDIUMregression-tests.dnsdist/dnsdisttests.py443 print(f"Error while reading query size in TCP responder thread {err=}, {type(err)=}")STRING
MEDIUMregression-tests.dnsdist/dnsdisttests.py533 print("Error binding in the TCP responder: %s" % str(e))STRING
LOWregression-tests.dnsdist/dnsdisttests.py593 except Exception as err:STRING
LOWregression-tests.dnsdist/dnsdisttests.py634 except Exception as err:STRING
MEDIUMregression-tests.dnsdist/dnsdisttests.py725 print("Error binding in the TCP responder: %s" % str(e))STRING
MEDIUMregression-tests.dnsdist/test_Protobuf.py32 print("Error binding in the protbuf listener: %s" % str(e))CODE
LOWregression-tests.dnsdist/clientsubnetoption.py86 except Exception:CODE
LOWregression-tests.dnsdist/test_TLS.py481 except Exception:STRING
LOWregression-tests.dnsdist/test_TLS.py498 except Exception:STRING
MEDIUMregression-tests.dnsdist/test_ProxyProtocol.py65 print("Error binding in the Mock TCP reverse proxy: %s" % str(e))CODE
LOWregression-tests.dnsdist/test_ProxyProtocol.py136 except Exception:CODE
LOWregression-tests.dnsdist/test_ProxyProtocol.py627 except Exception:STRING
57 more matches not shown…
Over-Commented Block121 hits · 120 pts
SeverityFileLineSnippetContext
LOWregression-tests.auth-py/test_LuaRecords.py1441 self.assertRcodeEqual(res, dns.rcode.NOERROR)COMMENT
LOWregression-tests.auth-py/clientsubnetoption.py1#!/usr/bin/env pythonCOMMENT
LOWregression-tests.dnsdist/clientsubnetoption.py1#!/usr/bin/env pythonCOMMENT
LOWregression-tests.dnsdist/test_ProxyProtocol.py501 # in some cases existing (established before this test) connections to the backend might stillCOMMENT
LOWext/ipcrypt2/ipcrypt2.c41# include <ws2tcpip.h>COMMENT
LOWext/ipcrypt2/ipcrypt2.c61 defined(__DragonFly__)) || \COMMENT
LOWext/ipcrypt2/ipcrypt2.c201# ifdef __clang__COMMENT
LOWext/ipcrypt2/ipcrypt2.c221# include <smmintrin.h>COMMENT
LOWext/ipcrypt2/ipcrypt2.c1501COMMENT
LOWext/ipcrypt2/include/ipcrypt2.h1#ifndef ipcrypt2_HCOMMENT
LOWext/protozero/include/protozero/pbf_reader.hpp21#include "exception.hpp"COMMENT
LOWext/protozero/include/protozero/config.hpp21#if __has_include(<endian.h>)COMMENT
LOWext/protozero/include/protozero/config.hpp41# if (__BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__)COMMENT
LOWext/protozero/include/protozero/config.hpp61// Wrapper for assert() used for testingCOMMENT
LOWext/protozero/include/protozero/version.hpp21COMMENT
LOWext/protozero/include/protozero/basic_pbf_writer.hpp21#include "data_view.hpp"COMMENT
LOWext/protozero/include/protozero/basic_pbf_writer.hpp61 // A pointer to a buffer holding the data already written to the PBFCOMMENT
LOWext/arc4random/bsd-getentropy.c21#ifndef SSH_RANDOM_DEVCOMMENT
LOWext/arc4random/arc4random.c21COMMENT
LOWext/arc4random/arc4random.c61#define minimum(a, b) ((a) < (b) ? (a) : (b))COMMENT
LOWext/arc4random/includes.h1#pragma onceCOMMENT
LOWext/luawrapper/include/LuaContext.hpp21(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;COMMENT
LOWext/luawrapper/include/LuaContext.hpp41#include <random>COMMENT
LOWext/luawrapper/include/LuaContext.hpp61#endif /* C++17 */COMMENT
LOWext/probds/murmur3.h1#pragma onceCOMMENT
LOWext/probds/murmur3.h41COMMENT
LOWext/yahttp/yahttp/yahttp.hpp1#include <map>COMMENT
LOWext/yahttp/yahttp/reqresp.hpp1#if __cplusplus >= 201103LCOMMENT
LOWext/yahttp/yahttp/reqresp.hpp21#include <algorithm>COMMENT
LOWext/yahttp/yahttp/router.hpp1#pragma onceCOMMENT
LOWpdns/ixfrdist.example.yml1# Listen addresses. ixfrdist will listen on both UDP and TCP.COMMENT
LOWpdns/ixfrdist.example.yml21# - '::1'COMMENT
LOWpdns/ixfrdist.example.yml41#COMMENT
LOWpdns/ixfrdist.example.yml61#COMMENT
LOWpdns/ixfrdist.example.yml81#COMMENT
LOWpdns/ixfrdist.example.yml101# You can optionally cap the refresh time of the SOA using 'max-soa-refresh' (seconds)COMMENT
LOWpdns/recursordist/metrics_table.py1# From this table all metrics related files are generated by the metrics.py script:COMMENT
LOWpdns/recursordist/ext/arc4random/bsd-getentropy.c21#ifndef SSH_RANDOM_DEVCOMMENT
LOWpdns/recursordist/ext/arc4random/arc4random.c21COMMENT
LOWpdns/recursordist/ext/arc4random/arc4random.c61#define minimum(a, b) ((a) < (b) ? (a) : (b))COMMENT
LOWpdns/recursordist/ext/arc4random/includes.h1#pragma onceCOMMENT
LOWpdns/recursordist/ext/probds/murmur3.h1#pragma onceCOMMENT
LOWpdns/recursordist/ext/probds/murmur3.h41COMMENT
LOWpdns/recursordist/ext/yahttp/yahttp/yahttp.hpp1#include <map>COMMENT
LOWpdns/recursordist/ext/yahttp/yahttp/reqresp.hpp1#if __cplusplus >= 201103LCOMMENT
LOWpdns/recursordist/ext/yahttp/yahttp/reqresp.hpp21#include <algorithm>COMMENT
LOWpdns/recursordist/ext/yahttp/yahttp/router.hpp1#pragma onceCOMMENT
LOWpdns/recursordist/html/js/moment.js3361 }COMMENT
LOWpdns/recursordist/html/js/handlebars-v4.7.8.js5041 this.pushSource(['else { ', this.appendToBuffer("''", undefined, true), ' }']);COMMENT
LOWpdns/recursordist/html/js/handlebars-v4.7.8.js5061 //COMMENT
LOWpdns/recursordist/html/js/handlebars-v4.7.8.js5161 // If the `value` is a lambda, replace it on the stack byCOMMENT
LOWpdns/recursordist/html/js/handlebars-v4.7.8.js5221 // [pushString]COMMENT
LOWpdns/recursordist/html/js/handlebars-v4.7.8.js5261 // On stack, before: hash, program, params..., ...COMMENT
LOWpdns/recursordist/html/js/handlebars-v4.7.8.js5321 },COMMENT
LOWpdns/recursordist/docs/requirements.txt721 # -r requirements.inCOMMENT
LOWpdns/recursordist/docs/conf.py1#!/usr/bin/env python3COMMENT
LOWpdns/recursordist/docs/conf.py61# General information about the project.COMMENT
LOWpdns/recursordist/docs/conf.py161# -- Options for HTMLHelp output ------------------------------------------COMMENT
LOWpdns/recursordist/docs/conf.py221COMMENT
LOWpdns/recursordist/rec-rust-lib/generate.py1"""The Python script that takes table.py and generates C++, Rust ahd .rst code."""COMMENT
61 more matches not shown…
Hallucination Indicators13 hits · 115 pts
SeverityFileLineSnippetContext
CRITICALregression-tests.dnsdist/test_OpenTelemetryTracing.py176 traces_data = opentelemetry.proto.trace.v1.trace_pb2.TracesData()CODE
CRITICALregression-tests.dnsdist/test_OpenTelemetryTracing.py655 traces_data = opentelemetry.proto.trace.v1.trace_pb2.TracesData()STRING
CRITICALregression-tests.dnsdist/test_OpenTelemetryTracing.py750 traces_data = opentelemetry.proto.trace.v1.trace_pb2.TracesData()STRING
CRITICALregression-tests.dnsdist/test_OpenTelemetryTracing.py1301 traces_data = opentelemetry.proto.trace.v1.trace_pb2.TracesData()STRING
CRITICALregression-tests.dnsdist/test_OTLP.py39 messages = opentelemetry.proto.collector.trace.v1.trace_service_pb2.ExportTraceServiceRequest()CODE
CRITICALregression-tests.dnsdist/test_OTLP.py43 response = opentelemetry.proto.collector.trace.v1.trace_service_pb2.ExportTraceServiceResponse()CODE
CRITICALpdns/recursordist/html/js/rickshaw.min.js3_styleSeries:function(series){var fill=this.fill?series.color:"none";var stroke=this.stroke?series.color:"none";var stroCODE
CRITICALpdns/recursordist/html/js/rickshaw.js4004 this.graph.stackData.hooks.data.push( {CODE
CRITICALpdns/dnsdistdist/src_js/rickshaw.js4004 this.graph.stackData.hooks.data.push( {CODE
CRITICALpdns/dnsdistdist/src_js/jquery.js7975jQuery.each( jQuery.expr.match.bool.source.match( /\w+/g ), function( _i, name ) {CODE
CRITICALpdns/dnsdistdist/html/js/rickshaw.min.js3_styleSeries:function(series){var fill=this.fill?series.color:"none";var stroke=this.stroke?series.color:"none";var stroCODE
CRITICALpdns/dnsdistdist/html/js/jquery.min.js2!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):fCODE
CRITICALcontrib/ProtobufLogger.py157 otmsg = opentelemetry.proto.trace.v1.trace_pb2.TracesData()CODE
Deep Nesting76 hits · 74 pts
SeverityFileLineSnippetContext
LOWtasks.py479CODE
LOWregression-tests.auth-py/test_XFRIncomplete.py34CODE
LOWregression-tests.auth-py/authtests.py206CODE
LOWregression-tests.auth-py/authtests.py556CODE
LOWregression-tests.auth-py/authtests.py578CODE
LOWregression-tests.auth-py/clientsubnetoption.py70CODE
LOWregression-tests.auth-py/test_ProxyProtocol.py297CODE
LOWregression-tests.auth-py/proxyprotocol.py17CODE
LOWregression-tests.dnsdist/doh3client.py83CODE
LOWregression-tests.dnsdist/test_OOOR.py72CODE
LOWregression-tests.dnsdist/test_Async.py15CODE
LOWregression-tests.dnsdist/test_Async.py302CODE
LOWregression-tests.dnsdist/test_Prometheus.py47CODE
LOWregression-tests.dnsdist/test_Prometheus.py73CODE
LOWregression-tests.dnsdist/dnsdisttests.py168CODE
LOWregression-tests.dnsdist/dnsdisttests.py572CODE
LOWregression-tests.dnsdist/test_Protobuf.py948CODE
LOWregression-tests.dnsdist/clientsubnetoption.py70CODE
LOWregression-tests.dnsdist/test_ProxyProtocol.py47CODE
LOWregression-tests.dnsdist/proxyprotocol.py17CODE
LOWregression-tests.common/proxyprotocol.py17CODE
LOWpdns/keyroller/pdnskeyroller/config.py16CODE
LOWpdns/keyroller/pdnskeyroller/prepublishkeyroll.py86CODE
LOWpdns/keyroller/pdnskeyroller/daemon.py32CODE
LOWpdns/keyroller/pdnskeyroller/daemon.py85CODE
LOWpdns/recursordist/docs/generate-jsonschema.py21CODE
LOWpdns/recursordist/rec-rust-lib/generate.py328CODE
LOWpdns/recursordist/rec-rust-lib/generate.py364CODE
LOWpdns/recursordist/rec-rust-lib/generate.py596CODE
LOWpdns/recursordist/rec-rust-lib/generate.py647CODE
LOWpdns/recursordist/rec-rust-lib/generate.py736CODE
LOWpdns/recursordist/rec-rust-lib/generate.py803CODE
LOW…nsdistdist/dnsdist-settings-documentation-generator.py78CODE
LOWpdns/dnsdistdist/dnsdist-rules-generator.py99CODE
LOW…istdist/dnsdist-rust-lib/dnsdist-settings-generator.py220CODE
LOW…istdist/dnsdist-rust-lib/dnsdist-settings-generator.py541CODE
LOWregression-tests.ixfrdist/ixfrdisttests.py36CODE
LOWregression-tests.ixfrdist/ixfrdisttests.py90CODE
LOWregression-tests.ixfrdist/test_CaseSensitiveTXT.py130CODE
LOWregression-tests.ixfrdist/test_CaseSensitiveTXT.py157CODE
LOWbuilder-support/helpers/update-rust-library-version.py10CODE
LOWdocs/generate-jsonschema.py21CODE
LOWcontrib/ProtobufLogger.py51CODE
LOWcontrib/ProtobufLogger.py182CODE
LOWcontrib/xdp-logging.py17CODE
LOWregression-tests.recursor-dnssec/test_KeepWarm.py31CODE
LOWregression-tests.recursor-dnssec/test_Cookies.py204CODE
LOWregression-tests.recursor-dnssec/test_Lua.py234CODE
LOWregression-tests.recursor-dnssec/recursortests.py538CODE
LOWregression-tests.recursor-dnssec/recursortests.py623CODE
LOWregression-tests.recursor-dnssec/recursortests.py657CODE
LOWregression-tests.recursor-dnssec/recursortests.py914CODE
LOWregression-tests.recursor-dnssec/recursortests.py1292CODE
LOWregression-tests.recursor-dnssec/test_FWCatz.py35CODE
LOWregression-tests.recursor-dnssec/test_FWCatz.py525CODE
LOWregression-tests.recursor-dnssec/test_Prometheus.py8CODE
LOWregression-tests.recursor-dnssec/test_RPZIncomplete.py34CODE
LOWregression-tests.recursor-dnssec/test_Protobuf.py1581CODE
LOWregression-tests.recursor-dnssec/test_Malformed.py119CODE
LOWregression-tests.recursor-dnssec/test_Sortlist.py16CODE
16 more matches not shown…
Unused Imports51 hits · 50 pts
SeverityFileLineSnippetContext
LOWtasks.py1CODE
LOWtasks.py6CODE
LOWregression-tests.auth-py/test_SoaEdit.py6CODE
LOWregression-tests.auth-py/test_ResolveAcrossZones.py3CODE
LOWregression-tests.auth-py/authtests.py3CODE
LOWregression-tests.auth-py/test_Protobuf.py12CODE
LOWregression-tests.auth-py/test_LuaRecords.py8CODE
LOWregression-tests.auth-py/test_ALIAS.py3CODE
LOWregression-tests.auth-py/clientsubnetoption.py36CODE
LOWregression-tests.auth-py/clientsubnetoption.py37CODE
LOWregression-tests.auth-py/test_ProxyProtocol.py7CODE
LOWregression-tests.dnsdist/test_MMDB.py3CODE
LOWregression-tests.dnsdist/test_MMDB.py4CODE
LOWregression-tests.dnsdist/test_SNMP.py5CODE
LOWregression-tests.dnsdist/test_SNMP.py6CODE
LOWregression-tests.dnsdist/clientsubnetoption.py36CODE
LOWregression-tests.dnsdist/clientsubnetoption.py37CODE
LOWregression-tests.nobackend/edns1/test-edns.py3CODE
LOWpdns/keyroller/pdns-keyroller-ctl.py5CODE
LOWpdns/keyroller/pdns-keyroller-ctl.py7CODE
LOWpdns/keyroller/pdns-keyroller-ctl.py10CODE
LOWpdns/keyroller/pdnskeyroller/config.py2CODE
LOWpdns/keyroller/pdnskeyroller/config.py5CODE
LOWpdns/keyroller/pdnskeyroller/config.py6CODE
LOWpdns/keyroller/pdnskeyroller/prepublishkeyroll.py1CODE
LOWpdns/keyroller/pdnskeyroller/prepublishkeyroll.py3CODE
LOW…tests.recursor-dnssec/test_ReadTrustAnchorsFromFile.py1CODE
LOWregression-tests.recursor-dnssec/test_KeepWarm.py1CODE
LOWregression-tests.recursor-dnssec/test_Expired.py5CODE
LOWregression-tests.recursor-dnssec/recursortests.py3CODE
LOWregression-tests.recursor-dnssec/printlogs.py3CODE
LOWregression-tests.recursor-dnssec/test_NotYetValid.py3CODE
LOWregression-tests.recursor-dnssec/test_SimpleCookies.py3CODE
LOWregression-tests.recursor-dnssec/test_ZTC.py2CODE
LOWregression-tests.recursor-dnssec/test_basicNSEC3.py1CODE
LOWregression-tests.recursor-dnssec/test_RecDnstap.py11CODE
LOWregression-tests.recursor-dnssec/test_EDNS.py3CODE
LOWregression-tests.recursor-dnssec/test_SNMP.py4CODE
LOWregression-tests.recursor-dnssec/test_SNMP.py5CODE
LOWregression-tests.recursor-dnssec/test_Malformed.py3CODE
LOWregression-tests.recursor-dnssec/test_ForwardOverDoT.py4CODE
LOWregression-tests.recursor-dnssec/clientsubnetoption.py36CODE
LOWregression-tests.recursor-dnssec/clientsubnetoption.py37CODE
LOW…sion-tests.recursor-dnssec/test_AggressiveNSECCache.py7CODE
LOWregression-tests/bulktest-report.py2CODE
LOWregression-tests/bulktest-to-json.py2CODE
LOW.github/scripts/helpers.py5CODE
LOWregression-tests.api/test_Zones.py1CODE
LOWregression-tests.api/test_helper.py1CODE
LOWregression-tests.api/test_TSIG.py1CODE
LOWregression-tests.api/runtests.py5CODE
Self-Referential Comments15 hits · 39 pts
SeverityFileLineSnippetContext
MEDIUMregression-tests.auth-py/authtests.py450 # This function is called before every testsCOMMENT
MEDIUMregression-tests.dnsdist/dnsdisttests.py949 # This function is called before every testSTRING
MEDIUMregression-tests.dnsdist/test_AXFR.py38 # This function is called before every testSTRING
MEDIUMpdns/recursordist/docs/generate-man-pages.py18 # Create the venv.COMMENT
MEDIUMpdns/recursordist/docs/conf.py7# This file is execfile()d with the current directory set to itsCOMMENT
MEDIUMpdns/recursordist/docs/generate-docs.py19 # Create the venv.COMMENT
MEDIUMpdns/recursordist/rec-rust-lib/table.py1# This file contains the table used to generate old and new-style settings codeCOMMENT
MEDIUMpdns/dnsdistdist/docs/generate-man-pages.py18 # Create the venv.COMMENT
MEDIUMpdns/dnsdistdist/docs/conf.py7# This file is execfile()d with the current directory set to itsCOMMENT
MEDIUMpdns/dnsdistdist/docs/generate-docs.py19 # Create the venv.COMMENT
MEDIUMregression-tests.ixfrdist/ixfrdisttests.py200 # This function is called before every testsSTRING
MEDIUMdocs/generate-man-pages.py18 # Create the venv.COMMENT
MEDIUMdocs/conf.py7# This file is execfile()d with the current directory set to itsCOMMENT
MEDIUMdocs/generate-docs.py19 # Create the venv.COMMENT
MEDIUMregression-tests.recursor-dnssec/recursortests.py946 # This function is called before every testsCOMMENT
Fake / Example Data16 hits · 11 pts
SeverityFileLineSnippetContext
LOWregression-tests.auth-py/test_Protobuf.py306types 3600 IN TXT "Lorem ipsum dolor sit amet"CODE
LOWregression-tests.auth-py/test_Protobuf.py306types 3600 IN TXT "Lorem ipsum dolor sit amet"CODE
LOWregression-tests.recursor-dnssec/test_RecDnstap.py265types 3600 IN TXT "Lorem ipsum dolor sit amet"STRING
LOWregression-tests.recursor-dnssec/test_RecDnstap.py265types 3600 IN TXT "Lorem ipsum dolor sit amet"STRING
LOWregression-tests.recursor-dnssec/test_Protobuf.py331types 3600 IN TXT "Lorem ipsum dolor sit amet"CODE
LOWregression-tests.recursor-dnssec/test_Protobuf.py331types 3600 IN TXT "Lorem ipsum dolor sit amet"CODE
LOWregression-tests.recursor-dnssec/test_Protobuf.py357types 3600 IN TXT "Lorem ipsum dolor sit amet"CODE
LOWregression-tests.recursor-dnssec/test_Protobuf.py357types 3600 IN TXT "Lorem ipsum dolor sit amet"CODE
LOWregression-tests.recursor-dnssec/test_Protobuf.py1589 dns.rrset.from_text(name, 0, dns.rdataclass.IN, "TXT", '"Lorem ipsum dolor sit amet"'),STRING
LOWregression-tests.recursor-dnssec/test_Protobuf.py1589 dns.rrset.from_text(name, 0, dns.rdataclass.IN, "TXT", '"Lorem ipsum dolor sit amet"'),STRING
LOWregression-tests.recursor-dnssec/test_Protobuf.py1627 self.assertEqual(rr.rdata, b'"Lorem ipsum dolor sit amet"')STRING
LOWregression-tests.recursor-dnssec/test_Protobuf.py1627 self.assertEqual(rr.rdata, b'"Lorem ipsum dolor sit amet"')STRING
LOW…ression-tests.recursor-dnssec/test_ProtobufStrategy.py331types 3600 IN TXT "Lorem ipsum dolor sit amet"STRING
LOW…ression-tests.recursor-dnssec/test_ProtobufStrategy.py331types 3600 IN TXT "Lorem ipsum dolor sit amet"STRING
LOW…ression-tests.recursor-dnssec/test_ProtobufStrategy.py357types 3600 IN TXT "Lorem ipsum dolor sit amet"STRING
LOW…ression-tests.recursor-dnssec/test_ProtobufStrategy.py357types 3600 IN TXT "Lorem ipsum dolor sit amet"STRING
AI Structural Patterns11 hits · 11 pts
SeverityFileLineSnippetContext
LOWregression-tests.dnsdist/doh3client.py218CODE
LOWregression-tests.dnsdist/dnscrypt.py232CODE
LOWregression-tests.dnsdist/doqclient.py25CODE
LOWregression-tests.dnsdist/doqclient.py58CODE
LOWregression-tests.dnsdist/dnsdisttests.py1253CODE
LOWregression-tests.dnsdist/dnsdisttests.py1320CODE
LOWregression-tests.dnsdist/dnsdisttests.py1445CODE
LOWregression-tests.dnsdist/dnsdisttests.py1495CODE
LOWpdns/keyroller/pdnskeyroller/domainconfig.py69CODE
LOWpdns/recursordist/metrics.py34CODE
LOWregression-tests.recursor-dnssec/recursortests.py1442CODE
Slop Phrases7 hits · 6 pts
SeverityFileLineSnippetContext
LOWregression-tests.auth-py/test_LuaRecords.py528 # the timeout in the LUA health checker is 1 second, so we make sure to wait slightly longer hereSTRING
LOWregression-tests.auth-py/test_LuaRecords.py554 # the timeout in the LUA health checker is 2 second, so we make sure to wait slightly longer hereSTRING
LOWregression-tests.auth-py/test_LuaRecords.py580 # the timeout in the LUA health checker is 1 second, so we make sure to wait slightly longer hereSTRING
LOWregression-tests.dnsdist/test_DNSCrypt.py104 Send a small encrypted query (don't forget to takeCODE
LOWpdns/dnsdistdist/dnsdist-actions-definitions.yml440 description: "Enable or disable OpenTelemetry tracing for this query. Don't forget to also use a RemoteLog action to aCODE
LOWbuilder-support/helpers/install_rust.sh36# 4. Run sha256sum $RUST_TARBALL and set SHA256SUM above, don't forget to update RUST_VERSION as wellCOMMENT
LOWbuilder-support/helpers/install_rust.sh36# 4. Run sha256sum $RUST_TARBALL and set SHA256SUM above, don't forget to update RUST_VERSION as wellCOMMENT
AI Slop Vocabulary2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMtasks.py331 # FIXME we may want to start a background recursor here to make ALIAS tests more robustCOMMENT
MEDIUMpdns/dnsdistdist/src_js/jquery.js10665// understands anonymous AMD modules. A named AMD is safest and most robustCOMMENT
Modern Structural Boilerplate5 hits · 5 pts
SeverityFileLineSnippetContext
LOWpdns/keyroller/pdnskeyroller/domainstate.py10logger = logging.getLogger(__name__)CODE
LOWpdns/keyroller/pdnskeyroller/config.py8logger = logging.getLogger(__name__)CODE
LOWpdns/keyroller/pdnskeyroller/keyrollerdomain.py8logger = logging.getLogger(__name__)CODE
LOWpdns/keyroller/pdnskeyroller/daemon.py10logger = logging.getLogger(__name__)CODE
LOWpdns/keyroller/pdnsapi/api.py11logger = logging.getLogger(__name__)CODE
Redundant / Tautological Comments3 hits · 4 pts
SeverityFileLineSnippetContext
LOWregression-tests.ixfrdist/test_CaseSensitiveTXT.py173 # Check if the expected TXT records are in the IXFR responseSTRING
LOWregression-tests.api/test_TSIG.py94 # Check if the old key is removedCOMMENT
LOWregression-tests.api/test_cryptokeys.py103 # Check if the key is actually addedCOMMENT
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWbuild-scripts/docker/repo-test/generate-repo-files.py5# Usage:COMMENT
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippetContext
LOWpdns/dnsdistdist/src_js/jquery.js4139function getData( data ) {CODE