PMD Results
The following document contains the results of PMD 6.55.0.
PMD found no problems in your source code.
Suppressed Violations
Filename | Rule message | Suppression type | Reason |
---|---|---|---|
gov/nist/secauto/metaschema/schemagen/AbstractSchemaGenerator.java | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | nopmd | need to catch close exception |
gov/nist/secauto/metaschema/schemagen/AbstractSchemaGenerator.java | A catch statement that catches an exception only to rethrow it should be avoided. | nopmd | avoid nesting same exception |
gov/nist/secauto/metaschema/schemagen/AbstractSchemaGenerator.java | Ensure that resources like this AutoCloseable object are closed after use | annotation | - |
gov/nist/secauto/metaschema/schemagen/datatype/AbstractDatatypeManager.java | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | nopmd | - intentional |
gov/nist/secauto/metaschema/schemagen/datatype/AbstractDatatypeManager.java | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | nopmd | - intentional |
gov/nist/secauto/metaschema/schemagen/json/JsonSchemaGenerator.java | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | nopmd | no concurrent access |
gov/nist/secauto/metaschema/schemagen/json/JsonSchemaGenerator.java | Ensure that resources like this JsonGenerator object are closed after use | nopmd | not owned |
gov/nist/secauto/metaschema/schemagen/json/impl/JsonGenerationState.java | Ensure that resources like this JsonGenerator object are closed after use | nopmd | not closable here |
gov/nist/secauto/metaschema/schemagen/json/schema/AssemblyDefinitionJsonSchema.java | Avoid instantiating new objects inside loops | nopmd | instantiation needed |
gov/nist/secauto/metaschema/schemagen/json/schema/AssemblyDefinitionJsonSchema.java | Avoid instantiating new objects inside loops | nopmd | - intentional |
gov/nist/secauto/metaschema/schemagen/json/schema/DataTypeRestrictionDefinitionJsonSchema.java | Avoid instantiating new objects inside loops | nopmd | unavoidable |
gov/nist/secauto/metaschema/schemagen/json/schema/DataTypeRestrictionDefinitionJsonSchema.java | Avoid instantiating new objects inside loops | nopmd | unavoidable |
gov/nist/secauto/metaschema/schemagen/json/schema/FieldDefinitionJsonSchema.java | Useless parentheses. | nopmd | - readability |
gov/nist/secauto/metaschema/schemagen/json/schema/FieldDefinitionJsonSchema.java | Avoid instantiating new objects inside loops | nopmd | unavoidable instantiation |
gov/nist/secauto/metaschema/schemagen/xml/XmlSchemaGenerator.java | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | nopmd | concurrency not needed |
gov/nist/secauto/metaschema/schemagen/xml/impl/DocumentationGenerator.java | The method 'generateDocumentation(String, MarkupLine, List, String, XmlGenerationState)' has a cyclomatic complexity of 10. | nopmd | acceptable complexity |
gov/nist/secauto/metaschema/schemagen/xml/schematype/XmlComplexTypeAssemblyDefinition.java | The method 'generateModelInstance(IModelInstance, XmlGenerationState)' has a cyclomatic complexity of 12. | nopmd | acceptable complexity |
gov/nist/secauto/metaschema/schemagen/xml/schematype/XmlSimpleTypeUnion.java | The method 'generateType(XmlGenerationState, boolean)' has a cyclomatic complexity of 10. | nopmd | unavoidable complexity |