Benchmarks
Plugin footprint Passed 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.01MB] [CPU: ▼177.27ms] Passed 4 tests
Server-side resources used by BlogSafe Honeypot
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.86 ▲0.02 | 23.42 ▲2.10 |
Dashboard /wp-admin | 3.07 ▲0.01 | 30.56 ▼114.16 |
Posts /wp-admin/edit.php | 3.16 ▲0.05 | 30.60 ▼0.94 |
Add New Post /wp-admin/post-new.php | 5.44 ▼0.00 | 65.70 ▼593.71 |
Media Library /wp-admin/upload.php | 3.02 ▲0.02 | 21.73 ▼0.28 |
Server storage [IO: ▲0.31MB] [DB: ▲0.01MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 33 new files
Database: 5 new tables, no new options
New tables |
---|
wp_BS_Honeypot_URL_Ignores |
wp_BS_Honeypot_Requests |
wp_BS_Honeypot_Logins |
wp_BS_Honeypot_TORList |
wp_BS_Honeypot_IP_Ignores |
Browser metrics Passed 4 tests
A check of browser resources used by BlogSafe Honeypot
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,850 ▲249 | 16.27 ▲0.54 | 8.46 ▲2.57 | 77.65 ▲0.99 |
Dashboard /wp-admin | 2,957 ▲62 | 6.19 ▲0.13 | 117.48 ▼19.34 | 185.77 ▲5.06 |
Posts /wp-admin/edit.php | 2,766 ▲23 | 3.23 ▼0.00 | 63.47 ▼1.63 | 139.63 ▼0.16 |
Add New Post /wp-admin/post-new.php | 1,632 ▼2,041 | 22.26 ▲4.64 | 291.80 ▼168.34 | 173.17 ▲9.61 |
Media Library /wp-admin/upload.php | 1,770 ▲15 | 5.55 ▲0.01 | 126.20 ▼10.53 | 200.09 ▲14.18 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Uninstall script ran successfully
Smoke tests 75% from 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 50% from 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
Almost there! Just fix the following items
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/blogsafe-honeypot/public/partials/blogsafe-honeypot-public-display.php
- > /wp-content/plugins/blogsafe-honeypot/admin/partials/blogsafe-honeypot-admin-display.php
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)
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Donate link: Invalid url: ""
- Plugin Name: Please specify the plugin name on the first line (
=== blogsafe-honeypot ===
)
blogsafe-honeypot/blogsafe-honeypot.php Passed 13 tests
The entry point to "BlogSafe Honeypot" version 1.0.1 is a PHP file that has certain tags in its header comment area
136 characters long description:
BlogSafe honeypot is a 'lite' version our private research tool. Instead of tracking where visitors go, it tracks where they want to go.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected2,035 lines of code in 25 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 21 | 318 | 557 | 2,030 |
JavaScript | 2 | 3 | 27 | 5 |
CSS | 2 | 0 | 8 | 0 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 11.18 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 29.00 |
Average method complexity | 2.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 17 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 17 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 124 | |
▷ Static methods | 2 | 1.61% |
▷ Public methods | 110 | 88.71% |
▷ Protected methods | 1 | 0.81% |
▷ Private methods | 13 | 10.48% |
Functions | 19 | |
▷ Named functions | 19 | 100.00% |
▷ Anonymous functions | 0 | 0.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
2 PNG files occupy 0.19MB with 0.18MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/BSHoneypotLogo.png | 134.14KB | 11.70KB | ▼ 91.28% |
admin/images/BSHoneypotIcon.png | 57.60KB | 0.97KB | ▼ 98.31% |