Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▲2.83ms] Passed 4 tests
This is a short check of server-side resources used by Honeypot Toolkit
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.07 | 43.79 ▲1.69 |
Dashboard /wp-admin | 3.38 ▲0.07 | 57.88 ▲8.20 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 50.44 ▼2.50 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 105.50 ▲4.08 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 48.52 ▲8.05 |
Settings /wp-admin/admin.php?page=Honeypot_Toolkit | 3.36 | 47.55 |
Activity List /wp-admin/admin.php?page=HT_activity_list | 3.29 | 42.60 |
Whitelist /wp-admin/admin.php?page=HT_whitelist | 3.30 | 32.51 |
Blocked List /wp-admin/admin.php?page=HT_blocked_list | 3.30 | 39.41 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 19 new files
Database: 2 new tables, 6 new options
New tables |
---|
wp_ht_ip_list |
wp_ht_activity |
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Honeypot Toolkit
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,884 ▲123 | 13.57 ▼0.80 | 1.90 ▲0.16 | 45.02 ▼0.94 |
Dashboard /wp-admin | 2,268 ▲68 | 4.96 ▼0.88 | 144.31 ▲34.57 | 85.75 ▲43.45 |
Posts /wp-admin/edit.php | 2,145 ▲45 | 2.02 ▲0.01 | 43.42 ▲5.84 | 52.43 ▲17.31 |
Add New Post /wp-admin/post-new.php | 1,569 ▲38 | 22.97 ▼0.15 | 773.37 ▲78.01 | 61.39 ▲1.49 |
Media Library /wp-admin/upload.php | 1,438 ▲38 | 4.16 ▼0.04 | 133.31 ▲17.03 | 54.65 ▲5.75 |
Settings /wp-admin/admin.php?page=Honeypot_Toolkit | 4,202 | 2.83 | 62.85 | 42.83 |
Activity List /wp-admin/admin.php?page=HT_activity_list | 1,121 | 2.18 | 59.54 | 33.01 |
Whitelist /wp-admin/admin.php?page=HT_whitelist | 1,185 | 2.38 | 54.97 | 35.86 |
Blocked List /wp-admin/admin.php?page=HT_blocked_list | 1,346 | 2.39 | 50.87 | 35.20 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- The plugin did not uninstall successfully, leaving 2 tables in the database
- wp_ht_activity
- wp_ht_ip_list
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 50% from 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 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 5× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/honeypot-toolkit/tpl/settings.php
- > /wp-content/plugins/honeypot-toolkit/tpl/whitelist.php
- > /wp-content/plugins/honeypot-toolkit/tpl/single_settings.php
- > /wp-content/plugins/honeypot-toolkit/tpl/activityList.php
- > /wp-content/plugins/honeypot-toolkit/tpl/blockedList.php
- 147× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/honeypot-toolkit/tpl/settings.php on line 27
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/honeypot-toolkit/tpl/activity_list_page_js.php:17
- > PHP Notice
Undefined variable: htSettings in wp-content/plugins/honeypot-toolkit/tpl/settings.php on line 27
- > PHP Notice
Undefined variable: htSettings in wp-content/plugins/honeypot-toolkit/tpl/settings.php on line 27
- > PHP Notice
Undefined variable: htSettings in wp-content/plugins/honeypot-toolkit/tpl/settings.php on line 23
- > PHP Notice
Undefined variable: htSettings in wp-content/plugins/honeypot-toolkit/tpl/settings.php on line 27
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/honeypot-toolkit/tpl/single_settings.php on line 13
- > PHP Notice
Undefined variable: htSettings in wp-content/plugins/honeypot-toolkit/tpl/settings.php on line 27
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/honeypot-toolkit/tpl/settings.php on line 27
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/honeypot-toolkit/tpl/settings.php on line 27
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
9 plugin tags: brute force protection, spamcop, login monitor, ip blacklist, spam prevention...
honeypot-toolkit/honeypot-toolkit.php 92% from 13 tests
"Honeypot Toolkit" version 4.4.4's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Description: Please don't use more than 140 characters for the plugin description (currently 179 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected3,664 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 411 | 21 | 3,255 |
CSS | 1 | 77 | 0 | 409 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.54 |
Average class complexity | 174.67 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 293.00 |
Average method complexity | 10.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 63.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 57 | |
▷ Static methods | 3 | 5.26% |
▷ Public methods | 57 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/honeypot-icon.png | 1.89KB | 1.10KB | ▼ 41.59% |