JeffDeCola/jeffCoin

View on GitHub
routingnode/routingnode-interface.go

Summary

Maintainability
B
4 hrs
Test Coverage

Function BroadcastThisNode has 88 lines of code (exceeds 50 allowed). Consider refactoring.
Open

func BroadcastThisNode() error {

    s := "START  BroadcastThisNode() - Broadcasts thisNode to the Network"
    log.Debug("ROUTINGNODE: I/F      " + s)

Severity: Major
Found in routingnode/routingnode-interface.go - About 2 hrs to fix

    Function RequestNodeList has 57 lines of code (exceeds 50 allowed). Consider refactoring.
    Open

    func RequestNodeList(networkIP string, networkTCPPort string) error {
    
        s := "START  RequestNodeList() -  Requests the nodeList from a Network Node"
        log.Debug("ROUTINGNODE: I/F      " + s)
    
    
    Severity: Minor
    Found in routingnode/routingnode-interface.go - About 1 hr to fix

      Function BroadcastThisNode has 6 return statements (exceeds 4 allowed).
      Open

      func BroadcastThisNode() error {
      
          s := "START  BroadcastThisNode() - Broadcasts thisNode to the Network"
          log.Debug("ROUTINGNODE: I/F      " + s)
      
      
      Severity: Major
      Found in routingnode/routingnode-interface.go - About 40 mins to fix

        There are no issues that match your filters.

        Category
        Status