Skip to content

Analysis Playgrounds

Explore our curated collection of test projects designed to benchmark static analysis engines. From simple unused exports to complex circular dependency nightmares, these playgrounds help you understand the depth and precision of your tools.

🎯 Levels of Complexity

Normal Playground

LevelBadgePlayground LinkFocus
BasicBeginnerLaunch BasicUnused files & simple exports
NormalStandardLaunch NormalRe-exports & unused dependencies
IntermediateAdvancedLaunch IntermediateBarrel files, types & interfaces
HardEnterpriseLaunch HardSide-effects & deep trees
NightmareGod ModeLaunch NightmareCircular chains & dynamic exports

Monorepo

LevelBadgePlayground Link
BasicBeginnerLaunch Basic
NormalStandardLaunch Normal
IntermediateAdvancedLaunch Intermediate
HardEnterpriseLaunch Hard
NightmareGod ModeLaunch Nightmare

📂 Playground Details (Normal)

🟢 Basic

The entry point for every analysis tool. If an engine fails here, it's not ready for production.

  • Challenges: 1 unused file, 1 unused function, 1 unused dependency.
  • Try it: Playground - Basic

🔵 Normal

Simulates a typical small-scale project structure.

  • Challenges: Re-exports from nested files, multiple unused dependencies (axios, lodash).
  • Try it: Playground - Normal

🟡 Intermediate

A production-like environment where types and organizational patterns matter.

  • Challenges: Unused interface definitions, unused class members, and barrel file (index.ts) traversal.
  • Try it: Playground - Intermediate

🔴 Hard

Enterprise-level complexity that trips up many "fast" scanners.

  • Challenges: Side-effect imports, deep orphaned directory trees, and complex registry patterns.
  • Try it: Playground - Hard

💀 Nightmare

The ultimate stress test. Designed to break engines or force them into infinite loops.

  • Challenges: Multi-file circular dependency chains, dynamic imports with computed keys, and 5-level deep re-export chains.
  • Try it: Playground - Nightmare

📂 Playground Details (Monorepo)

🟢 Basic

The entry point for every analysis tool. If an engine fails here, it's not ready for production.

🔵 Normal

Simulates a typical small-scale project structure.

🟡 Intermediate

A production-like environment where types and organizational patterns matter.

🔴 Hard

Enterprise-level complexity that trips up many "fast" scanners.

💀 Nightmare

The ultimate stress test. Designed to break engines or force them into infinite loops.


🛠️ How to use

  1. Launch the playground using the links above.
  2. Install dependencies in the StackBlitz terminal:
    bash
    npm install
  3. Run your analysis tool (e.g., using the latest entkapp):
    bash
    npx entkapp@latest -r

CAUTION

When running on the Nightmare level, some engines might experience high CPU usage or timeouts due to the extreme circularity of the dependency graph.

Released under the Apache 2.0 License. "The Original Code was made by DreamLongYT"