Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.16MB] [CPU: ▼1.24ms] Passed 4 tests
A check of server-side resources used by hiWeb Plugins Server
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.15 | 42.67 ▲1.75 |
Dashboard /wp-admin | 3.51 ▲0.21 | 48.03 ▼1.70 |
Posts /wp-admin/edit.php | 3.57 ▲0.21 | 44.66 ▼0.19 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.15 | 93.22 ▼4.82 |
Media Library /wp-admin/upload.php | 3.37 ▲0.15 | 37.17 ▲2.40 |
hiWeb Remote Plugins /wp-admin/plugins.php?page=hiweb-plugins-server-remote | 3.35 | 31.38 |
hiWeb Plugins Server /wp-admin/options-general.php?page=hiweb-plugins-server-settings | 3.35 | 32.06 |
Server storage [IO: ▲0.42MB] [DB: ▲0.00MB] 67% from 3 tests
Analyzing filesystem and database footprints of this plugin
It is recommended to fix the following issues
- Illegal file modification detected: 1 file (0.00KB) outside of "wp-content/plugins/hiweb-plugins-server/" and "wp-content/uploads/"
- (new file) wp-content/hiweb-plugins-server-root/.empty
Filesystem: 22 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
hw_plugins_server_status |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by hiWeb Plugins Server
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲73 | 14.82 ▲0.07 | 1.79 ▼0.04 | 43.36 ▼3.59 |
Dashboard /wp-admin | 2,217 ▲32 | 5.87 ▲0.99 | 105.60 ▼16.46 | 43.59 ▼3.49 |
Posts /wp-admin/edit.php | 2,097 ▲8 | 1.99 ▼0.07 | 35.96 ▼0.41 | 33.62 ▲0.06 |
Add New Post /wp-admin/post-new.php | 1,542 ▲20 | 23.80 ▲0.44 | 606.05 ▲22.14 | 57.24 ▲3.07 |
Media Library /wp-admin/upload.php | 1,396 ▲5 | 4.20 ▼0.02 | 93.43 ▼8.01 | 40.36 ▼3.21 |
hiWeb Remote Plugins /wp-admin/plugins.php?page=hiweb-plugins-server-remote | 762 | 2.04 | 24.48 | 24.91 |
hiWeb Plugins Server /wp-admin/options-general.php?page=hiweb-plugins-server-settings | 812 | 2.04 | 23.86 | 29.33 |
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
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- hw_plugins_server_status
- 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 | A smoke test targeting 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
The following issues need your attention
- 8× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/hiweb-plugins-server/inc/define.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function _hw_plugins_server_script() in wp-content/plugins/hiweb-plugins-server/templates/options-page.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function _hw_plugins_server_script() in wp-content/plugins/hiweb-plugins-server/templates/remote-plugins.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function _hw_plugins_server_script() in wp-content/plugins/hiweb-plugins-server/templates/server-page.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/hiweb-plugins-server/inc/options.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/hiweb-plugins-server/inc/script-styles.php:36
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/hiweb-plugins-server/inc/define.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/hiweb-plugins-server/inc/hooks.php:9
- > PHP Fatal error
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 90% from 29 tests
readme.txt 81% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that need to be fixed:
- Screenshots: Screenshot #1 (Server plugins list for host them) image missing
- Tags: There are too many tags (31 tag instead of maximum 10)
- Donate link: Invalid URI found ("")
hiweb-plugins-server/hiweb-plugins-server.php Passed 13 tests
The primary PHP file in "hiWeb Plugins Server" version 2.2.0.0 is used by WordPress to initiate all plugin functionality
108 characters long description:
Create your own plug-ins server. Создай свой собственный сервер плагинов.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin1,201 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 222 | 326 | 1,109 |
JavaScript | 3 | 6 | 9 | 92 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 17.12 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 33.00 |
Average method complexity | 2.77 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 73 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 69 | 94.52% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 5.48% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 13 | |
▷ Global constants | 13 | 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
4 PNG files occupy 0.35MB with 0.15MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 96.35KB | 51.17KB | ▼ 46.89% |
screenshot-1.png | 100.62KB | 54.83KB | ▼ 45.51% |
screenshot-3.png | 77.27KB | 44.36KB | ▼ 42.60% |
screenshot-4.png | 79.05KB | 43.76KB | ▼ 44.65% |