pkg/infrastructure/ast/ast_go/cocago_builder.go

Summary

Maintainability
A
2 hrs
Test Coverage

Function BuildCallFromExpr has 6 arguments (exceeds 4 allowed). Consider refactoring.
Open

func BuildCallFromExpr(expr *ast.CallExpr, codeFunc *CodeFunction, fields []CodeField, imports []CodeImport, currentPackage string, localVars []CodeProperty) CodeCall {
Severity: Minor
Found in pkg/infrastructure/ast/ast_go/cocago_builder.go - About 45 mins to fix

    Function BuildMethodCall has 6 arguments (exceeds 4 allowed). Consider refactoring.
    Open

    func BuildMethodCall(codeFunc *CodeFunction, item ast.Stmt, fields []CodeField, localVars []CodeProperty, imports []CodeImport, packageName string) ([]CodeProperty, CodeCall) {
    Severity: Minor
    Found in pkg/infrastructure/ast/ast_go/cocago_builder.go - About 45 mins to fix

      Function BuildMethodCallExprStmt has 6 arguments (exceeds 4 allowed). Consider refactoring.
      Open

      func BuildMethodCallExprStmt(it *ast.ExprStmt, codeFunc *CodeFunction, fields []CodeField, imports []CodeImport, currentPackage string, localVars []CodeProperty) {
      Severity: Minor
      Found in pkg/infrastructure/ast/ast_go/cocago_builder.go - About 45 mins to fix

        There are no issues that match your filters.

        Category
        Status