Repository Analysis

supertone-inc/supertonic

Lightning-Fast, On-Device, Multilingual TTS — running natively via ONNX.

4.8 Likely human-written View on GitHub
4.8
Adjusted Score
4.8
Raw Score
100%
Time Factor
2026-05-22
Last Push
11,003
Stars
Swift
Language
13,986
Lines of Code
59
Files
27
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 0MEDIUM 21LOW 6

Pattern Findings

27 matches across 5 categories. Click a row to expand file-level details.

Decorative Section Separators18 hits · 54 pts
SeverityFileLineSnippet
MEDIUMtest_all.sh204# ====================================
MEDIUMtest_all.sh206# ====================================
MEDIUMtest_all.sh218# ====================================
MEDIUMtest_all.sh220# ====================================
MEDIUMtest_all.sh234# ====================================
MEDIUMtest_all.sh236# ====================================
MEDIUMtest_all.sh256# ====================================
MEDIUMtest_all.sh258# ====================================
MEDIUMtest_all.sh272# ====================================
MEDIUMtest_all.sh274# ====================================
MEDIUMtest_all.sh288# ====================================
MEDIUMtest_all.sh290# ====================================
MEDIUMtest_all.sh304# ====================================
MEDIUMtest_all.sh306# ====================================
MEDIUMtest_all.sh320# ====================================
MEDIUMtest_all.sh322# ====================================
MEDIUMtest_all.sh336# ====================================
MEDIUMtest_all.sh338# ====================================
Excessive Try-Catch Wrapping3 hits · 6 pts
SeverityFileLineSnippet
MEDIUMswift/Sources/ExampleONNX.swift90 print("Error: Number of voice styles (\(args.voiceStyle.count)) must match number of texts (\(args.text.
MEDIUMswift/Sources/ExampleONNX.swift94 print("Error: Number of languages (\(args.lang.count)) must match number of texts (\(args.text.count))")
MEDIUMswift/Sources/ExampleONNX.swift159 print("Error during inference: \(error)")
Over-Commented Block3 hits · 3 pts
SeverityFileLineSnippet
LOWflutter/analysis_options.yaml1# This file configures the analyzer, which statically analyzes Dart code to
LOWflutter/analysis_options.yaml21 # `// ignore_for_file: name_of_lint` syntax on the line or in the file
LOWcpp/helper.cpp1#include "helper.h"
Verbosity Indicators2 hits · 3 pts
SeverityFileLineSnippet
LOWflutter/lib/main.dart119 // Step 1: Generate speech
LOWflutter/lib/main.dart144 // Step 2: Save to file and play
Deep Nesting1 hit · 1 pts
SeverityFileLineSnippet
LOWpy/helper.py388