Found 51 issues
BABaseProject/BAMainCode/BATools(工具类)/BAKit(工具类)/UIApplication/BAAPP.m:81: warning: PARAMETER_NOT_NULL_CHECKED
Parameter block is not checked for null, there could be a null pointer dereference: pointer block could be null and is dereferenced at line 81, column 5
BABaseProject/BAMainCode/BATools(工具类)/BAKit(工具类)/UIApplication/BAAPP.m:93: warning: PARAMETER_NOT_NULL_CHECKED
Parameter block is not checked for null, there could be a null pointer dereference: pointer block could be null and is dereferenced at line 93, column 5
BABaseProject/BAMainCode/BATools(工具类)/BAKit(工具类)/UIApplication/BAAPP.m:105: warning: PARAMETER_NOT_NULL_CHECKED
Parameter block is not checked for null, there could be a null pointer dereference: pointer block could be null and is dereferenced at line 105, column 5
BABaseProject/BAMainCode/BATools(工具类)/BAKit(工具类)/BACustom/BARegularExpression/BARegularExpression.m:459: warning: PARAMETER_NOT_NULL_CHECKED
Parameter bankCardlNum is not checked for null, there could be a null pointer dereference: pointer subStr last assigned on line 458 could be null and is dereferenced by call to addObject: at line 459, column 9
BABaseProject/BAMainCode/BATools(工具类)/BAKit(工具类)/UIApplication/BATouchID.m:115: warning: PARAMETER_NOT_NULL_CHECKED
Parameter completion is not checked for null, there could be a null pointer dereference: pointer completion could be null and is dereferenced at line 115, column 17
BABaseProject/BAMainCode/BATools(工具类)/BAKit(工具类)/UIApplication/BATouchID.m:112: warning: PARAMETER_NOT_NULL_CHECKED
Parameter completion is not checked for null, there could be a null pointer dereference: pointer completion could be null and is dereferenced at line 112, column 17
BABaseProject/BAMainCode/BATools(工具类)/BAKit(工具类)/UIApplication/BATouchID.m:118: warning: PARAMETER_NOT_NULL_CHECKED
Parameter completion is not checked for null, there could be a null pointer dereference: pointer completion could be null and is dereferenced at line 118, column 17
BABaseProject/BAMainCode/BATools(工具类)/BAKit(工具类)/UIApplication/BATouchID.m:121: warning: PARAMETER_NOT_NULL_CHECKED
Parameter completion is not checked for null, there could be a null pointer dereference: pointer completion could be null and is dereferenced at line 121, column 17
BABaseProject/BAMainCode/BABaseData(基类)/BABaseVC/BAWebViewController.m:408: warning: PARAMETER_NOT_NULL_CHECKED
Parameter completionHandler is not checked for null, there could be a null pointer dereference: pointer completionHandler could be null and is dereferenced at line 408, column 5
BABaseProject/BAMainCode/BATools(工具类)/BAKit(工具类)/UIApplication/BALog.m:78: error: NULL_DEREFERENCE
pointer format last assigned on line 75 could be null and is dereferenced by call to initWithFormat:arguments: at line 78, column 22
BABaseProject/BAMainCode/BATools(工具类)/BAKit(工具类)/Foundation/NSData+BAKit.m:114: warning: PARAMETER_NOT_NULL_CHECKED
Parameter key is not checked for null, there could be a null pointer dereference: pointer cKey last assigned on line 113 could be null and is dereferenced by call to strlen() at line 114, column 23
BABaseProject/BAMainCode/BATools(工具类)/BAKit(工具类)/Foundation/NSMutableArray+BAKit.m:85: error: NULL_DEREFERENCE
pointer obj last assigned on line 76 could be null and is dereferenced by call to insertObject:atIndex: at line 85, column 13
BABaseProject/BAMainCode/BATools(工具类)/BAKit(工具类)/Foundation/NSMutableArray+BAKit.m:82: error: NULL_DEREFERENCE
pointer obj last assigned on line 76 could be null and is dereferenced by call to addObject: at line 82, column 13
BABaseProject/BAMainCode/BALib(三方库)/Reachability/Reachability.m:132: error: MEMORY_LEAK
memory dynamically allocated to reachability by call to SCNetworkReachabilityCreateWithAddress() at line 125, column 42 is not reachable after line 132, column 7
BABaseProject/BAMainCode/BALib(三方库)/Reachability/Reachability.m:113: error: MEMORY_LEAK
memory dynamically allocated to reachability by call to SCNetworkReachabilityCreateWithName() at line 109, column 42 is not reachable after line 113, column 7
BABaseProject/BAMainCode/BATools(工具类)/BAKit(工具类)/UIKit/UIDevice+BAKit.m:307: error: MEMORY_LEAK
memory dynamically allocated by call to malloc() at line 299, column 15 is not reachable after line 307, column 9
BABaseProject/BAMainCode/BATools(工具类)/BAKit(工具类)/UIKit/UILabel+BAAttributeTextTapAction.m:167: error: MEMORY_LEAK
memory dynamically allocated to Path by call to CGPathCreateMutable() at line 165, column 29 is not reachable after line 167, column 5
BABaseProject/BAMainCode/BATools(工具类)/BAKit(工具类)/UIKit/UILabel+BAAttributeTextTapAction.m:190: error: MEMORY_LEAK
memory dynamically allocated to Path by call to CGPathCreateMutable() at line 188, column 16 is not reachable after line 190, column 9
BABaseProject/BAMainCode/BATools(工具类)/BAKit(工具类)/UIKit/UILabel+BAAttributeTextTapAction.m:163: error: MEMORY_LEAK
memory dynamically allocated to framesetter by call to CTFramesetterCreateWithAttributedString() at line 163, column 36 is not reachable after line 163, column 5
BABaseProject/BAMainCode/BATools(工具类)/BAKit(工具类)/UIKit/UILabel+BAAttributeTextTapAction.m:205: error: MEMORY_LEAK
memory dynamically allocated to frame by call to CTFramesetterCreateFrame() at line 192, column 17 is not reachable after line 205, column 5
BABaseProject/BAMainCode/BATools(工具类)/BAKit(工具类)/UIKit/UILabel+BAAttributeTextTapAction.m:175: error: MEMORY_LEAK
memory dynamically allocated by call to CTFramesetterCreateFrame() at line 169, column 24 is not reachable after line 175, column 9
BABaseProject/BAMainCode/BATools(工具类)/BAKit(工具类)/UIKit/UITableView+BAKit.m:108: warning: PARAMETER_NOT_NULL_CHECKED
Parameter block is not checked for null, there could be a null pointer dereference: pointer block could be null and is dereferenced at line 108, column 5
Pods/Headers/Public/SDAutoLayout/UIView+SDAutoLayout.h:221: warning: ASSIGN_POINTER_WARNING
Property `didFinishAutoLayoutBlock` is a pointer type marked with the `assign` attribute at line 221, column 1. Use a different attribute like `strong` or `weak`.
Pods/UmengSocialCOM/Umeng_SDK_Social_iOS_ARM64_5.2.1/UMSocial_Sdk_Extra_Frameworks/TencentOpenAPI/TencentOpenAPI.framework/Headers/TencentOAuthObject.h:236: warning: ASSIGN_POINTER_WARNING
Property `paramNeedfeed` is a pointer type marked with the `assign` attribute at line 236, column 1. Use a different attribute like `strong` or `weak`.
Pods/UmengSocialCOM/Umeng_SDK_Social_iOS_ARM64_5.2.1/UMSocial_Sdk_Extra_Frameworks/TencentOpenAPI/TencentOpenAPI.framework/Headers/TencentOAuthObject.h:242: warning: ASSIGN_POINTER_WARNING
Property `paramSuccessnum` is a pointer type marked with the `assign` attribute at line 242, column 1. Use a different attribute like `strong` or `weak`.
BABaseProject/BAMainCode/BABaseData(基类)/BABaseVC/BANavigationController2.m:14: warning: STRONG_DELEGATE_WARNING
Property or ivar popDelegate declared strong at line 14, column 1. In general delegates should be declared weak or assign
Pods/Headers/Public/UMengSocialCOM/UMSocialControllerService.h:101: warning: ASSIGN_POINTER_WARNING
Property `currentNavigationController` is a pointer type marked with the `assign` attribute at line 101, column 1. Use a different attribute like `strong` or `weak`.
Pods/Headers/Public/MJExtension/MJProperty.h:26: warning: ASSIGN_POINTER_WARNING
Property `srcClass` is a pointer type marked with the `assign` attribute at line 26, column 1. Use a different attribute like `strong` or `weak`.
Pods/Headers/Public/UMengSocialCOM/UMSocialBar.h:50: warning: ASSIGN_POINTER_WARNING
Property `socialUIDelegate` is a pointer type marked with the `assign` attribute at line 50, column 1. Use a different attribute like `strong` or `weak`.
Pods/Headers/Public/UMengSocialCOM/UMSocialBar.h:134: warning: ASSIGN_POINTER_WARNING
Property `socialUIDelegate` is a pointer type marked with the `assign` attribute at line 134, column 1. Use a different attribute like `strong` or `weak`.
Pods/Headers/Public/UMengSocialCOM/UMSocialControllerService.h:96: warning: ASSIGN_POINTER_WARNING
Property `currentViewController` is a pointer type marked with the `assign` attribute at line 96, column 1. Use a different attribute like `strong` or `weak`.
Pods/Headers/Public/SDAutoLayout/UITableView+SDAutoTableViewCellHeight.h:134: warning: ASSIGN_POINTER_WARNING
Property `cellClass` is a pointer type marked with the `assign` attribute at line 134, column 1. Use a different attribute like `strong` or `weak`.
BABaseProject/BAMainCode/BACode/Home(首页)/DemoVC/DemoVC11/DemoVC11_AutoLayout.h:40: warning: ASSIGN_POINTER_WARNING
Property `delegate` is a pointer type marked with the `assign` attribute at line 40, column 1. Use a different attribute like `strong` or `weak`.
Pods/Headers/Public/SDAutoLayout/UIView+SDAutoLayout.h:318: warning: ASSIGN_POINTER_WARNING
Property `sd_indexPath` is a pointer type marked with the `assign` attribute at line 318, column 1. Use a different attribute like `strong` or `weak`.
Pods/UmengSocialCOM/Umeng_SDK_Social_iOS_ARM64_5.2.1/UMSocial_Sdk_Extra_Frameworks/TencentOpenAPI/TencentOpenAPI.framework/Headers/QQApiInterfaceObject.h:518: warning: ASSIGN_POINTER_WARNING
Property `extendInfo` is a pointer type marked with the `assign` attribute at line 518, column 1. Use a different attribute like `strong` or `weak`.
Pods/UmengSocialCOM/Umeng_SDK_Social_iOS_ARM64_5.2.1/UMSocial_Sdk_Extra_Frameworks/TencentOpenAPI/TencentOpenAPI.framework/Headers/QQApiInterfaceObject.h:388: warning: ASSIGN_POINTER_WARNING
Property `previewImageData` is a pointer type marked with the `assign` attribute at line 388, column 1. Use a different attribute like `strong` or `weak`.
Pods/UmengSocialCOM/Umeng_SDK_Social_iOS_ARM64_5.2.1/UMSocial_Sdk_Extra_Frameworks/TencentOpenAPI/TencentOpenAPI.framework/Headers/TencentOAuth.h:60: warning: ASSIGN_POINTER_WARNING
Property `sessionDelegate` is a pointer type marked with the `assign` attribute at line 60, column 1. Use a different attribute like `strong` or `weak`.
Pods/Headers/Public/SDAutoLayout/UIView+SDAutoLayout.h:315: warning: ASSIGN_POINTER_WARNING
Property `sd_tableView` is a pointer type marked with the `assign` attribute at line 315, column 1. Use a different attribute like `strong` or `weak`.
Pods/UmengSocialCOM/Umeng_SDK_Social_iOS_ARM64_5.2.1/UMSocial_Sdk_Extra_Frameworks/TencentOpenAPI/TencentOpenAPI.framework/Headers/TencentOAuthObject.h:253: warning: ASSIGN_POINTER_WARNING
Property `paramPicnum` is a pointer type marked with the `assign` attribute at line 253, column 1. Use a different attribute like `strong` or `weak`.
BABaseProject/BAMainCode/BABaseData(基类)/BABaseVC/BANavigationController.m:73: warning: STRONG_DELEGATE_WARNING
Property or ivar popDelegate declared strong at line 73, column 1. In general delegates should be declared weak or assign
BABaseProject/BAMainCode/BATools(工具类)/BAKit(工具类)/UIKit/UIView+BAKit.h:167: warning: ASSIGN_POINTER_WARNING
Property `borderColor` is a pointer type marked with the `assign` attribute at line 167, column 1. Use a different attribute like `strong` or `weak`.
BABaseProject/BAMainCode/BATools(工具类)/BAKit(工具类)/UIKit/UIView+BAKit.h:162: warning: ASSIGN_POINTER_WARNING
Property `bakit_manager` is a pointer type marked with the `assign` attribute at line 162, column 1. Use a different attribute like `strong` or `weak`.
Pods/UmengSocialCOM/Umeng_SDK_Social_iOS_ARM64_5.2.1/UMSocial_Sdk_Extra_Frameworks/TencentOpenAPI/TencentOpenAPI.framework/Headers/TencentOAuthObject.h:215: warning: ASSIGN_POINTER_WARNING
Property `paramMobile` is a pointer type marked with the `assign` attribute at line 215, column 1. Use a different attribute like `strong` or `weak`.
Pods/Headers/Public/UMengSocialCOM/UMSocialControllerService.h:107: warning: ASSIGN_POINTER_WARNING
Property `socialUIDelegate` is a pointer type marked with the `assign` attribute at line 107, column 1. Use a different attribute like `strong` or `weak`.
Pods/Headers/Public/SDAutoLayout/UIView+SDAutoLayout.h:209: warning: ASSIGN_POINTER_WARNING
Property `sd_rightViewsArray` is a pointer type marked with the `assign` attribute at line 209, column 1. Use a different attribute like `strong` or `weak`.
Pods/Headers/Public/SDAutoLayout/UIView+SDAutoLayout.h:322: warning: ASSIGN_POINTER_WARNING
Property `ownLayoutModel` is a pointer type marked with the `assign` attribute at line 322, column 1. Use a different attribute like `strong` or `weak`.
BABaseProject/Main/View/RDVTabBarItem.m:86: warning: DIRECT_ATOMIC_PROPERTY_ACCESS
Direct access to ivar _badgeTextColor of an atomic property at line 86, column 5. Accessing an ivar of an atomic property makes the property nonatomic
BABaseProject/Main/View/RDVTabBarItem.m:84: warning: DIRECT_ATOMIC_PROPERTY_ACCESS
Direct access to ivar _selectedTitleAttributes of an atomic property at line 84, column 5. Accessing an ivar of an atomic property makes the property nonatomic
BABaseProject/Main/View/RDVTabBarItem.m:71: warning: DIRECT_ATOMIC_PROPERTY_ACCESS
Direct access to ivar _unselectedTitleAttributes of an atomic property at line 71, column 9. Accessing an ivar of an atomic property makes the property nonatomic
BABaseProject/Main/View/RDVTabBarItem.m:85: warning: DIRECT_ATOMIC_PROPERTY_ACCESS
Direct access to ivar _badgeBackgroundColor of an atomic property at line 85, column 5. Accessing an ivar of an atomic property makes the property nonatomic
BABaseProject/Main/View/RDVTabBarItem.m:84: warning: DIRECT_ATOMIC_PROPERTY_ACCESS
Direct access to ivar _unselectedTitleAttributes of an atomic property at line 84, column 33. Accessing an ivar of an atomic property makes the property nonatomic
Summary of the reports
ASSIGN_POINTER_WARNING: 22
PARAMETER_NOT_NULL_CHECKED: 11
MEMORY_LEAK: 8
DIRECT_ATOMIC_PROPERTY_ACCESS: 5
NULL_DEREFERENCE: 3
STRONG_DELEGATE_WARNING: 2