Repository Analysis

homebridge/homebridge

HomeKit support for the impatient.

1.2 Likely human-written View on GitHub
1.2
Adjusted Score
1.2
Raw Score
100%
Time Factor
2026-05-30
Last Push
25,367
Stars
TypeScript
Language
41,919
Lines of Code
325
Files
22
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 3HIGH 0MEDIUM 0LOW 19

Pattern Findings

22 matches across 5 categories. Click a row to expand file-level details.

Hallucination Indicators3 hits · 30 pts
SeverityFileLineSnippet
CRITICALsrc/matter/server/CommissioningManager.ts320 deps.serverNode.events.commissioning.fabricsChanged.on(this.onFabricsChanged)
CRITICALsrc/matter/server/CommissioningManager.ts332 deps.serverNode.events.commissioning.commissioned.on(this.onCommissioned)
CRITICALsrc/matter/server/CommissioningManager.ts343 deps.serverNode.events.commissioning.decommissioned.on(this.onDecommissioned)
Hyper-Verbose Identifiers13 hits · 13 pts
SeverityFileLineSnippet
LOWsrc/matter/ExternalMatterAccessoryPublisher.ts60export async function publishExternalMatterAccessory(
LOWsrc/matter/logFormatter.ts24export function createHomebridgeLogFormatter(): (diagnostic: unknown) => string {
LOWsrc/matter/logFormatter.ts102function formatHomebridgeTimestamp(date: Date): string {
LOWsrc/matter/serverHelpers.ts62export function validateAccessoryRequiredFields(accessory: MatterAccessory): void {
LOWsrc/matter/serverHelpers.ts214export function extractColorControlFeatures(supportedFeatures: Record<string, boolean>): string[] {
LOWsrc/matter/serverHelpers.ts233export function extractThermostatFeatures(supportedFeatures: Record<string, boolean>): string[] {
LOWsrc/matter/serverHelpers.ts266export function extractLevelControlFeatures(
LOWsrc/matter/serverHelpers.ts288export function determineColorControlFeaturesFromHandlers(
LOWsrc/matter/serverHelpers.ts315export function detectWindowCoveringFeatures(accessory: MatterAccessory): string[] {
LOWsrc/matter/serverHelpers.ts360export function detectServiceAreaFeatures(
LOWsrc/matter/serverHelpers.ts383export function applyWindowCoveringFeatures(
LOWsrc/matter/server/ServerConfig.ts27export function validateAndSanitizeConfig(config: MatterServerConfig): MatterServerConfig {
LOWsrc/matter/server/ServerConfig.ts27export function validateAndSanitizeConfig(config: MatterServerConfig): MatterServerConfig {
Verbosity Indicators2 hits · 3 pts
SeverityFileLineSnippet
LOWsrc/matter/types.ts704 * This type is used when we need to check if an endpoint has a state
LOWsrc/matter/types.ts755 * Used when we need to check if a device type supports .with()
Over-Commented Block3 hits · 3 pts
SeverityFileLineSnippet
LOWsrc/matter/server/ServerLifecycle.ts261 nodeOptions.productDescription = {
LOWsrc/matter/server/AccessoryManager.ts301 thermostatFeatures = detectBehaviorFeatures(
LOWsrc/matter/behaviors/WindowCoveringBehavior.spec.ts21// Note: WindowCoveringBehavior has complex position control with helper methods.
AI Slop Vocabulary1 hit · 1 pts
SeverityFileLineSnippet
LOWdocs/interfaces/AccessoryPlugin.html11method <a href="#getservices" class="tsd-kind-property">getServices</a> must be defined in any way and should just retur