Skip to content
GuidesChecked 21 November 2026

Comment file statistics 2026

Forty numbers on how developers write comment thread code, counted 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 comment files exist, by file name.

307,712 files have comments.js in the name, and 48,384 have comments.py in the name.

The comments.js file leads, and it is 6.4 times as common as comments.py.

Comment file names
StatisticNumber
comments.js307,712
comment.php179,200
comment.js169,472
comments.ts73,728
comment.ts68,736
comment.html63,232
comment.py60,928
comments.py48,384

.js files

Eight numbers on the words that comments.js files use.

The word author is in 40.4 in 100 comments.js files, and spam in 1.8 in 100.

The word author leads, and delete follows at 13.1 in 100.

Words in comments.js
StatisticIn 100
Author40.4
Delete13.1
Reply11.7
Parent10.3
Thread5.3
Mention4.1
Approved2.8
Spam1.8

.php files

Eight numbers on the words that comment.php files use.

The word author is in 38.5 in 100 comment.php files, and mention in 0.9 in 100.

The word author leads, and parent follows at 31.7 in 100.

Words in comment.php
StatisticIn 100
Author38.5
Parent31.7
Delete19.6
Approved16.0
Reply14.0
Spam7.5
Thread6.0
Mention0.9

.ts files

Eight numbers on the words that comments.ts files use.

The word delete is in 34.7 in 100 comments.ts files, and spam in 1.4 in 100.

The word delete leads, and author follows at 32.9 in 100.

Words in comments.ts
StatisticIn 100
Delete34.7
Author32.9
Parent22.4
Reply19.8
Thread14.9
Mention4.7
Approved3.0
Spam1.4

.py files

Eight numbers on the words that comment.py files use.

The word delete is in 36.3 in 100 comment.py files, and spam in 0.6 in 100.

The word delete leads, and author follows at 25.1 in 100.

Words in comment.py
StatisticIn 100
Delete36.3
Author25.1
Parent11.8
Reply9.5
Approved4.1
Thread2.4
Mention2.0
Spam0.6

What is in the file

Forty numbers, one CSV

Every figure sits in the CSV, with its group and unit on the same row.

Five groups

File names come first, then the words found in four kinds of comment file.

Counts, not apps

You get totals and shares, and no app, author or host is picked out.

Easy to cite

Quote a single figure or the whole set, with this page named and the day it was read.

How the files were counted

One code search for each file name and each word.

Fix a file name first

A word query never left its file name, so every share rests on one known total.

Pair it with a word

Each query paired a word with a file name and counted the files holding both.

Rerun the partial ones

If a count came back partial, it was rerun after the limit reset, up to three more times.

Check each share in code

Code worked out every share, and a test confirmed it sat between 0 and 100 before publishing.

What changes between file types

No single word wins everywhere: the top place goes to author in comments.js and comment.php files; delete in comments.ts and comment.py files. Even eighth place is worth 1.8 in 100 in comments.js files, against only 0.6 in comment.py files. The word author leads comments.js files with 40.4 in 100, yet it takes second place in comments.ts files with 32.9.

In comments.js files the word approved sits seventh with 2.8 in 100, but in comment.php files it climbs to fourth with 16.0. From comments.js files to comment.py files the leader changes from author, at 40.4 in 100, to delete, at 36.3. The highest share on the table is 40.4 in 100, for author in comments.js files, and the lowest is 0.6, for spam in comment.py files.

Share of files that hold each word, in 100
Wordcomments.jscomment.phpcomments.tscomment.py
Author40.438.532.925.1
Delete13.119.634.736.3
Parent10.331.722.411.8
Reply11.714.019.89.5
Thread5.36.014.92.4
Approved2.816.03.04.1
Mention4.10.94.72.0
Spam1.87.51.40.6

What these numbers leave out

  • A count covers files, not apps, and one comment file copied between projects is counted in each of them.
  • Many public comment files come from blog themes and tutorials, so a share describes hosted code, not live sites.
  • A word counts wherever it appears, so a variable name or a test string adds as much as a button label.
  • Code search cannot filter by date, so an abandoned file is weighed like a fresh one.
  • Author, parent and delete turn up in many files that handle no comments, which lifts part of those shares.
  • Like and edit were cut from every group, because both are everyday code words in any language.
  • Four file names, for tsx, Vue and Swift, are counted in the data but absent from the table.
  • One file can hold several of these words, which is why the shares in a group do not add up.
  • Comment code inside a larger file, or named reply or discussion, is missing from every count.
  • Only English words were searched, so comment code written in other languages barely registers.
  • A word in a file does not show that a visitor ever left a comment.
  • Counts above a few thousand come back in coarse steps, so the 307,712 comments.js files are a close figure, not an exact one.
  • A file name search matches any name that contains the text, so comments.js also counts comments.jsx files.

What people ask about comment code

How many public comments.js files are there?

307,712 public files have comments.js in the name.

How many public comment.php files are there?

179,200 files have comment.php in the name.

How many public comments.ts files are there?

73,728 files have comments.ts in the name.

How many public comment.py files are there?

60,928 files have comment.py in the name.

How many comments.js files mention an author?

The word author is in 40.4 in 100 comments.js files.

How many comments.js files mention a reply?

The word reply is in 11.7 in 100 comments.js files.

How many comment.php files mention spam?

The word spam is in 7.5 in 100 comment.php files.

How many comment.php files mention approved?

The word approved is in 16.0 in 100 comment.php files.

How many comments.ts files mention delete?

The word delete is in 34.7 in 100 comments.ts files.

How many comments.ts files mention a thread?

The word thread is in 14.9 in 100 comments.ts files.

How many comment.py files mention delete?

The word delete is in 36.3 in 100 comment.py 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 comment-file-statistics-2026-11.csv, so a reader can check it.

Collect votes, not noise

Collect votes, not noise, on a board that is free with one project and 100 votes. The 14 day trial of Lite or Pro needs no card.