Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.05MB] [CPU: ▼2.89ms] Passed 4 tests
Server-side resources used by ETEvents
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 40.27 ▼1.70 |
Dashboard /wp-admin | 3.37 ▲0.06 | 53.55 ▲2.71 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 53.66 ▲2.17 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 88.53 ▼14.72 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 38.89 ▲3.89 |
Bookings /wp-admin/admin.php?page=etevents/etevents.php | 3.31 | 33.89 |
ETEvents /wp-admin/options-general.php?page=lj_etevents | 3.24 | 32.75 |
About & Help /wp-admin/admin.php?page=etevents/etevents.phpabout | 3.27 | 32.75 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 9 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_lj_etevents |
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for ETEvents
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,855 ▲94 | 14.35 ▲0.07 | 2.10 ▼0.06 | 43.32 ▼6.46 |
Dashboard /wp-admin | 2,230 ▲53 | 5.60 ▲0.03 | 85.03 ▼15.67 | 79.10 ▲34.68 |
Posts /wp-admin/edit.php | 2,144 ▲44 | 1.97 ▼0.06 | 39.13 ▼0.65 | 35.25 ▲0.01 |
Add New Post /wp-admin/post-new.php | 6,432 ▲4,897 | 27.54 ▲9.33 | 971.55 ▲310.08 | 65.30 ▼8.50 |
Media Library /wp-admin/upload.php | 1,441 ▲41 | 4.17 ▼0.11 | 100.33 ▼8.44 | 83.97 ▲37.35 |
Bookings /wp-admin/admin.php?page=etevents/etevents.php | 865 | 2.00 | 29.36 | 31.78 |
ETEvents /wp-admin/options-general.php?page=lj_etevents | 904 | 2.03 | 23.65 | 30.47 |
About & Help /wp-admin/admin.php?page=etevents/etevents.phpabout | 1,019 | 2.04 | 27.44 | 39.56 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=lj_etevents
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=lj_etevents
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
- 5 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=lj_etevents
- > Notice in wp-content/plugins/etevents/etevents_settings.php+206
Trying to access array offset on value of type bool
SRP 0% 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 items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/etevents/etevents_about.php
- 5× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function maybe_unserialize() in wp-content/plugins/etevents/page-bookings.php:9
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/etevents/etevents_bookings.php on line 12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/etevents/etevents.php:215
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/etevents/etevents_bookings.php:73
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/etevents/etevents_settings.php:45
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
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
6 plugin tags: users, admin, booking, reservations, elegant themes...
etevents/etevents.php Passed 13 tests
The primary PHP file in "ETEvents" version 1.1 is used by WordPress to initiate all plugin functionality
87 characters long description:
This plugin works was developed to work with the Event Theme created by Elegant Themes.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin1,720 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 307 | 432 | 1,099 |
CSS | 1 | 81 | 37 | 621 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 32 | |
▷ Named functions | 32 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
1 PNG file occupies 0.03MB with 0.03MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/etevents.png | 27.24KB | 0.97KB | ▼ 96.42% |