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.06MB] [CPU: ▼5.15ms] Passed 4 tests
An overview of server-side resources used by EventAgent.ai
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 36.01 ▼3.85 |
Dashboard /wp-admin | 3.37 ▲0.07 | 44.74 ▼6.70 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 46.34 ▲1.97 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 83.55 ▼9.19 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 34.36 ▼0.84 |
Events /wp-admin/admin.php?page=ea-events | 3.46 | 34.54 |
Venues /wp-admin/admin.php?page=ea-venues | 3.34 | 29.28 |
Speakers /wp-admin/admin.php?page=ea-speakers | 3.33 | 31.27 |
Carousels /wp-admin/admin.php?page=ea-carousels | 3.33 | 31.58 |
Forms /wp-admin/admin.php?page=ea-forms | 3.34 | 31.31 |
Customers /wp-admin/admin.php?page=ea-customers | 3.33 | 30.39 |
Coupons /wp-admin/admin.php?page=ea-coupons | 3.32 | 31.43 |
Registrations /wp-admin/admin.php?page=ea-registrations | 3.41 | 26.45 |
Categories /wp-admin/admin.php?page=ea-categories | 3.33 | 30.58 |
Server storage [IO: ▲4.68MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 258 new files
Database: no new tables, 10 new options
New WordPress options |
---|
EVENT_AGENT_ADMIN_KEY |
widget_recent-posts |
EVENT_AGENT_PUBLIC_KEY |
EVENT_AGENT_URL |
EVENT_AGENT_CONFIG_KEY |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for EventAgent.ai
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,904 ▲143 | 14.35 ▲0.00 | 1.98 ▲0.30 | 41.84 ▲3.32 |
Dashboard /wp-admin | 2,288 ▲114 | 5.62 ▼0.01 | 82.90 ▼5.42 | 37.38 ▼6.13 |
Posts /wp-admin/edit.php | 2,190 ▲90 | 1.97 ▼0.05 | 35.35 ▲1.67 | 32.62 ▼5.28 |
Add New Post /wp-admin/post-new.php | 1,602 ▲76 | 23.43 ▼0.31 | 648.60 ▼26.98 | 53.68 ▼6.76 |
Media Library /wp-admin/upload.php | 1,490 ▲93 | 4.21 ▼0.08 | 91.77 ▼7.58 | 41.14 ▼3.97 |
Events /wp-admin/admin.php?page=ea-events | 980 | 9.00 | 623.31 | 102.81 |
Venues /wp-admin/admin.php?page=ea-venues | 1,180 | 9.13 | 331.79 | 33.81 |
Speakers /wp-admin/admin.php?page=ea-speakers | 1,249 | 9.57 | 177.08 | 46.83 |
Carousels /wp-admin/admin.php?page=ea-carousels | 1,189 | 8.47 | 172.83 | 39.75 |
Forms /wp-admin/admin.php?page=ea-forms | 1,189 | 8.70 | 176.83 | 65.67 |
Customers /wp-admin/admin.php?page=ea-customers | 1,275 | 9.38 | 163.12 | 41.52 |
Coupons /wp-admin/admin.php?page=ea-coupons | 1,234 | 9.14 | 162.29 | 42.82 |
Registrations /wp-admin/admin.php?page=ea-registrations | 1,518 | 12.02 | 187.74 | 48.94 |
Categories /wp-admin/admin.php?page=ea-categories | 1,174 | 8.95 | 172.85 | 37.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Zombie WordPress options were found after uninstall: 9 options
- widget_recent-posts
- EVENT_AGENT_CONFIG_KEY
- EVENT_AGENT_ADMIN_KEY
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- EVENT_AGENT_PUBLIC_KEY
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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
- 4× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/event-agent/vendor/stripe/stripe-php/build.php
- > /wp-content/plugins/event-agent/vendor/stripe/stripe-php/update_certs.php
- > /wp-content/plugins/event-agent/public/partials/carousel.php
- > /wp-content/plugins/event-agent/public/partials/venue.php
- 146× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\Exception\\ApiErrorException' not found in wp-content/plugins/event-agent/vendor/stripe/stripe-php/lib/Exception/InvalidRequestException.php:9
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\ApiResource' not found in wp-content/plugins/event-agent/vendor/stripe/stripe-php/lib/Dispute.php:32
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\ApiResource' not found in wp-content/plugins/event-agent/vendor/stripe/stripe-php/lib/FileLink.php:20
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\ApiResource' not found in wp-content/plugins/event-agent/vendor/stripe/stripe-php/lib/File.php:27
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/event-agent/public/partials/card.php:32
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\StripeObject' not found in wp-content/plugins/event-agent/vendor/stripe/stripe-php/lib/OAuthErrorObject.php:11
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\ApiResource' not found in wp-content/plugins/event-agent/vendor/stripe/stripe-php/lib/Issuing/Dispute.php:19
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\ApiResource' not found in wp-content/plugins/event-agent/vendor/stripe/stripe-php/lib/Invoice.php:103
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/event-agent/public/partials/registration.php:30
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\ApiResource' not found in wp-content/plugins/event-agent/vendor/stripe/stripe-php/lib/CreditNoteLineItem.php:20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Tags: Please delete some tags, you are using 18 tag instead of maximum 10
event-agent/event-agent.php 85% from 13 tests
"EventAgent.ai" version 4.3.9's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Requires at least: The required version number must match the one declared in readme.txt ("4.6" instead of "5.0")
- Description: Please keep the plugin description shorter than 140 characters (currently 144 characters long)
Code Analysis 5% from 3 tests
File types 0% from 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Please fix the following items
- Even if your plugin relies on executable files (for example a companion app), never distribute executable files with your plugin
- .crt - Security Certificate in Firefox, IE, Chrome, Safari
- ☣ wp-content/plugins/event-agent/vendor/stripe/stripe-php/data/ca-certificates.crt
- .crt - Security Certificate in Firefox, IE, Chrome, Safari
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 9 | 2,987 | 48 | 13,145 |
PHP | 173 | 1,465 | 5,024 | 8,856 |
JavaScript | 49 | 1,008 | 171 | 8,210 |
PO File | 2 | 964 | 1,258 | 2,470 |
Markdown | 3 | 611 | 0 | 897 |
JSON | 1 | 0 | 0 | 48 |
XML | 1 | 0 | 0 | 31 |
make | 1 | 9 | 0 | 27 |
YAML | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
Average class complexity | 3.90 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 60.00 |
Average method complexity | 2.08 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 16 | |
Interfaces | 5 | |
Traits | 7 | |
Classes | 130 | |
▷ Abstract classes | 8 | 6.15% |
▷ Concrete classes | 122 | 93.85% |
▷ Final classes | 0 | 0.00% |
Methods | 372 | |
▷ Static methods | 158 | 42.47% |
▷ Public methods | 323 | 86.83% |
▷ Protected methods | 15 | 4.03% |
▷ Private methods | 34 | 9.14% |
Functions | 30 | |
▷ Named functions | 4 | 13.33% |
▷ Anonymous functions | 26 | 86.67% |
Constants | 641 | |
▷ Global constants | 3 | 0.47% |
▷ Class constants | 638 | 99.53% |
▷ Public constants | 638 | 100.00% |
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
There are no PNG files in this plugin