Repository Analysis

jhipster/generator-jhipster

JHipster is a development platform to quickly generate, develop, & deploy modern web applications & microservice architectures.

4.0 Likely human-written View on GitHub
4.0
Adjusted Score
4.0
Raw Score
100%
Time Factor
2026-05-30
Last Push
22,416
Stars
TypeScript
Language
175,595
Lines of Code
2124
Files
311
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 12HIGH 0MEDIUM 100LOW 199

Pattern Findings

311 matches across 6 categories. Click a row to expand file-level details.

Decorative Section Separators66 hits · 222 pts
SeverityFileLineSnippet
MEDIUM.github/workflows/devserver.yml75 #----------------------------------------------------------------------
MEDIUM.github/workflows/devserver.yml77 #----------------------------------------------------------------------
MEDIUM.github/workflows/devserver.yml90 #----------------------------------------------------------------------
MEDIUM.github/workflows/devserver.yml92 #----------------------------------------------------------------------
MEDIUM.github/workflows/devserver.yml101 #----------------------------------------------------------------------
MEDIUM.github/workflows/devserver.yml103 #----------------------------------------------------------------------
MEDIUM.github/workflows/devserver.yml118 #----------------------------------------------------------------------
MEDIUM.github/workflows/devserver.yml120 #----------------------------------------------------------------------
MEDIUM.github/workflows/docker-compose-integration.yml62 #----------------------------------------------------------------------
MEDIUM.github/workflows/docker-compose-integration.yml64 #----------------------------------------------------------------------
MEDIUM.github/workflows/react.yml86 #----------------------------------------------------------------------
MEDIUM.github/workflows/react.yml88 #----------------------------------------------------------------------
MEDIUM.github/workflows/react.yml105 #----------------------------------------------------------------------
MEDIUM.github/workflows/react.yml107 #----------------------------------------------------------------------
MEDIUM.github/workflows/react.yml117 #----------------------------------------------------------------------
MEDIUM.github/workflows/react.yml119 #----------------------------------------------------------------------
MEDIUM.github/workflows/react.yml134 #----------------------------------------------------------------------
MEDIUM.github/workflows/react.yml136 #----------------------------------------------------------------------
MEDIUM.github/workflows/generator-generate-blueprint.yml43 #----------------------------------------------------------------------
MEDIUM.github/workflows/generator-generate-blueprint.yml45 #----------------------------------------------------------------------
MEDIUM.github/workflows/generator-generate-blueprint.yml60 #----------------------------------------------------------------------
MEDIUM.github/workflows/generator-generate-blueprint.yml62 #----------------------------------------------------------------------
MEDIUM.github/workflows/generator-generate-blueprint.yml98 #----------------------------------------------------------------------
MEDIUM.github/workflows/generator-generate-blueprint.yml100 #----------------------------------------------------------------------
MEDIUM…b/workflows/generator-database-changelog-liquibase.yml54 #----------------------------------------------------------------------
MEDIUM…b/workflows/generator-database-changelog-liquibase.yml56 #----------------------------------------------------------------------
MEDIUM…b/workflows/generator-database-changelog-liquibase.yml68 #----------------------------------------------------------------------
MEDIUM…b/workflows/generator-database-changelog-liquibase.yml70 #----------------------------------------------------------------------
MEDIUM…b/workflows/generator-database-changelog-liquibase.yml87 #----------------------------------------------------------------------
MEDIUM…b/workflows/generator-database-changelog-liquibase.yml89 #----------------------------------------------------------------------
MEDIUM.github/workflows/linked-issue-check.yml57 #----------------------------------------------------------------------
MEDIUM.github/workflows/linked-issue-check.yml59 #----------------------------------------------------------------------
MEDIUM.github/workflows/linked-issue-check.yml71 #----------------------------------------------------------------------
MEDIUM.github/workflows/linked-issue-check.yml73 #----------------------------------------------------------------------
MEDIUM.github/workflows/linked-issue-check.yml96 #----------------------------------------------------------------------
MEDIUM.github/workflows/linked-issue-check.yml98 #----------------------------------------------------------------------
MEDIUM.github/workflows/vue.yml86 #----------------------------------------------------------------------
MEDIUM.github/workflows/vue.yml88 #----------------------------------------------------------------------
MEDIUM.github/workflows/vue.yml105 #----------------------------------------------------------------------
MEDIUM.github/workflows/vue.yml107 #----------------------------------------------------------------------
MEDIUM.github/workflows/vue.yml117 #----------------------------------------------------------------------
MEDIUM.github/workflows/vue.yml119 #----------------------------------------------------------------------
MEDIUM.github/workflows/vue.yml134 #----------------------------------------------------------------------
MEDIUM.github/workflows/vue.yml136 #----------------------------------------------------------------------
MEDIUM.github/workflows/generator-graalvm.yml61 #----------------------------------------------------------------------
MEDIUM.github/workflows/generator-graalvm.yml63 #----------------------------------------------------------------------
MEDIUM.github/workflows/generator-graalvm.yml77 #----------------------------------------------------------------------
MEDIUM.github/workflows/generator-graalvm.yml79 #----------------------------------------------------------------------
MEDIUM.github/workflows/generator-graalvm.yml90 #----------------------------------------------------------------------
MEDIUM.github/workflows/generator-graalvm.yml92 #----------------------------------------------------------------------
MEDIUM.github/workflows/generator-graalvm.yml107 #----------------------------------------------------------------------
MEDIUM.github/workflows/generator-graalvm.yml109 #----------------------------------------------------------------------
MEDIUM.github/workflows/issue-check.yml55 #----------------------------------------------------------------------
MEDIUM.github/workflows/issue-check.yml57 #----------------------------------------------------------------------
MEDIUM.github/workflows/issue-check.yml69 #----------------------------------------------------------------------
MEDIUM.github/workflows/issue-check.yml71 #----------------------------------------------------------------------
MEDIUM.github/workflows/issue-check.yml82 #----------------------------------------------------------------------
MEDIUM.github/workflows/issue-check.yml84 #----------------------------------------------------------------------
MEDIUM.github/workflows/angular.yml86 #----------------------------------------------------------------------
MEDIUM.github/workflows/angular.yml88 #----------------------------------------------------------------------
6 more matches not shown…
Hyper-Verbose Identifiers162 hits · 175 pts
SeverityFileLineSnippet
LOWcli/environment-builder.ts488 async function loadSharedOptionsFromFile(sharedOptionsBase: string, msg?: string, errorMsg?: string): Promise<any> {
LOWlib/jhipster/reserved-keywords.ts73export function isReservedPaginationWords(keyword: string) {
LOWlib/jhipster/default-application-options.ts112function getConfigForClientApplication(options: ApplicationDefaults = {}): ApplicationDefaults {
LOWlib/jhipster/default-application-options.ts129function getConfigForAuthenticationType(options: ApplicationDefaults = {}): ApplicationDefaults {
LOWlib/jhipster/default-application-options.ts151function getConfigForCacheProvider(options: ApplicationDefaults = {}): ApplicationDefaults {
LOWlib/jhipster/default-application-options.ts188function getServerConfigForMonolithApplication(customOptions: ApplicationDefaults = {}): ApplicationDefaults {
LOWlib/jhipster/default-application-options.ts204export function getConfigForMonolithApplication(customOptions: ApplicationDefaults = {}): ApplicationDefaults {
LOWlib/jhipster/default-application-options.ts215function getServerConfigForGatewayApplication(customOptions: ApplicationDefaults = {}): ApplicationDefaults {
LOWlib/jhipster/default-application-options.ts234export function getConfigForGatewayApplication(customOptions: ApplicationDefaults = {}): ApplicationDefaults {
LOWlib/jhipster/default-application-options.ts245function getServerConfigForMicroserviceApplication(customOptions: ApplicationDefaults = {}): ApplicationDefaults {
LOWlib/jhipster/default-application-options.ts264export function getConfigForMicroserviceApplication(customOptions: ApplicationDefaults = {}): ApplicationDefaults {
LOWlib/jhipster/default-application-options.ts275export function getDefaultConfigForNewApplication(customOptions: ApplicationDefaults = {}): ApplicationDefaults {
LOWlib/jdl/jdl-importer.ts84export function createImporterFromContent(
LOWlib/jdl/jdl-importer.ts190function importOneApplicationAndEntities(jdlObject: JDLObject) {
LOWlib/jdl/jdl-importer.ts221function importApplicationsAndEntities(jdlObject: JDLObject) {
LOWlib/jdl/core/utils/object-utils.ts43function removeEntriesWithUndefinedValue(entity: any) {
LOWlib/jdl/core/utils/file-utils.ts47export function createFolderIfItDoesNotExist(directory: string) {
LOWlib/jdl/core/models/jdl-application-configuration.ts82function getFormattedConfigOptionsString(options: Record<string, JDLApplicationConfigurationOption<any>>, indent: string
LOWlib/jdl/core/models/jdl-application-configuration.ts99function filterOutOptionsWithoutValues(
LOWlib/jdl/core/models/jdl-application-configuration.ts115function filterOutOptionsThatShouldNotBeExported(
LOW…l/core/models/jdl-application-configuration-factory.ts31export default function createApplicationConfigurationFromObject(
LOW…l/core/models/jdl-application-configuration-factory.ts53export function createApplicationNamespaceConfigurationFromObject(
LOW…l/core/models/jdl-application-configuration-factory.ts66function createUnknownJDLConfigurationOption(
LOW…l/core/models/jdl-application-configuration-factory.ts87function createApplicationJDLConfigurationOption(
LOW…l/core/models/jdl-application-configuration-factory.ts96function createJDLConfigurationOption(
LOWlib/jdl/core/models/jdl-relationship.ts188function mergeDefaultsWithOverrides(
LOWlib/jdl/core/models/jdl-object-merger.spec.ts96function createFirstJDLObjectForTheMergeTest() {
LOWlib/jdl/core/models/jdl-object-merger.spec.ts140function createSecondJDLObjectForTheMergeTest() {
LOWlib/jdl/core/models/jdl-validation.ts60function getPatternValidationValue(value: string | number | RegExp | boolean) {
LOWlib/jdl/core/readers/jdl-reader.ts70function checkAllTheFilesAreJDLFiles(files: string[]) {
LOWlib/jdl/core/readers/jdl-reader.ts112function removeInternalJDLComments(content: string) {
LOWlib/jdl/core/linters/entity-linter.ts44function checkForDuplicatedEntities(entityDeclarations: CstNode[]) {
LOWlib/jdl/core/linters/entity-linter.ts68function checkForUselessEntityBraces(entityDeclaration: CstNode) {
LOWlib/jdl/core/linters/relationship-linter.ts48function checkForCollapsibleRelationships(relationshipDeclarations: CstNode[]) {
LOWlib/jdl/core/linters/jdl-linter.ts41export function createJDLLinterFromContent(jdlString: string, runtime: JDLRuntime) {
LOWlib/jdl/core/linters/jdl-linter.ts66function checkForEntityDeclarationIssues() {
LOWlib/jdl/core/linters/jdl-linter.ts72function checkForFieldDeclarationIssues() {
LOWlib/jdl/core/linters/jdl-linter.ts87function checkForEnumDeclarationIssues() {
LOWlib/jdl/core/linters/jdl-linter.ts95function checkForRelationshipIssues() {
LOWlib/jdl/core/linters/jdl-linter.ts111function getFieldDeclarationsFromEntity(entityDeclaration: CstNode): CstNode[] {
LOWlib/jdl/core/parsing/jdl-ast-builder-visitor.ts708function getOptionEntityAndExcludedEntityLists(
LOWlib/jdl/core/parsing/jdl-ast-builder-visitor.ts741function getUnaryOptionFromContext(
LOWlib/jdl/core/parsing/jdl-ast-builder-visitor.ts755function getBinaryOptionFromContext(
LOWlib/jdl/core/parsing/jdl-ast-builder-visitor.ts776function getSpecialUnaryOptionDeclaration(
LOWlib/jdl/core/parsing/api.ts70function throwErrorAboutInvalidToken(parserError: IRecognitionException) {
LOWlib/jdl/core/parsing/jdl-post-parsing-tasks.ts22export default function performJDLPostParsingTasks(parsedContent: ParsedJDLApplications): ParsedJDLApplications {
LOWlib/jdl/core/parsing/jdl-post-parsing-tasks.ts31function resolveEntityNamesForApplications(parsedContent: ParsedJDLApplications): ParsedJDLApplication[] {
LOWlib/jdl/core/parsing/jdl-post-parsing-tasks.ts39function resolveApplicationEntityNames(application: ParsedJDLApplications['applications'][number], entityNames: string[]
LOWlib/jdl/core/parsing/jdl-post-parsing-tasks.ts53function checkEntityNamesInApplication(applicationName: string, entityNamesInApplication: Set<string>, entityNames: stri
LOWlib/jdl/core/parsing/validator.ts151export default function performAdditionalSyntaxChecks(cst: CstNode, runtime: JDLRuntime) {
LOW…jdl/core/parsing/self-checks/parsing-system-checker.ts60function checkForUselessConfigurationKeys(definedTokensMap: Record<string, TokenType>, usedConfigKeys: string[]) {
LOW…jdl/core/parsing/self-checks/parsing-system-checker.ts67function checkForMissingConfigurationKeys(definedTokensMap: Record<string, TokenType>, usedConfigKeys: string[]) {
LOWlib/jdl/converters/json-to-jdl-option-converter.ts36export function convertServerOptionsToJDL(config: any, jdl: JDLObject): JDLObject {
LOWlib/jdl/converters/json-to-jdl-entity-converter.ts117function convertJSONToJDLValidation(rule: string, field: JSONField): JDLValidation {
LOWlib/jdl/converters/json-to-jdl-entity-converter.ts232function getSourceEntitySideAttributes(entityName: string, relationship: JSONRelationship): JDLSourceEntitySide {
LOWlib/jdl/converters/json-to-jdl-entity-converter.ts241function getDestinationEntitySideAttributes(
LOWlib/jdl/converters/json-to-jdl-entity-converter.ts281function getInjectedFieldInSourceEntity(relationship: JSONRelationship): string {
LOWlib/jdl/converters/json-to-jdl-converter.ts72export function convertSingleContentToJDL(
LOWlib/jdl/converters/json-to-jdl-converter.ts80function getJDLObjectFromMultipleApplications(directory: string, runtime: JDLRuntime): JDLObject {
LOWlib/jdl/converters/json-to-jdl-converter.ts98export function getJDLObjectFromSingleApplication(
102 more matches not shown…
Hallucination Indicators12 hits · 165 pts
SeverityFileLineSnippet
CRITICAL…-jdl-object/parsed-jdl-to-jdl-object-converter.spec.ts891 expect(jdlObject.getEntity('Alumni').fields.firstName.validations.pattern.value.includes(String.raw`\'`)).toBe
CRITICALgenerators/spring-boot/generator.ts1000 contentToAdd: `OperatingSystem os = org.gradle.nativeplatform.platform.internal.DefaultNativePlatform.getCur
CRITICALgenerators/spring-boot/generator.ts1001Architecture arch = org.gradle.nativeplatform.platform.internal.DefaultNativePlatform.getCurrentArchitecture();
CRITICALgenerators/spring-boot/generators/cache/needles.spec.ts45 'createCache(cm, com.mycompany.myapp.domain.entityClass.class.getName());',
CRITICALgenerators/spring-boot/generators/cache/needles.spec.ts49 'createCache(cm, com.mycompany.myapp.domain.entityClass.class.getName() + ".entitiesOneToMany");',
CRITICALgenerators/spring-boot/generators/cache/needles.spec.ts53 'createCache(cm, com.mycompany.myapp.domain.entityClass.class.getName() + ".entitiesManoToMany");',
CRITICALgenerators/spring-boot/generators/cache/needles.spec.ts82 'createCache(cm, com.mycompany.myapp.domain.entityClass.class.getName());',
CRITICALgenerators/spring-boot/generators/cache/needles.spec.ts86 'createCache(cm, com.mycompany.myapp.domain.entityClass.class.getName() + ".entitiesOneToMany");',
CRITICALgenerators/spring-boot/generators/cache/needles.spec.ts90 'createCache(cm, com.mycompany.myapp.domain.entityClass.class.getName() + ".entitiesManoToMany");',
CRITICALgenerators/spring-boot/generators/cache/needles.spec.ts123 'createCache(cm, com.mycompany.myapp.domain.entityClass.class.getName(), jcacheConfiguration);',
CRITICALgenerators/spring-boot/generators/cache/needles.spec.ts127 'createCache(cm, com.mycompany.myapp.domain.entityClass.class.getName() + ".entitiesOneToMany", jcacheConfigurat
CRITICALgenerators/spring-boot/generators/cache/needles.spec.ts131 'createCache(cm, com.mycompany.myapp.domain.entityClass.class.getName() + ".entitiesManoToMany", jcacheConfigura
Self-Referential Comments34 hits · 102 pts
SeverityFileLineSnippet
MEDIUM.github/FUNDING.yml4# This file is part of the JHipster project, see https://www.jhipster.tech/
MEDIUM.github/labeler.yml4# This file is part of the JHipster project, see https://www.jhipster.tech/
MEDIUM.github/release-drafter.yml4# This file is part of the JHipster project, see https://www.jhipster.tech/
MEDIUM.github/dependabot.yml4# This file is part of the JHipster project, see https://www.jhipster.tech/
MEDIUM.github/workflows/lock-maintenance.yml4# This file is part of the JHipster project, see https://www.jhipster.tech/
MEDIUM.github/workflows/devserver.yml4# This file is part of the JHipster project, see https://www.jhipster.tech/
MEDIUM.github/workflows/generator.yml4# This file is part of the JHipster project, see https://www.jhipster.tech/
MEDIUM.github/workflows/update-spring-boot-dependencies.yml4# This file is part of the JHipster project, see https://www.jhipster.tech/
MEDIUM.github/workflows/docker-compose-integration.yml4# This file is part of the JHipster project, see https://www.jhipster.tech/
MEDIUM.github/workflows/labeler.yml4# This file is part of the JHipster project, see https://www.jhipster.tech/
MEDIUM.github/workflows/label-cleanup.yml4# This file is part of the JHipster project, see https://www.jhipster.tech/
MEDIUM.github/workflows/gradle-wrapper-validation.yml4# This file is part of the JHipster project, see https://www.jhipster.tech/
MEDIUM.github/workflows/copyright-update.yml4# This file is part of the JHipster project, see https://www.jhipster.tech/
MEDIUM.github/workflows/stale.yml4# This file is part of the JHipster project, see https://www.jhipster.tech/
MEDIUM.github/workflows/auto-merge.yml4# This file is part of the JHipster project, see https://www.jhipster.tech/
MEDIUM.github/workflows/react.yml4# This file is part of the JHipster project, see https://www.jhipster.tech/
MEDIUM.github/workflows/generator-generate-blueprint.yml4# This file is part of the JHipster project, see https://www.jhipster.tech/
MEDIUM…b/workflows/generator-database-changelog-liquibase.yml4# This file is part of the JHipster project, see https://www.jhipster.tech/
MEDIUM.github/workflows/triage.yml4# This file is part of the JHipster project, see https://www.jhipster.tech/
MEDIUM.github/workflows/linked-issue-check.yml4# This file is part of the JHipster project, see https://www.jhipster.tech/
MEDIUM.github/workflows/cache.yml4# This file is part of the JHipster project, see https://www.jhipster.tech/
MEDIUM.github/workflows/release-drafter.yml4# This file is part of the JHipster project, see https://www.jhipster.tech/
MEDIUM.github/workflows/vue.yml4# This file is part of the JHipster project, see https://www.jhipster.tech/
MEDIUM.github/workflows/generator-graalvm.yml4# This file is part of the JHipster project, see https://www.jhipster.tech/
MEDIUM.github/workflows/issue-check.yml4# This file is part of the JHipster project, see https://www.jhipster.tech/
MEDIUM.github/workflows/generators.yml4# This file is part of the JHipster project, see https://www.jhipster.tech/
MEDIUM…hub/workflows/docker-image-publish-github-registry.yml4# This file is part of the JHipster project, see https://www.jhipster.tech/
MEDIUM.github/workflows/depsreview.yml4# This file is part of the JHipster project, see https://www.jhipster.tech/
MEDIUM.github/workflows/angular.yml4# This file is part of the JHipster project, see https://www.jhipster.tech/
MEDIUM.github/actions/sonar/action.yml4# This file is part of the JHipster project, see https://www.jhipster.tech/
MEDIUM.github/actions/setup-default-node-java/action.yml4# This file is part of the JHipster project, see https://www.jhipster.tech/
MEDIUM.github/actions/cache-java-dependencies/action.yml4# This file is part of the JHipster project, see https://www.jhipster.tech/
MEDIUM.github/actions/build-cache/action.yml4# This file is part of the JHipster project, see https://www.jhipster.tech/
MEDIUM…d/generators/bootstrap/resources/dependabot/action.yml4# This file is part of the JHipster project, see https://www.jhipster.tech/
Over-Commented Block35 hits · 35 pts
SeverityFileLineSnippet
LOW.devcontainer/devcontainer.json41 // Features to add to the dev container. More info: https://containers.dev/features.
LOW.github/FUNDING.yml1#
LOW.github/labeler.yml1#
LOW.github/release-drafter.yml1#
LOW.github/dependabot.yml1#
LOW.github/workflows/lock-maintenance.yml1#
LOW.github/workflows/devserver.yml1#
LOW.github/workflows/generator.yml1#
LOW.github/workflows/update-spring-boot-dependencies.yml1#
LOW.github/workflows/docker-compose-integration.yml1#
LOW.github/workflows/labeler.yml1#
LOW.github/workflows/label-cleanup.yml1#
LOW.github/workflows/gradle-wrapper-validation.yml1#
LOW.github/workflows/copyright-update.yml1#
LOW.github/workflows/stale.yml1#
LOW.github/workflows/auto-merge.yml1#
LOW.github/workflows/react.yml1#
LOW.github/workflows/generator-generate-blueprint.yml1#
LOW…b/workflows/generator-database-changelog-liquibase.yml1#
LOW.github/workflows/triage.yml1#
LOW.github/workflows/linked-issue-check.yml1#
LOW.github/workflows/cache.yml1#
LOW.github/workflows/release-drafter.yml1#
LOW.github/workflows/vue.yml1#
LOW.github/workflows/generator-graalvm.yml1#
LOW.github/workflows/issue-check.yml1#
LOW.github/workflows/generators.yml1#
LOW…hub/workflows/docker-image-publish-github-registry.yml1#
LOW.github/workflows/depsreview.yml1#
LOW.github/workflows/angular.yml1#
LOW.github/actions/sonar/action.yml1#
LOW.github/actions/setup-default-node-java/action.yml1#
LOW.github/actions/cache-java-dependencies/action.yml1#
LOW.github/actions/build-cache/action.yml1#
LOW…d/generators/bootstrap/resources/dependabot/action.yml1#
Fake / Example Data2 hits · 2 pts
SeverityFileLineSnippet
LOWgenerators/java/support/add-java-annotation.spec.ts222 const input = 'name="John Doe"';
LOWgenerators/java/support/add-java-annotation.spec.ts224 expect(result).toEqual({ name: 'John Doe' });