Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▲1.25ms] Passed 4 tests
An overview of server-side resources used by Perfect Columns
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 41.84 ▼2.80 |
Dashboard /wp-admin | 3.33 ▲0.02 | 52.08 ▼0.20 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 52.76 ▲5.15 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 100.11 ▲2.83 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 45.92 ▲8.73 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Perfect Columns
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,802 ▼9 | 14.48 ▲1.04 | 1.84 ▼0.09 | 50.44 ▲3.26 |
Dashboard /wp-admin | 2,206 ▼0 | 4.91 ▼0.97 | 112.22 ▲1.54 | 41.74 ▼0.86 |
Posts /wp-admin/edit.php | 2,086 ▼6 | 2.01 ▼0.02 | 39.68 ▲0.58 | 34.59 ▼0.01 |
Add New Post /wp-admin/post-new.php | 1,526 ▼7 | 23.33 ▲0.06 | 588.24 ▼100.48 | 56.42 ▼18.12 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.20 ▲0.02 | 111.94 ▲4.00 | 45.26 ▼1.86 |
Uninstaller [IO: ✅] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 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
Please take a closer look at the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/perfect-columns/perfect-columns.php:86
- > PHP Fatal error
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)
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
5 plugin tags: grid, shortcode, mobile, columns, rows
perfect-columns/perfect-columns.php Passed 13 tests
The entry point to "Perfect Columns" version 1.2.0 is a PHP file that has certain tags in its header comment area
78 characters long description:
Add shortcodes to easily create up to 12 equal columns in your pages and posts
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
Good job! No executable or dangerous file extensions detected471 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 2 | 26 | 188 |
CSS | 1 | 2 | 20 | 121 |
PHP | 1 | 15 | 51 | 95 |
LESS | 1 | 13 | 18 | 67 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 18 | |
▷ Named functions | 18 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
13 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/col-3.png | 1.17KB | 0.17KB | ▼ 85.21% |
img/col-9.png | 1.13KB | 0.18KB | ▼ 84.24% |
img/col-8.png | 1.17KB | 0.20KB | ▼ 83.29% |
img/col-12.png | 1.21KB | 0.19KB | ▼ 84.39% |
img/col-5.png | 1.09KB | 0.17KB | ▼ 84.03% |