-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: further code health refactoring #414
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅ Code Health Quality Gates: OK
- Declining Code Health: 0 findings(s) 🚩
- Improving Code Health: 15 findings(s) ✅
- Affected Hotspots: 2 files(s) 🔥
Recommended Review Level: Lightweight sanity check
View detailed results in CodeScene
✅ Improving Code Health:
- Code Duplication MethodScope.java
- Complex Conditional FieldScope.java: doFindGetter
- Complex Conditional MemberScope.java: getContainerItemAnnotationConsideringFieldAndGetterIfSupported
- Complex Conditional MethodScope.java: doFindGetterField
- Complex Method SchemaBuilder.java: getReferenceKeys 🔥
- Complex Conditional SchemaBuilder.java: getReferenceKeys 🔥
- Bumpy Road Ahead SchemaBuilder.java: buildDefinitionsAndResolveReferences 🔥
- Bumpy Road Ahead SchemaBuilder.java: getReferenceKeys 🔥
- Complex Conditional TypeContext.java: getTypeParameterFor
- Code Duplication SchemaGenerationContextImpl.java 🔥
- Complex Method SchemaGenerationContextImpl.java: generateObjectDefinition 🔥
- Complex Method SchemaGenerationContextImpl.java: populateMethodSchema 🔥
- Complex Method SchemaGenerationContextImpl.java: populateFieldSchema 🔥
- Complex Method AdditionalPropertiesModule.java: createDefinitionForMemberMap
- Complex Conditional ConstantValueModule.java: extractConstantFieldValue
jsonschema-generator/src/main/java/com/github/victools/jsonschema/generator/FieldScope.java
Show resolved
Hide resolved
jsonschema-generator/src/main/java/com/github/victools/jsonschema/generator/MemberScope.java
Show resolved
Hide resolved
jsonschema-generator/src/main/java/com/github/victools/jsonschema/generator/MethodScope.java
Show resolved
Hide resolved
jsonschema-generator/src/main/java/com/github/victools/jsonschema/generator/TypeContext.java
Show resolved
Hide resolved
...src/main/java/com/github/victools/jsonschema/generator/impl/SchemaGenerationContextImpl.java
Show resolved
Hide resolved
...src/main/java/com/github/victools/jsonschema/generator/impl/SchemaGenerationContextImpl.java
Show resolved
Hide resolved
...src/main/java/com/github/victools/jsonschema/generator/impl/SchemaGenerationContextImpl.java
Show resolved
Hide resolved
...src/main/java/com/github/victools/jsonschema/generator/impl/SchemaGenerationContextImpl.java
Show resolved
Hide resolved
...in/java/com/github/victools/jsonschema/generator/impl/module/AdditionalPropertiesModule.java
Show resolved
Hide resolved
.../src/main/java/com/github/victools/jsonschema/generator/impl/module/ConstantValueModule.java
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅ Code Health Quality Gates: OK
- Declining Code Health: 0 findings(s) 🚩
- Improving Code Health: 11 findings(s) ✅
- Affected Hotspots: 1 files(s) 🔥
Recommended Review Level: Lightweight sanity check
View detailed results in CodeScene
✅ Improving Code Health:
- Code Duplication MethodScope.java
- Complex Conditional FieldScope.java: doFindGetter
- Complex Conditional MemberScope.java: getContainerItemAnnotationConsideringFieldAndGetterIfSupported
- Complex Conditional MethodScope.java: doFindGetterField
- Complex Conditional TypeContext.java: getTypeParameterFor
- Code Duplication SchemaGenerationContextImpl.java 🔥
- Complex Method SchemaGenerationContextImpl.java: generateObjectDefinition 🔥
- Complex Method SchemaGenerationContextImpl.java: populateMethodSchema 🔥
- Complex Method SchemaGenerationContextImpl.java: populateFieldSchema 🔥
- Complex Method AdditionalPropertiesModule.java: createDefinitionForMemberMap
- Complex Conditional ConstantValueModule.java: extractConstantFieldValue
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅ Code Health Quality Gates: OK
- Declining Code Health: 0 findings(s) 🚩
- Improving Code Health: 11 findings(s) ✅
- Affected Hotspots: 1 files(s) 🔥
Recommended Review Level: Lightweight sanity check
View detailed results in CodeScene
✅ Improving Code Health:
- Code Duplication MethodScope.java
- Complex Conditional FieldScope.java: doFindGetter
- Complex Conditional MemberScope.java: getContainerItemAnnotationConsideringFieldAndGetterIfSupported
- Complex Conditional MethodScope.java: doFindGetterField
- Complex Conditional TypeContext.java: getTypeParameterFor
- Code Duplication SchemaGenerationContextImpl.java 🔥
- Complex Method SchemaGenerationContextImpl.java: generateObjectDefinition 🔥
- Complex Method SchemaGenerationContextImpl.java: populateMethodSchema 🔥
- Complex Method SchemaGenerationContextImpl.java: populateFieldSchema 🔥
- Complex Method AdditionalPropertiesModule.java: createDefinitionForMemberMap
- Complex Conditional ConstantValueModule.java: extractConstantFieldValue
No description provided.