Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.44MB] [CPU: ▲2.34ms] Passed 4 tests
An overview of server-side resources used by EventPress
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.89 ▲0.43 | 52.03 ▲9.49 |
Dashboard /wp-admin | 3.78 ▲0.47 | 55.63 ▲3.64 |
Posts /wp-admin/edit.php | 3.83 ▲0.48 | 59.04 ▲7.60 |
Add New Post /wp-admin/post-new.php | 6.32 ▲0.44 | 97.97 ▼11.37 |
Media Library /wp-admin/upload.php | 3.64 ▲0.41 | 50.71 ▲13.42 |
All Events /wp-admin/edit.php?post_type=ep_events | 3.69 | 44.06 |
Add New /wp-admin/post-new.php?post_type=ep_events | 3.86 | 61.73 |
Event Settings /wp-admin/edit.php?post_type=ep_events&page=event-settings | 3.61 | 37.92 |
Categories /wp-admin/edit-tags.php?taxonomy=event_category&post_type=ep_events | 3.63 | 39.40 |
Tags /wp-admin/edit-tags.php?taxonomy=event_tag&post_type=ep_events | 3.63 | 44.49 |
Server storage [IO: ▲1.26MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 68 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_ep_events_rsvp |
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
jal_db_version |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by EventPress
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,982 ▲236 | 14.10 ▼0.10 | 6.11 ▲3.93 | 42.86 ▲3.84 |
Dashboard /wp-admin | 2,276 ▲94 | 5.42 ▼0.47 | 106.01 ▲1.09 | 87.23 ▲45.99 |
Posts /wp-admin/edit.php | 2,186 ▲94 | 2.55 ▲0.51 | 45.53 ▲3.51 | 48.02 ▲12.72 |
Add New Post /wp-admin/post-new.php | 1,747 ▲228 | 23.01 ▲0.00 | 751.71 ▲67.62 | 35.72 ▼18.91 |
Media Library /wp-admin/upload.php | 1,464 ▲76 | 4.71 ▲0.48 | 104.71 ▼3.96 | 81.98 ▲32.98 |
All Events /wp-admin/edit.php?post_type=ep_events | 1,197 | 2.19 | 38.71 | 51.03 |
Add New /wp-admin/post-new.php?post_type=ep_events | 3,246 | 7.93 | 202.03 | 142.18 |
Event Settings /wp-admin/edit.php?post_type=ep_events&page=event-settings | 1,095 | 2.37 | 48.84 | 30.08 |
Categories /wp-admin/edit-tags.php?taxonomy=event_category&post_type=ep_events | 1,358 | 2.29 | 31.90 | 33.38 |
Tags /wp-admin/edit-tags.php?taxonomy=event_tag&post_type=ep_events | 1,327 | 2.42 | 31.30 | 32.64 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- This plugin does not fully uninstall, leaving 1 table in the database
- wp_ep_events_rsvp
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-posts
- widget_recent-comments
- jal_db_version
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
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
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 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/wp-eventpress/eventpress-files/templates/single-ep-event.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/wp-eventpress/eventpress-files/lib/addons/ep-tickets.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/wp-eventpress/eventpress-files/templates/monthly-calendar-ep-event.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/wp-eventpress/wp-eventpress.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/wp-eventpress/eventpress-files/templates/archive-ep-event.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/wp-eventpress/eventpress-files/classes/class.event.addon.handler.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/wp-eventpress/eventpress-files/lib/addons/ep-gmap.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/wp-eventpress/eventpress-files/classes/class.event.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/wp-eventpress/eventpress-files/classes/class.event.template.handler.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/wp-eventpress/eventpress-files/lib/functions.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
10 plugin tags: simple event manager, event calendar, events manager, events management, wordpress events...
wp-eventpress/wp-eventpress.php Passed 13 tests
The main PHP script in "EventPress" version 1.0.0 is automatically included on every request by WordPress
123 characters long description:
Very easy and powerful plugin to use and user friendly best event manager plugin for WordPress with lots of useful options.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin16,358 lines of code in 57 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 10 | 215 | 24 | 8,965 |
JavaScript | 8 | 329 | 554 | 2,202 |
PHP | 12 | 641 | 1,286 | 1,931 |
Sass | 13 | 26 | 24 | 1,352 |
LESS | 13 | 26 | 33 | 1,343 |
SVG | 1 | 0 | 0 | 565 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 26.14 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 113.00 |
Average method complexity | 3.15 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 82 | |
▷ Static methods | 13 | 15.85% |
▷ Public methods | 76 | 92.68% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 7.32% |
Functions | 13 | |
▷ Named functions | 13 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 8 | 80.00% |
▷ Class constants | 2 | 20.00% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
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 |
eventpress-files/assets/images/eventpress-20-20.png | 1.37KB | 0.75KB | ▼ 45.35% |