Skip to content

Codebase intelligence for AI and humans: code health scores, auto-generated docs, git analytics, dead code detection, and architectural decisions via MCP.

330 B
Raw Blame
import Foundation

/// Calculator for basic arithmetic.
class Calculator: Computable {
    func add(x: Double, y: Double) -> Double {
        return x + y
    }

    func subtract(x: Double, y: Double) -> Double {
        return x - y
    }

    private func helper() {}

    func compute() -> Double {
        return 0.0
    }
}