hrntsm/Tunny

View on GitHub
Optuna/Study/Study.cs

Summary

Maintainability
A
2 hrs
Test Coverage

Method GetAllStudySummaries has 36 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        public static StudySummary[] GetAllStudySummaries(IOptunaStorage storage)
        {
            Study[] studies = storage.GetAllStudies();
            var studySummaries = new StudySummary[studies.Length];
            for (int i = 0; i < studies.Length; i++)
Severity: Minor
Found in Optuna/Study/Study.cs - About 1 hr to fix

    Method CreateStudy has 6 arguments (exceeds 4 allowed). Consider refactoring.
    Open

            public static dynamic CreateStudy(dynamic optuna, string studyName, dynamic sampler, string[] directions, dynamic storage, bool loadIfExists = true)
    Severity: Minor
    Found in Optuna/Study/Study.cs - About 45 mins to fix

      There are no issues that match your filters.

      Category
      Status