Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.65MB] [CPU: ▼2.26ms] Passed 4 tests
An overview of server-side resources used by Blaze CSS
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.09 ▲0.63 | 39.70 ▼3.72 |
Dashboard /wp-admin | 3.95 ▲0.64 | 50.47 ▼5.17 |
Posts /wp-admin/edit.php | 4.06 ▲0.71 | 54.37 ▲7.29 |
Add New Post /wp-admin/post-new.php | 6.55 ▲0.66 | 85.82 ▼3.41 |
Media Library /wp-admin/upload.php | 3.87 ▲0.64 | 40.75 ▲3.27 |
Blaze /wp-admin/options-general.php?page=blaze-settings | 3.84 | 35.85 |
Server storage [IO: ▲5.24MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 1,565 new files
Database: 2 new tables, 8 new options
New tables |
---|
wp_blaze_logs |
wp_blaze_elements |
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
blaze_db_version |
blaze_plugin_options |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Blaze CSS
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,834 ▲88 | 14.46 ▲0.06 | 1.94 ▲0.07 | 41.49 ▼8.56 |
Dashboard /wp-admin | 2,215 ▲27 | 4.87 ▼1.06 | 103.83 ▼15.43 | 39.44 ▼4.21 |
Posts /wp-admin/edit.php | 2,098 ▲9 | 2.04 ▲0.02 | 35.87 ▼0.84 | 32.06 ▼4.24 |
Add New Post /wp-admin/post-new.php | 1,540 ▲26 | 23.54 ▲6.08 | 685.02 ▲2.63 | 52.48 ▼6.32 |
Media Library /wp-admin/upload.php | 1,397 ▲9 | 4.20 ▲0.02 | 104.76 ▲6.32 | 42.96 ▼3.54 |
Blaze /wp-admin/options-general.php?page=blaze-settings | 859 | 2.04 | 28.54 | 29.49 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- The uninstall procedure failed, leaving 2 tables in the database
- wp_blaze_elements
- wp_blaze_logs
- Zombie WordPress options detected upon uninstall: 8 options
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- blaze_plugin_options
- widget_theysaidso_widget
- widget_recent-posts
- blaze_db_version
- can_compress_scripts
Smoke tests 50% 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 0% 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
- 4× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/blaze-css/vendor/nikic/php-parser/grammar/rebuildParsers.php
- > /wp-content/plugins/blaze-css/templates/sections/generate_csv_settings.php
- > /wp-content/plugins/blaze-css/templates/sections/general_settings.php
- > /wp-content/plugins/blaze-css/vendor/sabberworm/php-css-parser/tests/quickdump.php
- 864× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'PharIo\\Manifest\\ManifestElement' not found in wp-content/plugins/blaze-css/vendor/phar-io/manifest/src/xml/RequiresElement.php:12
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\MockObject\\Rule\\InvocationOrder' not found in wp-content/plugins/blaze-css/vendor/phpunit/phpunit/src/Framework/MockObject/Rule/InvokedAtLeastCount.php:18
- > PHP Fatal error
Uncaught Error: Interface 'phpDocumentor\\Reflection\\Type' not found in wp-content/plugins/blaze-css/vendor/phpdocumentor/type-resolver/src/Types/Nullable.php:23
- > PHP Fatal error
Uncaught Error: Class 'PhpParser\ode\\Expr\\BinaryOp' not found in wp-content/plugins/blaze-css/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/NotIdentical.php:7
- > PHP Fatal error
Uncaught Error: Class 'PharIo\\Manifest\\ManifestElement' not found in wp-content/plugins/blaze-css/vendor/phar-io/manifest/src/xml/ExtensionElement.php:12
- > PHP Fatal error
Uncaught Error: Interface 'DeepCopy\\Matcher\\Matcher' not found in wp-content/plugins/blaze-css/vendor/myclabs/deep-copy/src/DeepCopy/Matcher/PropertyTypeMatcher.php:16
- > PHP Fatal error
Uncaught Error: Class 'PhpParser\ode\\Expr' not found in wp-content/plugins/blaze-css/vendor/nikic/php-parser/lib/PhpParser/Node/Expr/Print_.php:7
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\Exception' not found in wp-content/plugins/blaze-css/vendor/phpunit/phpunit/src/Framework/Exception/ComparisonMethodDoesNotAcceptParameterTypeException.php:18
- > PHP Fatal error
Uncaught Error: Class 'PhpParser\ode\\Stmt' not found in wp-content/plugins/blaze-css/vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/StaticVar.php:8
- > PHP Fatal error
Uncaught Error: Class 'PhpParser\odeAbstract' not found in wp-content/plugins/blaze-css/vendor/nikic/php-parser/lib/PhpParser/Node/Expr.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
7 plugin tags: tailwind, lighthouse, css optimization, pagespeed, purifycss...
blaze-css/blaze-css.php 92% from 13 tests
"Blaze CSS" version 1.1.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected89,955 lines of code in 1,460 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1,256 | 16,398 | 31,832 | 77,121 |
Markdown | 68 | 1,981 | 0 | 4,189 |
JSON | 42 | 15 | 0 | 4,186 |
yacc | 3 | 316 | 12 | 1,949 |
XSD | 3 | 0 | 0 | 962 |
YAML | 16 | 150 | 7 | 790 |
CSS | 46 | 73 | 22 | 415 |
XML | 14 | 11 | 2 | 200 |
JavaScript | 8 | 12 | 15 | 110 |
reStructuredText | 2 | 23 | 18 | 31 |
SVG | 2 | 0 | 0 | 2 |
PHP code 50% from 2 tests
A short review of cyclomatic complexity and code structure
Please tend to the following items
- Method cyclomatic complexity has to be reduced to less than 100 (currently 144)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 7.27 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 227.00 |
Average method complexity | 2.34 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 144.00 |
Code structure | ||
---|---|---|
Namespaces | 136 | |
Interfaces | 102 | |
Traits | 7 | |
Classes | 1,120 | |
▷ Abstract classes | 56 | 5.00% |
▷ Concrete classes | 1,064 | 95.00% |
▷ Final classes | 497 | 46.71% |
Methods | 5,753 | |
▷ Static methods | 777 | 13.51% |
▷ Public methods | 4,607 | 80.08% |
▷ Protected methods | 540 | 9.39% |
▷ Private methods | 606 | 10.53% |
Functions | 1,484 | |
▷ Named functions | 250 | 16.85% |
▷ Anonymous functions | 1,234 | 83.15% |
Constants | 558 | |
▷ Global constants | 6 | 1.08% |
▷ Class constants | 552 | 98.92% |
▷ Public constants | 502 | 90.94% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.05MB with 0.03MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/banner-772x250.png | 46.61KB | 20.07KB | ▼ 56.93% |
assets/icon-256x256.png | 8.91KB | 4.61KB | ▼ 48.25% |