Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
You still need to fix the following installer errors
- Install procedure had errors
- > Error in wp-content/plugins/events-manager-wpml/em-wpml-admin.php+403
Uncaught Error: Class 'EM_Admin_Notice' not found in wp-content/plugins/events-manager-wpml/em-wpml-admin.php:403
Stack trace:
#0 wp-content/plugins/events-manager-wpml/events-manager-wpml.php(498): EM_WPML_Admin::update()
#1 wp-includes/class-wp-hook.php(310): em_wpml_activate()
#2 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#3 wp-includes/plugin.php(517): WP_Hook->do_action()
#4 wp-admin/includes/plugin.php(693): do_action()
Server metrics [RAM: ▼0.01MB] [CPU: ▼13.96ms] Passed 4 tests
This is a short check of server-side resources used by Events Manager and WPML Compatibility
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 41.90 ▲2.79 |
Dashboard /wp-admin | 3.31 ▼0.04 | 44.34 ▼16.78 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.56 ▼3.51 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 79.05 ▼37.73 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.29 ▲2.20 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Events Manager and WPML Compatibility: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 14.48 ▼0.11 | 1.64 ▲0.08 | 38.56 ▼2.04 |
Dashboard /wp-admin | 2,206 ▲15 | 4.85 ▼1.05 | 111.35 ▲8.28 | 41.87 ▼1.37 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.03 ▲0.02 | 35.02 ▼0.89 | 29.88 ▼2.13 |
Add New Post /wp-admin/post-new.php | 1,533 ▼9 | 23.28 ▲5.00 | 658.36 ▲51.57 | 66.54 ▲7.79 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.20 ▼0.04 | 94.40 ▼5.13 | 38.74 ▼7.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% 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× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/events-manager-wpml/em-wpml-admin.php:409
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/events-manager-wpml/em-wpml-io.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/events-manager-wpml/events-manager-wpml.php:487
- > PHP Fatal error
Uncaught Error: Call to undefined function remove_filter() in wp-content/plugins/events-manager-wpml/em-wpml-permalinks.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that require attention:
- Tags: You are using too many tags: 11 tag instead of maximum 10
events-manager-wpml/events-manager-wpml.php Passed 13 tests
The entry point to "Events Manager and WPML Compatibility" version 2.0.4 is a PHP file that has certain tags in its header comment area
127 characters long description:
Integrates the Events Manager and WPML plugins together to provide a smoother multilingual experience (EM and WPML also needed)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin1,212 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 83 | 519 | 1,144 |
XML | 1 | 0 | 2 | 68 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 68.00 |
▷ Minimum class complexity | 20.00 |
▷ Maximum class complexity | 104.00 |
Average method complexity | 6.32 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 50 | |
▷ Static methods | 50 | 100.00% |
▷ Public methods | 50 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 2 | 33.33% |
▷ Anonymous functions | 4 | 66.67% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected