RepoTrust

Leaderboard github.com

elementalui/elemental

A flexible and beautiful UI framework for React.js

  • View repository ↗
  • JavaScript
  • ★ 4,277
  • commit 43d25fdb2809
  • scored 2026-11-14
  • scoring prov-5+qual-2+sec-2

AI provenance

0%

none-detected

Confidence
65%
Coverage
100%

Estimated share of AI-generated code. Explicit attribution is a lower bound.

Code quality

38/100

poor

Confidence
90%
Coverage
100%

Complexity, duplication, lint density, tests, CI, docs and review process.

Security

72/100

adequate

Confidence
85%
Coverage
100%

Secrets, static analysis, vulnerable dependencies, CI and supply-chain posture.

AI provenance

0% none-detected

No AI attribution or AI-consistent velocity signals detected.

How the score is built

  • Explicitly attributed share0%
  • Unattributed share in AI-pace bursts0%
  • Estimated AI-generated share0%
  • AI tool configuration files0
  • Work sessions at AI pace0
  • Releases at AI pace0
  • Coding-style index (1.0+ means possible)0.00

Lines added per month all AI-attributed share

  1. 2015-045,499 · 0% AI
  2. 2015-052,450 · 0% AI
  3. 2015-061,394 · 0% AI
  4. 2015-072,412 · 0% AI
  5. 2015-081,371 · 0% AI
  6. 2015-09736 · 0% AI
  7. 2015-10217 · 0% AI
  8. 2015-11121 · 0% AI
  9. 2015-12348 · 0% AI
  10. 2016-0164 · 0% AI
  11. 2016-0217 · 0% AI
  12. 2016-0326 · 0% AI
  13. 2016-040 · 0% AI
  14. 2016-0548 · 0% AI
  15. 2016-0744 · 0% AI
  16. 2016-08111 · 0% AI
  17. 2016-09140 · 0% AI
  18. 2016-1110 · 0% AI
  19. 2017-0525 · 0% AI
  20. 2017-061 · 0% AI
  21. 2017-09217 · 0% AI
  22. 2017-10627 · 0% AI
  23. 2017-117 · 0% AI

Evidence by analyzer

Explicit AI attributionok
attributed_commit_share
0.0%
attributed_commits
0
attributed_loc
0
attributed_loc_share
0.0%
commits
723
effective_loc
15,885
tools_detected
0
AI tool configurationok
artifacts
0
tools_configured
0
workflow_agents
0
Commit velocityok
excluded_import_loc
0
flagged_loc
0
flagged_loc_share
0.0%
flagged_units
0
max_loc_per_hour
433.36
measured_loc
15,885
median_loc_per_hour
54.85
pr_timed_units
0
pre_ai_era_burst_loc
0
pre_ai_era_bursts
0
pre_ai_era_measured_loc
15,885
work_units
231
Release velocityok
flagged_releases
0
max_loc_per_day
2,038.60
releases
42
Coding styleok
count:assistant_voice
0
count:emoji_in_code
0
count:narrated_steps
0
count:placeholder
0
files:assistant_voice
0
files:emoji_in_code
0
files:narrated_steps
0
files:placeholder
0
index
0
lines_scanned
5,990
per_kloc:assistant_voice
0
per_kloc:emoji_in_code
0
per_kloc:narrated_steps
0
per_kloc:placeholder
0

Code quality

38 poor

Code quality is poor: test-to-source ratio 0.02, no CI test run detected; 39% of function code in complex or long functions; 21% duplicated lines. Weakest area: process.

How the score is built

  • Complexity31
  • Duplication28
  • Lint and smells64
  • Tests and CI21
  • Documentation85
  • Type safetynot measured
  • Review process20

Evidence by analyzer

Complexity (lizard)ok6 items
complex_functions
2
function_nloc
3,314
functions
228
long_functions
4
many_param_functions
0
mean_ccn
2.04
p90_ccn
4
risky_nloc_share
39.0%
Duplication (jscpd)ok10 items
compared_lines
4,831
duplicated_lines
1,034
duplicated_share
21.4%
files
60
Lintok
category:best-practice
1
category:correctness
39
findings
40
scanned_lines
5,990
weighted_findings
10.75
Tests and CIok
check:ci_present
no
check:ci_runs_lint
no
check:ci_runs_tests
no
check:has_tests
yes
check:test_ratio
no
check:tests_cochange
no
ci_files
0
cochange_commits
171
cochange_share
0.6%
source_lines
5,990
test_lines
101
test_ratio
0.02
Documentationok3 items
  • README.md README.md
  • LICENSE LICENSE
  • HISTORY.md HISTORY.md
check:changelog
yes
check:contributing
no
check:license
yes
check:readme
yes
readme_lines
17
Type safetyskipped

Security

72 adequate

Security posture is adequate: no high-impact findings. Weakest area: posture.

How the score is built

  • Secrets100
  • Static analysis (SAST)96
  • Vulnerable dependenciesnot measured
  • CI workflowsnot measured
  • Security posture0
  • OpenSSF Scorecard25

Evidence by analyzer

OpenSSF Scorecardok9 items
aggregate
2.60
check:Binary-Artifacts
yes
check:Branch-Protection
no
check:CII-Best-Practices
no
check:Code-Review
yes
check:Fuzzing
no
check:License
yes
check:Maintained
no
check:SAST
no
check:Security-Policy
no
Package registriesok
checked
20
declared
20
lookup_errors
0
missing
0
recent
0
Secrets (gitleaks)ok
secrets_current
0
secrets_history
0
secrets_low_confidence
0
secrets_nonprod
0
Static analysis (opengrep)ok
findings
3
findings_high
0
findings_low
0
findings_medium
3
parse_errors
0
scanned_lines
5,990
weighted_findings
0.75
Dependencies (osv-scanner)skipped
CI workflows (zizmor)skipped
Security postureok1 item
  • package.json has no lockfile alongside it (unpinned dependencies) package.json
check:dependency_updates
no
check:lockfiles
no
check:security_policy
no
check:signed_commits
no
signed_commit_share
0.5%
unpinned_manifests
1
Release downloadsok
binary_assets
0
signals
0
suspicious
0

Findings

4 medium39 low

SeverityRuleLocationMessageTool
medium opengrep/javascript.lang.best-practice.javascript-alert site/src/pages/Forms.js:60 found alert() call; should this be in production code? Lint
medium opengrep/javascript.lang.security.html-in-template-string site/src/pages/Buttons.js:87 This template literal looks like HTML and has interpolated variables. These variables are not HTML-encoded by default. If the variables contain HTML tags, these may be interpreted by the browser, resulting in cross-site scripting (XSS).... Static analysis (opengrep)
medium opengrep/javascript.lang.security.html-in-template-string site/src/pages/Glyphs.js:39 This template literal looks like HTML and has interpolated variables. These variables are not HTML-encoded by default. If the variables contain HTML tags, these may be interpreted by the browser, resulting in cross-site scripting (XSS).... Static analysis (opengrep)
medium opengrep/javascript.lang.security.audit.detect-redos src/components/EmailInputGroup.js:9 Detected the use of a regular expression `^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$` which appears to be vulnerable to a Regular... Static analysis (opengrep)
low opengrep/bash.lang.correctness.unquoted-variable-expansion-in-command scripts/bower.sh:10 Variable expansions must be double-quoted so as to prevent being split into multiple pieces according to whitespace or whichever separator is specified by the IFS variable. If you really wish to split the variable's contents, you may... Lint
low opengrep/bash.lang.correctness.unquoted-variable-expansion-in-command scripts/bower.sh:11 Variable expansions must be double-quoted so as to prevent being split into multiple pieces according to whitespace or whichever separator is specified by the IFS variable. If you really wish to split the variable's contents, you may... Lint
low opengrep/bash.lang.correctness.unquoted-variable-expansion-in-command scripts/bower.sh:14 Variable expansions must be double-quoted so as to prevent being split into multiple pieces according to whitespace or whichever separator is specified by the IFS variable. If you really wish to split the variable's contents, you may... Lint
low opengrep/bash.lang.correctness.unquoted-variable-expansion-in-command scripts/bower.sh:15 Variable expansions must be double-quoted so as to prevent being split into multiple pieces according to whitespace or whichever separator is specified by the IFS variable. If you really wish to split the variable's contents, you may... Lint
low opengrep/bash.lang.correctness.unquoted-variable-expansion-in-command scripts/bower.sh:16 Variable expansions must be double-quoted so as to prevent being split into multiple pieces according to whitespace or whichever separator is specified by the IFS variable. If you really wish to split the variable's contents, you may... Lint
low opengrep/bash.lang.correctness.unquoted-variable-expansion-in-command scripts/bower.sh:18 Variable expansions must be double-quoted so as to prevent being split into multiple pieces according to whitespace or whichever separator is specified by the IFS variable. If you really wish to split the variable's contents, you may... Lint
low opengrep/bash.lang.correctness.unquoted-variable-expansion-in-command scripts/bower.sh:19 Variable expansions must be double-quoted so as to prevent being split into multiple pieces according to whitespace or whichever separator is specified by the IFS variable. If you really wish to split the variable's contents, you may... Lint
low opengrep/bash.lang.correctness.unquoted-variable-expansion-in-command scripts/bower.sh:20 Variable expansions must be double-quoted so as to prevent being split into multiple pieces according to whitespace or whichever separator is specified by the IFS variable. If you really wish to split the variable's contents, you may... Lint
low opengrep/bash.lang.correctness.unquoted-variable-expansion-in-command scripts/bower.sh:23 Variable expansions must be double-quoted so as to prevent being split into multiple pieces according to whitespace or whichever separator is specified by the IFS variable. If you really wish to split the variable's contents, you may... Lint
low opengrep/bash.lang.correctness.unquoted-variable-expansion-in-command scripts/bower.sh:8 Variable expansions must be double-quoted so as to prevent being split into multiple pieces according to whitespace or whichever separator is specified by the IFS variable. If you really wish to split the variable's contents, you may... Lint
low opengrep/bash.lang.correctness.unquoted-variable-expansion-in-command scripts/bower.sh:9 Variable expansions must be double-quoted so as to prevent being split into multiple pieces according to whitespace or whichever separator is specified by the IFS variable. If you really wish to split the variable's contents, you may... Lint
low opengrep/javascript.lang.correctness.missing-template-string-indicator site/src/pages/Buttons.js:259 This looks like a JavaScript template string. Are you missing a '$' in front of '{...}'? Lint
low opengrep/javascript.lang.correctness.missing-template-string-indicator site/src/pages/Buttons.js:259 This looks like a JavaScript template string. Are you missing a '$' in front of '{...}'? Lint
low opengrep/javascript.lang.correctness.missing-template-string-indicator site/src/pages/Buttons.js:270 This looks like a JavaScript template string. Are you missing a '$' in front of '{...}'? Lint
low opengrep/javascript.lang.correctness.missing-template-string-indicator site/src/pages/Buttons.js:270 This looks like a JavaScript template string. Are you missing a '$' in front of '{...}'? Lint
low opengrep/javascript.lang.correctness.missing-template-string-indicator site/src/pages/CSS.js:137 This looks like a JavaScript template string. Are you missing a '$' in front of '{...}'? Lint
low opengrep/javascript.lang.correctness.missing-template-string-indicator site/src/pages/CSS.js:137 This looks like a JavaScript template string. Are you missing a '$' in front of '{...}'? Lint
low opengrep/javascript.lang.correctness.missing-template-string-indicator site/src/pages/Forms.js:466 This looks like a JavaScript template string. Are you missing a '$' in front of '{...}'? Lint
low opengrep/javascript.lang.correctness.missing-template-string-indicator site/src/pages/Forms.js:466 This looks like a JavaScript template string. Are you missing a '$' in front of '{...}'? Lint
low opengrep/javascript.lang.correctness.missing-template-string-indicator site/src/pages/Forms.js:544 This looks like a JavaScript template string. Are you missing a '$' in front of '{...}'? Lint
low opengrep/javascript.lang.correctness.missing-template-string-indicator site/src/pages/Forms.js:544 This looks like a JavaScript template string. Are you missing a '$' in front of '{...}'? Lint
low opengrep/javascript.lang.correctness.missing-template-string-indicator site/src/pages/Forms.js:627 This looks like a JavaScript template string. Are you missing a '$' in front of '{...}'? Lint
low opengrep/javascript.lang.correctness.missing-template-string-indicator site/src/pages/Forms.js:627 This looks like a JavaScript template string. Are you missing a '$' in front of '{...}'? Lint
low opengrep/javascript.lang.correctness.missing-template-string-indicator site/src/pages/Forms.js:806 This looks like a JavaScript template string. Are you missing a '$' in front of '{...}'? Lint
low opengrep/javascript.lang.correctness.missing-template-string-indicator site/src/pages/Forms.js:806 This looks like a JavaScript template string. Are you missing a '$' in front of '{...}'? Lint
low opengrep/javascript.lang.correctness.missing-template-string-indicator site/src/pages/Home.js:88 This looks like a JavaScript template string. Are you missing a '$' in front of '{...}'? Lint
low opengrep/javascript.lang.correctness.missing-template-string-indicator site/src/pages/Home.js:88 This looks like a JavaScript template string. Are you missing a '$' in front of '{...}'? Lint
low opengrep/javascript.lang.correctness.missing-template-string-indicator site/src/pages/Misc.js:197 This looks like a JavaScript template string. Are you missing a '$' in front of '{...}'? Lint
low opengrep/javascript.lang.correctness.missing-template-string-indicator site/src/pages/Misc.js:197 This looks like a JavaScript template string. Are you missing a '$' in front of '{...}'? Lint
low opengrep/javascript.lang.correctness.missing-template-string-indicator site/src/pages/Misc.js:319 This looks like a JavaScript template string. Are you missing a '$' in front of '{...}'? Lint
low opengrep/javascript.lang.correctness.missing-template-string-indicator site/src/pages/Misc.js:319 This looks like a JavaScript template string. Are you missing a '$' in front of '{...}'? Lint
low opengrep/javascript.lang.correctness.missing-template-string-indicator site/src/pages/Misc.js:357 This looks like a JavaScript template string. Are you missing a '$' in front of '{...}'? Lint
low opengrep/javascript.lang.correctness.missing-template-string-indicator site/src/pages/Misc.js:357 This looks like a JavaScript template string. Are you missing a '$' in front of '{...}'? Lint
low opengrep/javascript.lang.correctness.missing-template-string-indicator site/src/pages/Modal.js:110 This looks like a JavaScript template string. Are you missing a '$' in front of '{...}'? Lint
low opengrep/javascript.lang.correctness.missing-template-string-indicator site/src/pages/Modal.js:110 This looks like a JavaScript template string. Are you missing a '$' in front of '{...}'? Lint
low opengrep/javascript.lang.correctness.missing-template-string-indicator site/src/pages/Modal.js:84 This looks like a JavaScript template string. Are you missing a '$' in front of '{...}'? Lint
low opengrep/javascript.lang.correctness.missing-template-string-indicator site/src/pages/Modal.js:84 This looks like a JavaScript template string. Are you missing a '$' in front of '{...}'? Lint
low opengrep/javascript.lang.correctness.missing-template-string-indicator site/src/pages/Modal.js:89 This looks like a JavaScript template string. Are you missing a '$' in front of '{...}'? Lint
low opengrep/javascript.lang.correctness.missing-template-string-indicator site/src/pages/Modal.js:89 This looks like a JavaScript template string. Are you missing a '$' in front of '{...}'? Lint

Tools and coverage

Every analyzer that ran on this commit. A failed or skipped tool is a coverage gap: its share of the score is left out and the coverage figure drops.

AnalyzerPillarStatusVersionFindingsNote
AI tool configurationAI provenanceoksignatures-v10
Explicit AI attributionAI provenanceoksignatures-v10
Release velocityAI provenanceokprov-40
Coding styleAI provenanceok—0
Commit velocityAI provenanceokprov-40
Complexity (lizard)Code qualityoklizard 1.25.10
DocumentationCode qualityok—0
Duplication (jscpd)Code qualityokrepotrust-dup-w60
LintCode qualityokopengrep 1.33.1; rules f1d2b562b41440
Tests and CICode qualityok—0
Type safetyCode qualityskipped—0
CI workflows (zizmor)Securityskipped—0
Dependencies (osv-scanner)Securityskipped—0
Release downloadsSecurityok—0
Security postureSecurityok—0
Package registriesSecurityok—0
Static analysis (opengrep)Securityokopengrep 1.33.1; rules f1d2b562b4143
OpenSSF ScorecardSecurityokscorecard v5.6.00
Secrets (gitleaks)Securityokgitleaks 8.30.10

Score history

Scores from different scoring versions aren't directly comparable.

ScoredCommitScoringAI provenanceQualitySecurity
2026-11-1443d25fdb2809prov-5+qual-2+sec-20%3872
2026-11-1443d25fdb2809prov-4+qual-2+sec-20%3872

Embed a badge

Maintainers can show these in a README. Badges update when the repository is re-scored.

[![RepoTrust ai](https://repotrust.synapticcyber.com/badge/github.com/elementalui/elemental/ai.svg)](https://repotrust.synapticcyber.com/r/github.com/elementalui/elemental/)
[![RepoTrust quality](https://repotrust.synapticcyber.com/badge/github.com/elementalui/elemental/quality.svg)](https://repotrust.synapticcyber.com/r/github.com/elementalui/elemental/)
[![RepoTrust security](https://repotrust.synapticcyber.com/badge/github.com/elementalui/elemental/security.svg)](https://repotrust.synapticcyber.com/r/github.com/elementalui/elemental/)
Full text report
  • Repository: https://github.com/elementalui/elemental
  • Commit: 43d25fdb280957ec382c88404b1a81c3101825ec
  • Generated: 2026-11-14T14:52:04+00:00
  • Scorer 0.1.0, scoring prov-5+qual-2+sec-2, report schema v2

Scores

Pillar Score Signal Confidence Coverage
AI provenance (estimated AI-generated share) 0 none-detected 65% 100%
Code quality 38 poor 90% 100%
Security 72 adequate 85% 100%

AI provenance

No AI attribution or AI-consistent velocity signals detected.

  • Explicitly attributed share (lower bound): 0.0%
  • Unattributed share in AI-consistent velocity bursts: 0.0%
  • Estimated AI-generated share: 0.0%
Month Lines added Attributed to AI
2016-02 17 0%
2016-03 26 0%
2016-05 48 0%
2016-07 44 0%
2016-08 111 0%
2016-09 140 0%
2016-11 10 0%
2017-05 25 0%
2017-06 1 0%
2017-09 217 0%
2017-10 627 0%
2017-11 7 0%

AI provenance describes how code was produced; it is not a quality judgment. Unless attribution is explicit, these are signals consistent with AI generation, not proof. Squash/rebase workflows, imported code, and rewritten history reduce accuracy.

Code quality

Code quality is poor: test-to-source ratio 0.02, no CI test run detected; 39% of function code in complex or long functions; 21% duplicated lines. Weakest area: process.

Area Score
Complexity (lizard) 31
Duplication 28
Code smells (Opengrep) 64
Tests and CI 21
Documentation 85
Type safety n/a
Process (Scorecard review/maintenance) 20
  • Functions: 228; mean complexity 2.0, 90th percentile 4; 2 complex and 4 long functions
  • Duplicated lines: 21.4% of 4,831 compared
  • Tests: 101 test lines for 5,990 source lines (ratio 0.02); CI test commands: none detected; 1% of recent source commits also change tests
  • Docs missing or thin: contributing

Most complex functions:

Security

Security posture is adequate: no high-impact findings. Weakest area: posture.

Area Score
Secrets (gitleaks, tree + history) 100
Static analysis (Opengrep) 96
Vulnerable dependencies (OSV) n/a
CI workflows (zizmor) n/a
Posture (policy, updates, signing, lockfiles) 0
OpenSSF Scorecard 25
  • Posture checks passed: none; missing: security policy, dependency updates, signed commits, lockfiles
  • OpenSSF Scorecard aggregate: 2.6/10 (published 2026-10-19)

Top findings

Severity Finding Location
medium opengrep/javascript.lang.security.html-in-template-string: This template literal looks like HTML and has interpolated variables. These variables are not HTML-encoded by default. If the variables contain HTML tags, these may be interpreted by the browser, resulting in cross-site scripting (XSS). [confidence low] site/src/pages/Buttons.js:87
medium opengrep/javascript.lang.security.html-in-template-string: This template literal looks like HTML and has interpolated variables. These variables are not HTML-encoded by default. If the variables contain HTML tags, these may be interpreted by the browser, resulting in cross-site scripting (XSS). [confidence low] site/src/pages/Glyphs.js:39
medium opengrep/javascript.lang.security.audit.detect-redos: Detected the use of a regular expression ^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$ which appears to be vulnerable to a Regular expression Denial-of-Service (ReDoS). For this reason, it is rec [confidence low] src/components/EmailInputGroup.js:9

Static signals only: the scorer never runs the project's code. Secret findings are pattern matches that were not verified, and secret values are never stored.

Repository profile

  • Source lines: 5,990; test lines: 101
Language Lines
JavaScript 6,066
Shell 25