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.73MB] [CPU: ▲3.14ms] Passed 4 tests
Analyzing server-side resources used by Magazine Blocks by BlockArt – Gutenberg Editor, Magazine & Newspaper Website Builder, Page Builder with Posts Blocks
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.25 ▲0.79 | 50.59 ▲12.82 |
Dashboard /wp-admin | 4.03 ▲0.69 | 60.40 ▼0.39 |
Posts /wp-admin/edit.php | 4.08 ▲0.73 | 51.02 ▲5.41 |
Add New Post /wp-admin/post-new.php | 6.68 ▲0.79 | 94.23 ▼5.27 |
Media Library /wp-admin/upload.php | 3.96 ▲0.73 | 46.85 ▲14.56 |
Server storage [IO: ▲3.58MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 175 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
_magazine_blocks_version |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Magazine Blocks by BlockArt – Gutenberg Editor, Magazine & Newspaper Website Builder, Page Builder with Posts Blocks
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,034 ▲272 | 13.89 ▼0.46 | 12.28 ▲10.60 | 41.94 ▼5.77 |
Dashboard /wp-admin | 2,305 ▲124 | 5.64 ▼0.08 | 98.97 ▼7.77 | 56.01 ▲14.53 |
Posts /wp-admin/edit.php | 2,216 ▲113 | 2.13 ▲0.18 | 36.88 ▼6.10 | 45.13 ▲7.85 |
Add New Post /wp-admin/post-new.php | 1,745 ▲219 | 23.59 ▲0.60 | 717.05 ▲118.42 | 38.60 ▼11.69 |
Media Library /wp-admin/upload.php | 1,518 ▲118 | 4.22 ▼0.01 | 97.96 ▲1.56 | 52.74 ▲11.68 |
Settings /wp-admin/admin.php?page=magazine-blocks#/settings | 954 | 6.52 | 159.34 | 27.32 |
Getting Started /wp-admin/admin.php?page=magazine-blocks#/getting-started | 931 | 6.38 | 69.47 | 25.11 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- _magazine_blocks_version
- db_upgraded
- can_compress_scripts
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)
Even though no errors were found, this is by no means an exhaustive test
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
- 100× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/magazine-blocks/vendor/composer/installers/src/Composer/Installers/MODULEWorkInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/magazine-blocks/vendor/composer/installers/src/Composer/Installers/FuelphpInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/magazine-blocks/vendor/composer/installers/src/Composer/Installers/DokuWikiInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/magazine-blocks/vendor/composer/installers/src/Composer/Installers/ShopwareInstaller.php:8
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/magazine-blocks/vendor/composer/installers/src/Composer/Installers/CockpitInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/magazine-blocks/vendor/composer/installers/src/Composer/Installers/AnnotateCmsInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/magazine-blocks/vendor/composer/installers/src/Composer/Installers/MagentoInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/magazine-blocks/vendor/composer/installers/src/Composer/Installers/KirbyInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/magazine-blocks/vendor/composer/installers/src/Composer/Installers/BonefishInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/magazine-blocks/vendor/composer/installers/src/Composer/Installers/DrupalInstaller.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Screenshots: Add descriptions for screenshots #1, #10, #11, #2, #3, #4, #5, #6, #7, #8, #9 in magazine-blocks/assets to your readme.txt
magazine-blocks/magazine-blocks.php 92% from 13 tests
Analyzing the main PHP file in "Magazine Blocks by BlockArt – Gutenberg Editor, Magazine & Newspaper Website Builder, Page Builder with Posts Blocks" version 1.2.7
It is important to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 195 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected54,735 lines of code in 157 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 8 | 5,979 | 3,161 | 48,346 |
PHP | 128 | 998 | 1,462 | 5,262 |
CSS | 3 | 18 | 0 | 640 |
JSON | 18 | 1 | 0 | 487 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 6.53 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 345.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 40.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 0 | |
Traits | 1 | |
Classes | 117 | |
▷ Abstract classes | 1 | 0.85% |
▷ Concrete classes | 116 | 99.15% |
▷ Final classes | 3 | 2.59% |
Methods | 212 | |
▷ Static methods | 62 | 29.25% |
▷ Public methods | 138 | 65.09% |
▷ Protected methods | 41 | 19.34% |
▷ Private methods | 33 | 15.57% |
Functions | 33 | |
▷ Named functions | 14 | 42.42% |
▷ Anonymous functions | 19 | 57.58% |
Constants | 13 | |
▷ Global constants | 8 | 61.54% |
▷ Class constants | 5 | 38.46% |
▷ Public constants | 5 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/placeholder-150x150.png | 2.11KB | 1.16KB | ▼ 44.98% |