100% absolute-thumbnail-column

Code Review | Absolute Thumbnail Column

WordPress plugin Absolute Thumbnail Column scored 100% 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: 5.9.2
  • 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

30+ active / 299 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully

Server metrics [RAM: ▲0.02MB] [CPU: ▼294.03ms] Passed 4 tests

This is a short check of server-side resources used by Absolute Thumbnail Column
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.57 ▲0.0552.28 ▲4.80
Dashboard /wp-admin3.46 ▲0.0538.27 ▲5.82
Posts /wp-admin/edit.php3.70 ▲0.0643.56 ▲5.94
Add New Post /wp-admin/post-new.php6.92 ▼0.0598.22 ▼1,183.02
Media Library /wp-admin/upload.php3.34 ▲0.0424.45 ▼3.73

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

A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

This is an overview of browser requirements for Absolute Thumbnail Column
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,781 ▲3715.68 ▼0.076.05 ▼0.043.08 ▲0.90
Dashboard /wp-admin2,881 ▲236.11 ▼0.01117.18 ▼17.05156.17 ▼10.59
Posts /wp-admin/edit.php2,994 ▲3035.12 ▲1.8888.05 ▲25.09159.88 ▲16.69
Add New Post /wp-admin/post-new.php1,661 ▼2616.92 ▼3.33403.53 ▼67.86160.93 ▼5.18
Media Library /wp-admin/upload.php1,701 ▲65.51 ▲0.04120.42 ▼23.12184.57 ▲1.82

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The plugin uninstalled completely, with no zombie files or tables

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Looking good! No server-side errors or output on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
3 plugin tags: featured image, image, thumbnail

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
Please take the time to fix the following:
  • Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected310 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP239160310

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
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

Using a strong compression for your PNG files is a great way to speed-up your plugin
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%