← Back to Blog

Benchmark: Tauri Framework

Testing loct on Tauri source (Rust + TS)

Use Case: tauri-apps/tauri - The Tauri Framework

Repository: https://github.com/tauri-apps/tauri Stack: Rust + TypeScript Test Date: 2025-12-08 Loctree Version: 0.6.2-dev


Overview

Testing loctree on THE Tauri framework itself - the ultimate test for Tauri command bridge analysis.

Repository Scale

MetricValue
Files Scanned385
Analysis Time9.35 seconds
Throughput41 files/sec

Findings

Dead Code Detection

  • High Confidence: 0
  • False Positive Rate: 0%

Tauri Command Bridges

loct commands --missing    # 157 (plugin architecture - expected)
loct commands --unused     # 9 (~22% - HTML usage not detected)

The "missing" commands are expected - Tauri's plugin system registers handlers dynamically.

Additional Findings

  • Dead Parrots: 44 (legitimate unused re-exports)
  • Twins: 532 duplicates (standard Rust patterns)

Commands Used

cd Tauri
loct                              # Create snapshot
loct dead --confidence high       # Dead code analysis
loct commands --missing           # Missing FE→BE handlers
loct commands --unused            # Unused BE handlers

Verdict

PERFECT - 0% false positives. Tauri command tracking works flawlessly.

Key Insights

  1. Command Bridge: Perfect FE↔BE tracking
  2. Plugin Awareness: Understands dynamic registration
  3. Production Ready: Zero FP on framework itself

Special Feature: loct commands

Loctree's Tauri-specific commands are validated on Tauri's own codebase:

  • Detects handler registration patterns
  • Tracks invoke() calls from frontend
  • Identifies orphaned handlers

πš…πš’πš‹πšŽπšŒπš›πšŠπšπšπšŽπš. with AI Agents by VetCoders (c)2024-2026 LibraxisAI