Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲4.91MB] [CPU: ▲27.83ms] Passed 4 tests
An overview of server-side resources used by Extreme Blocks
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.55 ▲5.09 | 63.67 ▲23.93 |
Dashboard /wp-admin | 8.57 ▲5.27 | 77.70 ▲26.52 |
Posts /wp-admin/edit.php | 8.57 ▲5.22 | 85.35 ▲39.13 |
Add New Post /wp-admin/post-new.php | 9.95 ▲4.06 | 114.62 ▲21.75 |
Media Library /wp-admin/upload.php | 8.57 ▲5.34 | 77.60 ▲43.67 |
Freemius Debug [v.2.4.3] /wp-admin/admin.php?page=freemius | 8.57 | 63.24 |
Server storage [IO: ▲4.85MB] [DB: ▲0.02MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 393 new files
Database: no new tables, 12 new options
New WordPress options |
---|
exbl_options |
db_upgraded |
fs_active_plugins |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
exbl_activated |
fs_gdpr |
widget_recent-comments |
can_compress_scripts |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Extreme Blocks
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,845 ▲110 | 13.21 ▼1.01 | 4.40 ▲2.56 | 27.28 ▼14.16 |
Dashboard /wp-admin | 2,239 ▲51 | 5.85 ▲0.94 | 114.14 ▲9.34 | 47.11 ▲3.89 |
Posts /wp-admin/edit.php | 2,122 ▲33 | 2.02 ▼0.02 | 40.12 ▲1.22 | 38.79 ▲3.85 |
Add New Post /wp-admin/post-new.php | 6,634 ▲5,101 | 29.52 ▲6.31 | 896.65 ▲235.15 | 43.98 ▼12.80 |
Media Library /wp-admin/upload.php | 1,421 ▲33 | 4.23 ▲0.06 | 97.24 ▼3.54 | 45.76 ▼1.69 |
Freemius Debug [v.2.4.3] /wp-admin/admin.php?page=freemius | 1,065 | 1.71 | 23.13 | 26.51 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/extreme-blocks/freemius/includes/class-freemius.php+8575
Undefined property: stdClass::$plugins
- Zombie WordPress options were found after uninstall: 12 options
- fs_accounts
- widget_recent-comments
- fs_gdpr
- exbl_options
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- exbl_activated
- fs_debug_mode
- ...
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 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 67× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'DI\\Definition\\Resolver\\DefinitionResolver' not found in wp-content/plugins/extreme-blocks/vendor/php-di/php-di/src/Definition/Resolver/ObjectCreator.php:25
- > PHP Fatal error
Uncaught Error: Class 'ISS\\EXBL\\Models\\BlockEntity' not found in wp-content/plugins/extreme-blocks/inc/classes/block-entities/Container.php:10
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Container\\ContainerExceptionInterface' not found in wp-content/plugins/extreme-blocks/vendor/php-di/php-di/src/DependencyException.php:12
- > PHP Fatal error
Uncaught Error: Interface 'DI\\Definition\\Definition' not found in wp-content/plugins/extreme-blocks/vendor/php-di/php-di/src/Definition/InstanceDefinition.php:13
- > PHP Fatal error
Uncaught Error: Class 'DI\\Definition\\ArrayDefinition' not found in wp-content/plugins/extreme-blocks/vendor/php-di/php-di/src/Definition/ArrayDefinitionExtension.php:15
- > PHP Fatal error
Uncaught Error: Class 'ISS\\EXBL\\Abstracts\\BlockEntity' not found in wp-content/plugins/extreme-blocks/inc/classes/block-entities/Grid.php:8
- > PHP Fatal error
Uncaught Error: Interface 'Opis\\Closure\\ISecurityProvider' not found in wp-content/plugins/extreme-blocks/vendor/opis/closure/src/SecurityProvider.php:10
- > PHP Fatal error
Uncaught Error: Class 'DI\\Definition\\FactoryDefinition' not found in wp-content/plugins/extreme-blocks/vendor/php-di/php-di/src/Definition/DecoratorDefinition.php:13
- > PHP Fatal error
Uncaught Error: Class 'DI\\Definition\\Exception\\InvalidDefinition' not found in wp-content/plugins/extreme-blocks/vendor/php-di/php-di/src/Definition/Exception/InvalidAnnotation.php:12
- > PHP Fatal error
Uncaught Error: Interface 'Invoker\\ParameterResolver\\ParameterResolver' not found in wp-content/plugins/extreme-blocks/vendor/php-di/invoker/src/ParameterResolver/DefaultValueResolver.php:11
- > 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 Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: extreme, gutenberg, editor, blocks
extreme-blocks/extreme-blocks.php 85% from 13 tests
The main file in "Extreme Blocks" v. 0.8.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Domain Path: The domain path folder was not found ("/languages")
Code Analysis 95% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin43,795 lines of code in 327 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 262 | 9,637 | 19,034 | 39,822 |
CSS | 19 | 523 | 177 | 1,960 |
Markdown | 11 | 473 | 0 | 1,089 |
JSON | 11 | 0 | 0 | 508 |
JavaScript | 14 | 47 | 215 | 226 |
SVG | 8 | 0 | 3 | 157 |
XML | 2 | 9 | 3 | 33 |
PHP code 0% from 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
It is recommended to fix the following
- Please reduce cyclomatic complexity of classes to less than 1000 (currently 2,910)
- Cyclomatic complexity of methods should be reduced to less than 100 (currently 210)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.57 |
Average class complexity | 29.78 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 2,910.00 |
Average method complexity | 4.13 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 210.00 |
Code structure | ||
---|---|---|
Namespaces | 37 | |
Interfaces | 19 | |
Traits | 1 | |
Classes | 163 | |
▷ Abstract classes | 6 | 3.68% |
▷ Concrete classes | 157 | 96.32% |
▷ Final classes | 2 | 1.27% |
Methods | 1,746 | |
▷ Static methods | 221 | 12.66% |
▷ Public methods | 1,275 | 73.02% |
▷ Protected methods | 42 | 2.41% |
▷ Private methods | 429 | 24.57% |
Functions | 149 | |
▷ Named functions | 110 | 73.83% |
▷ Anonymous functions | 39 | 26.17% |
Constants | 137 | |
▷ Global constants | 103 | 75.18% |
▷ Class constants | 34 | 24.82% |
▷ Public constants | 32 | 94.12% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
7 PNG files occupy 0.09MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |
assets/imgs/blocks_container-settings.png | 15.40KB | 8.91KB | ▼ 42.13% |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
assets/imgs/blocks_main-settings.png | 19.72KB | 11.74KB | ▼ 40.47% |
freemius/assets/img/extreme-blocks.png | 9.16KB | 5.26KB | ▼ 42.58% |