90% absolute-thumbnail-column

Code Review | Absolute Thumbnail Column

WordPress plugin Absolute Thumbnail Column scored 90% from 54 tests.

About plugin

  • Plugin page: absolute-thumbnai...
  • Plugin version: 1.0.1
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.8-5.9
  • WordPress version: 6.3.1
  • First release: Jul 8, 2021
  • Latest release: Feb 17, 2022
  • Number of updates: 7
  • Update frequency: every 32.0 days
  • Top authors: absoluteplugins (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 709 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully

Server metrics [RAM: ▲0.04MB] [CPU: ▲0.07ms] Passed 4 tests

This is a short check of server-side resources used by Absolute Thumbnail Column
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.51 ▲0.0541.17 ▼6.73
Dashboard /wp-admin3.35 ▲0.0462.88 ▲12.95
Posts /wp-admin/edit.php3.48 ▲0.1265.73 ▲10.73
Add New Post /wp-admin/post-new.php5.93 ▲0.0494.49 ▼4.50
Media Library /wp-admin/upload.php3.27 ▲0.0436.15 ▲0.79

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

A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
db_upgraded
theysaidso_admin_options
widget_recent-posts
widget_theysaidso_widget
widget_recent-comments

Browser metrics Passed 4 tests

This is an overview of browser requirements for Absolute Thumbnail Column
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲2913.25 ▼1.531.89 ▼0.5050.48 ▲9.93
Dashboard /wp-admin2,206 ▲155.80 ▼0.05126.83 ▲17.3750.10 ▲6.84
Posts /wp-admin/edit.php2,285 ▲1963.45 ▲1.4068.73 ▲27.3777.00 ▲39.88
Add New Post /wp-admin/post-new.php1,514 ▼017.45 ▼0.10650.15 ▼47.8953.14 ▼1.44
Media Library /wp-admin/upload.php1,385 ▼04.22 ▼0.0289.86 ▼13.3540.81 ▼3.30

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_recent-comments
    • can_compress_scripts
    • db_upgraded
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-posts

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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Everything seems fine, however this is by no means an exhaustive test

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
3 plugin tags: image, thumbnail, featured image

absolute-thumbnail-column/absolute-thumbnail-column.php 92% from 13 tests

The main file in "Absolute Thumbnail Column" v. 1.0.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
  • Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin310 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP239160310

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.44
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
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions8
▷ Named functions8100.00%
▷ Anonymous functions00.00%
Constants0
▷ 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
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
assets/images/placeholder.png6.00KB5.03KB▼ 16.19%