42wim/matterbridge

View on GitHub
bridge/helper/helper.go

Summary

Maintainability
A
1 hr
Test Coverage

Function HandleDownloadData2 has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

func HandleDownloadData2(logger *logrus.Entry, msg *config.Message, name, id, comment, url string, data *[]byte, general *config.Protocol) {
Severity: Minor
Found in bridge/helper/helper.go - About 35 mins to fix

    Function HandleDownloadData has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

    func HandleDownloadData(logger *logrus.Entry, msg *config.Message, name, comment, url string, data *[]byte, general *config.Protocol) {
    Severity: Minor
    Found in bridge/helper/helper.go - About 35 mins to fix

      Function HandleDownloadSize has 5 arguments (exceeds 4 allowed). Consider refactoring.
      Open

      func HandleDownloadSize(logger *logrus.Entry, msg *config.Message, name string, size int64, general *config.Protocol) error {
      Severity: Minor
      Found in bridge/helper/helper.go - About 35 mins to fix

        There are no issues that match your filters.

        Category
        Status