Benchmarks
Plugin footprint 23% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The following installer errors require your attention
- Install procedure had errors
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method THEMEQX_WPSUB_BASE::themeqx_wpsub_initial_setup() should not be called statically
Server metrics [RAM: ▲0.03MB] [CPU: ▼3.69ms] Passed 4 tests
An overview of server-side resources used by WP Server Uptime Bot by Themeqx.com
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 38.07 ▼4.26 |
Dashboard /wp-admin | 3.32 ▲0.02 | 46.35 ▼3.41 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 45.86 ▼4.02 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 89.11 ▼3.07 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 40.65 ▲4.51 |
Server storage [IO: ▲0.04MB] [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: 11 new files
Database: 2 new tables, 7 new options
New tables |
---|
wp_wpsub_lookup_status |
wp_wpsub_lookup_item |
New WordPress options |
---|
db_upgraded |
themeqx_wpsub_version |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Server Uptime Bot by Themeqx.com
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,845 ▲110 | 13.22 ▼0.95 | 5.10 ▲3.17 | 40.01 ▼2.83 |
Dashboard /wp-admin | 2,226 ▲35 | 5.81 ▲0.91 | 95.93 ▼2.39 | 36.35 ▼7.47 |
Posts /wp-admin/edit.php | 2,112 ▲23 | 2.02 ▲0.02 | 35.33 ▼3.67 | 32.96 ▼3.21 |
Add New Post /wp-admin/post-new.php | 1,531 ▲12 | 23.41 ▲0.21 | 680.48 ▲54.96 | 50.55 ▼5.27 |
Media Library /wp-admin/upload.php | 1,408 ▲26 | 4.25 ▲0.06 | 100.64 ▲6.85 | 45.35 ▲4.45 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Uninstall procedure validation failed for this plugin
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method THEMEQX_WPSUB_BASE::themeqx_wpsub_deactivation() should not be called statically
- The uninstall procedure failed, leaving 2 tables in the database
- wp_wpsub_lookup_status
- wp_wpsub_lookup_item
- Zombie WordPress options detected upon uninstall: 7 options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- themeqx_wpsub_version
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 5× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to a member function get_results() on null in wp-content/plugins/wp-server-uptime-bot/view/themeqx_ajax_lookup_items.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-server-uptime-bot/view/emails/themeqx_wpsub_email_server_down.php:14
- > PHP Fatal error
Uncaught Error: Call to a member function get_results() on null in wp-content/plugins/wp-server-uptime-bot/view/themeqx_wpsub_admin.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-server-uptime-bot/view/emails/themeqx_wpsub_email_server_up.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/wp-server-uptime-bot/wp-server-uptime-bot.php:15
- > PHP Fatal error
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)
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Tags: Please delete some tags, you are using 15 tag instead of maximum 10
wp-server-uptime-bot/wp-server-uptime-bot.php 85% from 13 tests
This is the main PHP file of "WP Server Uptime Bot by Themeqx.com" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Domain Path: The domain path folder was not found ("/languages")
- Description: Please don't use more than 140 characters for the plugin description (currently 162 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
Good job! No executable or dangerous file extensions detected648 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 144 | 116 | 539 |
CSS | 1 | 0 | 0 | 66 |
JavaScript | 1 | 8 | 3 | 43 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 1.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 17 | |
▷ Static methods | 3 | 17.65% |
▷ Public methods | 17 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 4 | 100.00% |
Constants | 4 | |
▷ Global constants | 4 | 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
PNG images were not found in this plugin