Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲1.02MB] [CPU: ▲198.80ms] Passed 4 tests
Analyzing server-side resources used by Cloage Wordpress Plugin
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.32 ▲0.85 | 49.61 ▲7.68 |
Dashboard /wp-admin | 4.40 ▲1.05 | 337.39 ▲277.46 |
Posts /wp-admin/edit.php | 4.45 ▲1.09 | 321.63 ▲268.70 |
Add New Post /wp-admin/post-new.php | 7.00 ▲1.11 | 350.98 ▲241.34 |
Media Library /wp-admin/upload.php | 4.32 ▲1.09 | 323.36 ▲285.39 |
Remote upload lists /wp-admin/admin.php?page=cloage-remote-uploads | 4.23 | 290.07 |
Backup /wp-admin/admin.php?page=cloage-backup | 4.23 | 310.76 |
Add new upload to Cloage /wp-admin/upload.php?page=media-cloage-new | 4.23 | 302.03 |
Settings /wp-admin/admin.php?page=cloage | 4.23 | 319.48 |
Server storage [IO: ▲2.30MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 136 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
cloage_rewrite_version_old |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Cloage Wordpress Plugin
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,938 ▲177 | 14.52 ▲0.11 | 7.45 ▲5.73 | 41.02 ▼0.93 |
Dashboard /wp-admin | 2,261 ▲81 | 5.70 ▲0.03 | 130.24 ▲38.99 | 41.33 ▼1.97 |
Posts /wp-admin/edit.php | 2,163 ▲60 | 2.54 ▲0.51 | 44.12 ▲1.90 | 39.55 ▲3.05 |
Add New Post /wp-admin/post-new.php | 1,586 ▲58 | 23.81 ▲0.51 | 682.82 ▲4.63 | 36.07 ▼18.46 |
Media Library /wp-admin/upload.php | 1,454 ▲57 | 5.05 ▲0.87 | 107.12 ▼13.02 | 48.91 ▼0.44 |
Remote upload lists /wp-admin/admin.php?page=cloage-remote-uploads | 851 | 2.61 | 31.42 | 24.50 |
Backup /wp-admin/admin.php?page=cloage-backup | 819 | 2.58 | 30.68 | 25.01 |
Add new upload to Cloage /wp-admin/upload.php?page=media-cloage-new | 858 | 2.53 | 37.69 | 38.72 |
Settings /wp-admin/admin.php?page=cloage | 943 | 2.60 | 30.79 | 29.77 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 7 options in the database
- theysaidso_admin_options
- db_upgraded
- cloage_rewrite_version_old
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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
- 3× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/cloage/includes/view/general/notice.php
- > /wp-content/plugins/cloage/includes/view/woocommerce/account/sync-download-content.php
- > /wp-content/plugins/cloage/includes/view/media/upload-menu.php
- 79× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Cloage\\Options\\Fields\\FieldsAbstract' not found in wp-content/plugins/cloage/includes/Options/Fields/Backup/Main/UploadPath.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/cloage/includes/view/options/menu.php:2
- > PHP Notice
Undefined variable: slug in wp-content/plugins/cloage/includes/view/woocommerce/product/custom-fields-only-cloud.php on line 4
- > PHP Fatal error
Uncaught Error: Class 'Cloage\\Options\\Sections\\SectionsAbstract' not found in wp-content/plugins/cloage/includes/Options/Sections/Backup/Main.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/cloage/includes/view/woocommerce/product/variation/custom-fields-only-cloud-item.php:4
- > PHP Fatal error
Uncaught Error: Class 'Cloage\\Options\\Settings\\SettingsAbstract' not found in wp-content/plugins/cloage/includes/Options/Settings/Backup.php:10
- > PHP Notice
Undefined variable: id in wp-content/plugins/cloage/includes/view/woocommerce/product/variation/custom-fields-sync-checkbox.php on line 3
- > PHP Fatal error
Uncaught Error: Class 'Cloage\\Options\\Settings\\SettingsAbstract' not found in wp-content/plugins/cloage/includes/Options/Settings/General.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/cloage/includes/view/media/is-on-cloud-media-list.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/cloage/includes/view/woocommerce/product/custom-fields-only-cloud-item.php:4
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
These are user-side errors you should fix
- > GET request to /wp-admin/upload.php?page=media-cloage-new
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28721 Uncaught Error: Companion hostname is required, please consult https://uppy.io/docs/companion
Optimizations
Plugin configuration 97% 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
Attributes that need to be fixed:
- Screenshots: Please add images for these screenshots: #1 (General settings page), #2 (Media settings page), #3 (Backup settings page), #4 (Woocommerce settings page), #5 (Remote downloads events list), #6 (Duplicator integration), #7 (Upload new file), #8 (Multiple upload files), #9 (Uploading progress), #10 (Uploaded files)
cloage/cloage.php Passed 13 tests
This is the main PHP file of "Cloage Wordpress Plugin" version 1.1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
32 characters long description:
Cloage official wordpress plugin
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected6,888 lines of code in 124 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 79 | 959 | 1,053 | 5,154 |
CSS | 6 | 89 | 4 | 661 |
PO File | 1 | 1,845 | 4,927 | 597 |
JavaScript | 38 | 37 | 40 | 476 |
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.36 |
Average class complexity | 11.94 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 119.00 |
Average method complexity | 3.37 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 32.00 |
Code structure | ||
---|---|---|
Namespaces | 19 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 54 | |
▷ Abstract classes | 3 | 5.56% |
▷ Concrete classes | 51 | 94.44% |
▷ Final classes | 0 | 0.00% |
Methods | 257 | |
▷ Static methods | 45 | 17.51% |
▷ Public methods | 253 | 98.44% |
▷ Protected methods | 1 | 0.39% |
▷ Private methods | 3 | 1.17% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
10 PNG files occupy 0.93MB with 0.59MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 75.31KB | 29.71KB | ▼ 60.56% |
screenshot-10.png | 142.82KB | 49.87KB | ▼ 65.08% |
screenshot-3.png | 68.20KB | 27.19KB | ▼ 60.14% |
screenshot-9.png | 134.21KB | 48.00KB | ▼ 64.23% |
screenshot-8.png | 154.61KB | 52.39KB | ▼ 66.11% |