Rating file statistics 2026
Forty numbers on how developers write rating code, counted from public GitHub files on 21 November 2026.
Free for one project and 100 votes. Paid plans start with a 14 day trial, no card.
File names
Eight numbers on how many public rating files exist, by file name.
77,952 files have rating.js in the name, and 11,776 have ratings.py in the name.
The rating.js file leads, and it is 6.6 times as common as ratings.py.
| Statistic | Number |
|---|---|
| rating.js | 77,952 |
| rating.ts | 63,104 |
| Rating.tsx | 42,688 |
| rating.php | 34,880 |
| rating.py | 29,696 |
| ratings.js | 20,224 |
| rating.html | 18,784 |
| ratings.py | 11,776 |
.js files
Eight numbers on the words that rating.js files use.
The word stars is in 34.9 in 100 rating.js files, and average in 5.6 in 100.
The word stars leads, and hover follows at 25.6 in 100.
| Statistic | In 100 |
|---|---|
| Stars | 34.9 |
| Hover | 25.6 |
| Half | 17.6 |
| Count | 14.9 |
| Total | 13.7 |
| Review | 12.2 |
| Score | 6.1 |
| Average | 5.6 |
.ts files
Eight numbers on the words that rating.ts files use.
The word stars is in 30.0 in 100 rating.ts files, and score in 7.3 in 100.
The word stars leads, and hover follows at 23.5 in 100.
| Statistic | In 100 |
|---|---|
| Stars | 30.0 |
| Hover | 23.5 |
| Count | 17.4 |
| Review | 16.3 |
| Half | 13.1 |
| Total | 8.4 |
| Average | 8.1 |
| Score | 7.3 |
.tsx files
Eight numbers on the words that Rating.tsx files use.
The word stars is in 39.1 in 100 Rating.tsx files, and score in 5.0 in 100.
The word stars leads, and hover follows at 33.8 in 100.
| Statistic | In 100 |
|---|---|
| Stars | 39.1 |
| Hover | 33.8 |
| Count | 19.5 |
| Half | 18.1 |
| Review | 16.5 |
| Total | 7.1 |
| Average | 6.6 |
| Score | 5.0 |
.php files
Eight numbers on the words that rating.php files use.
The word count is in 27.0 in 100 rating.php files, and half in 2.1 in 100.
The word count leads, and review follows at 26.3 in 100.
| Statistic | In 100 |
|---|---|
| Count | 27.0 |
| Review | 26.3 |
| Average | 18.4 |
| Stars | 12.4 |
| Total | 6.9 |
| Score | 5.7 |
| Hover | 2.4 |
| Half | 2.1 |
What is in the file
Forty numbers, one CSV
One CSV carries all forty figures, and each row shows its group and unit.
Five groups
The file names go first, and four kinds of rating file follow with their words.
Counts, not apps
The page shows totals and shares, never an app, an author or a host.
Easy to cite
Cite one number or all of them, with this page named and the date it was read.
How the files were counted
One code search for each file name and each word.
Start from the file name
Each word query sat inside one file name, so every share is measured against its own total.
Put a word beside it
A query put one word next to a file name and counted the files where both appear.
Retry what came back partial
A partial count was tried again after the limit reset, at most three more times.
Calculate in code
Code made each division, and a test kept every share inside 0 and 100.
What changes between file types
No single word wins everywhere: the top place goes to stars in rating.js, rating.ts and Rating.tsx files; count in rating.php files. Read across the half row and it runs 17.6 in rating.js files, 13.1 in rating.ts, 18.1 in Rating.tsx and 2.1 in rating.php. The clearest lead is in rating.js files, where stars stands at 34.9 in 100 against hover at 25.6.
The closest race is in rating.php files, where count stands at 27.0 in 100 and review sits just behind at 26.3. Even eighth place is worth 7.3 in 100 in rating.ts files, against only 2.1 in rating.php files. The word stars leads rating.js files with 34.9 in 100, yet it takes fourth place in rating.php files with 12.4.
| Word | rating.js | rating.ts | Rating.tsx | rating.php |
|---|---|---|---|---|
| Stars | 34.9 | 30.0 | 39.1 | 12.4 |
| Hover | 25.6 | 23.5 | 33.8 | 2.4 |
| Count | 14.9 | 17.4 | 19.5 | 27.0 |
| Review | 12.2 | 16.3 | 16.5 | 26.3 |
| Half | 17.6 | 13.1 | 18.1 | 2.1 |
| Average | 5.6 | 8.1 | 6.6 | 18.4 |
| Total | 13.7 | 8.4 | 7.1 | 6.9 |
| Score | 6.1 | 7.3 | 5.0 | 5.7 |
What these numbers leave out
- A count covers files, not apps, and a rating file copied between projects is counted in each of them.
- Many public rating files come from component libraries and tutorials, so a share describes hosted code, not live products.
- A word counts wherever it appears, so a style rule or a variable name adds as much as a label a visitor sees.
- No date filter exists, so code last touched years ago is counted with code written this month.
- Count, total and review turn up in many files that rate nothing, which lifts part of those shares.
- Value and max were cut from every group, because both are everyday words in any code.
- Four file names, for Vue, Ruby, Go and Swift, are counted in the data but absent from the table.
- One file often holds several of these words, so a group of shares does not add up to a whole.
- Rating code kept in a larger file, or named score or stars, is missing from every count.
- Only English words were searched, so rating code written in other languages barely registers.
- A word in a file does not show that anyone ever gave a rating.
- Counts above a few thousand come back in coarse steps, so the 77,952 rating.js files are a close figure, not an exact one.
- A file name search matches any name that contains the text, so rating.js also counts rating.jsx files. The rating.ts and rating.tsx groups overlap.
What people ask about rating code
How many public rating.js files are there?
77,952 public files have rating.js in the name.
How many public rating.ts files are there?
63,104 files have rating.ts in the name.
How many public Rating.tsx files are there?
42,688 files have Rating.tsx in the name.
How many public rating.php files are there?
34,880 files have rating.php in the name.
How many rating.js files mention stars?
The word stars is in 34.9 in 100 rating.js files.
How many rating.js files mention a hover?
The word hover is in 25.6 in 100 rating.js files.
How many rating.ts files mention an average?
The word average is in 8.1 in 100 rating.ts files.
How many rating.ts files mention a review?
The word review is in 16.3 in 100 rating.ts files.
How many Rating.tsx files mention a score?
The word score is in 5.0 in 100 Rating.tsx files.
How many Rating.tsx files mention half?
The word half is in 18.1 in 100 Rating.tsx files.
How many rating.php files mention a hover?
The word hover is in 2.4 in 100 rating.php files.
May a page quote these figures?
Yes, with this page named and the read date. Every figure is one of the 40 rows in rating-file-statistics-2026-11.csv, so a reader can check it.
More files, counted
More counts from public code.
Pagination file statistics, 40 numbers
Items and cursor words in pagination code.
Feedback form file statistics, 40 numbers
Words in feedback forms kept in code.
Vote and survey component file statistics, 40 numbers
Words in vote buttons, polls and surveys.
Comment file statistics, 40 numbers
Author and delete words in comment code.
Search box file statistics, 40 numbers
Placeholder and recent words in search code.
Onboarding screen file statistics, 40 numbers
Skip and permission words in onboarding code.
Let the votes say what matters
Let the votes say what matters, on a board that is free with one project and 100 votes. The 14 day trial of Lite or Pro needs no card.