78% wp-thumbnail-column

Code Review | WP Thumbnail Column

WordPress plugin WP Thumbnail Column scored78%from 54 tests.

About plugin

  • Plugin page: wp-thumbnail-column
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-3.4.2
  • WordPress version: 6.3.1
  • First release: Sep 16, 2012
  • Latest release: Sep 16, 2012
  • Number of updates: 2
  • Update frequency: N/A
  • Top authors: spectraweb (100%)

Code review

54 tests

User reviews

1 review

Install metrics

40+ active /1,511 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully

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

This is a short check of server-side resources used by WP Thumbnail Column
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0038.33 ▼1.01
Dashboard /wp-admin3.32 ▲0.0149.10 ▼1.77
Posts /wp-admin/edit.php3.37 ▲0.0150.19 ▼2.00
Add New Post /wp-admin/post-new.php5.90 ▲0.0193.10 ▲5.12
Media Library /wp-admin/upload.php3.24 ▲0.0139.16 ▲2.57

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

A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
widget_theysaidso_widget
widget_recent-posts
can_compress_scripts
db_upgraded
widget_recent-comments

Browser metrics Passed 4 tests

WP Thumbnail Column: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,793 ▲3214.73 ▲0.351.73 ▼0.0340.13 ▼6.90
Dashboard /wp-admin2,199 ▲255.58 ▼0.0988.38 ▼1.9342.98 ▲0.01
Posts /wp-admin/edit.php2,104 ▲42.02 ▲0.0134.48 ▼2.3336.97 ▼3.61
Add New Post /wp-admin/post-new.php1,550 ▲2423.15 ▲5.55644.76 ▼3.9156.62 ▲4.10
Media Library /wp-admin/upload.php1,401 ▲14.28 ▲0.03100.68 ▲1.0344.67 ▲0.17
Thumbnail Column /wp-admin/wp-thumbnail-column.php260.440.1118.39

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-posts
    • db_upgraded
    • widget_theysaidso_widget
    • widget_recent-comments

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function load_plugin_textdomain() in wp-content/plugins/wp-thumbnail-column/wp-thumbnail-column.php:12

User-side errors 0% from 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following browser errors
    • > GET request to /wp-admin/wp-thumbnail-column.php
    • > Network (severe)
    wp-admin/wp-thumbnail-column.php - Failed to load resource: the server responded with a status of 404 (Not Found)

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
  • Screenshots: Screenshot #1 (Appearance of post list) image missing
Please take inspiration from this readme.txt

wp-thumbnail-column/wp-thumbnail-column.php Passed 13 tests

"WP Thumbnail Column" version 1.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
68 characters long description:
This plugin adds column with featured images for selected post types

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin162 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP23161162

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.46
Average class complexity14.00
▷ Minimum class complexity14.00
▷ Maximum class complexity14.00
Average method complexity3.60
▷ Minimum method complexity3.00
▷ Maximum method complexity5.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods5
▷ Static methods5100.00%
▷ Public methods5100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions6
▷ Named functions6100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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
1 PNG file occupies 0.05MB with 0.03MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
screenshot-1.png49.09KB14.93KB▼ 69.58%