vk
vk copied to clipboard
PVS Studio Предупреждения
Все предупреждения упорядочены по степени важности: 1 - High 2 - Medium 3 - Low
PS. Нет гарантии что все проблемы проблемные, если есть сомнения можно посоветоваться со мной: https://t.me/inyutin_maxim
-
[ ] 1 - V3022 - Expression 'responseArray == null' is always false. CWE570
-
[ ] 1 - V3022 - Expression 'responseArray == null' is always false. CWE570
-
[ ] 1 - V3022 - Expression 'responseArray == null' is always false. CWE570
-
[ ] 1 - V3022 - Expression 'responseArray == null' is always false. CWE570
-
[ ] 1 - V3022 - Expression 'response' is always not null. The operator '?.' is excessive. CWE571
-
[ ] 1 - V3022 - Expression 'Selected?.GetHashCode()' is always not null. The operator '??' is excessive. CWE571
-
[ ] 1 - V3022 - Expression 'Selected' is always not null. The operator '?.' is excessive. CWE571
-
[ ] 2 - V3125 - The 'uri.Fragment' object was used after it was verified against null. Check lines: 119, 113. CWE476
-
[ ] 2 - V3080 - Possible null dereference. Consider inspecting 'auth'. CWE476
-
[ ] 2 - V3080 - Possible null dereference inside method at 'formResult.ResponseUri'. Consider inspecting the 1st argument: resultForm. CWE476
-
[ ] 2 - V3080 - Possible null dereference. Consider inspecting 'tokenUri'. CWE476
-
[ ] 2 - V3073 - Not all IDisposable members are properly disposed. Call 'Dispose' when disposing 'VkApi' class. Inspect: RestClient.
-
- [ ] VkApi.cs#L51-L51
-
- [ ] VkApi.cs#L79-L79
-
[ ] 3 - V3097 - Possible exception: the 'GroupsEditManagerParams' type marked by [Serializable] contains non-serializable members not marked by [NonSerialized].
-
[ ] 3 - V3097 - Possible exception: the 'CarouselElementAction' type marked by [Serializable] contains non-serializable members not marked by [NonSerialized].
-
[ ] 3 - V3097 - Possible exception: the 'UserSearchParams' type marked by [Serializable] contains non-serializable members not marked by [NonSerialized].
-
[ ] 3 - V3097 - Possible exception: the 'FriendsGetOnlineParams' type marked by [Serializable] contains non-serializable members not marked by [NonSerialized].
-
[ ] 3 - V3097 - Possible exception: the 'PhotoSearchParams' type marked by [Serializable] contains non-serializable members not marked by [NonSerialized].
-
[ ] 3 - V3097 - Possible exception: the 'VideoCatalog' type marked by [Serializable] contains non-serializable members not marked by [NonSerialized].
-
[ ] 3 - V3097 - Possible exception: the 'GroupUpdate' type marked by [Serializable] contains non-serializable members not marked by [NonSerialized].
-
[ ] 3 - V3097 - Possible exception: the 'VideoSearchParams' type marked by [Serializable] contains non-serializable members not marked by [NonSerialized].
-
[ ] 3 - V3097 - Possible exception: the 'LikesAddParams' type marked by [Serializable] contains non-serializable members not marked by [NonSerialized].
-
[ ] 3 - V3097 - Possible exception: the 'AppGetCatalogParams' type marked by [Serializable] contains non-serializable members not marked by [NonSerialized].
-
[ ] 3 - V3097 - Possible exception: the 'ApiAuthParams' type marked by [Serializable] contains non-serializable members not marked by [NonSerialized].
-
[ ] 3 - V3097 - Possible exception: the 'GetTargetingStatsParams' type marked by [Serializable] contains non-serializable members not marked by [NonSerialized].
-
[ ] 3 - V3097 - Possible exception: the 'LookalikeRequestItem' type marked by [Serializable] contains non-serializable members not marked by [NonSerialized].
-
[ ] 3 - V3097 - Possible exception: the 'GetDemographicsParams' type marked by [Serializable] contains non-serializable members not marked by [NonSerialized].
-
[ ] 3 - V3097 - Possible exception: the 'User' type marked by [Serializable] contains non-serializable members not marked by [NonSerialized].
-
- [ ] User.cs#L23-L23
-
[ ] 3 - V3097 - Possible exception: the 'AdsAccount' type marked by [Serializable] contains non-serializable members not marked by [NonSerialized].
-
[ ] 3 - V3097 - Possible exception: the 'MessagesSendParams' type marked by [Serializable] contains non-serializable members not marked by [NonSerialized].
-
[ ] 3 - V3097 - Possible exception: the 'MessageKeyboardButton' type marked by [Serializable] contains non-serializable members not marked by [NonSerialized].
-
[ ] 3 - V3097 - Possible exception: the 'VideoCatalogItem' type marked by [Serializable] contains non-serializable members not marked by [NonSerialized].
-
[ ] 3 - V3097 - Possible exception: the 'AudioCatalogItemMeta' type marked by [Serializable] contains non-serializable members not marked by [NonSerialized].
-
[ ] 3 - V3097 - Possible exception: the 'OfficeUsersAccesses' type marked by [Serializable] contains non-serializable members not marked by [NonSerialized].
-
[ ] 3 - V3097 - Possible exception: the 'LinkStatus' type marked by [Serializable] contains non-serializable members not marked by [NonSerialized].
-
[ ] 3 - V3097 - Possible exception: the 'MessageKeyboardButtonAction' type marked by [Serializable] contains non-serializable members not marked by [NonSerialized].
-
[ ] 3 - V3097 - Possible exception: the 'GetStatisticsResult' type marked by [Serializable] contains non-serializable members not marked by [NonSerialized].
-
[ ] 3 - V051 - Some of the references in 'VkNet.Tests' project are missing or incorrect. The analysis results could be incomplete. Consider making the project fully compilable and building it before analysis.
-
[ ] 3 - V3097 - Possible exception: the 'App' type marked by [Serializable] contains non-serializable members not marked by [NonSerialized].
-
- [ ] App.cs#L17-L17
-
- [ ] App.cs#L62-L62
-
[ ] 3 - V3097 - Possible exception: the 'CampaignSpecification' type marked by [Serializable] contains non-serializable members not marked by [NonSerialized].
-
[ ] 3 - V3097 - Possible exception: the 'NewsFeedGetParams' type marked by [Serializable] contains non-serializable members not marked by [NonSerialized].
-
[ ] 3 - V3097 - Possible exception: the 'PhotoGetCommentsParams' type marked by [Serializable] contains non-serializable members not marked by [NonSerialized].
-
[ ] 3 - V3111 - Checking value of 'i' for null will always return false when generic type is instantiated with a value type.
-
[ ] 3 - V3111 - Checking value of 'i' for null will always return false when generic type is instantiated with a value type.
-
[ ] 3 - V3111 - Checking value of 'i' for null will always return false when generic type is instantiated with a value type.
-
[ ] 3 - V3097 - Possible exception: the 'FaveGetObject' type marked by [Serializable] contains non-serializable members not marked by [NonSerialized].
-
[ ] 3 - V3097 - Possible exception: the 'FaveSetTagsParams' type marked by [Serializable] contains non-serializable members not marked by [NonSerialized].
-
[ ] 3 - V3097 - Possible exception: the 'PhotoGetParams' type marked by [Serializable] contains non-serializable members not marked by [NonSerialized].
-
[ ] 3 - V3097 - Possible exception: the 'FaveGetPagesObject' type marked by [Serializable] contains non-serializable members not marked by [NonSerialized].
-
[ ] 3 - V3097 - Possible exception: the 'GetAddressesParams' type marked by [Serializable] contains non-serializable members not marked by [NonSerialized].
-
[ ] 3 - V3097 - Possible exception: the 'AdsCampaign' type marked by [Serializable] contains non-serializable members not marked by [NonSerialized].
-
[ ] 3 - V3111 - Checking value of 'value' for null will always return false when generic type is instantiated with a value type.
-
[ ] 3 - V3097 - Possible exception: the 'MarketGetCommentsParams' type marked by [Serializable] contains non-serializable members not marked by [NonSerialized].
-
[ ] 3 - V3097 - Possible exception: the 'GroupsGetParams' type marked by [Serializable] contains non-serializable members not marked by [NonSerialized].
-
[ ] 3 - V3097 - Possible exception: the 'NewsFeedGetCommentsParams' type marked by [Serializable] contains non-serializable members not marked by [NonSerialized].
-
[ ] 3 - V3097 - Possible exception: the 'AdSpecification' type marked by [Serializable] contains non-serializable members not marked by [NonSerialized].
-
[ ] 3 - V3097 - Possible exception: the 'GroupsGetMembersParams' type marked by [Serializable] contains non-serializable members not marked by [NonSerialized].
-
[ ] 3 - V3097 - Possible exception: the 'Market' type marked by [Serializable] contains non-serializable members not marked by [NonSerialized].
-
[ ] 3 - V3097 - Possible exception: the 'LikesGetListParams' type marked by [Serializable] contains non-serializable members not marked by [NonSerialized].
-
[ ] 3 - V3097 - Possible exception: the 'CheckLinkParams' type marked by [Serializable] contains non-serializable members not marked by [NonSerialized].
-
[ ] 3 - V3097 - Possible exception: type marked by [Serializable] contains non-serializable members not marked by [NonSerialized].
-
[ ] 3 - V3097 - Possible exception: type marked by [Serializable] contains non-serializable members not marked by [NonSerialized].
-
[ ] 3 - V3097 - Possible exception: the 'MessageActionObject' type marked by [Serializable] contains non-serializable members not marked by [NonSerialized].
-
[ ] 3 - V3097 - Possible exception: the 'GetStatisticsParams' type marked by [Serializable] contains non-serializable members not marked by [NonSerialized].
-
[ ] 3 - V3097 - Possible exception: the 'Ad' type marked by [Serializable] contains non-serializable members not marked by [NonSerialized].
-
- [ ] Ad.cs#L18-L18
-
- [ ] Ad.cs#L80-L80
-
[ ] 3 - V3097 - Possible exception: the 'AdEditSpecification' type marked by [Serializable] contains non-serializable members not marked by [NonSerialized].
-
[ ] 3 - V3097 - Possible exception: the 'UserSpecification' type marked by [Serializable] contains non-serializable members not marked by [NonSerialized].
-
[ ] 3 - V3097 - Possible exception: the 'WallGetCommentsParams' type marked by [Serializable] contains non-serializable members not marked by [NonSerialized].
-
[ ] 3 - V3097 - Possible exception: the 'SearchGetHintsParams' type marked by [Serializable] contains non-serializable members not marked by [NonSerialized].
-
[ ] 3 - V3097 - Possible exception: the 'WallSearchParams' type marked by [Serializable] contains non-serializable members not marked by [NonSerialized].
-
[ ] 3 - V3097 - Possible exception: the 'AppSendRequestParams' type marked by [Serializable] contains non-serializable members not marked by [NonSerialized].
-
[ ] 3 - V3097 - Possible exception: the 'PrettyCardsCreateParams' type marked by [Serializable] contains non-serializable members not marked by [NonSerialized].
-
[ ] 3 - V3097 - Possible exception: the 'CallbackServerParams' type marked by [Serializable] contains non-serializable members not marked by [NonSerialized].
-
[ ] 3 - V3097 - Possible exception: the 'NewsFeedSearchParams' type marked by [Serializable] contains non-serializable members not marked by [NonSerialized].
-
[ ] 3 - V3097 - Possible exception: the 'TemplateBuilder' type marked by [Serializable] contains non-serializable members not marked by [NonSerialized].
-
[ ] 3 - V3097 - Possible exception: the 'WallGetParams' type marked by [Serializable] contains non-serializable members not marked by [NonSerialized].
-
[ ] 3 - V3097 - Possible exception: the 'NewsItem' type marked by [Serializable] contains non-serializable members not marked by [NonSerialized].
-
[ ] 3 - V3097 - Possible exception: the 'FaveGetParams' type marked by [Serializable] contains non-serializable members not marked by [NonSerialized].
-
[ ] 3 - V3097 - Possible exception: the 'FriendsGetMutualParams' type marked by [Serializable] contains non-serializable members not marked by [NonSerialized].
-
[ ] 3 - V3097 - Possible exception: the 'FriendsGetParams' type marked by [Serializable] contains non-serializable members not marked by [NonSerialized].
-
[ ] 3 - V3097 - Possible exception: the 'FriendsSearchParams' type marked by [Serializable] contains non-serializable members not marked by [NonSerialized].
-
[ ] 3 - V3097 - Possible exception: the 'CreateLookALikeRequestParams' type marked by [Serializable] contains non-serializable members not marked by [NonSerialized].
-
[ ] 3 - V3097 - Possible exception: the 'UsersGetNearbyParams' type marked by [Serializable] contains non-serializable members not marked by [NonSerialized].
-
[ ] 3 - V3097 - Possible exception: the 'ChangeNameRequest' type marked by [Serializable] contains non-serializable members not marked by [NonSerialized].
-
[ ] 3 - V3097 - Possible exception: the 'BoardGetCommentsParams' type marked by [Serializable] contains non-serializable members not marked by [NonSerialized].
-
[ ] 3 - V3097 - Possible exception: the 'VideoGetCommentsParams' type marked by [Serializable] contains non-serializable members not marked by [NonSerialized].
-
[ ] 3 - V3097 - Possible exception: the 'LinkStatsParams' type marked by [Serializable] contains non-serializable members not marked by [NonSerialized].
-
[ ] 3 - V3097 - Possible exception: the 'PollsGetVotersParams' type marked by [Serializable] contains non-serializable members not marked by [NonSerialized].
-
[ ] 3 - V3097 - Possible exception: the 'CallbackServerItem' type marked by [Serializable] contains non-serializable members not marked by [NonSerialized].
-
[ ] 3 - V3097 - Possible exception: the 'AppGetParams' type marked by [Serializable] contains non-serializable members not marked by [NonSerialized].
-
[ ] 3 - V3097 - Possible exception: the 'Story' type marked by [Serializable] contains non-serializable members not marked by [NonSerialized].
-
- [ ] Story.cs#L14-L14
-
- [ ] Story.cs#L53-L53
-
[ ] 3 - V3097 - Possible exception: the 'VideoGetCatalogParams' type marked by [Serializable] contains non-serializable members not marked by [NonSerialized].
-
[ ] 3 - V3097 - Possible exception: the 'GetDemographicsResult' type marked by [Serializable] contains non-serializable members not marked by [NonSerialized].
-
[ ] 3 - V3097 - Possible exception: the 'MessageTemplate' type marked by [Serializable] contains non-serializable members not marked by [NonSerialized].