UNPKG

agentsqripts

Version:

Comprehensive static code analysis toolkit for identifying technical debt, security vulnerabilities, performance issues, and code quality problems

37 lines (30 loc) 1.7 kB
# lib/frontend-backend Directory This directory contains the frontend-backend integration analyzer for detecting API integration issues and mismatches. ## Core Analysis: - **analyzeFrontendBackend.js**: Main integration analysis entry point - **integrationProjectAnalyzer.js**: Project-level integration assessment - **integrationFileAnalyzer.js**: File-level integration analysis - **integrationFileCollector.js**: Integration-relevant file collection ## Detection Systems: - **apiEndpointMatcher.js**: API endpoint matching and validation - **dataFlowAnalyzer.js**: Data flow between frontend and backend - **integrationPatternDetector.js**: Integration anti-pattern detection - **communicationProtocolAnalyzer.js**: Communication protocol analysis ## Framework Support: - **expressIntegrationAnalyzer.js**: Express.js API integration analysis - **reactApiAnalyzer.js**: React API call analysis - **vueApiAnalyzer.js**: Vue.js API integration analysis - **restApiPatternAnalyzer.js**: REST API pattern validation ## Validation: - **endpointValidityChecker.js**: API endpoint validity checking - **dataStructureMatcher.js**: Frontend-backend data structure matching - **integrationTestAnalyzer.js**: Integration test coverage analysis ## Assessment: - **integrationScoreCalculator.js**: Integration quality scoring - **integrationGradeProvider.js**: Integration grade assignment - **integrationRecommendationGenerator.js**: Integration improvement recommendations ## Purpose: - Detect mismatched API endpoints and data structures - Analyze frontend-backend communication patterns - Provide framework-specific integration analysis - Generate recommendations for better API integration practices