Skip to content

PR #1221

PR #1221 #30

Triggered via dynamic September 3, 2024 13:40
Status Success
Total duration 1m 55s
Artifacts

codeql

on: dynamic
Matrix: analyze
Fit to window
Zoom out
Zoom in

Annotations

13 errors
Analyze (go)
not enough arguments in call to q.IQuestionnaire.GetQuestionnaires
Analyze (go)
assignment mismatch: 5 variables but q.GetQuestionnaireInfo returns 7 values
Analyze (go)
not enough arguments in call to r.GetRespondentDetails
Analyze (go)
cannot use respondent (variable of type *"github.com/traPtitech/anke-to/model".Respondent) as "github.com/traPtitech/anke-to/model".IRespondent value in argument to router.NewMiddleware: *"github.com/traPtitech/anke-to/model".Respondent does not implement "github.com/traPtitech/anke-to/model".IRespondent (wrong type for method GetMyResponseIDs)
Analyze (go)
cannot use questionnaire (variable of type *"github.com/traPtitech/anke-to/model".Questionnaire) as "github.com/traPtitech/anke-to/model".IQuestionnaire value in argument to router.NewMiddleware: *"github.com/traPtitech/anke-to/model".Questionnaire does not implement "github.com/traPtitech/anke-to/model".IQuestionnaire (wrong type for method GetQuestionnaireInfo)
Analyze (go)
cannot use questionnaire (variable of type *"github.com/traPtitech/anke-to/model".Questionnaire) as "github.com/traPtitech/anke-to/model".IQuestionnaire value in argument to router.NewQuestionnaire: *"github.com/traPtitech/anke-to/model".Questionnaire does not implement "github.com/traPtitech/anke-to/model".IQuestionnaire (wrong type for method GetQuestionnaireInfo)
Analyze (go)
cannot use questionnaire (variable of type *"github.com/traPtitech/anke-to/model".Questionnaire) as "github.com/traPtitech/anke-to/model".IQuestionnaire value in argument to router.NewResponse: *"github.com/traPtitech/anke-to/model".Questionnaire does not implement "github.com/traPtitech/anke-to/model".IQuestionnaire (wrong type for method GetQuestionnaireInfo)
Analyze (go)
cannot use respondent (variable of type *"github.com/traPtitech/anke-to/model".Respondent) as "github.com/traPtitech/anke-to/model".IRespondent value in argument to router.NewResponse: *"github.com/traPtitech/anke-to/model".Respondent does not implement "github.com/traPtitech/anke-to/model".IRespondent (wrong type for method GetMyResponseIDs)
Analyze (go)
cannot use respondent (variable of type *"github.com/traPtitech/anke-to/model".Respondent) as "github.com/traPtitech/anke-to/model".IRespondent value in argument to router.NewResult: *"github.com/traPtitech/anke-to/model".Respondent does not implement "github.com/traPtitech/anke-to/model".IRespondent (wrong type for method GetMyResponseIDs)
Analyze (go)
cannot use questionnaire (variable of type *"github.com/traPtitech/anke-to/model".Questionnaire) as "github.com/traPtitech/anke-to/model".IQuestionnaire value in argument to router.NewResult: *"github.com/traPtitech/anke-to/model".Questionnaire does not implement "github.com/traPtitech/anke-to/model".IQuestionnaire (wrong type for method GetQuestionnaireInfo)
[golangci] model/administratorGroups.go#L1: model/administratorGroups.go#L1
: # github.com/traPtitech/anke-to/model [github.com/traPtitech/anke-to/model.test]
[golangci] model/questionnaires_test.go#L1327: model/questionnaires_test.go#L1327
actualTargetGroups declared and not used
[golangci] model/questionnaires_test.go#L1327: model/questionnaires_test.go#L1327
actualAdministratorGroups declared and not used