Skip to content

Commit ea3f731

Browse files
removed solid grader - will file separate PR
1 parent a638e63 commit ea3f731

4 files changed

Lines changed: 0 additions & 80 deletions

File tree

cmd/analyze.go

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -412,22 +412,6 @@ func runEnigmaAnalysis(workDirectory string, pathsToCheck []string, outputFile s
412412
return tools.RunEnigma(workDirectory, enigma.InstallDir, enigma.Binaries["codacy-enigma-cli"], pathsToCheck, outputFile, outputFormat)
413413
}
414414

415-
func runSolidGraderAnalysis(workDirectory string, pathsToCheck []string, outputFile string, outputFormat string) error {
416-
solidGrader := config.Config.Tools()["solid_grader"]
417-
if solidGrader == nil {
418-
log.Fatal("solid_grader tool configuration not found")
419-
}
420-
solidGraderBinary := solidGrader.Binaries["solid_grader"]
421-
return tools.RunSolidGrader(
422-
workDirectory,
423-
solidGrader.InstallDir,
424-
solidGraderBinary,
425-
pathsToCheck,
426-
outputFile,
427-
outputFormat,
428-
)
429-
}
430-
431415
func runPyreflyAnalysis(workDirectory string, pathsToCheck []string, outputFile string, outputFormat string) error {
432416
pyrefly := config.Config.Tools()["pyrefly"]
433417
if pyrefly == nil {
@@ -547,8 +531,6 @@ func runTool(workDirectory string, toolName string, args []string, outputFile st
547531
return runLizardAnalysis(workDirectory, args, outputFile, outputFormat)
548532
case "codacy-enigma-cli":
549533
return runEnigmaAnalysis(workDirectory, args, outputFile, outputFormat)
550-
case "solid_grader":
551-
return runSolidGraderAnalysis(workDirectory, args, outputFile, outputFormat)
552534
case "pyrefly":
553535
return runPyreflyAnalysis(workDirectory, args, outputFile, outputFormat)
554536
default:

domain/tool.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ const (
2727
DartAnalyzer string = "d203d615-6cf1-41f9-be5f-e2f660f7850f"
2828
Semgrep string = "6792c561-236d-41b7-ba5e-9d6bee0d548b"
2929
Lizard string = "76348462-84b3-409a-90d3-955e90abfb87"
30-
SolidGrader string = "716FCE5C-F5E8-4B9D-A7D2-86CDFAE79D45"
3130
)
3231

3332
type ToolInfo struct {
@@ -46,5 +45,4 @@ var SupportedToolsMetadata = map[string]ToolInfo{
4645
DartAnalyzer: {Name: "dartanalyzer", Priority: 0},
4746
Lizard: {Name: "lizard", Priority: 0},
4847
Semgrep: {Name: "semgrep", Priority: 0},
49-
SolidGrader: {Name: "solid_grader", Priority: 0},
5048
}

plugins/tools/solid_grader/plugin.yaml

Lines changed: 0 additions & 13 deletions
This file was deleted.

tools/solidGraderRunner.go

Lines changed: 0 additions & 47 deletions
This file was deleted.

0 commit comments

Comments
 (0)