Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.10MB] [CPU: ▼3.65ms] Passed 4 tests
Server-side resources used by Reusable Blocks Extended
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.11 | 38.69 ▼1.15 |
Dashboard /wp-admin | 3.40 ▲0.10 | 47.82 ▼0.46 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 48.83 ▲3.91 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 82.80 ▼12.13 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 37.28 ▼0.87 |
All Patterns /wp-admin/edit.php?post_type=wp_block | 3.38 | 36.91 |
Add New /wp-admin/post-new.php?post_type=wp_block | 5.99 | 81.02 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 8 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_reblex-widget |
Browser metrics Passed 4 tests
Checking browser requirements for Reusable Blocks Extended
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,833 ▲87 | 13.51 ▼0.92 | 1.75 ▼0.05 | 42.48 ▼2.55 |
Dashboard /wp-admin | 2,236 ▲62 | 5.16 ▲0.26 | 101.10 ▼16.06 | 41.99 ▼11.58 |
Posts /wp-admin/edit.php | 2,124 ▲53 | 2.34 ▲0.33 | 38.53 ▼1.35 | 33.91 ▼4.92 |
Add New Post /wp-admin/post-new.php | 1,553 ▲20 | 23.28 ▲0.20 | 685.13 ▲11.62 | 54.42 ▼2.00 |
Media Library /wp-admin/upload.php | 1,417 ▲32 | 4.44 ▲0.26 | 103.51 ▼1.36 | 41.85 ▼4.39 |
All Patterns /wp-admin/edit.php?post_type=wp_block | 1,154 | 6.80 | 151.12 | 27.37 |
Add New /wp-admin/post-new.php?post_type=wp_block | 6,276 | 22.72 | 789.04 | 39.43 |
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
These items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- widget_reblex-widget
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
Smoke tests Passed 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)
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
reusable-blocks-extended/reusable-blocks-extended.php Passed 13 tests
The main file in "Reusable Blocks Extended" v. 0.9.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
108 characters long description:
Extend Gutenberg Reusable Blocks feature with a complete admin panel, widgets, shortcodes and PHP functions.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected486 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 44 | 114 | 387 |
JavaScript | 1 | 6 | 2 | 50 |
CSS | 1 | 0 | 0 | 49 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 9.00 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 3.67 |
▷ Minimum method complexity | 3.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 19 | |
▷ Named functions | 18 | 94.74% |
▷ Anonymous functions | 1 | 5.26% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin