Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼2.56ms] Passed 4 tests
A check of server-side resources used by SimplifiesWP
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 42.59 ▲3.30 |
Dashboard /wp-admin | 3.50 ▲0.16 | 495.79 ▲435.74 |
Posts /wp-admin/edit.php | 3.45 ▲0.10 | 44.62 ▼4.74 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 85.82 ▼13.56 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 36.51 ▲4.77 |
Login Image /wp-admin/admin.php?page=simplifieswp/hf_settings_logon_logo_page.php | 3.23 | 30.97 |
About /wp-admin/admin.php?page=simplifieswp/hf_about_page.php | 3.23 | 32.67 |
General /wp-admin/admin.php?page=simplifieswp/hf_general_page.php | 3.39 | 478.63 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 22 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
logo_url |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
SimplifiesWP: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,409 ▼348 | 14.30 ▼0.07 | 1.95 ▲0.08 | 42.32 ▼1.96 |
Dashboard /wp-admin | 1,811 ▼374 | 5.48 ▼0.52 | 85.97 ▼23.59 | 70.29 ▲27.18 |
Posts /wp-admin/edit.php | 2,063 ▼26 | 2.25 ▲0.25 | 33.15 ▼5.00 | 30.92 ▼2.87 |
Add New Post /wp-admin/post-new.php | 1,506 ▼27 | 23.17 ▲0.21 | 731.72 ▲124.32 | 60.03 ▲8.84 |
Media Library /wp-admin/upload.php | 1,361 ▼24 | 4.16 ▼0.01 | 108.54 ▲11.74 | 42.46 ▲2.04 |
Login Image /wp-admin/admin.php?page=simplifieswp/hf_settings_logon_logo_page.php | 802 | 1.80 | 29.83 | 21.95 |
About /wp-admin/admin.php?page=simplifieswp/hf_about_page.php | 792 | 1.81 | 29.54 | 21.19 |
General /wp-admin/admin.php?page=simplifieswp/hf_general_page.php | 750 | 1.78 | 23.16 | 24.44 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
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)
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
Please fix the following
- 12× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simplifieswp/functions/apply_menu.php:49
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simplifieswp/functions/change_logon_logo.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/simplifieswp/functions/apply_system_info.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simplifieswp/functions/remove_trash.php:9
- > PHP Warning
Use of undefined constant WP_PLUGIN_DIR - assumed 'WP_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/simplifieswp/hf.php on line 24
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simplifieswp/functions/apply_media_library.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/simplifieswp/hf_general_page.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/simplifieswp/hf_settings_logon_logo_page.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/simplifieswp/hf.php:25
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/simplifieswp/hf_about_page.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
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
1 plugin tags: cleaning
simplifieswp/hf.php 92% from 13 tests
"SimplifiesWP" version 1.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("simplifieswp.php" instead of "hf.php")
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
Success! There were no dangerous files found in this plugin338 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 75 | 76 | 291 |
XML | 5 | 0 | 0 | 47 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
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 | 24 | |
▷ Named functions | 24 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 11 | |
▷ Global constants | 11 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/icon.png | 3.13KB | 0.42KB | ▼ 86.52% |
images/logon_logo.png | 2.42KB | 2.45KB | 0.00% |