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
package sample
import sample.models.Operation
import sample.models.CalculationRecord
/** Calculator for basic arithmetic. */
class Calculator extends BaseCalc with Computable {
def add(x: Double, y: Double): Double = x + y
def subtract(x: Double, y: Double): Double = x - y
private def helper(): Unit = {}
def compute(): Double = 0.0
}
trait Computable {
def compute(): Double
}