sonar-swift.SonarQube iOS Plugin, Support Objective-C/Swift/Java, Support import Infer Issue (SonarQube iOS 代码扫描插件,支持 Objective-C 和 Swift / Java,支持 Infer 结果导入 ) base on https://github.com/Idean/sonar-swift
NSString *str = XXXXXXX; // 方法返回值
return str; // 提示 The value read from str was never initialized.
NSString *picUrl = picInfo.img; // 提示 The value written to &picUrl (type NSString*) is never used.
[cell.picImagView sd_setImageWithURL:[NSURL URLWithString:picUrl] placeholderImage:pImg];
Question Checklist
Question Subject
列举会出现误报情况(不只这两种)如下:
感谢!