89% add-id-column

Code Review | Add ID Column

WordPress plugin Add ID Column scored89%from 54 tests.

About plugin

  • Plugin page: add-id-column
  • Plugin version: 1.0.0
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-6.1.1
  • WordPress version: 6.3.1
  • First release: Aug 12, 2022
  • Latest release: Dec 31, 2022
  • Number of updates: 7
  • Update frequency: every 42.4 days
  • Top authors: papankevin (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

10+ active /408 total downloads


Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully

Server metrics [RAM: ▲0.01MB] [CPU: ▼8.76ms] Passed 4 tests

A check of server-side resources used by Add ID Column
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0238.75 ▼4.27
Dashboard /wp-admin3.32 ▲0.0144.13 ▼8.70
Posts /wp-admin/edit.php3.37 ▲0.0148.17 ▲2.76
Add New Post /wp-admin/post-new.php5.90 ▲0.0183.30 ▼21.90
Media Library /wp-admin/upload.php3.24 ▲0.0134.53 ▼0.18

Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests

How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options

Browser metrics Passed 4 tests

A check of browser resources used by Add ID Column
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲6513.34 ▼1.341.56 ▼0.4437.22 ▼6.70
Dashboard /wp-admin2,209 ▲215.89 ▲1.01102.12 ▼14.3638.45 ▼8.05
Posts /wp-admin/edit.php2,099 ▲102.00 ▼0.0541.02 ▲2.0135.61 ▼0.02
Add New Post /wp-admin/post-new.php1,539 ▲1123.16 ▲0.23681.83 ▲74.8349.85 ▼5.64
Media Library /wp-admin/upload.php1,388 ▲94.19 ▼0.0194.00 ▼5.7542.22 ▼1.47

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
  • Zombie WordPress options detected upon uninstall: 6 options
    • theysaidso_admin_options
    • widget_recent-posts
    • db_upgraded
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-comments

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested

SRP Passed 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
No output text or server-side errors detected on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found


Plugin configuration 90% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
3 plugin tags: posts id, pages id, column id

add-id-column/benawp-add-id-column.php 77% from 13 tests

The main PHP file in "Add ID Column" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
  • Requires at least: Required version does not match the one declared in readme.txt ("1.0" instead of "3.0")
  • Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
  • Main file name: Name the main plugin file the same as the plugin slug ("add-id-column.php" instead of "benawp-add-id-column.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected73 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PO File13824

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.38
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions3100.00%
▷ Anonymous functions00.00%
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.15MB with 0.09MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/img/pages-IDs.png78.56KB31.04KB▼ 60.49%
assets/img/articles-IDs.png73.00KB30.08KB▼ 58.80%