Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.20MB] [CPU: ▼4.64ms] Passed 4 tests
A check of server-side resources used by Universal Honey Pot
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.68 ▲0.22 | 41.75 ▲2.72 |
Dashboard /wp-admin | 3.54 ▲0.23 | 47.05 ▼4.57 |
Posts /wp-admin/edit.php | 3.59 ▲0.23 | 49.60 ▲0.31 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.17 | 83.36 ▼17.03 |
Media Library /wp-admin/upload.php | 3.40 ▲0.17 | 36.45 ▲5.74 |
Universal Honey Pot /wp-admin/options-general.php?page=universal-honey-pot-settings | 3.38 | 33.67 |
Server storage [IO: ▲0.28MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 55 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Universal Honey Pot
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.21 ▼1.35 | 1.61 ▼0.07 | 37.45 ▼1.72 |
Dashboard /wp-admin | 2,210 ▲22 | 4.89 ▲0.03 | 106.91 ▲3.79 | 37.49 ▼5.87 |
Posts /wp-admin/edit.php | 2,096 ▲4 | 2.03 ▼0.02 | 40.95 ▼1.42 | 33.83 ▼0.22 |
Add New Post /wp-admin/post-new.php | 1,536 ▲1 | 23.19 ▲0.09 | 687.47 ▲101.91 | 55.57 ▼13.28 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.28 ▲0.05 | 97.02 ▼0.62 | 41.69 ▼0.00 |
Universal Honey Pot /wp-admin/options-general.php?page=universal-honey-pot-settings | 1,146 | 2.08 | 28.19 | 33.63 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
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
The following issues need your attention
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_get_themes() in wp-content/plugins/universal-honey-pot/admin/templates/page-settings.php:6
- > 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 90% from 29 tests
readme.txt 88% from 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
Please fix the following attributes:
- Requires at least: Invalid plugin version format
- Tested up to: Invalid plugin version format
universal-honey-pot/universal-honey-pot.php 92% from 13 tests
The main PHP script in "Universal Honey Pot" version 5.0.1 is automatically included on every request by WordPress
You should first fix the following items:
- Description: Keep the plugin description shorter than 140 characters (currently 221 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected1,314 lines of code in 39 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 29 | 336 | 1,063 | 1,120 |
SVG | 5 | 0 | 1 | 99 |
PO File | 1 | 25 | 28 | 75 |
JSON | 2 | 0 | 0 | 15 |
Markdown | 1 | 3 | 0 | 4 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 8.62 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 2.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 16 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 16 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 79 | |
▷ Static methods | 20 | 25.32% |
▷ Public methods | 72 | 91.14% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 8.86% |
Functions | 10 | |
▷ Named functions | 9 | 90.00% |
▷ Anonymous functions | 1 | 10.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
5 PNG files occupy 0.06MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/images/formidable-forms.png | 2.52KB | 1.31KB | ▼ 47.81% |
public/images/gravity-forms.png | 21.77KB | 6.37KB | ▼ 70.74% |
public/images/fluent-form.png | 4.08KB | 3.21KB | ▼ 21.43% |
public/images/forminator.png | 2.45KB | 1.23KB | ▼ 49.82% |
public/images/divi.png | 28.78KB | 13.94KB | ▼ 51.57% |