Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
It is recommended to fix the following installer errors
- The plugin cannot be installed
- > Warning in wp-content/plugins/wpsupervisor-client/api.php+37
count(): Parameter must be an array or an object that implements Countable
Server metrics [RAM: ▼0.67MB] [CPU: ▼42.00ms] Passed 4 tests
A check of server-side resources used by WPSupervisor Client
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.32 ▼0.14 | 15.02 ▼27.51 |
Dashboard /wp-admin | 3.34 ▲0.03 | 14.21 ▼34.99 |
Posts /wp-admin/edit.php | 3.34 ▼0.02 | 15.16 ▼34.04 |
Add New Post /wp-admin/post-new.php | 3.34 ▼2.55 | 17.12 ▼71.46 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 13.34 ▼25.15 |
Server storage [IO: ▲1.08MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 38 new files
Database: no new tables, 9 new options
New WordPress options |
---|
manage-multiple-blogs |
iwp_client_user_hit_count |
widget_recent-posts |
widget_recent-comments |
iwp_client_activate_key |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for WPSupervisor Client
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,840 ▲105 | 13.39 ▼1.19 | 1.99 ▲0.22 | 30.96 ▼15.04 |
Dashboard /wp-admin | 2,243 ▲55 | 5.79 ▲0.73 | 96.05 ▼21.84 | 42.23 ▼3.52 |
Posts /wp-admin/edit.php | 2,119 ▲30 | 2.01 ▼0.01 | 40.44 ▲3.49 | 40.39 ▲3.46 |
Add New Post /wp-admin/post-new.php | 1,545 ▲12 | 17.69 ▼5.69 | 611.54 ▼92.05 | 61.22 ▲6.83 |
Media Library /wp-admin/upload.php | 1,422 ▲37 | 4.22 ▲0.01 | 95.58 ▼14.06 | 43.18 ▼3.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Uninstall procedure validation failed for this plugin
- > Warning in wp-content/plugins/wpsupervisor-client/api.php+37
count(): Parameter must be an array or an object that implements Countable
- This plugin does not fully uninstall, leaving 8 options in the database
- can_compress_scripts
- manage-multiple-blogs
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- iwp_client_user_hit_count
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 16× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'IWP_MMB_Core' not found in wp-content/plugins/wpsupervisor-client/installer.class.php:19
- > PHP Fatal error
Uncaught Error: Class 'IWP_MMB_Backup' not found in wp-content/plugins/wpsupervisor-client/addons/backup_repository/backup_repository.class.php:2
- > PHP Fatal error
Uncaught Error: Class 'IWP_MMB_Core' not found in wp-content/plugins/wpsupervisor-client/backup.class.php:63
- > PHP Fatal error
Uncaught Error: Class 'CFRuntime' not found in wp-content/plugins/wpsupervisor-client/lib/amazon_s3/services/s3.class.php:58
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/wpsupervisor-client/plugins/extra_html_example/extra_html_example.php:10
- > PHP Warning
Use of undefined constant WP_CONTENT_DIR - assumed 'WP_CONTENT_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/wpsupervisor-client/backup.class.php on line 18
- > PHP Fatal error
Uncaught Error: Call to undefined function iwp_mmb_add_action() in wp-content/plugins/wpsupervisor-client/plugins/search/search.php:19
- > PHP Fatal error
Uncaught Error: Class 'ResponseCore' not found in wp-content/plugins/wpsupervisor-client/lib/amazon_s3/utilities/response.class.php:30
- > PHP Fatal error
Uncaught Error: Class 'IWP_MMB_Core' not found in wp-content/plugins/wpsupervisor-client/addons/manage_users/user.class.php:13
- > PHP Fatal error
Uncaught Error: Class 'RequestCore' not found in wp-content/plugins/wpsupervisor-client/lib/amazon_s3/utilities/request.class.php:29
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Tags: Please reduce the number of tags, currently 27 tag instead of maximum 10
wpsupervisor-client/wps-client.php 92% from 13 tests
The primary PHP file in "WPSupervisor Client" version 1.1.10 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("wpsupervisor-client.php" instead of "wps-client.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin14,662 lines of code in 34 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 33 | 3,597 | 6,707 | 14,654 |
Markdown | 1 | 7 | 0 | 8 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 68.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 559.00 |
Average method complexity | 6.36 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 82.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 40 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 40 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 500 | |
▷ Static methods | 14 | 2.80% |
▷ Public methods | 494 | 98.80% |
▷ Protected methods | 2 | 0.40% |
▷ Private methods | 4 | 0.80% |
Functions | 82 | |
▷ Named functions | 82 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 155 | |
▷ Global constants | 80 | 51.61% |
▷ Class constants | 75 | 48.39% |
▷ Public constants | 75 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin