Pecker
Pecker copied to clipboard
CodePecker is a tool to detect unused Swift code.
https://github.com/woshiccm/Pecker/blob/52f241f94a2ba5893068acae74d7a05490a5197c/Sources/PeckerKit/SourceKitServer/Workspace.swift#L24
Installed manually and run `make install`. Error message as below ``` /Pecker/.build/checkouts/Yams/Sources/Yams/Emitter.swift:338:32: warning: initialization of 'UnsafeMutablePointer' (aka 'UnsafeMutablePointer') results in a dangling pointer versionDirective = UnsafeMutablePointer(&versionDirectiveValue) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/tieda/Desktop/Pecker/.build/checkouts/Yams/Sources/Yams/Emitter.swift:338:53: note: implicit...
version 0.4.0 does not work
```bash /redacted/Pecker/.build/checkouts/swift-syntax/Sources/SwiftSyntax/SyntaxParser.swift:195:57: error: missing argument for parameter #3 in call let c_top = swiftparse_parse_string(c_parser, source) ^ , _InternalSwiftSyntaxParser.swiftparse_parse_string:1:13: note: 'swiftparse_parse_string' declared here public func swiftparse_parse_string(_: swiftparse_parser_t!, _ source: UnsafePointer!, _...
I can't see any warning what https://github.com/woshiccm/Pecker#pecker is showing. I did as below: https://github.com/woshiccm/Pecker#pecker
I cannot install Pecker on Big Sur (possibly due to being beta, but maybe you know). If trying via Homebrew it throws an error, and trying a manual install via...
With `skip_public` rule enabled (which already is by default), This case is detected as unused. ```swift public extension NSParagraphStyle { static var level1: NSParagraphStyle { ... } } ``` This...
通过 pod install 安装,Pods 里对应的文件夹没有可配置文件 ,建议默认就忽略 pods 下面的内容
Installed Pecker 0.3.0 with Homebrew and running Pecker as a Run Script Phase in Xcode. Running with Pecker's defaults and without a yaml file, all my tests show an unused...
Pecker currently requires the BUILD_ROOT environment variable to be set, if an index store path is not passed. Without a BUILD_ROOT, it fails silently. It would be good to document...