Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.13MB] [CPU: ▼2.49ms] Passed 4 tests
A check of server-side resources used by Eventilla Events
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 39.17 ▼0.33 |
Dashboard /wp-admin | 3.44 ▲0.14 | 48.08 ▼0.92 |
Posts /wp-admin/edit.php | 3.51 ▲0.16 | 49.44 ▲0.66 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.15 | 89.34 ▼9.37 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 41.35 ▲6.62 |
Eventilla Settings /wp-admin/options-general.php?page=eventilla-wp | 3.39 | 49.88 |
Server storage [IO: ▲0.32MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 42 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Eventilla Events
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,992 ▲231 | 20.97 ▲6.62 | 6.11 ▲4.60 | 41.58 ▲0.95 |
Dashboard /wp-admin | 2,306 ▲129 | 10.53 ▲4.96 | 239.43 ▲148.36 | 44.36 ▲5.03 |
Posts /wp-admin/edit.php | 2,213 ▲113 | 10.47 ▲8.46 | 88.03 ▲50.58 | 37.02 ▲1.42 |
Add New Post /wp-admin/post-new.php | 6,225 ▲4,689 | 18.74 ▲0.46 | 807.81 ▲183.01 | 39.60 ▼34.09 |
Media Library /wp-admin/upload.php | 1,535 ▲135 | 11.08 ▲6.86 | 157.02 ▲49.01 | 46.58 ▲3.69 |
Eventilla Settings /wp-admin/options-general.php?page=eventilla-wp | 2,434 | 9.40 | 158.92 | 72.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% 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 items
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/eventilla-events/uninstall.php+44
Trying to get property 'ID' of non-object
- Zombie WordPress options detected upon uninstall: 9 options
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- eventilla_opt_batch_data
- widget_recent-posts
- eventilla_opt_is_deletion_is_still_in_progress
- widget_theysaidso_widget
- widget_recent-comments
- eventilla_opt_previous_queue_value
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Looking good! No server-side errors or output on direct access of PHP files
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following browser errors
- > GET request to /wp-admin/options-general.php?page=eventilla-wp
- > Javascript (severe) in unknown
/wp-content/plugins/eventilla-events/admin/js/eventilla-wp-admin.js?ver=1.1.0 158:2 Uncaught ReferenceError: getPercent is not defined
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
2 plugin tags: event, events
eventilla-events/eventilla-wp.php 92% from 13 tests
"Eventilla Events" version 1.7.5's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("eventilla-events.php" instead of "eventilla-wp.php")
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
No dangerous file extensions were detected4,429 lines of code in 33 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 24 | 821 | 2,059 | 3,607 |
JavaScript | 4 | 69 | 125 | 393 |
CSS | 2 | 6 | 11 | 263 |
PO File | 1 | 56 | 65 | 159 |
Markdown | 1 | 3 | 0 | 6 |
JSON | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 23.22 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 181.00 |
Average method complexity | 3.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 66.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 18 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 18 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 162 | |
▷ Static methods | 20 | 12.35% |
▷ Public methods | 129 | 79.63% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 33 | 20.37% |
Functions | 5 | |
▷ Named functions | 3 | 60.00% |
▷ Anonymous functions | 2 | 40.00% |
Constants | 3 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 3 | 100.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/css/logo_retina.png | 24.75KB | 10.22KB | ▼ 58.71% |