Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.32MB] [CPU: ▼3.30ms] Passed 4 tests
A check of server-side resources used by Cloud Blocks
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.76 ▲0.29 | 46.21 ▲2.80 |
Dashboard /wp-admin | 3.69 ▲0.35 | 59.83 ▼5.53 |
Posts /wp-admin/edit.php | 3.74 ▲0.39 | 53.24 ▲0.78 |
Add New Post /wp-admin/post-new.php | 6.21 ▲0.32 | 92.72 ▼10.60 |
Media Library /wp-admin/upload.php | 3.55 ▲0.32 | 41.62 ▲2.15 |
Tools /wp-admin/admin.php?page=gutenberg-cloud-tools | 3.55 | 38.42 |
Cloud Blocks 0 /wp-admin/admin.php?page=cloud-blocks | 3.54 | 40.05 |
Server storage [IO: ▲0.30MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 63 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_cloud_blocks |
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
gutenberg_cloud_db_version |
Browser metrics Passed 4 tests
An overview of browser requirements for Cloud Blocks
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,823 ▲62 | 14.26 ▼0.35 | 1.77 ▼0.21 | 43.29 ▼1.24 |
Dashboard /wp-admin | 2,223 ▲49 | 5.51 ▼0.15 | 89.63 ▼13.22 | 38.29 ▼3.56 |
Posts /wp-admin/edit.php | 2,134 ▲31 | 1.98 ▼0.05 | 34.22 ▼1.84 | 33.69 ▼2.06 |
Add New Post /wp-admin/post-new.php | 1,556 ▲30 | 23.25 ▲0.11 | 670.34 ▼16.75 | 51.57 ▼3.06 |
Media Library /wp-admin/upload.php | 1,425 ▲22 | 4.19 ▼0.01 | 101.06 ▼4.28 | 42.81 ▼4.44 |
Tools /wp-admin/admin.php?page=gutenberg-cloud-tools | 947 | 2.31 | 36.61 | 31.85 |
Cloud Blocks 0 /wp-admin/admin.php?page=cloud-blocks | 1,550 | 2.95 | 55.58 | 33.53 |
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
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
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
Almost there! Just fix the following items
- 8× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'SevenFields\\Fields\\Fields' not found in wp-content/plugins/cloud-blocks/vendor/foadyousefi/seven-fields/src/Fields/Textarea.php:5
- > PHP Fatal error
Uncaught Error: Class 'SevenFields\\Fields\\Fields' not found in wp-content/plugins/cloud-blocks/vendor/foadyousefi/seven-fields/src/Fields/Text.php:5
- > PHP Fatal error
Uncaught Error: Class 'SevenFields\\Fields\\Fields' not found in wp-content/plugins/cloud-blocks/vendor/foadyousefi/seven-fields/src/Fields/Html.php:5
- > PHP Fatal error
Uncaught Error: Class 'SevenFields\\Fields\\Fields' not found in wp-content/plugins/cloud-blocks/vendor/foadyousefi/seven-fields/src/Fields/Checkbox.php:5
- > PHP Fatal error
Uncaught Error: Class 'SevenFields\\Fields\\Fields' not found in wp-content/plugins/cloud-blocks/vendor/foadyousefi/seven-fields/src/Fields/Multiselect.php:5
- > PHP Fatal error
Uncaught Error: Class 'SevenFields\\Fields\\Fields' not found in wp-content/plugins/cloud-blocks/vendor/foadyousefi/seven-fields/src/Fields/Header.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/cloud-blocks/vendor/foadyousefi/seven-fields/config.php:17
- > PHP Fatal error
Uncaught Error: Class 'SevenFields\\Fields\\Fields' not found in wp-content/plugins/cloud-blocks/vendor/foadyousefi/seven-fields/src/Fields/Select.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: gutenberg blocks, pagebuilder, blocks, gutenberg, page builder
cloud-blocks/cloud-blocks.php Passed 13 tests
The main PHP file in "Cloud Blocks" ver. 1.1.8 adds more information about the plugin and also serves as the entry point for this plugin
45 characters long description:
Your library of Gutenberg blocks in the cloud
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin4,941 lines of code in 53 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 27 | 377 | 958 | 1,692 |
JavaScript | 7 | 57 | 2 | 1,653 |
PO File | 5 | 301 | 312 | 797 |
Markdown | 7 | 169 | 0 | 359 |
CSS | 3 | 29 | 0 | 235 |
Sass | 1 | 21 | 0 | 111 |
JSON | 3 | 0 | 0 | 94 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 11.71 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 80.00 |
Average method complexity | 3.08 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 8 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 21 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 21 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 109 | |
▷ Static methods | 51 | 46.79% |
▷ Public methods | 107 | 98.17% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 1.83% |
Functions | 3 | |
▷ Named functions | 2 | 66.67% |
▷ Anonymous functions | 1 | 33.33% |
Constants | 8 | |
▷ Global constants | 8 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 compressed PNG file occupies 0.04MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/thumbnail.png | 36.94KB | 38.34KB | 0.00% |