Showing 348 of 496 total issues
MessengerResponse
has 88 methods (exceeds 21 allowed). Consider refactoring. Open
Open
type MessengerResponse struct {
Contacts []*Contact
Installations []*multidevice.Installation
Invitations []*GroupChatInvitation
CommunityChanges []*communities.CommunityChanges
File persistence.go
has 1365 lines of code (exceeds 900 allowed). Consider refactoring. Open
Open
package protocol
import (
"bytes"
"context"
API
has 83 methods (exceeds 21 allowed). Consider refactoring. Open
Open
type API struct {
s *Service
reader *Reader
router *router.Router
}
Messenger
has 81 methods (exceeds 21 allowed). Consider refactoring. Open
Open
func (m *Messenger) dispatchToHandler(messageState *ReceivedMessageState, protoBytes []byte, msg *v1protocol.StatusMessage, filter transport.Filter, fromArchive bool) error {
switch msg.ApplicationLayer.Type {
case protobuf.ApplicationMetadataMessage_CHAT_MESSAGE:
return m.handleChatMessageProtobuf(messageState, protoBytes, msg, filter, fromArchive)
File api.go
has 1305 lines of code (exceeds 900 allowed). Consider refactoring. Open
Open
package ext
import (
"context"
"crypto/ecdsa"
Database
has 76 methods (exceeds 21 allowed). Consider refactoring. Open
Open
type Database struct {
db *sql.DB
SyncQueue chan SyncSettingField
changesSubscriptions []chan *SyncSettingField
notifier Notifier
File registrar.go
has 1266 lines of code (exceeds 900 allowed). Consider refactoring. Open
Open
// Code generated - DO NOT EDIT.
// This file is a generated binding and any manual changes will be lost.
package registrar
File waku.go
has 1246 lines of code (exceeds 900 allowed). Consider refactoring. Open
Open
// Copyright 2019 The Waku Library Authors.
//
// The Waku library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
File client.go
has 1239 lines of code (exceeds 900 allowed). Consider refactoring. Open
Open
package pushnotificationclient
import (
"bytes"
"context"
File CommunityTokenDeployer.go
has 1223 lines of code (exceeds 900 allowed). Consider refactoring. Open
Open
// Code generated - DO NOT EDIT.
// This file is a generated binding and any manual changes will be lost.
package communitytokendeployer
Client
has 67 methods (exceeds 21 allowed). Consider refactoring. Open
Open
type Client struct {
persistence *Persistence
messagePersistence MessagePersistence
config *Config
CelerFilterer
has 66 methods (exceeds 21 allowed). Consider refactoring. Open
Open
type CelerFilterer struct {
contract *bind.BoundContract // Generic contract wrapper for the low level calls
}
File activity_center_persistence.go
has 1212 lines of code (exceeds 900 allowed). Consider refactoring. Open
Open
package protocol
import (
"context"
"database/sql"
File activity_test.go
has 1194 lines of code (exceeds 900 allowed). Consider refactoring. Open
Open
package activity
import (
"context"
"database/sql"
Transport
has 62 methods (exceeds 21 allowed). Consider refactoring. Open
Open
type Transport struct {
waku types.Waku
api types.PublicWakuAPI // only PublicWakuAPI implements logic to send messages
keysManager *transportKeysManager
filters *FiltersManager
MessengerCommunitiesSuite
has 62 methods (exceeds 21 allowed). Consider refactoring. Open
Open
type MessengerCommunitiesSuite struct {
suite.Suite
owner *Messenger
bob *Messenger
alice *Messenger
Method Messenger.RequestImportDiscordCommunity
has 682 lines of code (exceeds 500 allowed). Consider refactoring. Open
Open
func (m *Messenger) RequestImportDiscordCommunity(request *requests.ImportDiscordCommunity) {
go func() {
totalImportChunkCount := len(request.FilesToImport)
File uniswapv2pair.go
has 1155 lines of code (exceeds 900 allowed). Consider refactoring. Open
Open
// Code generated - DO NOT EDIT.
// This file is a generated binding and any manual changes will be lost.
package uniswapv2
CelerSession
has 57 methods (exceeds 21 allowed). Consider refactoring. Open
Open
type CelerSession struct {
Contract *Celer // Generic contract binding to set the session for
CallOpts bind.CallOpts // Call options to use throughout this session
TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}
HopL2OptimismBridgeSession
has 53 methods (exceeds 21 allowed). Consider refactoring. Open
Open
type HopL2OptimismBridgeSession struct {
Contract *HopL2OptimismBridge // Generic contract binding to set the session for
CallOpts bind.CallOpts // Call options to use throughout this session
TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}