Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.82MB] [CPU: ▲4.79ms] Passed 4 tests
Analyzing server-side resources used by Exclusive Blocks
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.31 ▲0.85 | 45.66 ▲0.82 |
Dashboard /wp-admin | 4.14 ▲0.84 | 51.50 ▲1.79 |
Posts /wp-admin/edit.php | 4.19 ▲0.83 | 53.04 ▲8.18 |
Add New Post /wp-admin/post-new.php | 6.83 ▲0.95 | 100.78 ▲13.95 |
Media Library /wp-admin/upload.php | 4.00 ▲0.77 | 42.54 ▲8.37 |
Server storage [IO: ▲4.21MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 57 new files
Database: no new tables, 9 new options
New WordPress options |
---|
exclusiveblocks_dynamic_css_time |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
category_children |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
exclusiveblocks_dynamic_css_posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Exclusive Blocks
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,849 ▲103 | 13.20 ▼1.15 | 2.17 ▼0.04 | 43.51 ▼5.75 |
Dashboard /wp-admin | 2,228 ▲40 | 5.82 ▼0.06 | 104.13 ▼14.38 | 76.21 ▲33.25 |
Posts /wp-admin/edit.php | 2,117 ▲28 | 1.98 ▼0.02 | 37.55 ▲2.77 | 33.22 ▼1.52 |
Add New Post /wp-admin/post-new.php | 6,470 ▲4,936 | 27.16 ▲4.07 | 1,069.57 ▲419.28 | 40.95 ▼21.28 |
Media Library /wp-admin/upload.php | 1,404 ▲16 | 4.18 ▼0.07 | 96.05 ▼2.65 | 86.81 ▲42.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options were found after uninstall: 9 options
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- category_children
- theysaidso_admin_options
- exclusiveblocks_dynamic_css_time
- exclusiveblocks_dynamic_css_posts
- widget_recent-comments
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
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
Please fix the following items
- 21× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Notice
Undefined variable: css in wp-content/plugins/exclusive-blocks/includes/frontend/button.php on line 8
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/exclusive-blocks/includes/class-template-library.php:120
- > PHP Notice
Undefined variable: blockData in wp-content/plugins/exclusive-blocks/includes/frontend/grid.php on line 8
- > PHP Notice
Undefined variable: css in wp-content/plugins/exclusive-blocks/includes/frontend/post-grid.php on line 8
- > PHP Fatal error
Uncaught Error: Call to a member function set_selector() on null in wp-content/plugins/exclusive-blocks/includes/frontend/tabs.php:7
- > PHP Notice
Undefined variable: css in wp-content/plugins/exclusive-blocks/includes/frontend/tabs.php on line 7
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/exclusive-blocks/includes/frontend/grid.php on line 8
- > PHP Notice
Undefined variable: css in wp-content/plugins/exclusive-blocks/includes/frontend/heading.php on line 7
- > PHP Fatal error
Uncaught Error: Call to a member function set_selector() on null in wp-content/plugins/exclusive-blocks/includes/frontend/post-grid.php:8
- > PHP Fatal error
Uncaught Error: Call to a member function set_selector() on null in wp-content/plugins/exclusive-blocks/includes/frontend/accordion.php:7
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
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: blocks, gutenberg, exclusive, gutenberg blocks, editor
exclusive-blocks/exclusive-blocks.php Passed 13 tests
The main PHP script in "Exclusive Blocks" version 1.1.0 is automatically included on every request by WordPress
57 characters long description:
Exclusive Blocks — The Best Gutenberg Blocks Collection
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin8,489 lines of code in 52 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 24 | 1,076 | 1,488 | 5,611 |
CSS | 9 | 176 | 46 | 1,679 |
JavaScript | 10 | 169 | 75 | 909 |
SVG | 9 | 1 | 0 | 290 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 40.42 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 85.00 |
Average method complexity | 4.45 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 12 | 100.00% |
▷ Final classes | 1 | 8.33% |
Methods | 137 | |
▷ Static methods | 38 | 27.74% |
▷ Public methods | 134 | 97.81% |
▷ Protected methods | 2 | 1.46% |
▷ Private methods | 1 | 0.73% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 13 | |
▷ Global constants | 12 | 92.31% |
▷ Class constants | 1 | 7.69% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin