deeplearning4j/deeplearning4j

View on GitHub
omnihub/src/main/java/org/eclipse/deeplearning4j/omnihub/ModelNamespaceGenerator.java

Summary

Maintainability
A
1 hr
Test Coverage

Method createSignature has 32 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public static MethodSpec createSignature(Model model) {
        MethodSpec.Builder c = MethodSpec.methodBuilder(model.modelName())
                .addModifiers(Modifier.PUBLIC)
                .addException(Exception.class)
                .addJavadoc(model.documentation());

    Method generateModels has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        public static void generateModels(NamespaceModels models, File outputDirectory, String className, String basePackage, String parentClass) throws IOException {

      There are no issues that match your filters.

      Category
      Status