Public record
Software health reportschema 0.31.0 · metrics 2.6.0 · 2026-08-15 17:06 UTC

dgraph-io / badger

Fast key-value DB in Go.

GoApache-2.0★ 15,750 stars⑂ 1,313 forkssince Jan 2017View on GitHub ↗
KindLibraryCommand-line toolhow this is determined

dgraph-io/badger holds a health index of 94 out of 100, placing it in the Exceptional band. It scores highest on Community & Adoption (95/100) and lowest on AI Readiness (65/100). It was last updated 1 day ago. 3 contributors account for most of its recent work.

94
overall / 100
Exceptional

Software health index

Metrics are grouped into weighted categories on one standardized 1–100 scale. Overall starts as their weighted mean, calibrated against the distribution of the public record so bands carry percentile meaning; when public evidence triggers the High-Risk Jurisdiction Policy, the rating is adjusted and receives an At Risk ceiling of 34.

94
Exceptional93-100The record's top tier (≈ top 5%); essentially all checked criteria met
Excellent80-92Strong across the board; minor gaps
Good65-79Healthy; gaps are limited and manageable
Moderate50-64Acceptable with notable gaps; review recommended
Weak35-49Material weaknesses across several areas
At Risk20-34Significant weaknesses; adoption warrants caution
Critical1-19Severe problems (abandoned, single-maintainer, no hygiene)
VitalityCommunity &AdoptionSustainability &GovernanceEngineeringQualitySecurityAI Readiness

Score profile

Each axis is a category. The shape matters more than the average — a healthy subject fills the whole shape, while a spike-and-crater profile means strength in one dimension is masking risk in another.

The weighted overall 80 is calibrated to 94 on the published index scale (record calibration 2026-08-02).

Ownership

DgraphOrganization
323 followers109 public repossince Aug 2015

This repository is backed by an organization — shared, accountable stewardship that can outlive any single maintainer.

Package ecosystems

RegistryPackageVersionDownloads / moVersionsLast publish
Gogithub.com/dgraph-io/badger/v4v4.9.6-2110 days ago

Metrics by category

Vitality

Is the project alive — is code being written and are releases shipping?

79Good · 21% of overall
How it's scored
36/36Push recency — last push 1 days ago
16.6/36Commit cadence — 24/52 weeks with commits
14.8/18Commit volume — 43 commits in the last year
10/10OpenSSF Scorecard: Maintained — 18 commit(s) and 3 issue activity found in the last 90 days -- score normalized to 10
Inputs used
commits_last_year43
human_commit_share0.71
days_since_last_push1
active_weeks_last_year24
How it's scored
27/27Ships releases — 60 releases published
36/36Release recency — latest release 10 days ago
19.8/27Release cadence — a release every ~56.2 days
0/10OpenSSF Scorecard: Signed-Releases — Project has not signed or included provenance with any releases.
Inputs used
releases_count60
latest_release_tagv4.9.6
releases_from_tagsno
days_since_latest_release10
mean_days_between_releases56.2

Community & Adoption

Does the project have users, downloads, attention, and a welcoming setup for contributors?

95Exceptional · 17% of overall
How it's scored
60/60Stars — 15,750 stars
25/25Forks — 1,313 forks
13/15Watchers — 221 watchers
Inputs used
forks1,313
stars15,750
watchers221
growth_stateunverified
growth_factor_pct100
growth_unverified_reasonno_history

Community health

92Excellent
How it's scored
22.5/22.5README
22.5/22.5License — recognized license (Apache-2.0)
18/18CONTRIBUTING guide
13.5/13.5Code of conduct
0/7.2Issue template
6.3/6.3PR template
Inputs used
has_readmeyes
has_licenseyes
readme_badges5
has_contributingyes
has_issue_templateno
has_code_of_conductyes
readme_badge_servicesgithub.com, goreportcard.com, pkg.go.dev
has_pull_request_templateyes

Sustainability & Governance

Will the project survive its people — bus factor, responsiveness, who backs it, and package upkeep?

81Excellent · 23% of overall
How it's scored
36/54Bus factor — 3 contributor(s) cover half of all commits
15/22.5Commit distribution — top contributor authored 33% of commits
13.5/13.5Contributor breadth — 98 contributors
10/10OpenSSF Scorecard: Contributors — project has 32 contributing companies or organizations
Inputs used
bus_factor3
contributors_sampled98
top_contributor_share0.334
How it's scored
40.8/42Issue resolution — 97% of issues closed
22.5/30PR acceptance — 1,061/1,415 decided PRs merged
6.5/13Newcomer PR acceptance — 1/2 first-time contributors' PRs merged in 30d
12/15OpenSSF Scorecard: Code-Review — Found 24/30 approved changesets -- score normalized to 8
Inputs used
merged_prs1,061
open_issues25
closed_issues829
prs_merged_7d2
prs_decided_7d2
prs_merged_30d5
prs_decided_30d7
issue_closed_ratio0.971
closed_unmerged_prs354
first_time_authors_30d2
first_time_prs_merged_30d1
first_time_prs_decided_30d2
How it's scored
30/30Ownership backing — organization-owned
0/20Verified domain
18/25Owner reach — 323 followers of dgraph-io
25/25Track record — 109 public repos, account ~10 yr old
Inputs used
followers323
owner_typeOrganization
is_verified
owner_logindgraph-io
public_repos109
account_age_days4,008

Package maintenance

100Exceptional
How it's scored
25/25Published & resolvable — 1 package(s) on go
35/35Publish recency — latest publish 10 days ago
20/20Version history — 21 published versions
20/20Not deprecated — active, not deprecated or yanked
Inputs used
packagesgithub.com/dgraph-io/badger/v4
ecosystemsgo
any_deprecatedno
min_days_since_publish10

Engineering Quality

Are baseline engineering and documentation practices in place?

77Good · 19% of overall
How it's scored
24/24CI workflows — 8 workflow(s)
24/24Tests present
0/16Linter config
0/9.6Pre-commit hooks
0/6.4.editorconfig
20/20OpenSSF Scorecard: CI-Tests — 30 out of 30 merged PRs checked by a CI test -- score normalized to 10
Inputs used
has_ciyes
has_testsyes
has_editorconfigno
has_linter_configno
has_precommit_configno

Documentation

90Excellent
How it's scored
30/30README
25/25Documentation directory
15/15Documentation / homepage site — https://dgraph-io.github.io/badger/
10/10Repository description
10/10Topics — 7 topics
0/10Wiki
Inputs used
topicskey-value, golang, library, go, ssd, database, document-database
has_wikino
homepagehttps://dgraph-io.github.io/badger/
has_readmeyes
has_docs_diryes
has_descriptionyes

Security

Are visible security and supply-chain practices strong, without unresolved high-risk jurisdiction exposure?

69Good · 16% of overall
How it's scored
7.5/7.5Binary-Artifacts — no binaries found in the repo
6/7.5Branch-Protection — branch protection is not maximal on development and all release branches
2.5/2.5CI-Tests — 30 out of 30 merged PRs checked by a CI test -- score normalized to 10
0/2.5CII-Best-Practices — no effort to earn an OpenSSF best practices badge detected
6/7.5Code-Review — Found 24/30 approved changesets -- score normalized to 8
2.5/2.5Contributors — project has 32 contributing companies or organizations
10/10Dangerous-Workflow — no dangerous workflow patterns detected
7.5/7.5Dependency-Update-Tool — update tool detected
0/5Fuzzing — project is not fuzzed
2.5/2.5License — license file detected
7.5/7.5Maintained — 18 commit(s) and 3 issue activity found in the last 90 days -- score normalized to 10
0/5Packaging — no data
1/5Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 2
2.5/5SAST — SAST tool is not run on all commits -- score normalized to 5
5/5Security-Policy — security policy file detected
0/7.5Signed-Releases — Project has not signed or included provenance with any releases.
0/7.5Token-Permissions — detected GitHub workflow tokens with excessive permissions
4.5/7.5Vulnerabilities — 4 existing vulnerabilities detected
Inputs used
sourceopenssf_scorecard
checks_evaluated17
scorecard_versionv5.5.0
checks_inconclusive1
scorecard_aggregate6.5
Excluded from scoring (no data or not applicable): packaging. Remaining weights renormalized.
How it's scored
23.1/35Direct dependencies free of known advisories — 3 affected: github.com/klauspost/compress v1.18.0 (unknown), go.opentelemetry.io/otel v1.41.0 (unknown), golang.org/x/sys v0.41.0 (unknown)
0/25Indirect dependencies free of known advisories — transitive set not separable from development and test dependencies in this scope
40/40No advisories left outstanding — no advisory has been public longer than 90 days
Inputs used
sourceosv
advisories5
affected_packages4
assessed_packages23
unassessed_packages0
affected_by_severityhigh 1, unknown 3
direct_affected_packages3
Excluded from scoring (no data or not applicable): Indirect dependencies free of known advisories. Remaining weights renormalized. Matched 23 resolved dependencies against OSV. This repository publishes no package the index resolves, so the repository dependency graph was assessed instead. That graph mixes development and test pins with shipped dependencies, so only the declared runtime dependencies are scored; transitive findings are reported as context and excluded from the score. Reachability is not analyzed.

AI Readiness

How well is the repo equipped to be developed and maintained with AI coding agents? Carries a deliberately small weight (4%): agent tooling is a real maintenance signal, but a repository with none can still reach 100/100.

65Good · 4% of overall
How it's scored
0/45Agent instructions — no CLAUDE.md / AGENTS.md / editor rules
0/15Machine-readable docs (llms.txt)
40/40Legible commit history — 60 of 71 human commits state their intent (structured subject or explanatory body)
Inputs used
has_llms_txtno
legible_history_share0.845
agent_instruction_files
agent_instruction_max_bytes
How it's scored
18/18One-command bootstrap — Makefile, badger/Makefile
22/22Automated tests
0/11Lint / format config
11/11Static type checking — Go (statically typed)
10/10Reproducible environment — lockfile
10/10Demonstrated agent practice — 8 of the last 100 commits agent-authored or agent-credited
8/8Automated maintenance — 29 of the last 100 commits are automated dependency updates
2/10OpenSSF Scorecard: Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 2
Inputs used
has_nixno
has_testsyes
lockfilesgo.sum
has_dockerfileno
typed_languageyes
bootstrap_filesMakefile, badger/Makefile
has_devcontainerno
has_linter_configno
typecheck_configs
agent_commit_share0.08
toolchain_manifestsgo.mod
dependency_bot_commit_share0.29
How it's scored
45/45Type-checkable code — Go (statically typed)
54/55Manageable file sizes — 2/107 source files over 60KB
Inputs used
primary_languageGo
largest_source_bytes69,874
source_files_sampled107
oversized_source_files2
How it's scored
40/40API schema (OpenAPI/GraphQL/proto) — pb/badgerpb4.proto
0/20MCP server
0/40Runnable examples
Inputs used
example_dirs
has_mcp_signalno
api_schema_filespb/badgerpb4.proto

Key facts

15,750GitHub stars
98contributors
43commits, last 12 months
1days since last push
60releases
3bus factor
25open issues
Gopackage ecosystems

Data collection warnings

  • Star history unavailable: GitHub GraphQL error: Resource not accessible by personal access token

More detail

Star and fork history 0 ★ / 1,313 ⇿
0Stars
1,313Forks
49Releases

When each star and fork was added, collected from GitHub and bucketed by day. Cumulative growth sits directly above the daily additions it is made of, so the two read against each other: steady organic accretion looks nothing like an abrupt, short-lived burst. Where that difference is measurable, it is reported as growth authenticity.

Only the most recent history is shown — this repository exceeds the collection window, so the earliest history is not captured.

2004006008001,0001,2001,4001,313142019-012022-112026-08
Major 1Minor 14Patch 26

Each point covers 7 days.

OpenSSF Scorecard 6.5 / 10
6.5aggregate

Independent, tool-agnostic security assessment from the open-source OpenSSF Scorecard. Each check rewards a security practice, not a specific vendor's tool. Checks Scorecard could not determine are marked n/a and excluded from the security score (never counted as zero).Scorecard v5.5.0 · 2026-08-15 17:05 UTC

10Binary-Artifactsno binaries found in the repo
8Branch-Protectionbranch protection is not maximal on development and all release branches
10CI-Tests30 out of 30 merged PRs checked by a CI test -- score normalized to 10
0CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
8Code-ReviewFound 24/30 approved changesets -- score normalized to 8
10Contributorsproject has 32 contributing companies or organizations
10Dangerous-Workflowno dangerous workflow patterns detected
10Dependency-Update-Toolupdate tool detected
0Fuzzingproject is not fuzzed
10Licenselicense file detected
10Maintained18 commit(s) and 3 issue activity found in the last 90 days -- score normalized to 10
n/aPackagingpackaging workflow not detected
2Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 2
5SASTSAST tool is not run on all commits -- score normalized to 5
10Security-Policysecurity policy file detected
0Signed-ReleasesProject has not signed or included provenance with any releases.
0Token-Permissionsdetected GitHub workflow tokens with excessive permissions
6Vulnerabilities4 existing vulnerabilities detected
Direct dependencies 11
RegistryPackageVersion constraintManifest
Gogithub.com/cespare/xxhash/v2v2.3.0go.mod
Gogithub.com/dgraph-io/ristretto/v2v2.2.0go.mod
Gogithub.com/dustin/go-humanizev1.0.1go.mod
Gogithub.com/google/flatbuffersv25.2.10+incompatiblego.mod
Gogithub.com/klauspost/compressv1.18.0go.mod
Gogithub.com/spf13/cobrav1.9.1go.mod
Gogithub.com/stretchr/testifyv1.11.1go.mod
Gogo.opentelemetry.io/contrib/zpagesv0.66.0go.mod
Gogo.opentelemetry.io/otelv1.41.0go.mod
Gogolang.org/x/sysv0.41.0go.mod
Gogoogle.golang.org/protobufv1.36.7go.mod
All dependencies 23

Full resolved dependency set from the GitHub dependency graph: 11 direct and 12 indirect (transitive) packages. The transitive closure is complete when the repository commits a lockfile.

RegistryPackageVersionRelation
Gogithub.com/cespare/xxhash/v2v2.3.0direct
Gogithub.com/dgraph-io/ristretto/v2v2.2.0direct
Gogithub.com/dustin/go-humanizev1.0.1direct
Gogithub.com/google/flatbuffersv25.2.10+incompatibledirect
Gogithub.com/klauspost/compressv1.18.0direct
Gogithub.com/spf13/cobrav1.9.1direct
Gogithub.com/stretchr/testifyv1.11.1direct
Gogo.opentelemetry.io/contrib/zpagesv0.66.0direct
Gogo.opentelemetry.io/otelv1.41.0direct
Gogolang.org/x/sysv0.41.0direct
Gogoogle.golang.org/protobufv1.36.7direct
Gogithub.com/davecgh/go-spewv1.1.1indirect
Gogithub.com/go-logr/logrv1.4.3indirect
Gogithub.com/go-logr/stdrv1.2.2indirect
Gogithub.com/google/uuidv1.6.0indirect
Gogithub.com/inconshreveable/mousetrapv1.1.0indirect
Gogithub.com/pmezard/go-difflibv1.0.0indirect
Gogithub.com/spf13/pflagv1.0.6indirect
Gogo.opentelemetry.io/auto/sdkv1.2.1indirect
Gogo.opentelemetry.io/otel/metricv1.41.0indirect
Gogo.opentelemetry.io/otel/sdkv1.41.0indirect
Gogo.opentelemetry.io/otel/tracev1.41.0indirect
Gogopkg.in/yaml.v3v3.0.1indirect
Dependency advisories 4

This repository publishes no package the index resolves, so its own dependency graph was assessed — 23 packages, which also include development and test pins that never ship: 4 carry known advisories, of which 3 are direct.

PackageVersionRelationSeverityAdvisoriesFixed in
go.opentelemetry.io/otel/sdkv1.41.0indirecthigh21.43.0
github.com/klauspost/compressv1.18.0directunknown11.18.7
go.opentelemetry.io/otelv1.41.0directunknown11.44.0
golang.org/x/sysv0.41.0directunknown10.44.0

An advisory means the version recorded in the dependency graph falls inside an advisory’s affected range. Reachability is not analysed, and the graph includes development and test pins — a finding may concern tooling rather than shipped software.

Raw JSON report machine-readable

Scores are signals, not warranties. They reflect publicly visible practices on GitHub — not a code audit, and not a security guarantee.

Missing data is excluded and weights renormalized, never scored as zero. Methodology is versioned and open: metrics v2.6.0, schema v0.31.0 — full methodology · metrics wiki.

How one result sits in the wider record: aggregate statisticsGo.