Preparing report...

Report for github.com/apache/yunikorn-core

(v1.6.0)

A+    Excellent!    Found 7 issues across 212 files

Tweet

go_vet100%

go vet examines Go source code and reports suspicious constructs, such as Printf calls whose arguments do not align with the format string.

No problems detected. Good job!


gofmt100%

Gofmt formats Go programs. We run gofmt -s on your code, where -s is for the "simplify" command

No problems detected. Good job!


ineffassign100%

IneffAssign detects ineffectual assignments in Go code.

No problems detected. Good job!


gocyclo100%

Gocyclo calculates cyclomatic complexities of functions in Go source code. The cyclomatic complexity of a function is calculated according to the following rules: 1 is the base complexity of a function +1 for each 'if', 'for', 'case', '&&' or '||' Go Report Card warns on functions with cyclomatic complexity > 15.

No problems detected. Good job!


license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


misspell96%

Misspell Finds commonly misspelled English words

    • pkg/scheduler/objects/preemption_test.go
    • Line 263: warning: "accomodate" is a misspelling of "accommodate" (misspell)
    • Line 384: warning: "accomodate" is a misspelling of "accommodate" (misspell)
    • Line 452: warning: "accomodate" is a misspelling of "accommodate" (misspell)
    • Line 517: warning: "accomodate" is a misspelling of "accommodate" (misspell)
    • Line 525: warning: "requirment" is a misspelling of "requirement" (misspell)
    • Line 574: warning: "accomodate" is a misspelling of "accommodate" (misspell)
    • Line 582: warning: "requirment" is a misspelling of "requirement" (misspell)
    • Line 641: warning: "accomodate" is a misspelling of "accommodate" (misspell)
    • Line 707: warning: "accomodate" is a misspelling of "accommodate" (misspell)
    • Line 796: warning: "accomodate" is a misspelling of "accommodate" (misspell)
    • Line 959: warning: "accomodate" is a misspelling of "accommodate" (misspell)
    • Line 1130: warning: "accomodate" is a misspelling of "accommodate" (misspell)
    • Line 1239: warning: "accomodate" is a misspelling of "accommodate" (misspell)
    • Line 1338: warning: "accomodate" is a misspelling of "accommodate" (misspell)
    • Line 1342: warning: "accomodate" is a misspelling of "accommodate" (misspell)
    • Line 1534: warning: "accomodate" is a misspelling of "accommodate" (misspell)
    • Line 1538: warning: "accomodate" is a misspelling of "accommodate" (misspell)
    • Line 1631: warning: "accomodate" is a misspelling of "accommodate" (misspell)
    • Line 1708: warning: "accomodate" is a misspelling of "accommodate" (misspell)
    • Line 1779: warning: "accomodate" is a misspelling of "accommodate" (misspell)
    • pkg/scheduler/objects/sorters_test.go
    • Line 33: warning: "explicity" is a misspelling of "explicitly" (misspell)
    • Line 161: warning: "gaurantees" is a misspelling of "guarantees" (misspell)
    • Line 164: warning: "gaurantees" is a misspelling of "guarantees" (misspell)
    • Line 170: warning: "gaurantees" is a misspelling of "guarantees" (misspell)
    • pkg/common/resources/resources_test.go
    • Line 314: warning: "comapre" is a misspelling of "compare" (misspell)
    • Line 426: warning: "comapre" is a misspelling of "compare" (misspell)
    • Line 468: warning: "comapre" is a misspelling of "compare" (misspell)
    • Line 1319: warning: "gurantee" is a misspelling of "guarantee" (misspell)
    • Line 1364: warning: "gauranteed" is a misspelling of "guaranteed" (misspell)
    • Line 1379: warning: "gurantee" is a misspelling of "guarantee" (misspell)
    • Line 1387: warning: "gurantee" is a misspelling of "guarantee" (misspell)
    • Line 1396: warning: "explicity" is a misspelling of "explicitly" (misspell)
    • Line 1411: warning: "gaurantee" is a misspelling of "guarantee" (misspell)
    • Line 1799: warning: "quantaties" is a misspelling of "quantities" (misspell)
    • Line 1808: warning: "quantaties" is a misspelling of "quantities" (misspell)
    • Line 1895: warning: "gaurantees" is a misspelling of "guarantees" (misspell)
    • Line 1905: warning: "gaurantees" is a misspelling of "guarantees" (misspell)
    • Line 1915: warning: "gaurantees" is a misspelling of "guarantees" (misspell)
    • Line 1925: warning: "gaurantees" is a misspelling of "guarantees" (misspell)