UNPKG

sfcoe-ailabs

Version:

AI-powered code review tool with static analysis integration for comprehensive code quality assessment.

15 lines (14 loc) 694 B
import { SCATProviderType, SCATProvider } from './index.js'; export default class SCATProviderFactory { /** * Gets a SCAT provider instance * * @param type - The type of SCAT provider to create * @param scanDirectory - The directory to scan for code analysis * @param configFile - Optional configuration file path for the analyzer * @param fileList - Optional array of specific files to analyze (for PMD) * @returns An instance of the specified SCAT provider * @throws Error when the provider type is unsupported */ static getInstance(type: SCATProviderType, scanDirectory: string, configFile?: string, fileList?: string[]): SCATProvider; }