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
Install script ran successfully
Server metrics [RAM: ▲0.24MB] [CPU: ▼1.12ms] Passed 4 tests
An overview of server-side resources used by Easy Events Manager
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.73 ▲0.27 | 36.82 ▼4.11 |
Dashboard /wp-admin | 3.58 ▲0.28 | 46.38 ▼3.18 |
Posts /wp-admin/edit.php | 3.64 ▲0.28 | 49.06 ▲0.83 |
Add New Post /wp-admin/post-new.php | 6.10 ▲0.21 | 91.78 ▲6.05 |
Media Library /wp-admin/upload.php | 3.42 ▲0.19 | 34.95 ▲1.99 |
Add Event /wp-admin/post-new.php?post_type=event | 3.63 | 54.41 |
Templates /wp-admin/edit.php?post_type=event_template | 3.56 | 44.25 |
Settings /wp-admin/edit.php?post_type=event&page=eem-settings | 3.42 | 32.43 |
Attendees /wp-admin/edit.php?post_type=event&page=attendees | 3.49 | 36.90 |
Extensions /wp-admin/edit.php?post_type=event&page=eem-extensions | 3.50 | 199.48 |
All Events /wp-admin/edit.php?post_type=event | 3.56 | 38.76 |
Event Category /wp-admin/edit-tags.php?taxonomy=event_cat&post_type=event | 3.50 | 34.31 |
Server storage [IO: ▲7.40MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 68 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_eem_attendees |
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Easy Events Manager
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,127 ▲381 | 15.73 ▲1.34 | 8.76 ▲6.98 | 39.27 ▼4.32 |
Dashboard /wp-admin | 2,411 ▲220 | 6.45 ▲1.59 | 118.95 ▲17.95 | 37.84 ▼5.15 |
Posts /wp-admin/edit.php | 2,317 ▲225 | 3.45 ▲1.46 | 51.65 ▲7.43 | 33.32 ▼2.86 |
Add New Post /wp-admin/post-new.php | 1,577 ▲58 | 23.37 ▲0.37 | 603.14 ▼16.70 | 33.98 ▼18.69 |
Media Library /wp-admin/upload.php | 1,450 ▲62 | 4.17 ▼0.04 | 83.38 ▼14.41 | 42.44 ▼0.72 |
Add Event /wp-admin/post-new.php?post_type=event | 2,871 | 8.43 | 205.01 | 88.20 |
Templates /wp-admin/edit.php?post_type=event_template | 1,298 | 3.55 | 64.34 | 40.02 |
Settings /wp-admin/edit.php?post_type=event&page=eem-settings | 1,134 | 3.36 | 54.12 | 33.28 |
Attendees /wp-admin/edit.php?post_type=event&page=attendees | 1,091 | 3.33 | 48.67 | 33.76 |
Extensions /wp-admin/edit.php?post_type=event&page=eem-extensions | 1,051 | 3.30 | 47.53 | 27.30 |
All Events /wp-admin/edit.php?post_type=event | 1,300 | 3.62 | 58.50 | 27.78 |
Event Category /wp-admin/edit-tags.php?taxonomy=event_cat&post_type=event | 1,490 | 3.26 | 42.80 | 26.16 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie tables were found after uninstall: 1 table
- wp_eem_attendees
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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
- 10× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/easy-events-manager/templates/single-event.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easy-events-manager/includes/template-hooks.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function eem_get_event() in wp-content/plugins/easy-events-manager/templates/content-single-event.php:11
- > PHP Fatal error
Uncaught Error: Class 'EEM_Item_data' not found in wp-content/plugins/easy-events-manager/includes/classes/class-event.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_remote_get() in wp-content/plugins/easy-events-manager/includes/admin-templates/extensions.php:10
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/easy-events-manager/includes/classes/class-admin-attendees.php on line 7
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/easy-events-manager/includes/classes/class-admin-attendees.php on line 7
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/easy-events-manager/includes/classes/class-admin-attendees.php on line 7
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/easy-events-manager/includes/admin-templates/publish-box-event.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easy-events-manager/includes/classes/class-hooks.php:20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
No tags were detected
easy-events-manager/easy-events-manager.php Passed 13 tests
The main PHP script in "Easy Events Manager" version 1.0.7 is automatically included on every request by WordPress
39 characters long description:
Manage Events super Easily on WordPress
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin10,993 lines of code in 58 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 9 | 943 | 150 | 4,363 |
PHP | 42 | 1,430 | 1,244 | 4,235 |
SVG | 2 | 0 | 1 | 2,158 |
JavaScript | 5 | 86 | 30 | 237 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.58 |
Average class complexity | 50.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 289.00 |
Average method complexity | 4.10 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 145 | |
▷ Static methods | 2 | 1.38% |
▷ Public methods | 131 | 90.34% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 14 | 9.66% |
Functions | 56 | |
▷ Named functions | 53 | 94.64% |
▷ Anonymous functions | 3 | 5.36% |
Constants | 7 | |
▷ Global constants | 7 | 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
1 PNG file occupies 0.16MB with 0.08MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/cta_bg.png | 163.29KB | 84.17KB | ▼ 48.45% |