Skip to content
Greg Swindle edited this page Apr 26, 2018 · 4 revisions
commonality commonalixy

We treat every new commonality project repository as a reference repository in order to improve our code; engage the open source community; and delivery better products. commonality/readme-inspector is no different.

Table of contents

1. README.md

1.1. Product status

Every repository's README.md provides real-time, core product status badges that declare

  1. The product's FOSS license
  2. Third-party FOSS license obligation status (with FOSSA link-external)
  3. Security vulnerability status (with the Node Security Program link-external and Snyk link-external)
  4. Production and development dependency drift status (with David DM link-external)
  5. Build and test status on MacOS, Ubuntu, and Windows (with Travis CI link-external and Appveyor link-external)
  6. Test coverage percentage (with Codacy link-external)
  7. Code quality status (with Codacy link-external)
  8. Maintenance status
  9. NPMS link-external score
  10. Downloads per month

NPM version GitHub release

markdown Inspect GitHub (Enterprise) repositories for the presence and quality of READMEs.

The MIT License FOSSA Status NSP Status Known Vulnerabilities
Dependency Status Development Dependency Status
MacOS and Ubuntu build statuses Windows build status Coverage percentage Codacy code quality Maintenance
NPMS score NPM downloads per month


1.2. RunKit playground notebooks

runkit-logo

We link to interactive RunKit Notebooks link-external as soon as our Node.js-based products are available on NPM, so you can try before you rely.

2. Project dashboard

dashboard We openly guage community activity and engagement on our /docs/project/README.md page.

Measure Status/info
Community engagement contributor-count
author
commits-per-year
last-commit
NPM downloads per month
used-by
github-forks
github-stars
github-watchers
Issues issue-opened issues-open
megaphone breaking-change-issues-open
bell feature-issues-open
bug defect-issues-open
issue-closed issues-closed
Pull requests and merges prs-open pull-requests-open
git-merge pull-requests-closed
Product releases, maintenance, and size last-release-date
maintenance
code-size-in-bytes
repository-size

3. Code quality

3.1. Pull request quality summaries

git-pull-request Our PULL_REQUEST_TEMPLATE.md provides SonarCloud badges to help engineers quickly assess any major code smells or technical debt.

Measure Scores
Quality gate Overall Quality
Complexity Complexity
Cognitive complexity
Complexity per Class
Complexity per file
Complexity per Function
Duplications Duplications
Issues Issues
Maintainability Code smells
Maintainability
Technical debt
Reliability Reliability
Security Security
Vulnerabilities
Test coverage Coverage Status
Coveralls coverage

3.2. Source code (and commit message) conventions, quality, vulnerability, and testing tools

We plainly reference our standards and conventions, as well as the tools we use to enforce those standards.

Code Style Linters Test frameworks Git commit messages
JavaScript Style Guide ESLint Jest BDD Conventional Commits
Standard JS user guide link-external ESlint user guide link-external Jest user guide link-external Conventional Commits link-external

3.3. Automated status checks

git-pull-request Finally, we require multiple passing status checks with every push to a pull request.

status checks

Git Git logo

Terminal CLI snippets for git.

  1. Git tips
  2. Git notes

tasklist This checklist—adapted from bahmutov/npm-module-checklist link-external—provides useful tips to ensure your module is ready for production deployment and publication.

verified Openly declare the health of your product, project, community, and source code with these essential badges. (GitHub SaaS only.)

UX Cheat-sheets

Info Icons, images, gists, code snippets, etc.

  1. Architecture Decision Record status labels
  2. Octicon cheatsheet
  3. Project status badges
  4. TechRadar labels

Telescope Stellar languages, frameworks, platform, techniques, and tools.

Clone this wiki locally