| ⚠️ | This PR introduced a violation in Aerial:/Aerial/Source/Models/API/Forecast.swift:161:5: warning: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 17 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Aerial:/Aerial/Source/Models/Aerial.swift:374:5: warning: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 20 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Aerial:/Aerial/Source/Models/Cache/Cache.swift:378:5: warning: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 17 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Aerial:/Aerial/Source/Models/Cache/Cache.swift:609:5: warning: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 17 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Aerial:/Aerial/Source/Models/Cache/Cache.swift:704:5: error: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 30 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Aerial:/Aerial/Source/Models/Cache/PoiStringProvider.swift:165:13: warning: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 17 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Aerial:/Aerial/Source/Models/Cache/VideoLoader.swift:94:5: warning: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 18 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Aerial:/Aerial/Source/Models/Extensions/NSImage+trim.swift:28:13: error: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 28 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Aerial:/Aerial/Source/Models/Hardware/NightShift.swift:41:5: error: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 22 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Aerial:/Aerial/Source/Models/ManifestLoader.swift:929:5: warning: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 16 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Aerial:/Aerial/Source/Models/Music/Music.swift:78:11: error: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 29 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Aerial:/Aerial/Source/Models/Sources/Sidebar.swift:58:5: error: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 31 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Aerial:/Aerial/Source/Models/Sources/Source.swift:182:5: error: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 26 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Aerial:/Aerial/Source/Models/Sources/Source.swift:365:5: warning: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 20 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Aerial:/Aerial/Source/Models/Sources/Source.swift:437:5: error: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 26 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Aerial:/Aerial/Source/Models/Sources/SourceList.swift:166:5: warning: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 17 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Aerial:/Aerial/Source/Models/Sources/VideoList.swift:425:5: warning: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 16 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Aerial:/Aerial/Source/Models/Time/TimeManagement.swift:45:5: error: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 32 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Aerial:/Aerial/Source/Views/AerialView.swift:237:5: error: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 34 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Aerial:/Aerial/Source/Views/AerialView.swift:774:5: error: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 24 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Aerial:/Aerial/Source/Views/AerialView.swift:900:14: error: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 21 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Aerial:/Aerial/Source/Views/Layers/Weather/ForecastLayer.swift:17:5: error: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 36 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Aerial:/Aerial/Source/Views/PrefPanel/DisplayView.swift:58:14: error: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 38 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Aerial:/Aerial/Source/Views/PrefPanel/InfoWeatherView.swift:126:15: error: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 23 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Aerial:/Resources/MainUI/VideosViewController.swift:401:5: warning: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 16 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Alamofire:/Source/Core/Request.swift:1002:12: error: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 29 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Alamofire:/Source/Features/URLEncodedFormEncoder.swift:585:13: warning: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 16 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Alamofire:/Tests/ProtectedTests.swift:168:13: warning: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 19 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Alamofire:/Tests/ProtectedTests.swift:224:13: warning: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 19 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/App/iOS/Delegates/SceneDelegate.swift:287:3: error: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 24 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/App/iOS/Delegates/SceneDelegate.swift:40:3: error: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 24 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/Plugins/LeoAssetsPlugin/LeoAssetsPlugin.swift:104:15: warning: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 16 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/Sources/Brave/DeviceCheck/DeviceCheck.swift:318:11: error: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 25 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/Sources/Brave/Frontend/Brave Notifications/BraveNotificationsPresenter.swift:54:3: warning: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 19 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/Sources/Brave/Frontend/Browser/BrowserViewController/BVC+Callout.swift:237:11: warning: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 19 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/Sources/Brave/Frontend/Browser/BrowserViewController/BVC+Menu.swift:124:3: error: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 22 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/Sources/Brave/Frontend/Browser/BrowserViewController/BVC+Menu.swift:49:3: warning: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 17 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/Sources/Brave/Frontend/Browser/BrowserViewController/BVC+Onboarding.swift:185:11: warning: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 17 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/Sources/Brave/Frontend/Browser/BrowserViewController/BVC+Playlist.swift:101:3: error: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 25 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/Sources/Brave/Frontend/Browser/BrowserViewController/BVC+ProductNotification.swift:32:11: warning: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 20 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/Sources/Brave/Frontend/Browser/BrowserViewController/BVC+ProductNotification.swift:83:11: error: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 22 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/Sources/Brave/Frontend/Browser/BrowserViewController/BVC+ReaderMode.swift:159:3: warning: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 18 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/Sources/Brave/Frontend/Browser/BrowserViewController/BVC+ShareActivity.swift:16:3: error: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 74 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/Sources/Brave/Frontend/Browser/BrowserViewController/BVC+TabManagerDelegate.swift:19:3: error: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 30 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/Sources/Brave/Frontend/Browser/BrowserViewController/BVC+TabManagerDelegate.swift:226:3: error: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 52 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/Sources/Brave/Frontend/Browser/BrowserViewController/BVC+ToolbarDelegate.swift:231:22: warning: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 20 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/Sources/Brave/Frontend/Browser/BrowserViewController/BVC+ToolbarDelegate.swift:354:3: error: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 23 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/Sources/Brave/Frontend/Browser/BrowserViewController/BVC+ToolbarDelegate.swift:64:3: warning: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 18 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/Sources/Brave/Frontend/Browser/BrowserViewController/BVC+ToolbarDelegate.swift:652:11: error: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 50 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/Sources/Brave/Frontend/Browser/BrowserViewController/BVC+ToolbarDelegate.swift:823:3: warning: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 18 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/Sources/Brave/Frontend/Browser/BrowserViewController/BVC+WKNavigationDelegate.swift:1225:10: error: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 40 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/Sources/Brave/Frontend/Browser/BrowserViewController/BVC+WKNavigationDelegate.swift:1403:11: warning: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 17 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/Sources/Brave/Frontend/Browser/BrowserViewController/BVC+WKNavigationDelegate.swift:153:10: error: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 91 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/Sources/Brave/Frontend/Browser/BrowserViewController/BVC+WKNavigationDelegate.swift:497:10: error: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 23 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/Sources/Brave/Frontend/Browser/BrowserViewController/BVC+WKNavigationDelegate.swift:611:22: error: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 21 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/Sources/Brave/Frontend/Browser/BrowserViewController/BVC+WKNavigationDelegate.swift:755:10: warning: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 17 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/Sources/Brave/Frontend/Browser/BrowserViewController/BVC+WKNavigationDelegate.swift:918:11: error: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 26 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/Sources/Brave/Frontend/Browser/BrowserViewController/BVC+Wallet.swift:192:10: warning: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 17 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/Sources/Brave/Frontend/Browser/BrowserViewController/BVC+Wallet.swift:600:3: warning: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 16 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/Sources/Brave/Frontend/Browser/BrowserViewController/BVC+Widgets.swift:17:3: error: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 21 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/Sources/Brave/Frontend/Browser/BrowserViewController/BrowserViewController.swift:1264:19: error: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 49 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/Sources/Brave/Frontend/Browser/BrowserViewController/BrowserViewController.swift:1716:19: error: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 92 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/Sources/Brave/Frontend/Browser/BrowserViewController/BrowserViewController.swift:2293:3: warning: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 17 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/Sources/Brave/Frontend/Browser/BrowserViewController/BrowserViewController.swift:276:10: warning: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 18 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/Sources/Brave/Frontend/Browser/BrowserViewController/BrowserViewController.swift:3075:10: warning: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 16 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/Sources/Brave/Frontend/Browser/BrowserViewController/BrowserViewController.swift:3343:3: error: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 21 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/Sources/Brave/Frontend/Browser/BrowserViewController/BrowserViewController.swift:449:15: error: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 29 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/Sources/Brave/Frontend/Browser/BrowserViewController/BrowserViewController.swift:860:11: warning: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 18 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/Sources/Brave/Frontend/Browser/Favorites/FavoritesViewController.swift:601:3: error: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 23 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/Sources/Brave/Frontend/Browser/Favorites/PreloadedFavorites.swift:12:3: error: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 21 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/Sources/Brave/Frontend/Browser/FrequencyQuery.swift:78:11: warning: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 17 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/Sources/Brave/Frontend/Browser/Handlers/ReaderModeHandler.swift:20:10: error: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 41 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/Sources/Brave/Frontend/Browser/HomePanel/NTPDataSource.swift:106:3: warning: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 20 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/Sources/Brave/Frontend/Browser/New Tab Page/NewTabPageFlowLayout.swift:61:12: warning: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 17 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/Sources/Brave/Frontend/Browser/New Tab Page/NewTabPageViewController.swift:559:11: warning: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 18 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/Sources/Brave/Frontend/Browser/New Tab Page/NewTabPageViewController.swift:943:3: error: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 23 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/Sources/Brave/Frontend/Browser/New Tab Page/Sections/BraveNewsSectionProvider.swift:155:3: warning: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 20 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/Sources/Brave/Frontend/Browser/New Tab Page/Sections/BraveNewsSectionProvider.swift:240:3: warning: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 16 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/Sources/Brave/Frontend/Browser/Playlist/Controllers/PlaylistCarplayController.swift:106:3: error: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 34 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/Sources/Brave/Frontend/Browser/Playlist/Controllers/PlaylistCarplayController.swift:364:11: error: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 30 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/Sources/Brave/Frontend/Browser/Playlist/Controllers/PlaylistCarplayController.swift:71:3: warning: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 16 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/Sources/Brave/Frontend/Browser/Playlist/Controllers/PlaylistCarplayController.swift:953:11: warning: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 17 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/Sources/Brave/Frontend/Browser/Playlist/Controllers/PlaylistListViewController+TableViewDataSource.swift:156:3: error: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 53 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/Sources/Brave/Frontend/Browser/Playlist/Controllers/PlaylistListViewController+TableViewDataSource.swift:76:3: warning: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 16 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/Sources/Brave/Frontend/Browser/Playlist/Controllers/PlaylistListViewController.swift:238:11: warning: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 19 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/Sources/Brave/Frontend/Browser/Playlist/Controllers/PlaylistListViewController.swift:670:3: warning: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 20 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/Sources/Brave/Frontend/Browser/Playlist/Controllers/PlaylistListViewController.swift:846:3: warning: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 16 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/Sources/Brave/Frontend/Browser/Playlist/Controllers/PlaylistViewController.swift:324:11: error: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 37 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/Sources/Brave/Frontend/Browser/Playlist/Controllers/PlaylistViewController.swift:693:3: warning: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 16 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/Sources/Brave/Frontend/Browser/Playlist/Managers & Cache/PlaylistCacheLoader.swift:141:5: error: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 24 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/Sources/Brave/Frontend/Browser/Playlist/Managers & Cache/PlaylistCacheLoader.swift:281:3: error: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 21 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/Sources/Brave/Frontend/Browser/Playlist/Managers & Cache/PlaylistCacheLoader.swift:407:15: warning: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 16 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/Sources/Brave/Frontend/Browser/Playlist/VideoPlayer/UI/VideoPlayer.swift:283:11: error: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 44 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/Sources/Brave/Frontend/Browser/Search/OpenSearch.swift:249:3: error: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 47 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/Sources/Brave/Frontend/Browser/Search/SearchSuggestClient.swift:34:3: warning: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 18 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/Sources/Brave/Frontend/Browser/Search/SearchViewController.swift:377:3: warning: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 16 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/Sources/Brave/Frontend/Browser/Search/SearchViewController.swift:517:19: error: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 27 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/Sources/Brave/Frontend/Browser/TabManager.swift:303:3: warning: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 20 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/Sources/Brave/Frontend/Browser/TabManager.swift:508:14: error: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 23 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/Sources/Brave/Frontend/Browser/TabManager.swift:625:14: error: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 36 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/Sources/Brave/Frontend/Browser/Tabs/TabBar/TabsBarViewController.swift:468:3: warning: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 16 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/Sources/Brave/Frontend/Browser/Toolbars/BottomToolbar/Menu/Bookmarks/AddEditBookmarkTableViewController.swift:254:9: error: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 21 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/Sources/Brave/Frontend/Browser/Toolbars/BottomToolbar/Menu/Bookmarks/BookmarksViewController.swift:354:15: error: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 26 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/Sources/Brave/Frontend/Browser/Toolbars/BottomToolbar/Menu/Bookmarks/BookmarksViewController.swift:467:3: warning: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 18 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/Sources/Brave/Frontend/Browser/Toolbars/BottomToolbar/Menu/Bookmarks/BookmarksViewController.swift:539:3: warning: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 16 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/Sources/Brave/Frontend/Browser/UserScriptManager.swift:273:3: error: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 27 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/Sources/Brave/Frontend/Login/LoginListDataSource.swift:103:11: warning: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 18 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/Sources/Brave/Frontend/Settings/Debug/Rewards Internals/RewardsInternalsShareController.swift:132:11: warning: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 19 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/Sources/Brave/Frontend/Settings/Debug/SandboxInspectorView.swift:34:11: warning: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 16 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/Sources/Brave/Frontend/Settings/Features/ShieldsPrivacy/AdvancedShieldSettings.swift:114:11: warning: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 19 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/Sources/Brave/Frontend/Settings/SettingsViewController.swift:236:11: error: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 21 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/Sources/Brave/Frontend/Sync/SyncWelcomeViewController.swift:346:11: error: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 26 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/Sources/Brave/Frontend/UserContent/UserScripts/Scripts_Dynamic/ScriptHandlers/Paged/ContentBlockerScriptHandler.swift:50:3: error: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 35 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/Sources/Brave/Frontend/UserContent/UserScripts/Scripts_Dynamic/ScriptHandlers/Paged/CosmeticFiltersScriptHandler.swift:39:3: warning: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 18 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/Sources/Brave/Frontend/UserContent/UserScripts/Scripts_Dynamic/ScriptHandlers/Paged/EthereumProviderScriptHandler.swift:63:14: error: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 28 (cognitive_complexity) |
| ⚠️ | This PR introduced a violation in Brave:/Sources/Brave/Frontend/UserContent/UserScripts/Scripts_Dynamic/ScriptHandlers/Paged/PlaylistScriptHandler.swift:115:11: warning: Cognitive Complexity Violation: Function should have cognitive complexity 15 or less; currently complexity is 18 (cognitive_complexity) |
| ⚠️ | Danger found 659 violations with this PR. Due to GitHub's max issue comment size, the number shown has been truncated to 116. |
Resolves#3335
Reference:https://www.sonarsource.com/resources/cognitive-complexity/