https://github.com/fdiaz/SwiftInspector
SwiftInspector is a command line tool built on top of SwiftSyntax to help inspect usage of Swift code
https://github.com/fdiaz/SwiftInspector
cli static-analyzer swift
Last synced: 11 months ago
JSON representation
SwiftInspector is a command line tool built on top of SwiftSyntax to help inspect usage of Swift code
- Host: GitHub
- URL: https://github.com/fdiaz/SwiftInspector
- Owner: fdiaz
- License: mit
- Archived: true
- Created: 2020-03-22T19:00:29.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2022-09-19T23:25:59.000Z (almost 4 years ago)
- Last Synced: 2024-11-24T19:51:48.027Z (over 1 year ago)
- Topics: cli, static-analyzer, swift
- Language: Swift
- Homepage:
- Size: 429 KB
- Stars: 38
- Watchers: 4
- Forks: 5
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README


[](https://codecov.io/gh/fdiaz/SwiftInspector)
[](https://www.repostatus.org/#abandoned)
`SwiftInspector` is a command line tool and set of SPM libraries built on top of [SwiftSyntax](https://github.com/apple/swift-syntax). `SwiftInspector` reliably finds usages of classes, protocols, properties, etc. in a codebase by analyzing the Swift [AST](https://en.wikipedia.org/wiki/Abstract_syntax_tree).
## Archived Project
This project is considered abandoned and has been archived.
---
## Requirements
- Swift 5.6
- Xcode 13.3.1
## Install
Run the following command:
```
$ git clone git@github.com:fdiaz/SwiftInspector.git
$ cd SwiftInspector
$ make install
```
## Develop
If you want to contribute to this project, please take a look at our [CONTRIBUTING](CONTRIBUTING.md) guidelines. To open the project in Xcode, open the `Package.swift` file at the root of the repo.
## Default branch
The default branch of this repository is `main`. Between the initial commit and [75bd9f4
](https://github.com/fdiaz/SwiftInspector/commit/75bd9f440d72ade9abd1e1d8e9d118e8bb8701a0), the default branch of this repository was `master`. See [#38](https://github.com/fdiaz/SwiftInspector/issues/38) for more details on why this change was made.
## License
[MIT](LICENSE)