AI Slop Code RIsk Monitor

OHF-Voice/piper1-gpl

Fast and local neural text-to-speech engine

11.8 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for OHF-Voice/piper1-gpl, a C++ project with 5,823 GitHub stars. SynthScan examined 43,513 lines of code across 109 source files, recording 401 pattern matches distributed across 10 syntactic categories. The legacy adjusted pattern signal is 11.8 (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.

11.8
Adjusted Signal
11.8
Raw Pattern Score
100%
Time Factor
2026-10-11
Last Push
5.8K
Stars
C++
Language
43.5K
Lines of Code
109
Files
401
Pattern Hits
2026-10-12
Scan Date
0.01
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 26.2/100 · MEDIUM

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

Hallucinated Dependency & Supply Chain Risk 0.7/100 · LOW

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

Agent Over-Engineering Ratio 35.2/100 · MEDIUM

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

PR Review Velocity Impact 45.1/100 · MEDIUM

Which changes need focused human review? 401 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 1MEDIUM 58LOW 342

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 401 distinct pattern matches across 10 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.

Decorative Section Separators58 hits · 228 pts
SeverityFileLineSnippetContext
MEDIUMtests/test_piper.py515# -----------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_chinese_phonemizer.py176 # ------------------------COMMENT
MEDIUM⚡tests/test_chinese_phonemizer.py178 # ------------------------COMMENT
MEDIUM⚡tests/test_chinese_phonemizer.py181 # ------------------------COMMENT
MEDIUM⚡tests/test_chinese_phonemizer.py183 # ------------------------COMMENT
MEDIUM⚡tests/test_chinese_phonemizer.py189 # ------------------------COMMENT
MEDIUM⚡tests/test_chinese_phonemizer.py191 # ------------------------COMMENT
MEDIUM⚡tests/test_chinese_phonemizer.py194 # ------------------------COMMENT
MEDIUM⚡tests/test_chinese_phonemizer.py196 # ------------------------COMMENT
MEDIUM⚡tests/test_chinese_phonemizer.py200 # ------------------------COMMENT
MEDIUM⚡tests/test_chinese_phonemizer.py202 # ------------------------COMMENT
MEDIUMtests/generate_test_voice.py87# -----------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_thai_phonemizer.py33# -----------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_thai_phonemizer.py35# -----------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_thai_phonemizer.py62# -----------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_thai_phonemizer.py64# -----------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_thai_phonemizer.py127# -----------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_thai_phonemizer.py129# -----------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_thai_phonemizer.py165# -----------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_thai_phonemizer.py167# -----------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_thai_phonemizer.py196# -----------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_thai_phonemizer.py198# -----------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_lithuanian_phonemizer.py52# -----------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_lithuanian_phonemizer.py54# -----------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_lithuanian_phonemizer.py116# -----------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_lithuanian_phonemizer.py118# -----------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_lithuanian_phonemizer.py155# -----------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_lithuanian_phonemizer.py157# -----------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_lithuanian_phonemizer.py192# -----------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_lithuanian_phonemizer.py194# -----------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_lithuanian_phonemizer.py223# -----------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_lithuanian_phonemizer.py225# -----------------------------------------------------------------------------COMMENT
MEDIUMlibpiper/CMakeLists.txt247# ----------------COMMENT
MEDIUMlibpiper/CMakeLists.txt249# ----------------COMMENT
MEDIUMsrc/piper/phonemize_chinese.py55 # --------------------COMMENT
MEDIUMsrc/piper/phonemize_chinese.py57 # --------------------COMMENT
MEDIUMsrc/piper/phonemize_chinese.py82 # --------------------COMMENT
MEDIUMsrc/piper/phonemize_chinese.py84 # --------------------COMMENT
MEDIUM⚡src/piper/phonemize_chinese.py127 # --------------------COMMENT
MEDIUM⚡src/piper/phonemize_chinese.py129 # --------------------COMMENT
MEDIUM⚡src/piper/phonemize_chinese.py135 # --------------------COMMENT
MEDIUM⚡src/piper/phonemize_chinese.py137 # --------------------COMMENT
MEDIUM⚡src/piper/phonemize_chinese.py144 # --------------------COMMENT
MEDIUM⚡src/piper/phonemize_chinese.py146 # --------------------COMMENT
MEDIUMsrc/piper/download_voices.py68# -----------------------------------------------------------------------------COMMENT
MEDIUMsrc/piper/download_voices.py201# -----------------------------------------------------------------------------COMMENT
MEDIUMsrc/piper/g2pw_onnx.py91# -----------------------------------------------------------------------------COMMENT
MEDIUMsrc/piper/g2pw_onnx.py93# -----------------------------------------------------------------------------COMMENT
MEDIUMsrc/piper/g2pw_onnx.py185# -----------------------------------------------------------------------------COMMENT
MEDIUMsrc/piper/g2pw_onnx.py187# -----------------------------------------------------------------------------COMMENT
MEDIUMsrc/piper/g2pw_onnx.py337# -----------------------------------------------------------------------------COMMENT
MEDIUMsrc/piper/g2pw_onnx.py339# -----------------------------------------------------------------------------COMMENT
MEDIUMsrc/piper/__main__.py255# -----------------------------------------------------------------------------COMMENT
MEDIUMsrc/piper/train/export_onnx.py40 # -------------------------------------------------------------------------COMMENT
MEDIUMsrc/piper/train/export_onnx.py109# -----------------------------------------------------------------------------COMMENT
MEDIUMsrc/piper/train/export_generator.py36 # -------------------------------------------------------------------------COMMENT
MEDIUMsrc/piper/train/export_generator.py59# -----------------------------------------------------------------------------COMMENT
MEDIUMsrc/piper/train/__main__.py72# -----------------------------------------------------------------------------COMMENT
Hyper-Verbose Identifiers117 hits · 129 pts
SeverityFileLineSnippetContext
LOWtests/test_espeak_phonemizer.py65def test_vowel_clusters_without_terminator() -> None:CODE
LOWtests/test_piper.py35def test_phonemize_synthesize() -> None:CODE
LOWtests/test_piper.py111def test_language_switch_flags_removed() -> None:CODE
LOWtests/test_piper.py174def test_sentence_silence_even_byte_count(CODE
LOWtests/test_piper.py258def test_synthesize_alignment() -> None:CODE
LOWtests/test_piper.py445def test_add_alignment_output_autodetect() -> None:CODE
LOWtests/test_piper.py466def test_add_alignment_output_errors() -> None:CODE
LOWtests/test_piper.py488def test_load_include_alignments_in_memory(tmp_path: Path) -> None:CODE
LOWtests/test_piper.py508def test_load_include_alignments_no_ceil() -> None:CODE
LOWtests/test_piper.py534def test_phonemize_with_vowel_clusters() -> None:CODE
LOWtests/test_piper.py609def test_training_phonemize_matches_inference_with_vowel_clusters() -> None:CODE
LOWtests/test_download_voices.py51def test_download_current_name(tmp_path: Path) -> None:CODE
LOWtests/test_download_voices.py65def test_download_legacy_name(tmp_path: Path) -> None:CODE
LOWtests/test_download_voices.py76def test_download_renamed_voice(tmp_path: Path) -> None:CODE
LOWtests/test_train_warmstart.py58def test_warmstart_runs_on_a_fresh_fit(monkeypatch) -> None:CODE
LOWtests/test_train_warmstart.py68def test_warmstart_is_skipped_when_resuming(monkeypatch) -> None:CODE
LOWtests/test_train_warmstart.py80def test_vocoder_warmstart_is_skipped_when_resuming(monkeypatch) -> None:CODE
LOWtests/test_train_warmstart.py91def test_vocoder_warmstart_runs_on_a_fresh_fit(monkeypatch) -> None:CODE
LOWtests/test_train_warmstart.py101def test_warmstart_does_not_re_run_on_a_second_fit(monkeypatch) -> None:CODE
LOW⚡tests/test_japanese_phonemizer.py42def test_every_emitted_phoneme_is_in_default_map() -> None:CODE
LOW⚡tests/test_japanese_phonemizer.py47def test_phonemes_are_in_default_map(phonemizer: JapanesePhonemizer) -> None:CODE
LOW⚡tests/test_japanese_phonemizer.py54def test_kanji_is_read_not_spelled(phonemizer: JapanesePhonemizer) -> None:CODE
LOW⚡tests/test_japanese_phonemizer.py77def test_accent_shows_on_following_particle(phonemizer: JapanesePhonemizer) -> None:CODE
LOW⚡tests/test_japanese_phonemizer.py84def test_accent_phrase_boundary(phonemizer: JapanesePhonemizer) -> None:CODE
LOW⚡tests/test_japanese_phonemizer.py89def test_question_vs_statement(phonemizer: JapanesePhonemizer) -> None:CODE
LOW⚡tests/test_japanese_phonemizer.py96def test_numbers_are_expanded(phonemizer: JapanesePhonemizer) -> None:CODE
LOW⚡tests/test_japanese_phonemizer.py108def test_decimal_point_is_not_a_sentence_break(phonemizer: JapanesePhonemizer) -> None:CODE
LOW⚡tests/test_japanese_phonemizer.py112def test_devoiced_vowels_folded(phonemizer: JapanesePhonemizer) -> None:CODE
LOW⚡tests/test_japanese_phonemizer.py120def test_long_vowels_stay_two_morae(phonemizer: JapanesePhonemizer) -> None:CODE
LOW⚡tests/test_japanese_phonemizer.py128def test_empty_and_punctuation_only(phonemizer: JapanesePhonemizer) -> None:CODE
LOW⚡tests/test_japanese_phonemizer.py133def test_end_to_end_phonemize_ids() -> None:CODE
LOWtests/test_hebrew_phonemizer.py32def test_diacritizer_matches_reference(diacritizer: NakdimonDiacritizer) -> None:CODE
LOWtests/test_hebrew_phonemizer.py39def test_holam_male_is_vowel_not_consonant() -> None:CODE
LOW⚡tests/test_hebrew_phonemizer.py62def test_phonemes_are_in_default_map(phonemizer: HebrewPhonemizer) -> None:CODE
LOW⚡tests/test_hebrew_phonemizer.py70def test_phonemizer_diacritizes_undotted(phonemizer: HebrewPhonemizer) -> None:CODE
LOW⚡tests/test_hebrew_phonemizer.py76def test_phonemizer_preserves_dotted_input(phonemizer: HebrewPhonemizer) -> None:CODE
LOW⚡tests/test_hebrew_phonemizer.py84def test_end_to_end_phonemize_ids() -> None:CODE
LOW⚡tests/test_thai_phonemizer.py38def test_five_tones_are_distinguished(phonemizer: ThaiPhonemizer) -> None:CODE
LOW⚡tests/test_thai_phonemizer.py53def test_every_syllable_carries_a_tone(phonemizer: ThaiPhonemizer) -> None:CODE
LOW⚡tests/test_thai_phonemizer.py67def test_leading_vowels_are_reordered(phonemizer: ThaiPhonemizer) -> None:CODE
LOW⚡tests/test_thai_phonemizer.py75def test_unspaced_text_is_segmented(phonemizer: ThaiPhonemizer) -> None:CODE
LOW⚡tests/test_thai_phonemizer.py80def test_space_separated_text(phonemizer: ThaiPhonemizer) -> None:CODE
LOW⚡tests/test_thai_phonemizer.py86def test_silent_final_consonant(phonemizer: ThaiPhonemizer) -> None:CODE
LOW⚡tests/test_thai_phonemizer.py91def test_mai_yamok_repeats_the_word(phonemizer: ThaiPhonemizer) -> None:CODE
LOW⚡tests/test_thai_phonemizer.py122def test_et_cetera_is_read_aloud(phonemizer: ThaiPhonemizer) -> None:CODE
LOW⚡tests/test_thai_phonemizer.py132def test_numbers_are_spelled_out(phonemizer: ThaiPhonemizer) -> None:CODE
LOW⚡tests/test_thai_phonemizer.py143def test_grouped_and_decimal_numbers(phonemizer: ThaiPhonemizer) -> None:CODE
LOW⚡tests/test_thai_phonemizer.py152def test_hyphen_is_not_a_minus_sign(phonemizer: ThaiPhonemizer) -> None:CODE
LOW⚡tests/test_thai_phonemizer.py161def test_numbers_can_be_disabled() -> None:CODE
LOW⚡tests/test_thai_phonemizer.py170def test_sentences_are_split_on_terminal_punctuation(CODE
LOW⚡tests/test_thai_phonemizer.py185def test_non_thai_becomes_a_word_break(phonemizer: ThaiPhonemizer) -> None:CODE
LOW⚡tests/test_thai_phonemizer.py190def test_no_leading_or_trailing_word_break(phonemizer: ThaiPhonemizer) -> None:CODE
LOW⚡tests/test_thai_phonemizer.py201def test_every_phoneme_has_an_id(phonemizer: ThaiPhonemizer) -> None:CODE
LOWtests/test_thai_phonemizer.py111def test_untranscribable_run_is_not_silent(CODE
LOWtests/test_thai_phonemizer.py214def test_phonemes_are_single_codepoints(phonemizer: ThaiPhonemizer) -> None:CODE
LOWtests/test_thai_phonemizer.py228def test_phoneme_type_is_registered() -> None:CODE
LOW⚡tests/test_lithuanian_phonemizer.py57def test_dictionary_ships_with_piper() -> None:CODE
LOW⚡tests/test_lithuanian_phonemizer.py64def test_default_phonemizer_needs_no_arguments() -> None:CODE
LOW⚡tests/test_lithuanian_phonemizer.py70def test_missing_dictionary_names_the_path(tmp_path: Path) -> None:CODE
LOW⚡tests/test_lithuanian_phonemizer.py76def test_malformed_lines_are_skipped(tmp_path: Path) -> None:CODE
57 more matches not shown…
Over-Commented Block188 hits · 115 pts
SeverityFileLineSnippetContext
LOWlibpiper/include/json.hpp21#include <algorithm> // all_of, find, for_eachCOMMENT
LOWlibpiper/include/json.hpp41// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>COMMENT
LOWlibpiper/include/json.hpp61#ifndef JSON_SKIP_LIBRARY_VERSION_CHECKCOMMENT
LOWlibpiper/include/json.hpp81#if JSON_DIAGNOSTICSCOMMENT
LOWlibpiper/include/json.hpp141 {COMMENT
LOWlibpiper/include/json.hpp161#include <algorithm> // transformCOMMENT
LOWlibpiper/include/json.hpp181COMMENT
LOWlibpiper/include/json.hpp201#include <array> // arrayCOMMENT
LOWlibpiper/include/json.hpp221// | | |__ | | | | | | version 3.11.2COMMENT
LOWlibpiper/include/json.hpp321// | | |__ | | | | | | version 3.11.2COMMENT
LOWlibpiper/include/json.hpp341#define JSON_HEDLEY_STRINGIFY_EX(x) #xCOMMENT
LOWlibpiper/include/json.hpp361#define JSON_HEDLEY_CONCAT3_EX(a,b,c) a##b##cCOMMENT
LOWlibpiper/include/json.hpp381#define JSON_HEDLEY_VERSION_DECODE_MINOR(version) (((version) % 1000000) / 1000)COMMENT
LOWlibpiper/include/json.hpp401 #define JSON_HEDLEY_GNUC_VERSION_CHECK(major,minor,patch) (JSON_HEDLEY_GNUC_VERSION >= JSON_HEDLEY_VERSION_ENCODE(maCOMMENT
LOWlibpiper/include/json.hpp421 #define JSON_HEDLEY_MSVC_VERSION_CHECK(major,minor,patch) (0)COMMENT
LOWlibpiper/include/json.hpp441#endifCOMMENT
LOWlibpiper/include/json.hpp461 #define JSON_HEDLEY_INTEL_CL_VERSION_CHECK(major,minor,patch) (0)COMMENT
LOWlibpiper/include/json.hpp481 #undef JSON_HEDLEY_SUNPRO_VERSIONCOMMENT
LOWlibpiper/include/json.hpp501COMMENT
LOWlibpiper/include/json.hpp521#if defined(__CC_ARM) && defined(__ARMCOMPILER_VERSION)COMMENT
LOWlibpiper/include/json.hpp541#elif defined(__xlC__) && defined(__xlC_ver__)COMMENT
LOWlibpiper/include/json.hpp561 ( \COMMENT
LOWlibpiper/include/json.hpp581 #undef JSON_HEDLEY_TI_CL2000_VERSIONCOMMENT
LOWlibpiper/include/json.hpp601#endifCOMMENT
LOWlibpiper/include/json.hpp621#endifCOMMENT
LOWlibpiper/include/json.hpp641 #define JSON_HEDLEY_TI_CL6X_VERSION_CHECK(major,minor,patch) (0)COMMENT
LOWlibpiper/include/json.hpp661 #undef JSON_HEDLEY_TI_CLPRU_VERSIONCOMMENT
LOWlibpiper/include/json.hpp681 #define JSON_HEDLEY_CRAY_VERSION JSON_HEDLEY_VERSION_ENCODE(_RELEASE_MAJOR, _RELEASE_MINOR, _RELEASE_PATCHLEVEL)COMMENT
LOWlibpiper/include/json.hpp701 #define JSON_HEDLEY_IAR_VERSION JSON_HEDLEY_VERSION_ENCODE((__VER__ / 1000000), ((__VER__ / 1000) % 1000), (__VECOMMENT
LOWlibpiper/include/json.hpp721#endifCOMMENT
LOWlibpiper/include/json.hpp741#endifCOMMENT
LOWlibpiper/include/json.hpp761 #define JSON_HEDLEY_COMPCERT_VERSION_CHECK(major,minor,patch) (0)COMMENT
LOWlibpiper/include/json.hpp781 #undef JSON_HEDLEY_MCST_LCC_VERSIONCOMMENT
LOWlibpiper/include/json.hpp821#if defined(JSON_HEDLEY_GCC_VERSION)COMMENT
LOWlibpiper/include/json.hpp841 #undef JSON_HEDLEY_GNUC_HAS_ATTRIBUTECOMMENT
LOWlibpiper/include/json.hpp861#if \COMMENT
LOWlibpiper/include/json.hpp881#elseCOMMENT
LOWlibpiper/include/json.hpp901#endifCOMMENT
LOWlibpiper/include/json.hpp921#if defined(JSON_HEDLEY_GCC_HAS_BUILTIN)COMMENT
LOWlibpiper/include/json.hpp941#endifCOMMENT
LOWlibpiper/include/json.hpp961 #define JSON_HEDLEY_HAS_EXTENSION(extension) __has_extension(extension)COMMENT
LOWlibpiper/include/json.hpp981 #define JSON_HEDLEY_GCC_HAS_EXTENSION(extension,major,minor,patch) JSON_HEDLEY_GCC_VERSION_CHECK(major,minor,patch)COMMENT
LOWlibpiper/include/json.hpp1001COMMENT
LOWlibpiper/include/json.hpp1021 #undef JSON_HEDLEY_GNUC_HAS_WARNINGCOMMENT
LOWlibpiper/include/json.hpp1061 #define JSON_HEDLEY_PRAGMA(value)COMMENT
LOWlibpiper/include/json.hpp1081 JSON_HEDLEY_INTEL_CL_VERSION_CHECK(2021,1,0)COMMENT
LOWlibpiper/include/json.hpp1101 #define JSON_HEDLEY_DIAGNOSTIC_POPCOMMENT
LOWlibpiper/include/json.hpp1141#if defined(JSON_HEDLEY_CONST_CAST)COMMENT
LOWlibpiper/include/json.hpp1161 #undef JSON_HEDLEY_REINTERPRET_CASTCOMMENT
LOWlibpiper/include/json.hpp1181#if defined(__cplusplus)COMMENT
LOWlibpiper/include/json.hpp1201 #undef JSON_HEDLEY_DIAGNOSTIC_DISABLE_DEPRECATEDCOMMENT
LOWlibpiper/include/json.hpp1241 #define JSON_HEDLEY_DIAGNOSTIC_DISABLE_DEPRECATEDCOMMENT
LOWlibpiper/include/json.hpp1261 JSON_HEDLEY_TI_CL6X_VERSION_CHECK(8,0,0) || \COMMENT
LOWlibpiper/include/json.hpp1281 #define JSON_HEDLEY_DIAGNOSTIC_DISABLE_UNKNOWN_CPP_ATTRIBUTES _Pragma("GCC diagnostic ignored \"-Wdeprecated-declaraCOMMENT
LOWlibpiper/include/json.hpp1301#elif JSON_HEDLEY_MCST_LCC_VERSION_CHECK(1,25,10)COMMENT
LOWlibpiper/include/json.hpp1321 #undef JSON_HEDLEY_DIAGNOSTIC_DISABLE_UNUSED_FUNCTIONCOMMENT
LOWlibpiper/include/json.hpp1381 #define JSON_HEDLEY_DEPRECATED(since) __attribute__((__deprecated__))COMMENT
LOWlibpiper/include/json.hpp1401 JSON_HEDLEY_HAS_ATTRIBUTE(warning) || \COMMENT
LOWlibpiper/include/json.hpp1441 #define JSON_HEDLEY_WARN_UNUSED_RESULT_MSG(msg) JSON_HEDLEY_DIAGNOSTIC_DISABLE_CPP98_COMPAT_WRAP_([[nodiscard]])COMMENT
LOWlibpiper/include/json.hpp1461 #define JSON_HEDLEY_SENTINEL(position)COMMENT
128 more matches not shown…
Deep Nesting12 hits · 12 pts
SeverityFileLineSnippetContext
LOWsrc/piper/phonemize_japanese.py198CODE
LOWsrc/piper/http_server.py21CODE
LOWsrc/piper/http_server.py275CODE
LOWsrc/piper/phonemize_chinese.py217CODE
LOWsrc/piper/voice.py344CODE
LOWsrc/piper/g2pw_onnx.py500CODE
LOWsrc/piper/__main__.py22CODE
LOWsrc/piper/__main__.py108CODE
LOWsrc/piper/hebrew/hebrew_ipa.py315CODE
LOWsrc/piper/train/infer_torch.py23CODE
LOWsrc/piper/train/vits/models.py349CODE
LOWsrc/piper/train/vits/dataset.py140CODE
Excessive Try-Catch Wrapping9 hits · 8 pts
SeverityFileLineSnippetContext
LOWtests/test_thai_phonemizer.py17except Exception as exc: # pylint: disable=broad-exceptCODE
LOWsrc/piper/phonemize_thai.py175 except Exception:CODE
LOWsrc/piper/phonemize_thai.py267 except Exception:CODE
LOWsrc/piper/phonemize_japanese.py150 except Exception as exc: # pragma: no coverCODE
LOWsrc/piper/phonemize_japanese.py207 except Exception:CODE
LOWsrc/piper/g2pw_onnx.py277 except Exception: # pylint: disable=broad-exceptCODE
LOWsrc/piper/audio_playback.py43 except Exception:CODE
LOWsrc/piper/train/vits/mos.py46 except Exception as exc: # noqa: BLE001 - never let this break trainingCODE
LOWsrc/piper/train/vits/mos.py71 except Exception as exc: # noqa: BLE001 - degrade gracefullyCODE
AI Structural Patterns7 hits · 7 pts
SeverityFileLineSnippetContext
LOWsrc/piper/train/vits/mel_processing.py28CODE
LOWsrc/piper/train/vits/mel_processing.py33CODE
LOWsrc/piper/train/vits/transforms.py101CODE
LOWsrc/piper/train/vits/attentions.py281CODE
LOWsrc/piper/train/vits/attentions.py290CODE
LOWsrc/piper/train/vits/dataset.py49CODE
LOWsrc/piper/train/vits/lightning.py37CODE
Unused Imports7 hits · 6 pts
SeverityFileLineSnippetContext
LOWtests/test_thai_phonemizer.py16CODE
LOWsrc/piper/__init__.py3CODE
LOWsrc/piper/__init__.py3CODE
LOWsrc/piper/__init__.py3CODE
LOWsrc/piper/__init__.py4CODE
LOWsrc/piper/__init__.py4CODE
LOWsrc/piper/hebrew/hebrew_ipa.py1CODE
Empty Error Handlers1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHsrc/piper/audio_playback.py43except Exception:CODE
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOWtests/test_piper.py251 # Check if entire text is just phonemesCOMMENT
Modern Structural Boilerplate1 hit · 1 pts
SeverityFileLineSnippetContext
LOWsrc/piper/__init__.py6__all__ = [CODE