Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲2.78MB] [CPU: ▲65.97ms] Passed 4 tests
A check of server-side resources used by Advanced Blocks Pro
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 6.30 ▲2.83 | 121.02 ▲82.10 |
Dashboard /wp-admin | 6.06 ▲2.71 | 128.57 ▲64.20 |
Posts /wp-admin/edit.php | 6.17 ▲2.81 | 107.41 ▲56.90 |
Add New Post /wp-admin/post-new.php | 9.96 ▲4.08 | 163.23 ▲60.66 |
Media Library /wp-admin/upload.php | 5.98 ▲2.75 | 115.97 ▲83.09 |
Server storage [IO: ▲8.67MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 1,076 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Advanced Blocks Pro
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,905 ▲159 | 13.51 ▼0.91 | 9.10 ▲7.49 | 43.53 ▲3.53 |
Dashboard /wp-admin | 2,210 ▲19 | 4.85 ▼1.03 | 108.32 ▲11.61 | 39.21 ▼2.00 |
Posts /wp-admin/edit.php | 2,093 ▲7 | 2.05 ▲0.05 | 33.88 ▼2.44 | 31.71 ▼0.62 |
Add New Post /wp-admin/post-new.php | 1,806 ▲292 | 30.84 ▲13.16 | 701.14 ▲30.22 | 34.43 ▼17.85 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.29 ▲0.10 | 101.61 ▼4.19 | 45.79 ▼1.16 |
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
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
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: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 326× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Warning
Use of undefined constant rsZWJ - assumed 'rsZWJ' (this will throw an Error in a future version of PHP) in wp-content/plugins/advanced-blocks-pro/vendor/lodash-php/lodash-php/src/internal/hasUnicode.php on line 15
- > PHP Fatal error
Uncaught Error: Class 'voku\\helper\\AbstractSimpleHtmlDomNode' not found in wp-content/plugins/advanced-blocks-pro/vendor/voku/simple_html_dom/src/voku/helper/SimpleHtmlDomNode.php:10
- > PHP Fatal error
Uncaught Error: Interface 'Symfony\\Component\\PropertyAccess\\Exception\\ExceptionInterface' not found in wp-content/plugins/advanced-blocks-pro/vendor/symfony/property-access/Exception/OutOfBoundsException.php:19
- > PHP Fatal error
Uncaught Error: Class 'Sabberworm\\CSS\\Value\\ValueList' not found in wp-content/plugins/advanced-blocks-pro/vendor/sabberworm/php-css-parser/src/Value/RuleValueList.php:5
- > PHP Fatal error
Uncaught Error: Class 'Symfony\\Component\\CssSelector\\XPath\\Extension\\AbstractExtension' not found in wp-content/plugins/advanced-blocks-pro/vendor/symfony/css-selector/XPath/Extension/HtmlExtension.php:29
- > PHP Fatal error
Uncaught Error: Interface 'Sabberworm\\CSS\\Property\\AtRule' not found in wp-content/plugins/advanced-blocks-pro/vendor/sabberworm/php-css-parser/src/Property/Charset.php:16
- > PHP Fatal error
Uncaught Error: Class 'Sabberworm\\CSS\\Value\\CSSFunction' not found in wp-content/plugins/advanced-blocks-pro/vendor/sabberworm/php-css-parser/src/Value/CalcFunction.php:9
- > PHP Fatal error
Uncaught Error: Class 'ScssPhp\\ScssPhp\\Formatter' not found in wp-content/plugins/advanced-blocks-pro/vendor/scssphp/scssphp/src/Formatter/Debug.php:26
- > PHP Fatal error
Uncaught Error: Class 'Symfony\\Component\\PropertyAccess\\Exception\\AccessException' not found in wp-content/plugins/advanced-blocks-pro/vendor/symfony/property-access/Exception/NoSuchPropertyException.php:19
- > PHP Fatal error
Uncaught Error: Class 'Sabberworm\\CSS\\Value\\PrimitiveValue' not found in wp-content/plugins/advanced-blocks-pro/vendor/sabberworm/php-css-parser/src/Value/Size.php:10
- > PHP Warning
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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Screenshots: No descriptions were found for these screenshots #1, #2, #3, #4, #5 in advanced-blocks-pro/assets to your readme.txt
advanced-blocks-pro/advanced-blocks-pro.php 85% from 13 tests
The entry point to "Advanced Blocks Pro" version 1.0.0 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Domain Path: Note that the domain path follows the same naming rules as the domain name, using only dashes and lowercase characters ("/languages languages folder path")
- Description: The description should be shorter than 140 characters (currently 369 characters long)
Code Analysis 0% from 3 tests
File types 0% from 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
Please fix the following items
- For security reasons, never distribute binary or executable files with your plugin
- .bat - Batch File in Windows
- ☣ wp-content/plugins/advanced-blocks-pro/vendor/bin/pscss.bat
- .bat - Batch File in Windows
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 688 | 10,577 | 22,017 | 51,307 |
JavaScript | 112 | 523 | 222 | 10,788 |
JSON | 80 | 4 | 0 | 10,025 |
SVG | 15 | 0 | 12 | 9,931 |
CSS | 38 | 3,670 | 60 | 8,138 |
Sass | 22 | 1,583 | 41 | 5,818 |
Markdown | 36 | 3,185 | 1 | 5,204 |
YAML | 4 | 24 | 1 | 133 |
XML | 2 | 3 | 0 | 40 |
DOS Batch | 1 | 0 | 0 | 5 |
PHP code 0% from 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Please tend to the following items
- Class cyclomatic complexity has to be reduced to less than 1000 (currently 1,493)
- Cyclomatic complexity of methods has to be reduced to less than 100 (currently 198)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 14.80 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1,493.00 |
Average method complexity | 3.64 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 198.00 |
Code structure | ||
---|---|---|
Namespaces | 59 | |
Interfaces | 40 | |
Traits | 1 | |
Classes | 394 | |
▷ Abstract classes | 20 | 5.08% |
▷ Concrete classes | 374 | 94.92% |
▷ Final classes | 39 | 10.43% |
Methods | 2,464 | |
▷ Static methods | 187 | 7.59% |
▷ Public methods | 1,925 | 78.12% |
▷ Protected methods | 360 | 14.61% |
▷ Private methods | 179 | 7.26% |
Functions | 527 | |
▷ Named functions | 343 | 65.09% |
▷ Anonymous functions | 184 | 34.91% |
Constants | 330 | |
▷ Global constants | 41 | 12.42% |
▷ Class constants | 289 | 87.58% |
▷ Public constants | 261 | 90.31% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin