Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼5.48MB] [CPU: ▼1,029,734.94ms] Passed 4 tests
This is a short check of server-side resources used by All In One Must Have
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.85 ▲0.34 | 47.51 ▲4.49 |
Dashboard /wp-admin | 3.71 ▼20.24 | 65.20 ▼4,118,904.69 |
Posts /wp-admin/edit.php | 3.82 ▲0.42 | 65.40 ▲13.45 |
Add New Post /wp-admin/post-new.php | 3.56 ▼2.37 | 51.51 ▼53.00 |
Media Library /wp-admin/upload.php | 3.63 ▲0.36 | 52.91 ▲16.05 |
AIOMH Settings /wp-admin/admin.php?page=all-in-one-must-have/index.php | 3.64 | 43.70 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 24 new options
New WordPress options |
---|
aiomh_post_views |
aiomh_remove_menu_class |
aiomh_ascii_file_name |
aiomh_disallow_file_mods |
aiomh_cache_views |
aiomh_change_dir_admin_value |
widget_recent-posts |
db_upgraded |
aiomh_jpeg_quality |
aiomh_check_duplicate_title |
... |
Browser metrics Passed 4 tests
A check of browser resources used by All In One Must Have
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,857 ▲71 | 14.41 ▼0.24 | 1.41 ▼0.34 | 43.14 ▲1.38 |
Dashboard /wp-admin | 2,239 ▲65 | 5.58 ▲0.01 | 89.48 ▲5.68 | 69.31 ▲24.80 |
Posts /wp-admin/edit.php | 2,159 ▲59 | 2.05 ▲0.03 | 32.43 ▼5.52 | 35.31 ▲2.24 |
Add New Post /wp-admin/post-new.php | 1,578 ▲50 | 23.28 ▲2.20 | 740.82 ▲55.61 | 53.37 ▼3.42 |
Media Library /wp-admin/upload.php | 1,459 ▲56 | 4.25 ▲0.05 | 102.89 ▲2.00 | 80.58 ▲37.42 |
Website security /wp-admin/admin.php?page=all-in-one-must-have/index.php#security | 1,675 | 1.74 | 26.00 | 43.07 |
Cache settings /wp-admin/admin.php?page=all-in-one-must-have/index.php#cache | 1,675 | 1.75 | 25.96 | 37.29 |
Clean html /wp-admin/admin.php?page=all-in-one-must-have/index.php#cleanhtml | 1,672 | 1.74 | 26.04 | 37.54 |
AIOMH Settings /wp-admin/admin.php?page=all-in-one-must-have/index.php | 1,672 | 1.66 | 26.05 | 35.94 |
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: 24 options
- aiomh_change_key_salt_value_time
- widget_recent-posts
- theysaidso_admin_options
- aiomh_logged
- db_upgraded
- aiomh_remove_emoji
- aiomh_post_views
- aiomh_remove_menu_class_value
- aiomh_cache_views
- aiomh_disallow_file_mods
- ...
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These errors were triggered by the plugin
- > GET request to /wp-admin/admin.php?page=all-in-one-must-have/index.php
- > Notice in wp-content/plugins/all-in-one-must-have/inc/change-prefix.php+339
Undefined variable: aiomh_prefix_class
- 11 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=all-in-one-must-have/index.php
- > POST request to /wp-cron.php?doing_wp_cron=1697551793.8827230930328369140625
- > Warning in wp-content/plugins/easy-age-verifier/lib/extras/wpApi.php+48
file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known
- 11 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=all-in-one-must-have/index.php
- > POST request to /wp-cron.php?doing_wp_cron=1697551793.8827230930328369140625
- > Warning in wp-content/plugins/easy-age-verifier/lib/extras/wpApi.php+48
file_get_contents(http://www.fillyourtaproom.com/wp-json/wp/v2/posts?per_page=10): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known
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
The following issues need your attention
- 4× PHP files trigger errors when accessed directly with GET requests:
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/all-in-one-must-have/inc/change-prefix.php on line 203
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/all-in-one-must-have/inc/change-prefix.php:287
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/all-in-one-must-have/index.php on line 13
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/all-in-one-must-have/index.php:22
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
10 plugin tags: duplicates title, count views, defence, must have plugins, upload media...
all-in-one-must-have/index.php 85% from 13 tests
The main PHP file in "All In One Must Have" ver. 1.3 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("all-in-one-must-have.php" instead of "index.php")
- Description: The description should be shorter than 140 characters (currently 156 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected1,684 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 370 | 111 | 1,498 |
CSS | 1 | 39 | 1 | 101 |
JavaScript | 2 | 9 | 12 | 85 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.53 |
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 | 61 | |
▷ Named functions | 58 | 95.08% |
▷ Anonymous functions | 3 | 4.92% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
2 compressed PNG files occupy 0.00MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/off.png | 0.56KB | 0.65KB | 0.00% |
images/on.png | 0.49KB | 0.58KB | 0.00% |