PhpMetrics is a powerful static analysis tool for PHP code that provides metrics on code quality, complexity, maintainability, and architecture. It generates comprehensive reports in HTML format, visualizing metrics like cyclomatic complexity, lines of code, and coupling between classes. PhpMetrics helps developers identify potential code issues, optimize performance, and maintain high-quality codebases.

Features

  • Analyzes code quality and maintainability
  • Generates visual reports in HTML format
  • Calculates cyclomatic complexity and code coupling
  • Provides metrics on lines of code, depth, and inheritance
  • Detects architectural flaws and anti-patterns
  • Supports analyzing entire projects or specific files

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

MIT License

Follow PhpMetrics

PhpMetrics Web Site

Other Useful Business Software
Ship Agents Faster Icon
Ship Agents Faster

Transform your applications and workflows into powerful agentic systems at global scale.

Gemini Enterprise Agent Platform lets you rapidly build, scale, govern and optimize production-ready agents grounded in your organization's data. The platform enables developers to build custom or pre-built agents for virtually any use case. New customers get $300 in free credits.
Get Started Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of PhpMetrics!

Additional Project Details

Programming Language

PHP

Related Categories

PHP Libraries

Registered

2025-05-16