Benchmarks
Plugin footprint 29% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲10.67MB] [CPU: ▼235.29ms] 50% from 4 tests
Server-side resources used by Events Made Easy
Please take the time to fix the following items
- RAM: You should keep total memory usage under 10MB (currently 14.00MB on /wp-admin/admin.php?page=eme-formfields)
- Extra RAM: The extra memory usage must be under 5MB (currently 10.67MB on /wp-admin/admin.php?page=eme-formfields)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 14.19 ▲10.68 | 106.33 ▲54.69 |
Dashboard /wp-admin | 14.07 ▲10.66 | 87.00 ▲53.65 |
Posts /wp-admin/edit.php | 14.36 ▲10.72 | 89.58 ▲53.77 |
Add New Post /wp-admin/post-new.php | 17.60 ▲10.63 | 167.75 ▼1,103.28 |
Media Library /wp-admin/upload.php | 14.02 ▲10.72 | 94.74 ▲68.94 |
Categories /wp-admin/admin.php?page=eme-categories | 14.00 | 88.71 |
Pending Bookings /wp-admin/admin.php?page=eme-registration-approval | 14.00 | 76.91 |
Countries/states /wp-admin/admin.php?page=eme-countries | 14.00 | 73.27 |
Memberships /wp-admin/admin.php?page=eme-memberships | 14.03 | 76.95 |
Templates /wp-admin/admin.php?page=eme-templates | 14.00 | 73.49 |
Approved Bookings /wp-admin/admin.php?page=eme-registration-seats | 14.00 | 74.13 |
Cleanup actions /wp-admin/admin.php?page=eme-cleanup | 14.00 | 74.29 |
Email management /wp-admin/admin.php?page=eme-emails | 14.09 | 80.01 |
Groups /wp-admin/admin.php?page=eme-groups | 14.03 | 86.16 |
Custom Fields /wp-admin/admin.php?page=eme-formfields | 14.00 | 73.48 |
Server storage [IO: ▲21.19MB] [DB: ▲0.08MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 1,854 new files
Database: 24 new tables, 433 new options
New tables |
---|
wp_eme_payments |
wp_eme_memberships |
wp_eme_countries |
wp_eme_states |
wp_eme_templates |
wp_eme_attendances |
wp_eme_formfields |
wp_eme_categories |
wp_eme_events |
wp_eme_members |
... |
New WordPress options |
---|
eme_redir_protected_pages_url |
eme_braintree_button_label |
eme_cancel_payment_line_format |
eme_stay_on_edit_page |
eme_cap_categories |
eme_gdpr_approve_subject |
eme_massmail_popup |
eme_location_html_title_format |
eme_cancel_rsvp_age |
eme_sagepay_button_below |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Events Made Easy
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,087 ▲333 | 17.27 ▲1.24 | 18.42 ▲12.31 | 3.17 ▲0.43 |
Dashboard /wp-admin | 3,017 ▲156 | 6.02 ▼0.18 | 117.96 ▼26.66 | 180.62 ▲14.47 |
Posts /wp-admin/edit.php | 2,807 ▲119 | 3.13 ▼0.12 | 65.46 ▼0.05 | 144.49 ▲2.06 |
Add New Post /wp-admin/post-new.php | 1,977 ▲287 | 25.88 ▲4.98 | 469.12 ▲23.11 | 189.49 ▲28.95 |
Media Library /wp-admin/upload.php | 1,825 ▲127 | 5.55 ▲0.01 | 129.96 ▼12.53 | 205.26 ▲15.71 |
Categories /wp-admin/admin.php?page=eme-categories | 1,300 | 4.24 | 88.82 | 129.69 |
Pending Bookings /wp-admin/admin.php?page=eme-registration-approval | 2,405 | 5.77 | 121.26 | 178.73 |
Countries/states /wp-admin/admin.php?page=eme-countries | 1,287 | 4.50 | 65.70 | 137.10 |
Memberships /wp-admin/admin.php?page=eme-memberships | 1,817 | 7.03 | 124.65 | 149.23 |
Templates /wp-admin/admin.php?page=eme-templates | 1,703 | 5.19 | 101.28 | 141.67 |
Approved Bookings /wp-admin/admin.php?page=eme-registration-seats | 2,403 | 5.54 | 107.83 | 154.84 |
Cleanup actions /wp-admin/admin.php?page=eme-cleanup | 1,512 | 4.27 | 65.68 | 138.19 |
Email management /wp-admin/admin.php?page=eme-emails | 4,101 | 11.76 | 265.14 | 216.33 |
Groups /wp-admin/admin.php?page=eme-groups | 1,877 | 7.42 | 126.02 | 143.02 |
Custom Fields /wp-admin/admin.php?page=eme-formfields | 1,846 | 5.26 | 98.82 | 135.26 |
Uninstaller [IO: ▲21.18MB] [DB: ▲0.08MB] 0% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following itemsThe plugin did not uninstall successfully, leaving 24 tables in the database Zombie WordPress options detected upon uninstall: 434 options
- This plugin did not uninstall without warnings or errors
- > Compile error in wp-content/plugins/events-made-easy/events-manager.php+169
Cannot redeclare eme_plugin_row_meta() (previously declared in wp-content/plugins/events-made-easy/events-manager.php:169)
- Uninstaller has failed for this plugin, leaving 1,854 files (21.18MB) in the plugin directory
- (new file) css/jquery-ui-theme-smoothness-1.11.3/images/ui-bg_glass_95_fef1ec_1x400.png
- (new file) changelog.txt
- (new file) css/eme.css
- (new file) css/jquery-ui-theme-smoothness-1.11.3/images/ui-bg_glass_75_dadada_1x400.png
- (new file) cli_mail.php
- (new file) ExpressiveDate.php
- (new file) css/jquery-ui-theme-smoothness-1.11.3/images/ui-bg_glass_55_fbf9ee_1x400.png
- (new file) credits.txt
- (new file) css/jquery-ui-theme-smoothness-1.11.3/images/ui-bg_glass_65_ffffff_1x400.png
- (new file) css/jquery-ui-theme-smoothness-1.11.3/images/ui-bg_glass_75_e6e6e6_1x400.png
- ...
- wp_eme_states
- wp_eme_answers
- wp_eme_formfields
- wp_eme_mqueue
- wp_eme_countries
- wp_eme_task_signups
- wp_eme_events
- wp_eme_discounts
- wp_eme_people
- wp_eme_memberships
- ...
- eme_enable_notes_placeholders
- eme_stripe_cost
- eme_task_signup_format
- eme_registration_userpending_email_body
- eme_filter_form_format
- eme_rsvp_mail_SMTPAuth
- eme_legacypaypal_no_tax
- eme_mollie_cost2
- eme_backend_timeformat
- eme_localize_price
- ...
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 applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 84× PHP files perform the action of outputting non-empty strings when accessed directly (only 10 are shown):
- > /wp-content/plugins/events-made-easy/payment_gateways/Mollie/2.39.0/vendor/mollie/mollie-api-php/examples/payments/update-payment.php
- > /wp-content/plugins/events-made-easy/payment_gateways/stripe/stripe-php-7.75.0/build.php
- > /wp-content/plugins/events-made-easy/payment_gateways/Mollie/2.39.0/vendor/mollie/mollie-api-php/examples/profiles/create-profile.php
- > /wp-content/plugins/events-made-easy/payment_gateways/sagepay/api/lib/classes/token.php
- > /wp-content/plugins/events-made-easy/payment_gateways/Mollie/2.39.0/vendor/mollie/mollie-api-php/examples/customers/create-customer.php
- > /wp-content/plugins/events-made-easy/payment_gateways/sagepay/api/lib/classes/server_api.php
- > /wp-content/plugins/events-made-easy/payment_gateways/stripe/stripe-php-7.75.0/update_certs.php
- > /wp-content/plugins/events-made-easy/payment_gateways/Mollie/2.39.0/vendor/mollie/mollie-api-php/examples/mandates/revoke-mandate.php
- > /wp-content/plugins/events-made-easy/payment_gateways/paypal/samples/CaptureIntentExamples/RunAll.php
- > /wp-content/plugins/events-made-easy/payment_gateways/Mollie/2.39.0/vendor/mollie/mollie-api-php/examples/payments/refund-payment.php
- 875× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Doctrine\\Common\\Cache\\CacheProvider' not found in wp-content/plugins/events-made-easy/payment_gateways/mercadopago/2.3.0/vendor/doctrine/cache/lib/Doctrine/Common/Cache/RedisCache.php:24
- > PHP Fatal error
Uncaught Error: Class 'Dompdf\\Positioner\\AbstractPositioner' not found in wp-content/plugins/events-made-easy/dompdf/1.2.0/src/Positioner/ListBullet.php:20
- > PHP Fatal error
require_once(): Failed opening required 'vendor/autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/events-made-easy/payment_gateways/mercadopago/2.3.0/vendor/mercadopago/dx-php/samples/index.php on line 3
- > PHP Fatal error
Uncaught Error: Class 'Braintree\\Instance' not found in wp-content/plugins/events-made-easy/payment_gateways/braintree/braintree_php-6.6.0/lib/Braintree/MerchantAccount/FundingDetails.php:12
- > PHP Fatal error
Uncaught Error: Class 'Doctrine\\Common\\Collections\\Expr\\ExpressionVisitor' not found in wp-content/plugins/events-made-easy/payment_gateways/mercadopago/2.3.0/vendor/doctrine/collections/lib/Doctrine/Common/Collections/Expr/ClosureExpressionVisitor.php:26
- > PHP Fatal error
Uncaught Error: Class 'Sabberworm\\CSS\\Value\\CSSFunction' not found in wp-content/plugins/events-made-easy/dompdf/1.2.0/lib/php-css-parser/src/Value/CalcFunction.php:9
- > PHP Fatal error
Uncaught Error: Class 'MercadoPago\\Entity' not found in wp-content/plugins/events-made-easy/payment_gateways/mercadopago/2.3.0/vendor/mercadopago/dx-php/src/MercadoPago/Entities/InstoreOrder.php:14
- > PHP Fatal error
Uncaught Error: Interface 'Doctrine\\Common\\Collections\\Expr\\Expression' not found in wp-content/plugins/events-made-easy/payment_gateways/mercadopago/2.3.0/vendor/doctrine/collections/lib/Doctrine/Common/Collections/Expr/Value.php:5
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\Service\\AbstractService' not found in wp-content/plugins/events-made-easy/payment_gateways/stripe/stripe-php-7.75.0/lib/Service/Terminal/ConnectionTokenService.php:7
- > PHP Fatal error
Uncaught Error: Class 'Mollie\\Api\\Endpoints\\CollectionEndpointAbstract' not found in wp-content/plugins/events-made-easy/payment_gateways/Mollie/2.39.0/vendor/mollie/mollie-api-php/src/Endpoints/ShipmentEndpoint.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
8 plugin tags: events, maps, payment gateways, drip content, locations...
events-made-easy/events-manager.php 85% from 13 tests
The principal PHP file in "Events Made Easy" v. 2.2.69 is loaded by WordPress automatically on each request
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("events-made-easy.php" instead of "events-manager.php")
- Description: Keep the plugin description shorter than 140 characters (currently 156 characters long)
Code Analysis 3% from 3 tests
File types 0% from 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
It is important to fix the following items
- Do not distribute dangerous files with your plugin
- .crt - Security Certificate in Firefox, IE, Chrome, Safari
- ☣ wp-content/plugins/events-made-easy/payment_gateways/braintree/braintree_php-6.6.0/lib/ssl/api_braintreegateway_com.ca.crt
- ☣ wp-content/plugins/events-made-easy/payment_gateways/stripe/stripe-php-7.75.0/data/ca-certificates.crt
- .crt - Security Certificate in Firefox, IE, Chrome, Safari
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1,267 | 25,239 | 60,050 | 138,216 |
JavaScript | 158 | 4,703 | 2,787 | 24,494 |
CSS | 52 | 382 | 262 | 11,963 |
Markdown | 43 | 1,729 | 0 | 4,256 |
JSON | 42 | 4 | 0 | 2,481 |
LESS | 20 | 374 | 97 | 1,760 |
reStructuredText | 13 | 568 | 705 | 670 |
XML | 6 | 22 | 17 | 230 |
YAML | 11 | 34 | 1 | 196 |
SVG | 2 | 2 | 0 | 54 |
Bourne Shell | 1 | 7 | 5 | 36 |
make | 1 | 9 | 0 | 27 |
HTML | 1 | 0 | 0 | 17 |
INI | 1 | 0 | 0 | 3 |
Ruby | 1 | 0 | 0 | 2 |
PHP code 50% from 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Please tend to the following items
- Method cyclomatic complexity should be reduced to less than 100 (currently 651)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 10.37 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 809.00 |
Average method complexity | 2.62 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 651.00 |
Code structure | ||
---|---|---|
Namespaces | 139 | |
Interfaces | 70 | |
Traits | 11 | |
Classes | 1,070 | |
▷ Abstract classes | 59 | 5.51% |
▷ Concrete classes | 1,011 | 94.49% |
▷ Final classes | 47 | 4.65% |
Methods | 6,844 | |
▷ Static methods | 1,142 | 16.69% |
▷ Public methods | 5,717 | 83.53% |
▷ Protected methods | 683 | 9.98% |
▷ Private methods | 444 | 6.49% |
Functions | 1,322 | |
▷ Named functions | 1,236 | 93.49% |
▷ Anonymous functions | 86 | 6.51% |
Constants | 2,304 | |
▷ Global constants | 230 | 9.98% |
▷ Class constants | 2,074 | 90.02% |
▷ Public constants | 2,052 | 98.94% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
68 PNG files occupy 0.34MB with 0.21MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/denied-48.png | 3.72KB | 2.67KB | ▼ 28.31% |
css/jquery-ui-theme-smoothness-1.11.3/images/ui-bg_glass_95_fef1ec_1x400.png | 0.32KB | 0.15KB | ▼ 54.82% |
js/jtable-2.5.0/themes/basic/close.png | 3.27KB | 0.50KB | ▼ 84.78% |
images/payment_gateways/payconiq/logo.png | 6.20KB | 3.10KB | ▼ 50.02% |
js/jtable-2.5.0/themes/metro/delete.png | 3.09KB | 0.26KB | ▼ 91.51% |