Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.16MB] [CPU: ▲2.13ms] Passed 4 tests
A check of server-side resources used by Responsive Blocks - WordPress Gutenberg Blocks
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.66 ▲0.20 | 42.04 ▲0.44 |
Dashboard /wp-admin | 3.48 ▲0.17 | 49.42 ▼2.60 |
Posts /wp-admin/edit.php | 3.53 ▲0.17 | 52.00 ▲6.95 |
Add New Post /wp-admin/post-new.php | 6.26 ▲0.38 | 102.69 ▲12.93 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 35.88 ▲3.73 |
Server storage [IO: ▲18.69MB] [DB: ▲0.01MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 710 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_theysaidso_widget |
category_children |
widget_recent-comments |
db_upgraded |
rbea_blocks |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
responsive_block_editor_addons_review_pending |
Browser metrics Passed 4 tests
A check of browser resources used by Responsive Blocks - WordPress Gutenberg Blocks
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲44 | 14.25 ▼0.02 | 1.69 ▼0.04 | 43.35 ▼0.95 |
Dashboard /wp-admin | 2,196 ▲22 | 5.57 ▲0.03 | 95.18 ▼5.66 | 79.90 ▲31.38 |
Posts /wp-admin/edit.php | 2,116 ▲13 | 1.98 ▲0.02 | 38.42 ▼6.55 | 34.06 ▼11.73 |
Add New Post /wp-admin/post-new.php | 6,234 ▲4,699 | 24.19 ▲1.23 | 1,022.21 ▲341.50 | 39.66 ▼6.51 |
Media Library /wp-admin/upload.php | 1,416 ▲16 | 4.18 ▼0.04 | 97.45 ▲0.68 | 73.16 ▲29.57 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- The uninstall procedure has failed, leaving 9 options in the database
- widget_recent-posts
- category_children
- widget_theysaidso_widget
- rbea_blocks
- db_upgraded
- responsive_block_editor_addons_review_pending
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 14× 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 add_action() in wp-content/plugins/responsive-block-editor-addons/src/blocks/post-grid/index.php:871
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/responsive-block-editor-addons/src/blocks/gallery-masonry/index.php:34
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/responsive-block-editor-addons/src/blocks/post-carousel/index.php:29
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/responsive-block-editor-addons/src/blocks/accordion/index.php:26
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/responsive-block-editor-addons/src/utils/fonts.php:29
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/responsive-block-editor-addons/src/blocks/post-timeline/index.php:961
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/responsive-block-editor-addons/src/blocks/portfolio/index.php:425
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/responsive-block-editor-addons/src/blocks/taxonomy-list/index.php:348
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/responsive-block-editor-addons/src/blocks/instagram/index.php:181
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/responsive-block-editor-addons/src/blocks/inline-notice/index.php:24
- > 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 93% from 29 tests
readme.txt 94% 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
These attributes need to be fixed:
- Tags: Please reduce the number of tags, currently 34 tag instead of maximum 10
responsive-block-editor-addons/responsive-block-editor-addons.php 92% from 13 tests
The entry point to "Responsive Blocks - WordPress Gutenberg Blocks" version 1.7.4 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Domain Path: The domain path folder does not exist ("/languages")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected166,097 lines of code in 658 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 470 | 5,649 | 3,590 | 99,377 |
JSON | 6 | 0 | 0 | 25,336 |
Sass | 131 | 1,891 | 118 | 21,181 |
PHP | 28 | 1,615 | 1,808 | 17,967 |
CSS | 11 | 616 | 15 | 2,194 |
SVG | 12 | 0 | 0 | 42 |
PHP code 50% from 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
The following items need your attention
- Please reduce cyclomatic complexity of methods to less than 100 (currently 114)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.66 |
Average class complexity | 167.86 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 956.00 |
Average method complexity | 8.39 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 114.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 2 | 28.57% |
Methods | 158 | |
▷ Static methods | 121 | 76.58% |
▷ Public methods | 157 | 99.37% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 0.63% |
Functions | 67 | |
▷ Named functions | 67 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
27 PNG files occupy 0.11MB with 0.06MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/mascot-1.png | 1.69KB | 0.89KB | ▼ 47.42% |
admin/images/documentation.png | 6.97KB | 2.96KB | ▼ 57.49% |
admin/images/mascot-4.png | 4.64KB | 2.14KB | ▼ 53.88% |
admin/images/res-icon8.png | 1.72KB | 1.07KB | ▼ 37.56% |
admin/images/Responsive-block-1.png | 9.70KB | 4.54KB | ▼ 53.22% |