Conversation
Use specific keyword positions (funcKeyword, initKeyword, etc.) instead of entire node positions and use positionAfterSkippingLeadingTrivia to get more accurate source locations for Xcode diagnostics. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
Update all SyntaxVisitor implementations to use sourceAccurate mode for more precise source location tracking. This ensures accurate line numbers in diagnostic output. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
Add 'xcode' output format that generates Xcode-compatible diagnostics with proper warning/error severity based on complexity thresholds. This enables direct IDE integration for complexity warnings. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
Create separate plugin package under Examples/ to avoid circular dependencies. The plugin uses buildCommand instead of prebuildCommand to work with source-built executables. - Supports both SPM and Xcode project integration - Uses environment variable SWIFT_COMPLEXITY_THRESHOLD for configuration - Outputs diagnostics in Xcode format for IDE integration 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
Add example iOS app demonstrating Build Tool Plugin integration with sample complex code for testing complexity analysis. The example includes various complexity levels for testing thresholds. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
- Rename executable product from 'swift-complexity' to 'SwiftComplexityCLI' to match target name and improve plugin compatibility - Add iOS platform support (.iOS(.v13)) for broader compatibility 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
- Add .build/ to .gitignore for cleaner repository - Add SwiftComplexityCLI launch configurations to VSCode settings - Update README to mention plugin architecture in package structure 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
Move SwiftComplexityPlugin from Examples/SwiftComplexityPlugin to Plugins/SwiftComplexityPlugin and integrate it into main Package.swift. This provides a more appropriate structure where users can access both CLI and plugin from a single dependency. Changes: - Remove Examples/SwiftComplexityPlugin package - Add plugin target to main Package.swift - Move plugin implementation to Plugins/SwiftComplexityPlugin/ - Update test to include new 'xcode' output format - Update example project to reference main package plugin - Add complexity calculation comments to example code 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
e802c36 to
dfbc6a1
Compare
🔍 Complexity Analysis Results✅ All functions are below the complexity threshold of 15. This analysis was performed by swift-complexity itself. |
📊 PR Analysis
📝 Large PR: Consider breaking this into smaller, focused PRs. Automated analysis by swift-complexity CI |
1 similar comment
📊 PR Analysis
📝 Large PR: Consider breaking this into smaller, focused PRs. Automated analysis by swift-complexity CI |
e01d195 to
0e8ab63
Compare
📊 PR Analysis
📝 Large PR: Consider breaking this into smaller, focused PRs. Automated analysis by swift-complexity CI |
🔍 Complexity Analysis Results✅ All functions are below the complexity threshold of 15. This analysis was performed by swift-complexity itself. |
0e8ab63 to
ef4aee8
Compare
📊 PR Analysis
📝 Large PR: Consider breaking this into smaller, focused PRs. Automated analysis by swift-complexity CI |
🔍 Complexity Analysis Results✅ All functions are below the complexity threshold of 15. This analysis was performed by swift-complexity itself. |
📊 PR Analysis
📝 Large PR: Consider breaking this into smaller, focused PRs. Automated analysis by swift-complexity CI |
🔍 Complexity Analysis Results✅ All functions are below the complexity threshold of 15. This analysis was performed by swift-complexity itself. |
Overview
Create XcodeBuildToolPlugin running swift-complexity CLI.
Demo Screenshot
Type of Change
Please check all that apply:
Related Issues
Closes #4
Related to #(issue number)
Changes Made
Core Changes
Tests
Documentation
Testing
Test Plan
Test Commands
Complexity Analysis
Self-Analysis Required
Run swift-complexity on your changes:
Results: (paste results here or indicate no high-complexity functions added)
Justification for complex functions: (if any functions exceed threshold)
Cross-Platform Compatibility
Platform Testing
Platform Considerations
Performance Impact
Details: (if applicable)
Breaking Changes
Breaking Changes Description: (if applicable)
Screenshots/Output
(If applicable, add screenshots or example output)
Checklist
Code Quality
Testing
Documentation
Dependencies
CI/CD
Additional Notes
(Any additional information that reviewers should know)