Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Please fix the following installer errors
- The plugin did not install without errors
- > Notice in wp-admin/includes/upgrade.php+2917
Undefined index: index_type
Server metrics [RAM: ▲3.82MB] [CPU: ▲14.62ms] Passed 4 tests
This is a short check of server-side resources used by CloudNet360
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 7.77 ▲4.31 | 63.91 ▲28.14 |
Dashboard /wp-admin | 7.89 ▲4.59 | 71.56 ▲26.35 |
Posts /wp-admin/edit.php | 7.94 ▲4.59 | 73.90 ▲29.33 |
Add New Post /wp-admin/post-new.php | 7.69 ▲1.80 | 63.79 ▼25.33 |
Media Library /wp-admin/upload.php | 7.90 ▲4.68 | 67.34 ▲34.83 |
Field Groups /wp-admin/edit.php?post_type=acf-field-group | 7.89 | 73.81 |
API Settings /wp-admin/admin.php?page=api_settings | 7.72 | 55.50 |
Cloud Net Survey Shortcoder /wp-admin/admin.php?page=cloudnet_survey_shortcoder | 7.85 | 63.43 |
Tools /wp-admin/edit.php?post_type=acf-field-group&page=acf-tools | 7.90 | 61.12 |
Products /wp-admin/edit.php?post_type=cloudnet_product | 7.86 | 65.79 |
Cloud Net Shortcoder /wp-admin/admin.php?page=cloudnet_shortcoder | 7.85 | 58.33 |
Opt-In Forms /wp-admin/admin.php?page=form | 7.74 | 56.84 |
Add New /wp-admin/post-new.php?post_type=acf-field-group | 7.70 | 55.57 |
Dashboard /wp-admin/admin.php?page=cloud_net | 7.72 | 64.08 |
Action Surveys /wp-admin/admin.php?page=survey | 7.74 | 56.84 |
Server storage [IO: ▲13.10MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 430 new files
Database: 6 new tables, 9 new options
New tables |
---|
wp_cloudnet_optin_form_data |
wp_cloudnet_product_attribute_group |
wp_cloudnet_optin_survey_data |
wp_cloudnet_incart_products |
wp_cloudnet_product_attribute |
wp_cloudnet_products |
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
acf_version |
widget_recent-comments |
CN360_SYNC_VERSION |
can_compress_scripts |
widget_cnsync_taxonomy |
Browser metrics Passed 4 tests
A check of browser resources used by CloudNet360
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,064 ▲329 | 14.25 ▼0.18 | 12.74 ▲11.07 | 49.01 ▲9.26 |
Dashboard /wp-admin | 2,286 ▲94 | 5.31 ▲0.40 | 125.14 ▲18.61 | 42.38 ▲0.02 |
Posts /wp-admin/edit.php | 2,183 ▲94 | 2.57 ▲0.57 | 47.58 ▲5.75 | 36.80 ▲0.77 |
Add New Post /wp-admin/post-new.php | 6,736 ▲5,203 | 25.01 ▲1.96 | 1,029.40 ▲362.19 | 41.94 ▼12.27 |
Media Library /wp-admin/upload.php | 2,020 ▲632 | 8.59 ▲4.38 | 237.90 ▲137.67 | 60.45 ▲14.95 |
Field Groups /wp-admin/edit.php?post_type=acf-field-group | 1,376 | 2.36 | 45.88 | 60.80 |
API Settings /wp-admin/admin.php?page=api_settings | 1,002 | 2.21 | 35.07 | 28.34 |
Cloud Net Survey Shortcoder /wp-admin/admin.php?page=cloudnet_survey_shortcoder | 1,650 | 6.90 | 129.06 | 63.18 |
Tools /wp-admin/edit.php?post_type=acf-field-group&page=acf-tools | 1,324 | 3.43 | 48.98 | 33.20 |
Products /wp-admin/edit.php?post_type=cloudnet_product | 1,178 | 2.60 | 37.58 | 29.42 |
Cloud Net Shortcoder /wp-admin/admin.php?page=cloudnet_shortcoder | 1,650 | 6.88 | 122.05 | 40.50 |
Opt-In Forms /wp-admin/admin.php?page=form | 903 | 2.17 | 31.83 | 28.99 |
Add New /wp-admin/post-new.php?post_type=acf-field-group | 4,136 | 5.38 | 122.80 | 56.30 |
Dashboard /wp-admin/admin.php?page=cloud_net | 947 | 2.13 | 36.26 | 31.61 |
Action Surveys /wp-admin/admin.php?page=survey | 903 | 2.16 | 35.67 | 31.11 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- The uninstall procedure failed, leaving 1 table in the database
- wp_cloudnet_incart_products
- This plugin does not fully uninstall, leaving 9 options in the database
- widget_theysaidso_widget
- widget_cnsync_taxonomy
- widget_recent-posts
- theysaidso_admin_options
- acf_version
- CN360_SYNC_VERSION
- db_upgraded
- widget_recent-comments
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=cloudnet_product
- > POST request to /wp-admin/admin-ajax.php
- > Warning in wp-admin/includes/plugin.php+1784
Invalid argument supplied for foreach()
- > GET request to /wp-admin/post-new.php?post_type=acf-field-group
- > Notice in wp-content/plugins/cloudnet-sync/admin/cnsync-admin-class.php+2007
Undefined index: cloudnet_gallery
- > GET request to /wp-admin/post-new.php?post_type=acf-field-group
- > Notice in wp-content/plugins/cloudnet-sync/admin/cnsync-admin-class.php+2008
Undefined index: cncustompost
- 2 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=acf-field-group
- > Notice in wp-content/plugins/cloudnet-sync/admin/cnsync-admin-class.php+2484
Trying to get property 'post_type' of non-object
- > GET request to /wp-admin/admin.php?page=cloud_net
- > Notice in wp-content/plugins/cloudnet-sync/admin/partials/cnsync_sync-admin-display.php+19
Undefined variable: url_api_setting
SRP 0% 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
The following issues need your attention
- 13× PHP files output non-empty strings when accessed directly via GET requests (only 10 are shown):
- > /wp-content/plugins/cloudnet-sync/public/partials/cnsync_product_1column_view.php
- > /wp-content/plugins/cloudnet-sync/admin/partials/cnsync_optin_survey_display_shortcode.php
- > /wp-content/plugins/cloudnet-sync/admin/partials/cnsync_metabox_for_images.php
- > /wp-content/plugins/cloudnet-sync/public/templates/partials/logout.php
- > /wp-content/plugins/cloudnet-sync/public/partials/cnsync_cloudnet_memberships_page.php
- > /wp-content/plugins/cloudnet-sync/public/partials/cnsync_product_grid_view.php
- > /wp-content/plugins/cloudnet-sync/admin/partials/cnsync_opt_survey_form.php
- > /wp-content/plugins/cloudnet-sync/admin/partials/cnsync_orders_page.php
- > /wp-content/plugins/cloudnet-sync/admin/partials/cnsync_optin_display_shortcode.php
- > /wp-content/plugins/cloudnet-sync/public/templates/partials/restrict_content.php
- 113× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/cloudnet-sync/includes/advanced-custom-fields/includes/admin/views/html-admin-page-upgrade.php:26
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/cloudnet-sync/includes/advanced-custom-fields/includes/admin/views/field-group-field.php on line 5
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/cloudnet-sync/includes/advanced-custom-fields/includes/fields/class-acf-field-link.php:5
- > PHP Warning
Use of undefined constant CN360_SYNC__PLUGIN_URL - assumed 'CN360_SYNC__PLUGIN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/cloudnet-sync/admin/partials/cnsync_sync-admin-display.php on line 31
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/cloudnet-sync/includes/advanced-custom-fields/includes/fields/class-acf-field-wysiwyg.php:5
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/cloudnet-sync/includes/advanced-custom-fields/includes/fields/class-acf-field-tab.php:5
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/cloudnet-sync/includes/advanced-custom-fields/includes/fields/class-acf-field-url.php:5
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/cloudnet-sync/includes/advanced-custom-fields/includes/fields/class-acf-field-output.php:5
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/cloudnet-sync/includes/advanced-custom-fields/includes/fields/class-acf-field-oembed.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function is_active_sidebar() in wp-content/plugins/cloudnet-sync/public/partials/cnsync_cloudnet_memberships_page.php:251
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 76% from 29 tests
readme.txt 75% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== cloudnet-sync ===
) - Contributors: No tags were detected
- Contributors: Contributors not specified
- Donate link: Invalid url: ""
cloudnet-sync/cloudnet360_sync.php 77% from 13 tests
The main PHP script in "CloudNet360" version 3.2.0 is automatically included on every request by WordPress
You should first fix the following items:
- Description: Please keep the plugin description shorter than 140 characters (currently 256 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("cloudnet-sync.php" instead of "cloudnet360_sync.php")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin166,020 lines of code in 343 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 44 | 35,408 | 60,552 | 71,911 |
JavaScript | 19 | 8,547 | 9,489 | 53,131 |
PHP | 178 | 9,452 | 19,652 | 27,557 |
CSS | 22 | 851 | 1,617 | 13,132 |
JSON | 3 | 0 | 0 | 138 |
SVG | 76 | 0 | 0 | 137 |
Markdown | 1 | 11 | 0 | 14 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 17.38 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 250.00 |
Average method complexity | 2.95 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 113 | |
▷ Abstract classes | 2 | 1.77% |
▷ Concrete classes | 111 | 98.23% |
▷ Final classes | 0 | 0.00% |
Methods | 946 | |
▷ Static methods | 3 | 0.32% |
▷ Public methods | 923 | 97.57% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 23 | 2.43% |
Functions | 454 | |
▷ Named functions | 451 | 99.34% |
▷ Anonymous functions | 3 | 0.66% |
Constants | 15 | |
▷ Global constants | 14 | 93.33% |
▷ Class constants | 1 | 6.67% |
▷ Public constants | 1 | 100.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
14 PNG files occupy 0.14MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/images/word_icon1.png | 21.88KB | 7.77KB | ▼ 64.47% |
includes/advanced-custom-fields/assets/inc/select2/3/select2.png | 0.51KB | 0.99KB | 0.00% |
admin/images/word_icon2.png | 31.26KB | 12.04KB | ▼ 61.50% |
admin/images/word_icon4.png | 20.94KB | 7.88KB | ▼ 62.37% |
includes/advanced-custom-fields/assets/inc/datepicker/images/ui-bg_highlight-soft_0_ffffff_1x100.png | 0.08KB | 0.08KB | 0.00% |