# swig/swig — health index 77/100 (Good)

> Inspection of the public repository swig/swig by inspect.software. It holds a health index of 77 out of 100, placing it in the Good band. The index is a signal derived from publicly visible practice, not a warranty, a security audit, or an endorsement, and it is independent of payment.

- Repository: https://github.com/swig/swig
- Report page: https://inspect.software/software/swig/swig
- Full JSON report: https://inspect.software/api/repositories/swig/swig/report
- Badge: https://inspect.software/badge/v1/swig/swig.svg
- Inspected: 2026-10-19
- Methodology: metrics 2.10.0, report schema 0.34.0 (https://inspect.software/methodology.md)

## Category summary

| Category | Weight | Index | Band |
|---|---|---|---|
| Vitality | 21% | 90/100 | Excellent |
| Community & Adoption | 17% | 73/100 | Good |
| Sustainability & Governance | 23% | 51/100 | Moderate |
| Engineering Quality | 19% | 62/100 | Moderate |
| Security | 16% | 56/100 | Moderate |
| AI Readiness | 4% | 60/100 | Moderate |

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

## Repository facts

| Field | Value |
|---|---|
| Description | SWIG is a software development tool that connects programs written in C and C++ with a variety of high-level programming languages. |
| Homepage | http://www.swig.org |
| Primary language | SWIG |
| Stars | 6,329 |
| Forks | 1,315 |
| Created | 2012-12-30 |
| Last push | 2026-10-17 |
| Latest release | v4.5.1 |
| Commits (last year) | 809 |
| Bus factor | 1 |

## Vitality — 90/100 (Excellent)

Is the project alive — is code being written and are releases shipping? Weight: 21% of the overall index.

### Development activity — 97/100 (Exceptional)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Push recency | met | 36 / 36 | last push 1 days ago |
| Commit cadence | partial | 33.2 / 36 | 48/52 weeks with commits |
| Commit volume | met | 18 / 18 | 809 commits in the last year |
| OpenSSF Scorecard: Maintained | met | 10 / 10 | 30 commit(s) and 15 issue activity found in the last 90 days -- score normalized to 10 |

### Release discipline — 80/100 (Excellent)

Excluded from scoring (no data or not applicable): OpenSSF Scorecard: Signed-Releases. Remaining weights renormalized.

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Ships releases | partial | 16.2 / 27 | 57 version tags (no GitHub releases) |
| Release recency | met | 36 / 36 | latest release 45 days ago |
| Release cadence | partial | 19.8 / 27 | a release every ~109.8 days |
| OpenSSF Scorecard: Signed-Releases | excluded | 0 / 10 | no releases found |

### Abandonment — 100/100 (Exceptional)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Project is still maintained | met | 100 / 100 | last human commit 1 days ago |

## Community & Adoption — 73/100 (Good)

Does the project have users, downloads, attention, and a welcoming setup for contributors? Weight: 17% of the overall index.

### Popularity & adoption — 98/100 (Exceptional)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Stars | met | 60 / 60 | 6,329 stars |
| Forks | met | 25 / 25 | 1,315 forks |
| Watchers | partial | 12.5 / 15 | 181 watchers |

### Community health — 44/100 (Weak)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| README | met | 22.5 / 22.5 | — |
| License | partial | 16.9 / 22.5 | license file present, not a recognized license |
| CONTRIBUTING guide | not met | 0 / 18 | — |
| Code of conduct | not met | 0 / 13.5 | — |
| Issue template | not met | 0 / 7.2 | — |
| PR template | not met | 0 / 6.3 | — |

## Sustainability & Governance — 51/100 (Moderate)

Will the project survive its people — bus factor, responsiveness, who backs it, and package upkeep? Weight: 23% of the overall index.

### Maintainer resilience (bus factor) — 41/100 (Weak)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Bus factor | partial | 9 / 54 | 1 contributor(s) cover half of all commits |
| Commit distribution | partial | 8.4 / 22.5 | top contributor authored 63% of commits |
| Contributor breadth | met | 13.5 / 13.5 | 100 contributors |
| OpenSSF Scorecard: Contributors | met | 10 / 10 | project has 36 contributing companies or organizations |

### Issue & PR responsiveness — 50/100 (Moderate)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Issue resolution | partial | 33.6 / 42 | 80% of issues closed |
| PR acceptance | partial | 16.1 / 30 | 708/1321 decided PRs merged |
| Newcomer PR acceptance | not met | 0 / 13 | 0/1 first-time contributors' PRs merged in 30d |
| OpenSSF Scorecard: Code-Review | not met | 0 / 15 | Found 1/30 approved changesets -- score normalized to 0 |

### Ownership & stewardship — 63/100 (Moderate)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Ownership backing | met | 30 / 30 | organization-owned |
| Verified domain | not met | 0 / 20 | — |
| Owner reach | partial | 16.4 / 25 | 193 followers of swig |
| Track record | partial | 16.4 / 25 | 3 public repos, account ~14 yr old |

## Engineering Quality — 62/100 (Moderate)

Are baseline engineering and documentation practices in place? Weight: 19% of the overall index.

### Engineering practices — 44/100 (Weak)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| CI workflows | met | 24 / 24 | 4 workflow(s) |
| Tests present | not met | 0 / 24 | — |
| Linter config | not met | 0 / 16 | — |
| Pre-commit hooks | not met | 0 / 9.6 | — |
| .editorconfig | not met | 0 / 6.4 | — |
| OpenSSF Scorecard: CI-Tests | met | 20 / 20 | 1 out of 1 merged PRs checked by a CI test -- score normalized to 10 |

### Documentation — 90/100 (Excellent)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| README | met | 30 / 30 | — |
| Documentation directory | met | 25 / 25 | — |
| Documentation / homepage site | met | 15 / 15 | http://www.swig.org |
| Repository description | met | 10 / 10 | — |
| Topics | not met | 0 / 10 | — |
| Wiki | met | 10 / 10 | — |

## Security — 56/100 (Moderate)

Are visible security and supply-chain practices strong, with no malicious dependency and no unresolved high-risk jurisdiction exposure? Weight: 16% of the overall index.

### Security posture — 56/100 (Moderate)

Excluded from scoring (no data or not applicable): Branch-Protection, Packaging, Signed-Releases. Remaining weights renormalized.

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Binary-Artifacts | met | 7.5 / 7.5 | no binaries found in the repo |
| Branch-Protection | excluded | 0 / 7.5 | internal error: error during branchesHandler.setup: internal error: some github tokens can't read classic branch protection rules: https://github.com/ossf/scorecard-action/blob/main/docs/authentication/fine-grained-auth-token.md |
| CI-Tests | met | 2.5 / 2.5 | 1 out of 1 merged PRs checked by a CI test -- score normalized to 10 |
| CII-Best-Practices | not met | 0 / 2.5 | no effort to earn an OpenSSF best practices badge detected |
| Code-Review | not met | 0 / 7.5 | Found 1/30 approved changesets -- score normalized to 0 |
| Contributors | met | 2.5 / 2.5 | project has 36 contributing companies or organizations |
| Dangerous-Workflow | met | 10 / 10 | no dangerous workflow patterns detected |
| Dependency-Update-Tool | not met | 0 / 7.5 | no update tool detected |
| Fuzzing | not met | 0 / 5 | project is not fuzzed |
| License | partial | 2.2 / 2.5 | license file detected |
| Maintained | met | 7.5 / 7.5 | 30 commit(s) and 15 issue activity found in the last 90 days -- score normalized to 10 |
| Packaging | excluded | 0 / 5 | packaging workflow not detected |
| Pinned-Dependencies | not met | 0 / 5 | dependency not pinned by hash detected -- score normalized to 0 |
| SAST | not met | 0 / 5 | SAST tool is not run on all commits -- score normalized to 0 |
| Security-Policy | not met | 0 / 5 | security policy file not detected |
| Signed-Releases | excluded | 0 / 7.5 | no releases found |
| Token-Permissions | met | 7.5 / 7.5 | GitHub workflow tokens follow principle of least privilege |
| Vulnerabilities | met | 7.5 / 7.5 | 0 existing vulnerabilities detected |

### High-Risk Jurisdiction Exposure — 100/100 (Exceptional)

Only high-confidence self-published location evidence affects this multiplier. Ambiguous matches are review-only; country evidence is not proof of nationality, citizenship, legal registration, malicious intent, or sanctions status.

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Policy exposure multiplier | met | 100 / 100 | no confirmed policy-scope location match |

## AI Readiness — 60/100 (Moderate)

How well is the repo equipped to be developed and maintained with AI coding agents? Carries a deliberately small weight: agent tooling is a real maintenance signal, but its absence must never gate the top of the scale (calibration saturates at raw 91, so 100/100 remains reachable with AI Readiness at zero).

### Agent context & guidance — 85/100 (Excellent)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Agent instructions | met | 45 / 45 | AGENTS.md |
| Machine-readable docs (llms.txt) | not met | 0 / 15 | — |
| Legible commit history | met | 40 / 40 | 100 of 100 human commits state their intent (structured subject or explanatory body) |

### Verify loop (build / test / typecheck) — 28/100 (At Risk)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| One-command bootstrap | met | 18 / 18 | Doc/Manual/Makefile, Examples/android/class/Makefile, Examples/android/extend/Makefile, Examples/android/simple/Makefile, Examples/c/class/Makefile, Examples/c/exception/Makefile, Examples/c/simple/Makefile, Examples/c/std_vector/Makefile, Examples/csharp/arrays/Makefile, Examples/csharp/callback/Makefile, Examples/csharp/class/Makefile, Examples/csharp/enum/Makefile, Examples/csharp/extend/Makefile, Examples/csharp/funcptr/Makefile, Examples/csharp/nested/Makefile, Examples/csharp/reference/Makefile, Examples/csharp/simple/Makefile, Examples/csharp/template/Makefile, Examples/csharp/variables/Makefile, Examples/d/callback/Makefile, Examples/d/class/Makefile, Examples/d/constants/Makefile, Examples/d/enum/Makefile, Examples/d/extend/Makefile, Examples/d/funcptr/Makefile, Examples/d/simple/Makefile, Examples/d/variables/Makefile, Examples/go/callback/Makefile, Examples/go/class/Makefile, Examples/go/constants/Makefile, Examples/go/director/Makefile, Examples/go/enum/Makefile, Examples/go/extend/Makefile, Examples/go/funcptr/Makefile, Examples/go/goin/Makefile, Examples/go/multimap/Makefile, Examples/go/pointer/Makefile, Examples/go/reference/Makefile, Examples/go/simple/Makefile, Examples/go/template/Makefile, Examples/go/variables/Makefile, Examples/guile/class/Makefile, Examples/guile/constants/Makefile, Examples/guile/matrix/Makefile, Examples/guile/multimap/Makefile, Examples/guile/multivalue/Makefile, Examples/guile/port/Makefile, Examples/guile/simple/Makefile, Examples/guile/std_vector/Makefile, Examples/java/callback/Makefile, Examples/java/class/Makefile, Examples/java/constants/Makefile, Examples/java/doxygen/Makefile, Examples/java/enum/Makefile, Examples/java/extend/Makefile, Examples/java/funcptr/Makefile, Examples/java/multimap/Makefile, Examples/java/native/Makefile, Examples/java/nested/Makefile, Examples/java/pointer/Makefile, Examples/java/reference/Makefile, Examples/java/simple/Makefile, Examples/java/template/Makefile, Examples/java/typemap/Makefile, Examples/java/variables/Makefile, Examples/javascript/class/Makefile, Examples/javascript/constant/Makefile, Examples/javascript/enum/Makefile, Examples/javascript/exception/Makefile, Examples/javascript/functor/Makefile, Examples/javascript/native/Makefile, Examples/javascript/nspace/Makefile, Examples/javascript/operator/Makefile, Examples/javascript/overload/Makefile, Examples/javascript/pointer/Makefile, Examples/javascript/reference/Makefile, Examples/javascript/simple/Makefile, Examples/javascript/template/Makefile, Examples/javascript/variables/Makefile, Examples/lua/arrays/Makefile, Examples/lua/class/Makefile, Examples/lua/constants/Makefile, Examples/lua/contract/Makefile, Examples/lua/dual/Makefile, Examples/lua/embed/Makefile, Examples/lua/embed2/Makefile, Examples/lua/embed3/Makefile, Examples/lua/enum/Makefile, Examples/lua/exception/Makefile, Examples/lua/funcptr/Makefile, Examples/lua/funcptr3/Makefile, Examples/lua/functest/Makefile, Examples/lua/functor/Makefile, Examples/lua/import/Makefile, Examples/lua/import_template/Makefile, Examples/lua/nspace/Makefile, Examples/lua/operator/Makefile, Examples/lua/overloading/Makefile, Examples/lua/owner/Makefile, Examples/lua/pointer/Makefile, Examples/lua/reference/Makefile, Examples/lua/simple/Makefile, Examples/lua/smartptr/Makefile, Examples/lua/std_vector/Makefile, Examples/lua/template/Makefile, Examples/lua/value/Makefile, Examples/lua/variables/Makefile, Examples/ocaml/argout_ref/Makefile, Examples/ocaml/callback/Makefile, Examples/ocaml/class/Makefile, Examples/ocaml/contract/Makefile, Examples/ocaml/scoped_enum/Makefile, Examples/ocaml/shapes/Makefile, Examples/ocaml/simple/Makefile, Examples/ocaml/std_string/Makefile, Examples/ocaml/std_vector/Makefile, Examples/ocaml/stl/Makefile, Examples/ocaml/string_from_ptr/Makefile, Examples/ocaml/strings_test/Makefile, Examples/octave/callback/Makefile, Examples/octave/class/Makefile, Examples/octave/constants/Makefile, Examples/octave/contract/Makefile, Examples/octave/enum/Makefile, Examples/octave/extend/Makefile, Examples/octave/funcptr/Makefile, Examples/octave/funcptr2/Makefile, Examples/octave/functor/Makefile, Examples/octave/module_load/Makefile, Examples/octave/operator/Makefile, Examples/octave/pointer/Makefile, Examples/octave/reference/Makefile, Examples/octave/simple/Makefile, Examples/octave/template/Makefile, Examples/octave/variables/Makefile, Examples/perl5/callback/Makefile, Examples/perl5/class/Makefile, Examples/perl5/constants/Makefile, Examples/perl5/constants2/Makefile, Examples/perl5/extend/Makefile, Examples/perl5/funcptr/Makefile, Examples/perl5/import/Makefile, Examples/perl5/inline/Makefile, Examples/perl5/multimap/Makefile, Examples/perl5/multiple_inheritance/Makefile, Examples/perl5/pointer/Makefile, Examples/perl5/reference/Makefile, Examples/perl5/simple/Makefile, Examples/perl5/value/Makefile, Examples/perl5/variables/Makefile, Examples/perl5/xmlstring/Makefile, Examples/php/callback/Makefile, Examples/php/class/Makefile, Examples/php/constants/Makefile, Examples/php/cpointer/Makefile, Examples/php/disown/Makefile, Examples/php/enum/Makefile, Examples/php/extend/Makefile, Examples/php/funcptr/Makefile, Examples/php/overloading/Makefile, Examples/php/pointer/Makefile, Examples/php/pragmas/Makefile, Examples/php/proxy/Makefile, Examples/php/reference/Makefile, Examples/php/simple/Makefile, Examples/php/sync/Makefile, Examples/php/value/Makefile, Examples/php/variables/Makefile, Examples/python/callback/Makefile, Examples/python/class/Makefile, Examples/python/constants/Makefile, Examples/python/contract/Makefile, Examples/python/docstrings/Makefile, Examples/python/doxygen/Makefile, Examples/python/enum/Makefile, Examples/python/exception/Makefile, Examples/python/exceptproxy/Makefile, Examples/python/extend/Makefile, Examples/python/external_runtime/Makefile, Examples/python/funcptr/Makefile, Examples/python/funcptr2/Makefile, Examples/python/functor/Makefile, Examples/python/import/Makefile, Examples/python/import_packages/Makefile, Examples/python/import_packages/from_init1/Makefile, Examples/python/import_packages/from_init1/py3/Makefile, Examples/python/import_packages/from_init1/py3/pkg2/Makefile, Examples/python/import_packages/from_init2/Makefile, Examples/python/import_packages/from_init2/py3/Makefile, Examples/python/import_packages/from_init2/py3/pkg2/Makefile, Examples/python/import_packages/from_init2/py3/pkg2/pkg3/Makefile, Examples/python/import_packages/from_init3/Makefile, Examples/python/import_packages/from_init3/py3/Makefile, Examples/python/import_packages/from_init3/py3/pkg2/Makefile, Examples/python/import_packages/from_init3/py3/pkg2/pkg3/Makefile, Examples/python/import_packages/from_init3/py3/pkg2/pkg3/pkg4/Makefile, Examples/python/import_packages/module_is_init/Makefile, Examples/python/import_packages/module_is_init/pkg1/Makefile, Examples/python/import_packages/namespace_pkg/Makefile, Examples/python/import_packages/relativeimport1/Makefile, Examples/python/import_packages/relativeimport1/py3/Makefile, Examples/python/import_packages/relativeimport1/py3/pkg2/Makefile, Examples/python/import_packages/relativeimport1/py3/pkg2/pkg3/Makefile, Examples/python/import_packages/relativeimport2/Makefile, Examples/python/import_packages/relativeimport2/py3/Makefile, Examples/python/import_packages/relativeimport2/py3/pkg2/Makefile, Examples/python/import_packages/relativeimport2/py3/pkg2/pkg3/Makefile, Examples/python/import_packages/relativeimport2/py3/pkg2/pkg3/pkg4/Makefile, Examples/python/import_packages/relativeimport3/Makefile, Examples/python/import_packages/relativeimport3/py3/Makefile, Examples/python/import_packages/relativeimport3/py3/pkg2/Makefile, Examples/python/import_packages/relativeimport3/py3/pkg2/pkg3/Makefile, Examples/python/import_packages/same_modnames1/Makefile, Examples/python/import_packages/same_modnames1/pkg1/Makefile, Examples/python/import_packages/same_modnames1/pkg2/Makefile, Examples/python/import_packages/same_modnames2/Makefile, Examples/python/import_packages/same_modnames2/pkg1/Makefile, Examples/python/import_packages/same_modnames2/pkg1/pkg2/Makefile, Examples/python/import_packages/split_modules/Makefile, Examples/python/import_packages/split_modules/vanilla/Makefile, Examples/python/import_packages/split_modules/vanilla/pkg1/Makefile, Examples/python/import_packages/split_modules/vanilla_split/Makefile, Examples/python/import_template/Makefile, Examples/python/libffi/Makefile, Examples/python/multimap/Makefile, Examples/python/operator/Makefile, Examples/python/pointer/Makefile, Examples/python/reference/Makefile, Examples/python/simple/Makefile, Examples/python/smartptr/Makefile, Examples/python/std_map/Makefile, Examples/python/std_vector/Makefile, Examples/python/template/Makefile, Examples/python/varargs/Makefile, Examples/python/variables/Makefile, Examples/r/class/Makefile, Examples/r/simple/Makefile, Examples/ruby/class/Makefile, Examples/ruby/constants/Makefile, Examples/ruby/enum/Makefile, Examples/ruby/exceptproxy/Makefile, Examples/ruby/free_function/Makefile, Examples/ruby/funcptr/Makefile, Examples/ruby/funcptr2/Makefile, Examples/ruby/functor/Makefile, Examples/ruby/hashargs/Makefile, Examples/ruby/import/Makefile, Examples/ruby/import_template/Makefile, Examples/ruby/mark_function/Makefile, Examples/ruby/multimap/Makefile, Examples/ruby/operator/Makefile, Examples/ruby/overloading/Makefile, Examples/ruby/pointer/Makefile, Examples/ruby/reference/Makefile, Examples/ruby/simple/Makefile, Examples/ruby/std_vector/Makefile, Examples/ruby/template/Makefile, Examples/ruby/value/Makefile, Examples/ruby/variables/Makefile, Examples/scilab/class/Makefile, Examples/scilab/constants/Makefile, Examples/scilab/contract/Makefile, Examples/scilab/enum/Makefile, Examples/scilab/funcptr/Makefile, Examples/scilab/matrix/Makefile, Examples/scilab/matrix2/Makefile, Examples/scilab/pointer/Makefile, Examples/scilab/simple/Makefile, Examples/scilab/std_list/Makefile, Examples/scilab/std_vector/Makefile, Examples/scilab/struct/Makefile, Examples/scilab/template/Makefile, Examples/scilab/variables/Makefile, Examples/tcl/class/Makefile, Examples/tcl/constants/Makefile, Examples/tcl/contract/Makefile, Examples/tcl/enum/Makefile, Examples/tcl/funcptr/Makefile, Examples/tcl/import/Makefile, Examples/tcl/multimap/Makefile, Examples/tcl/operator/Makefile, Examples/tcl/pointer/Makefile, Examples/tcl/reference/Makefile, Examples/tcl/simple/Makefile, Examples/tcl/std_vector/Makefile, Examples/tcl/value/Makefile, Examples/tcl/variables/Makefile, Lib/guile/Makefile |
| Automated tests | not met | 0 / 22 | — |
| Lint / format config | not met | 0 / 11 | — |
| Static type checking | not met | 0 / 11 | — |
| Reproducible environment | met | 10 / 10 | Dockerfile |
| Demonstrated agent practice | not met | 0 / 10 | no agent-authored commits among the last 100 |
| Automated maintenance | not met | 0 / 8 | no automated dependency updates observed |
| OpenSSF Scorecard: Pinned-Dependencies | not met | 0 / 10 | dependency not pinned by hash detected -- score normalized to 0 |

### Code legibility for models — 55/100 (Moderate)

| Criterion | Status | Points | Detail |
|---|---|---|---|
| Type-checkable code | not met | 0 / 45 | SWIG without a type-check config |
| Manageable file sizes | partial | 54.8 / 55 | 7/2558 source files over 60KB |

### Machine-readable interfaces — 100/100 (Exceptional)

Excluded from scoring (no data or not applicable): API schema (OpenAPI/GraphQL/proto), MCP server. Remaining weights renormalized.

| Criterion | Status | Points | Detail |
|---|---|---|---|
| API schema (OpenAPI/GraphQL/proto) | excluded | 0 / 40 | not applicable to this kind of software |
| MCP server | excluded | 0 / 20 | not applicable to this kind of software |
| Runnable examples | met | 40 / 40 | examples |

## Collection warnings

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

## What this report is

inspect.software measures public repositories against a single published, versioned methodology and reports the result as a 1–100 health index. Findings are signals derived from what is visible in public repository data — they are not a security audit, a warranty, or an endorsement, and no result depends on payment.

- Methodology, formulas and weights: https://inspect.software/methodology.md
- What a result does and does not claim: https://inspect.software/wiki/signals-not-warranties.md
- Rating bands: https://inspect.software/wiki/scoring-bands.md
- Corrections: https://inspect.software/contact.md
- Index of all documents: https://inspect.software/llms.txt
