Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.21MB] [CPU: ▼11.54ms] Passed 4 tests
A check of server-side resources used by Blog Blocks - Gutenberg Blocks for Content Writers
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.06 | 36.85 ▼2.29 |
Dashboard /wp-admin | 3.36 ▲0.05 | 47.68 ▼0.64 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 47.51 ▼1.41 |
Add New Post /wp-admin/post-new.php | 4.87 ▼1.02 | 55.36 ▼41.30 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 33.60 ▼1.14 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 23 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Blog Blocks - Gutenberg Blocks for Content Writers
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,876 ▲115 | 13.50 ▼1.07 | 7.46 ▲5.44 | 41.22 ▼6.19 |
Dashboard /wp-admin | 2,196 ▲22 | 5.56 ▼0.13 | 87.29 ▼0.65 | 41.10 ▲6.22 |
Posts /wp-admin/edit.php | 2,101 ▼2 | 2.00 ▲0.04 | 39.13 ▼3.95 | 34.26 ▼4.81 |
Add New Post /wp-admin/post-new.php | 6,366 ▲4,833 | 27.71 ▲4.46 | 859.73 ▲186.71 | 35.22 ▼18.27 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.23 ▲0.06 | 97.54 ▼6.54 | 42.69 ▼3.68 |
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
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/blog-blocks/public/partials/blog-blocks-public-display.php
- > /wp-content/plugins/blog-blocks/admin/partials/blog-blocks-admin-display.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
7 plugin tags: blocks, editor, gutenberg blocks, block, gutenberg...
blog-blocks/blog-blocks.php Passed 13 tests
This is the main PHP file of "Blog Blocks - Gutenberg Blocks for Content Writers" version 1.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
106 characters long description:
Blocks for content writers to make your articles more attractive to readers with elements such as infobox.
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
No dangerous file extensions were detected316 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 124 | 547 | 194 |
JavaScript | 3 | 9 | 63 | 80 |
CSS | 2 | 3 | 13 | 42 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.09 |
Average class complexity | 1.57 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.16 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 25 | |
▷ Static methods | 2 | 8.00% |
▷ Public methods | 20 | 80.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 20.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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
PNG images were not found in this plugin