=== Rust/Tauri Code Quality Checks ===

Checking for magic numbers...
[0;32mOK:[0m No obvious magic numbers found

Checking for repeated string literals...
[0;32mOK:[0m No excessively repeated strings found

Checking for TODO/FIXME comments...
[0;32mOK:[0m No TODO/FIXME comments found

Checking for unused imports and dead code (clippy)...
[0;32mOK:[0m No unused imports or dead code detected

Checking for long functions...
[0;32mOK:[0m No excessively long functions found

Checking for deep nesting...
[1;33mWARNING:[0m Found potentially deep nesting (>7 levels):
/home/trav/repos/noteflow/client/src-tauri/scripts/../src/commands/diarization.rs:232:                            INITIAL_RETRY_DELAY_MS * RETRY_BACKOFF_MULTIPLIER.pow(consecutive_errors - 1),
/home/trav/repos/noteflow/client/src-tauri/scripts/../src/commands/playback.rs:59:                            let duration = buffer
/home/trav/repos/noteflow/client/src-tauri/scripts/../src/commands/playback.rs:60:                                .last()
/home/trav/repos/noteflow/client/src-tauri/scripts/../src/commands/playback.rs:61:                                .map(|chunk| chunk.timestamp + chunk.duration)
/home/trav/repos/noteflow/client/src-tauri/scripts/../src/commands/playback.rs:62:                                .unwrap_or(0.0);
/home/trav/repos/noteflow/client/src-tauri/scripts/../src/commands/playback.rs:63:                            tracing::debug!("Loaded encrypted audio from {:?}", audio_path);
/home/trav/repos/noteflow/client/src-tauri/scripts/../src/commands/playback.rs:64:                            return LoadedAudio {
/home/trav/repos/noteflow/client/src-tauri/scripts/../src/commands/playback.rs:65:                                buffer,
/home/trav/repos/noteflow/client/src-tauri/scripts/../src/commands/playback.rs:66:                                sample_rate,
/home/trav/repos/noteflow/client/src-tauri/scripts/../src/commands/playback.rs:67:                                duration,

Checking for unwrap() usage...
[0;32mOK:[0m No unwrap() calls found

Checking for excessive clone() usage...
[0;32mOK:[0m No excessive clone() usage detected

Checking for functions with long parameter lists...
[0;32mOK:[0m No functions with excessive parameters found

Checking for duplicated error messages...
[0;32mOK:[0m No duplicated error messages found

Checking module file sizes...
[1;33mWARNING:[0m Large files (>500 lines):
    597 /home/trav/repos/noteflow/client/src-tauri/scripts/../src/commands/playback.rs
    546 /home/trav/repos/noteflow/client/src-tauri/scripts/../src/error.rs
    537 /home/trav/repos/noteflow/client/src-tauri/scripts/../src/grpc/streaming.rs


Checking for scattered helper functions...
[1;33mWARNING:[0m Helper functions scattered across 11 files (consider consolidating):
/home/trav/repos/noteflow/client/src-tauri/scripts/../src/grpc/streaming.rs
/home/trav/repos/noteflow/client/src-tauri/scripts/../src/grpc/client/converters.rs
/home/trav/repos/noteflow/client/src-tauri/scripts/../src/grpc/client/observability.rs
/home/trav/repos/noteflow/client/src-tauri/scripts/../src/grpc/client/sync.rs
/home/trav/repos/noteflow/client/src-tauri/scripts/../src/helpers.rs

=== Summary ===
Errors: [0;31m0[0m
Warnings: [1;33m3[0m
[0;32mCode quality checks passed![0m
