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 gracefully, with no errors
Server metrics [RAM: ▲0.12MB] [CPU: ▼6.97ms] Passed 4 tests
This is a short check of server-side resources used by WP Cloud
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.12 | 40.80 ▼1.71 |
Dashboard /wp-admin | 3.43 ▲0.09 | 43.93 ▼15.14 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 45.27 ▲6.66 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.13 | 83.53 ▼15.97 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 34.95 ▲4.94 |
Public Cloud Iframe /wp-admin/admin.php?page=wpclod_iframe | 3.34 | 40.97 |
Cloud /wp-admin/admin.php?page=wpcloud | 3.34 | 31.07 |
System /wp-admin/admin.php?page=wpcloud_sys | 3.30 | 31.02 |
Settings /wp-admin/admin.php?page=wpcloud_settings | 3.33 | 34.65 |
Log /wp-admin/admin.php?page=wpcloud_log | 3.32 | 29.81 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] 67% from 3 tests
A short overview of filesystem and database impact
Please fix the following
- The plugin illegally modified 1 file (0.66KB) outside of "wp-content/plugins/cloud/" and "wp-content/uploads/"
- (new file) cloud/index.php
Filesystem: 30 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
wpcloud_version |
theysaidso_admin_options |
can_compress_scripts |
wpcloud_default_overlap |
wpcloud_default_quota |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by WP Cloud
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,820 ▲59 | 14.74 ▲0.18 | 1.63 ▼0.19 | 44.75 ▲2.63 |
Dashboard /wp-admin | 2,229 ▲48 | 5.65 ▼0.05 | 80.29 ▼17.31 | 39.08 ▲1.32 |
Posts /wp-admin/edit.php | 2,131 ▲31 | 2.00 ▼0.01 | 33.34 ▼7.07 | 35.99 ▼2.46 |
Add New Post /wp-admin/post-new.php | 1,551 ▲23 | 23.07 ▼0.24 | 664.40 ▲61.55 | 63.20 ▲8.60 |
Media Library /wp-admin/upload.php | 1,431 ▲28 | 4.15 ▼0.06 | 105.43 ▲8.94 | 45.38 ▼0.65 |
Public Cloud Iframe /wp-admin/admin.php?page=wpclod_iframe | 791 | 1.93 | 24.36 | 35.11 |
Cloud /wp-admin/admin.php?page=wpcloud | 1,044 | 4.60 | 45.31 | 51.68 |
System /wp-admin/admin.php?page=wpcloud_sys | 841 | 2.02 | 23.19 | 27.55 |
Settings /wp-admin/admin.php?page=wpcloud_settings | 1,088 | 3.94 | 104.14 | 51.62 |
Log /wp-admin/admin.php?page=wpcloud_log | 793 | 2.00 | 23.12 | 22.12 |
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
Please fix the following items
- This plugin did not uninstall successfully, leaving 9 options in the database
- db_upgraded
- can_compress_scripts
- wpcloud_default_quota
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- wpcloud_default_overlap
- widget_theysaidso_widget
- wpcloud_version
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/admin.php?page=wpcloud
- > Warning in wp-content/plugins/cloud/panel.php+34
Division by zero
- > GET request to /wp-admin/admin.php?page=wpcloud_sys
- > Notice in wp-content/plugins/cloud/sys_panel.php+11
Undefined variable: max_upload
- > GET request to /wp-admin/admin.php?page=wpcloud_sys
- > Notice in wp-content/plugins/cloud/sys_panel.php+11
Undefined variable: max_post
- > GET request to /wp-admin/admin.php?page=wpcloud_sys
- > Notice in wp-content/plugins/cloud/sys_panel.php+11
Undefined variable: memory_limit
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
- 13× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function get_site_url() in wp-content/plugins/cloud/includes/htmlsettings.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function get_current_user_id() in wp-content/plugins/cloud/shortcodes/create_table.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/cloud/panels/users_quota.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_site_url() in wp-content/plugins/cloud/shortcodes/user_files_send.php:2
- > PHP Notice
Undefined variable: atts in wp-content/plugins/cloud/shortcodes/user_files_table.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_current_user_id() in wp-content/plugins/cloud/shortcodes/user_files_table.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/cloud/panels/users_actions.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/cloud/shortcodes/shortcodes.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function get_site_url() in wp-content/plugins/cloud/shortcodes/user_files_upload.php:2
- > PHP Notice
Undefined variable: atts in wp-content/plugins/cloud/shortcodes/create_table.php on line 2
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following browser errors
- > GET request to /wp-admin/admin.php?page=wpclod_iframe
- > Javascript (severe) in unknown
/wp-admin/admin.php?page=wpclod_iframe 188:21 Uncaught TypeError: Cannot read properties of null (reading 'parentNode')
- > GET request to /wp-admin/admin.php?page=wpcloud
- > Network (severe)
https://www.google.com/uds/api/visualization/1.1/b286575f41699923b257980af3c9fe9d/format+it,default+it,ui+it,corechart+it.I.js - Failed to load resource: the server responded with a status of 404 ()
- > GET request to /wp-admin/admin.php?page=wpcloud
- > Javascript (severe) in unknown
https://www.google.com/jsapi?autoload={ 150:139 Uncaught Error: Autoload failed with: SyntaxError: Expected proper…me or '}' in JSON at position 1 (line 1 column 2)
- > GET request to /wp-admin/admin.php?page=wpcloud
- > Console-api (warning) in unknown
https://www.google.com/jsapi 140:47 " Attempting to load version '1.1' of Google Charts, but the previously loaded '1' will be used instead."
- > GET request to /wp-admin/admin.php?page=wpcloud_settings
- > Javascript (severe) in unknown
http://ct1.addthis.com/static/r07/core142.js 1:1595 Uncaught ReferenceError: _atc is not defined
- > GET request to /wp-admin/admin.php?page=wpcloud_settings
- > Security (warning) in unknown
security - Error with Permissions-Policy header: Unrecognized feature: 'ambient-light-sensor'.
- > GET request to /wp-admin/admin.php?page=wpcloud_settings
- > Security (warning) in unknown
security - Error with Permissions-Policy header: Unrecognized feature: 'bluetooth'.
- > GET request to /wp-admin/admin.php?page=wpcloud_settings
- > Network (severe)
https://www.comune.sanpellegrinoterme.bg.it/wp-content/plugins/amministrazione-trasparente/govconfig/panels/includes/mmsignature.png - Failed to load resource: the server responded with a status of 404 ()
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Tags: Please add at least on tag
cloud/cloud.php Passed 13 tests
The main file in "WP Cloud" v. 1.4.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
112 characters long description:
Give every user a personal web-space with WP Cloud, the most advanced plugin to make WordPress a cloud platform!
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
There were no executable files found in this plugin852 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 171 | 35 | 852 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
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 | 35 | |
▷ Named functions | 34 | 97.14% |
▷ Anonymous functions | 1 | 2.86% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
12 PNG files occupy 0.08MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/icons/document-excel.png | 0.66KB | 0.58KB | ▼ 11.31% |
includes/icons/document-odt.png | 0.65KB | 0.62KB | ▼ 4.67% |
includes/wpcloud.png | 71.63KB | 30.63KB | ▼ 57.23% |
includes/cloud.png | 5.93KB | 3.62KB | ▼ 39.03% |
includes/icons/document-image.png | 0.55KB | 0.68KB | 0.00% |