efritz/chevron

View on GitHub
middleware/mocks/logger_mock.go

Summary

Maintainability
D
1 day
Test Coverage

MockLogger has 52 methods (exceeds 20 allowed). Consider refactoring.
Open

type MockLogger struct {
    statsLogWithFieldsLock          sync.RWMutex
    statLogWithFieldsFuncCallCount  int
    statLogWithFieldsFuncCallParams []LoggerLogWithFieldsParamSet
    LogWithFieldsFunc               func(logging.LogLevel, logging.Fields, string, ...interface{})
Severity: Major
Found in middleware/mocks/logger_mock.go - About 7 hrs to fix

    Similar blocks of code found in 5 locations. Consider refactoring.
    Open

    func (m *MockLogger) ErrorWithFields(v0 logging.Fields, v1 string, v2 ...interface{}) {
        m.statsErrorWithFieldsLock.Lock()
        m.statErrorWithFieldsFuncCallCount++
        m.statErrorWithFieldsFuncCallParams = append(m.statErrorWithFieldsFuncCallParams, LoggerErrorWithFieldsParamSet{v0, v1, v2})
        m.statsErrorWithFieldsLock.Unlock()
    Severity: Major
    Found in middleware/mocks/logger_mock.go and 4 other locations - About 45 mins to fix
    middleware/mocks/logger_mock.go on lines 154..160
    middleware/mocks/logger_mock.go on lines 244..250
    middleware/mocks/logger_mock.go on lines 298..304
    middleware/mocks/logger_mock.go on lines 316..322

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 114.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 5 locations. Consider refactoring.
    Open

    func (m *MockLogger) FatalWithFields(v0 logging.Fields, v1 string, v2 ...interface{}) {
        m.statsFatalWithFieldsLock.Lock()
        m.statFatalWithFieldsFuncCallCount++
        m.statFatalWithFieldsFuncCallParams = append(m.statFatalWithFieldsFuncCallParams, LoggerFatalWithFieldsParamSet{v0, v1, v2})
        m.statsFatalWithFieldsLock.Unlock()
    Severity: Major
    Found in middleware/mocks/logger_mock.go and 4 other locations - About 45 mins to fix
    middleware/mocks/logger_mock.go on lines 154..160
    middleware/mocks/logger_mock.go on lines 172..178
    middleware/mocks/logger_mock.go on lines 244..250
    middleware/mocks/logger_mock.go on lines 316..322

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 114.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 5 locations. Consider refactoring.
    Open

    func (m *MockLogger) WarningWithFields(v0 logging.Fields, v1 string, v2 ...interface{}) {
        m.statsWarningWithFieldsLock.Lock()
        m.statWarningWithFieldsFuncCallCount++
        m.statWarningWithFieldsFuncCallParams = append(m.statWarningWithFieldsFuncCallParams, LoggerWarningWithFieldsParamSet{v0, v1, v2})
        m.statsWarningWithFieldsLock.Unlock()
    Severity: Major
    Found in middleware/mocks/logger_mock.go and 4 other locations - About 45 mins to fix
    middleware/mocks/logger_mock.go on lines 154..160
    middleware/mocks/logger_mock.go on lines 172..178
    middleware/mocks/logger_mock.go on lines 298..304
    middleware/mocks/logger_mock.go on lines 316..322

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 114.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 5 locations. Consider refactoring.
    Open

    func (m *MockLogger) InfoWithFields(v0 logging.Fields, v1 string, v2 ...interface{}) {
        m.statsInfoWithFieldsLock.Lock()
        m.statInfoWithFieldsFuncCallCount++
        m.statInfoWithFieldsFuncCallParams = append(m.statInfoWithFieldsFuncCallParams, LoggerInfoWithFieldsParamSet{v0, v1, v2})
        m.statsInfoWithFieldsLock.Unlock()
    Severity: Major
    Found in middleware/mocks/logger_mock.go and 4 other locations - About 45 mins to fix
    middleware/mocks/logger_mock.go on lines 154..160
    middleware/mocks/logger_mock.go on lines 172..178
    middleware/mocks/logger_mock.go on lines 244..250
    middleware/mocks/logger_mock.go on lines 298..304

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 114.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 5 locations. Consider refactoring.
    Open

    func (m *MockLogger) DebugWithFields(v0 logging.Fields, v1 string, v2 ...interface{}) {
        m.statsDebugWithFieldsLock.Lock()
        m.statDebugWithFieldsFuncCallCount++
        m.statDebugWithFieldsFuncCallParams = append(m.statDebugWithFieldsFuncCallParams, LoggerDebugWithFieldsParamSet{v0, v1, v2})
        m.statsDebugWithFieldsLock.Unlock()
    Severity: Major
    Found in middleware/mocks/logger_mock.go and 4 other locations - About 45 mins to fix
    middleware/mocks/logger_mock.go on lines 172..178
    middleware/mocks/logger_mock.go on lines 244..250
    middleware/mocks/logger_mock.go on lines 298..304
    middleware/mocks/logger_mock.go on lines 316..322

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 114.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 5 locations. Consider refactoring.
    Open

    func (m *MockLogger) Info(v0 string, v1 ...interface{}) {
        m.statsInfoLock.Lock()
        m.statInfoFuncCallCount++
        m.statInfoFuncCallParams = append(m.statInfoFuncCallParams, LoggerInfoParamSet{v0, v1})
        m.statsInfoLock.Unlock()
    Severity: Major
    Found in middleware/mocks/logger_mock.go and 4 other locations - About 35 mins to fix
    middleware/mocks/logger_mock.go on lines 190..196
    middleware/mocks/logger_mock.go on lines 226..232
    middleware/mocks/logger_mock.go on lines 262..268
    middleware/mocks/logger_mock.go on lines 280..286

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 5 locations. Consider refactoring.
    Open

    func (m *MockLogger) Error(v0 string, v1 ...interface{}) {
        m.statsErrorLock.Lock()
        m.statErrorFuncCallCount++
        m.statErrorFuncCallParams = append(m.statErrorFuncCallParams, LoggerErrorParamSet{v0, v1})
        m.statsErrorLock.Unlock()
    Severity: Major
    Found in middleware/mocks/logger_mock.go and 4 other locations - About 35 mins to fix
    middleware/mocks/logger_mock.go on lines 190..196
    middleware/mocks/logger_mock.go on lines 208..214
    middleware/mocks/logger_mock.go on lines 226..232
    middleware/mocks/logger_mock.go on lines 262..268

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 5 locations. Consider refactoring.
    Open

    func (m *MockLogger) Warning(v0 string, v1 ...interface{}) {
        m.statsWarningLock.Lock()
        m.statWarningFuncCallCount++
        m.statWarningFuncCallParams = append(m.statWarningFuncCallParams, LoggerWarningParamSet{v0, v1})
        m.statsWarningLock.Unlock()
    Severity: Major
    Found in middleware/mocks/logger_mock.go and 4 other locations - About 35 mins to fix
    middleware/mocks/logger_mock.go on lines 190..196
    middleware/mocks/logger_mock.go on lines 208..214
    middleware/mocks/logger_mock.go on lines 262..268
    middleware/mocks/logger_mock.go on lines 280..286

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 5 locations. Consider refactoring.
    Open

    func (m *MockLogger) Debug(v0 string, v1 ...interface{}) {
        m.statsDebugLock.Lock()
        m.statDebugFuncCallCount++
        m.statDebugFuncCallParams = append(m.statDebugFuncCallParams, LoggerDebugParamSet{v0, v1})
        m.statsDebugLock.Unlock()
    Severity: Major
    Found in middleware/mocks/logger_mock.go and 4 other locations - About 35 mins to fix
    middleware/mocks/logger_mock.go on lines 190..196
    middleware/mocks/logger_mock.go on lines 208..214
    middleware/mocks/logger_mock.go on lines 226..232
    middleware/mocks/logger_mock.go on lines 280..286

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 5 locations. Consider refactoring.
    Open

    func (m *MockLogger) Fatal(v0 string, v1 ...interface{}) {
        m.statsFatalLock.Lock()
        m.statFatalFuncCallCount++
        m.statFatalFuncCallParams = append(m.statFatalFuncCallParams, LoggerFatalParamSet{v0, v1})
        m.statsFatalLock.Unlock()
    Severity: Major
    Found in middleware/mocks/logger_mock.go and 4 other locations - About 35 mins to fix
    middleware/mocks/logger_mock.go on lines 208..214
    middleware/mocks/logger_mock.go on lines 226..232
    middleware/mocks/logger_mock.go on lines 262..268
    middleware/mocks/logger_mock.go on lines 280..286

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    exported type LoggerWithFieldsParamSet should have comment or be unexported
    Open

    type LoggerWithFieldsParamSet struct {
    Severity: Minor
    Found in middleware/mocks/logger_mock.go by golint

    exported method MockLogger.DebugFuncCallCount should have comment or be unexported
    Open

    func (m *MockLogger) DebugFuncCallCount() int {
    Severity: Minor
    Found in middleware/mocks/logger_mock.go by golint

    exported type LoggerInfoParamSet should have comment or be unexported
    Open

    type LoggerInfoParamSet struct {
    Severity: Minor
    Found in middleware/mocks/logger_mock.go by golint

    exported method MockLogger.ErrorWithFields should have comment or be unexported
    Open

    func (m *MockLogger) ErrorWithFields(v0 logging.Fields, v1 string, v2 ...interface{}) {
    Severity: Minor
    Found in middleware/mocks/logger_mock.go by golint

    exported method MockLogger.Debug should have comment or be unexported
    Open

    func (m *MockLogger) Debug(v0 string, v1 ...interface{}) {
    Severity: Minor
    Found in middleware/mocks/logger_mock.go by golint

    exported method MockLogger.FatalFuncCallParams should have comment or be unexported
    Open

    func (m *MockLogger) FatalFuncCallParams() []LoggerFatalParamSet {
    Severity: Minor
    Found in middleware/mocks/logger_mock.go by golint

    exported type LoggerWarningParamSet should have comment or be unexported
    Open

    type LoggerWarningParamSet struct {
    Severity: Minor
    Found in middleware/mocks/logger_mock.go by golint

    exported type LoggerLogWithFieldsParamSet should have comment or be unexported
    Open

    type LoggerLogWithFieldsParamSet struct {
    Severity: Minor
    Found in middleware/mocks/logger_mock.go by golint

    exported method MockLogger.DebugWithFields should have comment or be unexported
    Open

    func (m *MockLogger) DebugWithFields(v0 logging.Fields, v1 string, v2 ...interface{}) {
    Severity: Minor
    Found in middleware/mocks/logger_mock.go by golint

    exported type MockLogger should have comment or be unexported
    Open

    type MockLogger struct {
    Severity: Minor
    Found in middleware/mocks/logger_mock.go by golint

    exported type LoggerDebugWithFieldsParamSet should have comment or be unexported
    Open

    type LoggerDebugWithFieldsParamSet struct {
    Severity: Minor
    Found in middleware/mocks/logger_mock.go by golint

    exported method MockLogger.InfoFuncCallParams should have comment or be unexported
    Open

    func (m *MockLogger) InfoFuncCallParams() []LoggerInfoParamSet {
    Severity: Minor
    Found in middleware/mocks/logger_mock.go by golint

    exported method MockLogger.WarningFuncCallCount should have comment or be unexported
    Open

    func (m *MockLogger) WarningFuncCallCount() int {
    Severity: Minor
    Found in middleware/mocks/logger_mock.go by golint

    exported method MockLogger.WarningWithFieldsFuncCallParams should have comment or be unexported
    Open

    func (m *MockLogger) WarningWithFieldsFuncCallParams() []LoggerWarningWithFieldsParamSet {
    Severity: Minor
    Found in middleware/mocks/logger_mock.go by golint

    exported method MockLogger.ErrorWithFieldsFuncCallCount should have comment or be unexported
    Open

    func (m *MockLogger) ErrorWithFieldsFuncCallCount() int {
    Severity: Minor
    Found in middleware/mocks/logger_mock.go by golint

    exported method MockLogger.InfoFuncCallCount should have comment or be unexported
    Open

    func (m *MockLogger) InfoFuncCallCount() int {
    Severity: Minor
    Found in middleware/mocks/logger_mock.go by golint

    exported type LoggerErrorWithFieldsParamSet should have comment or be unexported
    Open

    type LoggerErrorWithFieldsParamSet struct {
    Severity: Minor
    Found in middleware/mocks/logger_mock.go by golint

    exported type LoggerDebugParamSet should have comment or be unexported
    Open

    type LoggerDebugParamSet struct {
    Severity: Minor
    Found in middleware/mocks/logger_mock.go by golint

    exported type LoggerInfoWithFieldsParamSet should have comment or be unexported
    Open

    type LoggerInfoWithFieldsParamSet struct {
    Severity: Minor
    Found in middleware/mocks/logger_mock.go by golint

    exported method MockLogger.WarningWithFieldsFuncCallCount should have comment or be unexported
    Open

    func (m *MockLogger) WarningWithFieldsFuncCallCount() int {
    Severity: Minor
    Found in middleware/mocks/logger_mock.go by golint

    exported method MockLogger.ErrorFuncCallParams should have comment or be unexported
    Open

    func (m *MockLogger) ErrorFuncCallParams() []LoggerErrorParamSet {
    Severity: Minor
    Found in middleware/mocks/logger_mock.go by golint

    exported method MockLogger.WithFields should have comment or be unexported
    Open

    func (m *MockLogger) WithFields(v0 logging.Fields) logging.Logger {
    Severity: Minor
    Found in middleware/mocks/logger_mock.go by golint

    exported method MockLogger.WithFieldsFuncCallParams should have comment or be unexported
    Open

    func (m *MockLogger) WithFieldsFuncCallParams() []LoggerWithFieldsParamSet {
    Severity: Minor
    Found in middleware/mocks/logger_mock.go by golint

    exported type LoggerFatalParamSet should have comment or be unexported
    Open

    type LoggerFatalParamSet struct {
    Severity: Minor
    Found in middleware/mocks/logger_mock.go by golint

    exported type LoggerErrorParamSet should have comment or be unexported
    Open

    type LoggerErrorParamSet struct {
    Severity: Minor
    Found in middleware/mocks/logger_mock.go by golint

    exported method MockLogger.InfoWithFieldsFuncCallCount should have comment or be unexported
    Open

    func (m *MockLogger) InfoWithFieldsFuncCallCount() int {
    Severity: Minor
    Found in middleware/mocks/logger_mock.go by golint

    exported method MockLogger.Sync should have comment or be unexported
    Open

    func (m *MockLogger) Sync() error {
    Severity: Minor
    Found in middleware/mocks/logger_mock.go by golint

    exported method MockLogger.WithFieldsFuncCallCount should have comment or be unexported
    Open

    func (m *MockLogger) WithFieldsFuncCallCount() int {
    Severity: Minor
    Found in middleware/mocks/logger_mock.go by golint

    exported type LoggerWarningWithFieldsParamSet should have comment or be unexported
    Open

    type LoggerWarningWithFieldsParamSet struct {
    Severity: Minor
    Found in middleware/mocks/logger_mock.go by golint

    exported method MockLogger.FatalFuncCallCount should have comment or be unexported
    Open

    func (m *MockLogger) FatalFuncCallCount() int {
    Severity: Minor
    Found in middleware/mocks/logger_mock.go by golint

    exported method MockLogger.WarningFuncCallParams should have comment or be unexported
    Open

    func (m *MockLogger) WarningFuncCallParams() []LoggerWarningParamSet {
    Severity: Minor
    Found in middleware/mocks/logger_mock.go by golint

    exported method MockLogger.ErrorFuncCallCount should have comment or be unexported
    Open

    func (m *MockLogger) ErrorFuncCallCount() int {
    Severity: Minor
    Found in middleware/mocks/logger_mock.go by golint

    exported method MockLogger.LogWithFieldsFuncCallCount should have comment or be unexported
    Open

    func (m *MockLogger) LogWithFieldsFuncCallCount() int {
    Severity: Minor
    Found in middleware/mocks/logger_mock.go by golint

    exported type LoggerSyncParamSet should have comment or be unexported
    Open

    type LoggerSyncParamSet struct{}
    Severity: Minor
    Found in middleware/mocks/logger_mock.go by golint

    exported method MockLogger.Fatal should have comment or be unexported
    Open

    func (m *MockLogger) Fatal(v0 string, v1 ...interface{}) {
    Severity: Minor
    Found in middleware/mocks/logger_mock.go by golint

    exported method MockLogger.SyncFuncCallCount should have comment or be unexported
    Open

    func (m *MockLogger) SyncFuncCallCount() int {
    Severity: Minor
    Found in middleware/mocks/logger_mock.go by golint

    exported method MockLogger.Warning should have comment or be unexported
    Open

    func (m *MockLogger) Warning(v0 string, v1 ...interface{}) {
    Severity: Minor
    Found in middleware/mocks/logger_mock.go by golint

    exported method MockLogger.InfoWithFieldsFuncCallParams should have comment or be unexported
    Open

    func (m *MockLogger) InfoWithFieldsFuncCallParams() []LoggerInfoWithFieldsParamSet {
    Severity: Minor
    Found in middleware/mocks/logger_mock.go by golint

    exported method MockLogger.SyncFuncCallParams should have comment or be unexported
    Open

    func (m *MockLogger) SyncFuncCallParams() []LoggerSyncParamSet {
    Severity: Minor
    Found in middleware/mocks/logger_mock.go by golint

    exported method MockLogger.DebugWithFieldsFuncCallParams should have comment or be unexported
    Open

    func (m *MockLogger) DebugWithFieldsFuncCallParams() []LoggerDebugWithFieldsParamSet {
    Severity: Minor
    Found in middleware/mocks/logger_mock.go by golint

    exported method MockLogger.Info should have comment or be unexported
    Open

    func (m *MockLogger) Info(v0 string, v1 ...interface{}) {
    Severity: Minor
    Found in middleware/mocks/logger_mock.go by golint

    exported method MockLogger.DebugWithFieldsFuncCallCount should have comment or be unexported
    Open

    func (m *MockLogger) DebugWithFieldsFuncCallCount() int {
    Severity: Minor
    Found in middleware/mocks/logger_mock.go by golint

    exported method MockLogger.ErrorWithFieldsFuncCallParams should have comment or be unexported
    Open

    func (m *MockLogger) ErrorWithFieldsFuncCallParams() []LoggerErrorWithFieldsParamSet {
    Severity: Minor
    Found in middleware/mocks/logger_mock.go by golint

    exported method MockLogger.DebugFuncCallParams should have comment or be unexported
    Open

    func (m *MockLogger) DebugFuncCallParams() []LoggerDebugParamSet {
    Severity: Minor
    Found in middleware/mocks/logger_mock.go by golint

    exported method MockLogger.LogWithFieldsFuncCallParams should have comment or be unexported
    Open

    func (m *MockLogger) LogWithFieldsFuncCallParams() []LoggerLogWithFieldsParamSet {
    Severity: Minor
    Found in middleware/mocks/logger_mock.go by golint

    exported function NewMockLogger should have comment or be unexported
    Open

    func NewMockLogger() *MockLogger {
    Severity: Minor
    Found in middleware/mocks/logger_mock.go by golint

    exported method MockLogger.WarningWithFields should have comment or be unexported
    Open

    func (m *MockLogger) WarningWithFields(v0 logging.Fields, v1 string, v2 ...interface{}) {
    Severity: Minor
    Found in middleware/mocks/logger_mock.go by golint

    exported method MockLogger.FatalWithFields should have comment or be unexported
    Open

    func (m *MockLogger) FatalWithFields(v0 logging.Fields, v1 string, v2 ...interface{}) {
    Severity: Minor
    Found in middleware/mocks/logger_mock.go by golint

    exported method MockLogger.LogWithFields should have comment or be unexported
    Open

    func (m *MockLogger) LogWithFields(v0 logging.LogLevel, v1 logging.Fields, v2 string, v3 ...interface{}) {
    Severity: Minor
    Found in middleware/mocks/logger_mock.go by golint

    exported type LoggerFatalWithFieldsParamSet should have comment or be unexported
    Open

    type LoggerFatalWithFieldsParamSet struct {
    Severity: Minor
    Found in middleware/mocks/logger_mock.go by golint

    exported method MockLogger.FatalWithFieldsFuncCallCount should have comment or be unexported
    Open

    func (m *MockLogger) FatalWithFieldsFuncCallCount() int {
    Severity: Minor
    Found in middleware/mocks/logger_mock.go by golint

    exported method MockLogger.FatalWithFieldsFuncCallParams should have comment or be unexported
    Open

    func (m *MockLogger) FatalWithFieldsFuncCallParams() []LoggerFatalWithFieldsParamSet {
    Severity: Minor
    Found in middleware/mocks/logger_mock.go by golint

    exported method MockLogger.InfoWithFields should have comment or be unexported
    Open

    func (m *MockLogger) InfoWithFields(v0 logging.Fields, v1 string, v2 ...interface{}) {
    Severity: Minor
    Found in middleware/mocks/logger_mock.go by golint

    There are no issues that match your filters.

    Category
    Status