90% add-featured-image-column

Code Review | Add Featured Image Column

WordPress plugin Add Featured Image Column scored90%from 54 tests.

About plugin

  • Plugin page: add-featured-imag...
  • Plugin version: 1.1.6
  • PHP version: 7.4.16
  • WordPress compatibility: 4.1-5.6
  • WordPress version: 6.3.1
  • First release: Sep 11, 2015
  • Latest release: Nov 29, 2020
  • Number of updates: 25
  • Update frequency: every 76.4 days
  • Top authors: littler.chicken (100%)

Code review

54 tests

User reviews

12 reviews

Install metrics

3,000+ active /23,435 total downloads


Plugin footprint 83% from 16 tests

Installer Passed 1 test

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

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

Server-side resources used by Add Featured Image Column
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0044.17 ▼2.11
Dashboard /wp-admin3.32 ▲0.0247.16 ▼5.26
Posts /wp-admin/edit.php3.38 ▲0.0249.09 ▼7.28
Add New Post /wp-admin/post-new.php5.90 ▲0.0289.61 ▼16.40
Media Library /wp-admin/upload.php3.25 ▲0.0236.68 ▼1.69

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

A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 5 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 Featured Image Column
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲4314.31 ▲0.131.79 ▼0.0345.63 ▲0.51
Dashboard /wp-admin2,195 ▲155.55 ▲0.0286.37 ▼10.9741.81 ▲2.82
Posts /wp-admin/edit.php2,136 ▲361.99 ▲0.0137.80 ▲1.7936.31 ▲2.21
Add New Post /wp-admin/post-new.php1,526 ▼023.71 ▲0.05690.53 ▲53.3156.70 ▼7.63
Media Library /wp-admin/upload.php1,394 ▼64.27 ▲0.1698.53 ▼13.0441.51 ▼6.83

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_recent-comments
    • widget_recent-posts
    • widget_theysaidso_widget
    • can_compress_scripts
    • theysaidso_admin_options
    • db_upgraded

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test

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
The SRP test was a success

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected


Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
2 plugin tags: admin columns, featured image

add-featured-image-column/add-featured-image-column.php Passed 13 tests

Analyzing the main PHP file in "Add Featured Image Column" version 1.1.6
64 characters long description:
This plugin adds a featured image column to the WordPress admin.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin137 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.30
Average class complexity14.00
▷ Minimum class complexity14.00
▷ Maximum class complexity14.00
Average method complexity2.30
▷ Minimum method complexity1.00
▷ Maximum method complexity5.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods990.00%
▷ Protected methods110.00%
▷ Private methods00.00%
▷ Named functions1100.00%
▷ Anonymous functions00.00%
▷ Global constants1100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin