Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.45MB] [CPU: ▼2.69ms] Passed 4 tests
An overview of server-side resources used by Ezpizee Connector
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.76 ▲0.30 | 40.29 ▼8.04 |
Dashboard /wp-admin | 3.80 ▲0.50 | 49.83 ▼2.89 |
Posts /wp-admin/edit.php | 3.85 ▲0.49 | 51.23 ▲2.51 |
Add New Post /wp-admin/post-new.php | 6.39 ▲0.51 | 97.79 ▼2.34 |
Media Library /wp-admin/upload.php | 3.72 ▲0.49 | 40.22 ▲3.69 |
Ezpizee /wp-admin/options-general.php?page=ezpizee_install | 3.70 | 35.75 |
Server storage [IO: ▲1.74MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 418 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
widget_ezpizee_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Ezpizee Connector
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲62 | 13.17 ▼1.23 | 4.28 ▲2.39 | 41.86 ▲0.04 |
Dashboard /wp-admin | 2,217 ▲26 | 4.86 ▼1.04 | 108.19 ▲9.80 | 44.96 ▲1.24 |
Posts /wp-admin/edit.php | 2,097 ▲11 | 2.01 ▼0.04 | 38.48 ▲2.49 | 34.90 ▼1.73 |
Add New Post /wp-admin/post-new.php | 1,521 ▼7 | 23.06 ▼0.17 | 594.39 ▼14.57 | 49.34 ▼7.15 |
Media Library /wp-admin/upload.php | 1,396 ▲5 | 4.28 ▲0.08 | 96.50 ▲0.62 | 40.59 ▼3.28 |
Ezpizee /wp-admin/options-general.php?page=ezpizee_install | 887 | 2.07 | 25.48 | 26.49 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Zombie WordPress options detected upon uninstall: 7 options
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- widget_ezpizee_widget
- theysaidso_admin_options
Smoke tests 50% 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)
Everything seems fine, however this is by no means 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
The following issues need your attention
- 5× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/ezpizee/ezpzlib/vendor/masterminds/html5/bin/entities.php
- > /wp-content/plugins/ezpizee/asset/html/bail-on-activation.php
- > /wp-content/plugins/ezpizee/ezpizee.php
- > /wp-content/plugins/ezpizee/index.php
- > /wp-content/plugins/ezpizee/asset/html/install.php
- 143× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'Handlebars\\Helper' not found in wp-content/plugins/ezpizee/ezpzlib/vendor/webconsol/php-hbs-helpers/src/Handlebars/Helpers/DateHelper.php:9
- > PHP Fatal error
Uncaught Error: Interface 'Handlebars\\Helper' not found in wp-content/plugins/ezpizee/ezpzlib/vendor/webconsol/php-hbs-helpers/src/Handlebars/Helpers/RequireHelper.php:9
- > PHP Fatal error
Uncaught Error: Interface 'Lcobucci\\JWT\\Validator' not found in wp-content/plugins/ezpizee/ezpzlib/vendor/lcobucci/jwt/src/Validation/Validator.php:7
- > PHP Fatal error
Uncaught Error: Class 'EzpizeeWordPress\\ContextProcessors\\BaseContextProcessor' not found in wp-content/plugins/ezpizee/lib/src/EzpizeeWordPress/ContextProcessors/AuthenticatedUser/ContextProcessor.php:7
- > PHP Fatal error
Uncaught Error: Class 'Lcobucci\\JWT\\Signer\\Hmac' not found in wp-content/plugins/ezpizee/ezpzlib/vendor/lcobucci/jwt/src/Signer/Hmac/Sha256.php:18
- > PHP Fatal error
Uncaught Error: Class 'Lcobucci\\JWT\\Signer\\Ecdsa' not found in wp-content/plugins/ezpizee/ezpzlib/vendor/lcobucci/jwt/src/Signer/Ecdsa/Sha512.php:18
- > PHP Fatal error
Uncaught Error: Class 'Lcobucci\\JWT\\Signer\\Hmac' not found in wp-content/plugins/ezpizee/ezpzlib/vendor/lcobucci/jwt/src/Signer/Hmac/Sha512.php:18
- > PHP Fatal error
Uncaught Error: Class 'SendGrid\\Mail\\EmailAddress' not found in wp-content/plugins/ezpizee/ezpzlib/vendor/sendgrid/sendgrid/lib/mail/Bcc.php:13
- > PHP Fatal error
Uncaught Error: Class 'Handlebars\\Processors\\Processor' not found in wp-content/plugins/ezpizee/ezpzlib/vendor/webconsol/php-hbs-helpers/src/Handlebars/Processors/GX2CMS.php:21
- > PHP Fatal error
Uncaught Error: Interface 'Handlebars\\Helper' not found in wp-content/plugins/ezpizee/ezpzlib/vendor/webconsol/php-hbs-helpers/src/Handlebars/Helpers/IfNotHelper.php:10
- > PHP Fatal error
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)
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
2 plugin tags: e-commerce, saas
ezpizee/ezpizee.php Passed 13 tests
The primary PHP file in "Ezpizee Connector" version 0.0.3 is used by WordPress to initiate all plugin functionality
102 characters long description:
For accessing Ezpizee Portal right inside WordPress and integrating Ezpizee e-commerce with WordPress.
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected38,097 lines of code in 401 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 354 | 5,554 | 13,649 | 35,476 |
JSON | 22 | 0 | 0 | 1,385 |
Markdown | 20 | 515 | 0 | 1,192 |
XML | 1 | 0 | 2 | 19 |
JavaScript | 1 | 0 | 0 | 9 |
Bourne Shell | 1 | 2 | 0 | 7 |
Handlebars | 1 | 0 | 0 | 5 |
CSS | 1 | 0 | 0 | 4 |
PHP code 50% from 2 tests
A short review of cyclomatic complexity and code structure
The following items need your attention
- Method cyclomatic complexity has to be reduced to less than 100 (currently 104)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 14.12 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 470.00 |
Average method complexity | 3.22 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 104.00 |
Code structure | ||
---|---|---|
Namespaces | 59 | |
Interfaces | 19 | |
Traits | 0 | |
Classes | 388 | |
▷ Abstract classes | 20 | 5.15% |
▷ Concrete classes | 368 | 94.85% |
▷ Final classes | 54 | 14.67% |
Methods | 2,483 | |
▷ Static methods | 466 | 18.77% |
▷ Public methods | 1,844 | 74.27% |
▷ Protected methods | 446 | 17.96% |
▷ Private methods | 193 | 7.77% |
Functions | 41 | |
▷ Named functions | 3 | 7.32% |
▷ Anonymous functions | 38 | 92.68% |
Constants | 322 | |
▷ Global constants | 14 | 4.35% |
▷ Class constants | 308 | 95.65% |
▷ Public constants | 308 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to 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 |
asset/images/favicon-32x32.png | 1.89KB | 1.46KB | ▼ 22.72% |