Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼8.73ms] Passed 4 tests
Server-side resources used by Hoeboe
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 35.71 ▼7.65 |
Dashboard /wp-admin | 3.40 ▲0.09 | 48.05 ▼6.48 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 50.82 ▼1.16 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 102.56 ▼19.63 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 34.38 ▲2.98 |
HoeBoe /wp-admin/tools.php?page=Hoe_Boe_Settings | 3.28 | 32.00 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 14 new files
Database: no new tables, 7 new options
New WordPress options |
---|
Hoe_Boe |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Hoeboe
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.25 ▼1.06 | 1.85 ▲0.03 | 38.49 ▼5.71 |
Dashboard /wp-admin | 2,210 ▲21 | 5.86 ▲0.88 | 107.38 ▼14.61 | 40.91 ▼7.75 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.05 ▲0.02 | 39.26 ▼16.85 | 33.68 ▼1.92 |
Add New Post /wp-admin/post-new.php | 1,538 ▲17 | 23.01 ▼0.52 | 627.04 ▲35.03 | 67.56 ▲20.53 |
Media Library /wp-admin/upload.php | 1,386 ▼5 | 4.30 ▲0.09 | 97.09 ▲1.09 | 41.17 ▼0.86 |
HoeBoe /wp-admin/tools.php?page=Hoe_Boe_Settings | 842 | 2.14 | 24.44 | 28.28 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% 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
- Zombie WordPress options detected upon uninstall: 7 options
- Hoe_Boe
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
Smoke tests 75% 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 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
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 plugin_basename() in wp-content/plugins/hoeboe/hoeboe.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
8 plugin tags: api, page speed, site speed, ajax, cache...
hoeboe/hoeboe.php Passed 13 tests
The main PHP file in "Hoeboe" ver. 0.1.4 adds more information about the plugin and also serves as the entry point for this plugin
116 characters long description:
Easily update WordPress transients in the background via AJAX to increase site speed and avoid long page load times.
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
Success! There were no dangerous files found in this plugin598 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 138 | 40 | 592 |
JavaScript | 1 | 0 | 2 | 6 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 13.17 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 32.00 |
Average method complexity | 2.11 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 66 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 41 | 62.12% |
▷ Protected methods | 21 | 31.82% |
▷ Private methods | 4 | 6.06% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 11 | |
▷ Global constants | 8 | 72.73% |
▷ Class constants | 3 | 27.27% |
▷ Public constants | 3 | 100.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.01MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/hoeboe.png | 10.30KB | 3.46KB | ▼ 66.40% |