Codebase intelligence for AI and humans: code health scores, auto-generated docs, git analytics, dead code detection, and architectural decisions via MCP.
Python aicode-complexitycode-healthcode-intelligencecode-qualitydead-codedeveloper-toolsdocumentationgit-analyticsmcpopen-sourcepythonrefactoringstatic-analysistechnical-debt
<?php
namespace Sample;
use Sample\Models\Operation;
use Sample\Models\CalculationRecord;
/** Calculator for basic arithmetic. */
class Calculator extends BaseCalc implements Computable
{
public function add(float $x, float $y): float
{
return $x + $y;
}
public function subtract(float $x, float $y): float
{
return $x - $y;
}
private function helper(): void {}
}