Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.08MB] [CPU: ▼277.04ms] Passed 4 tests
Server-side resources used by EasyEvent
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.90 ▲0.18 | 37.67 ▲16.76 |
Dashboard /wp-admin | 3.13 ▲0.08 | 51.96 ▲7.70 |
Posts /wp-admin/edit.php | 3.24 ▲0.13 | 43.31 ▼3.80 |
Add New Post /wp-admin/post-new.php | 5.49 ▲0.06 | 93.76 ▼1,107.76 |
Media Library /wp-admin/upload.php | 3.07 ▲0.06 | 34.97 ▼4.31 |
EasyEvent /wp-admin/options-general.php?page=easyevent | 3.04 | 28.61 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 24 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for EasyEvent
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,820 ▲214 | 16.73 ▲1.16 | 11.78 ▲1.10 | 47.94 ▼0.53 |
Dashboard /wp-admin | 3,007 ▲157 | 6.19 ▲0.38 | 132.62 ▲0.24 | 109.31 ▼1.02 |
Posts /wp-admin/edit.php | 2,715 ▲9 | 2.70 ▲0.02 | 67.68 ▲2.65 | 90.35 ▼0.73 |
Add New Post /wp-admin/post-new.php | 1,860 ▲272 | 19.18 ▼2.17 | 367.40 ▲103.51 | 109.18 ▲3.02 |
Media Library /wp-admin/upload.php | 1,722 ▼47 | 5.01 ▲0.03 | 139.01 ▼15.65 | 114.55 ▼1.80 |
EasyEvent /wp-admin/options-general.php?page=easyevent | 1,036 | 2.32 | 57.28 | 72.49 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Uninstall script ran successfully
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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
Please fix the following
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/easyevent/public/partials/easyevent-public-display.php
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/easyevent/admin/partials/easyevent-admin-display.php:19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== easyevent ===
)
easyevent/easyevent.php Passed 13 tests
The primary PHP file in "EasyEvent" version 1.0.0 is used by WordPress to initiate all plugin functionality
102 characters long description:
EasyEvent makes your event planning life much easier. Select settings / EasyEvent for setup and usage.
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
Good job! No executable or dangerous file extensions detected1,138 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 191 | 85 | 824 |
PHP | 12 | 148 | 587 | 278 |
HTML | 1 | 3 | 0 | 36 |
CSS | 2 | 0 | 8 | 0 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.10 |
Average class complexity | 1.57 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.13 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 30 | |
▷ Static methods | 2 | 6.67% |
▷ Public methods | 25 | 83.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 16.67% |
Functions | 5 | |
▷ Named functions | 5 | 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 1 test
Image compression Passed 1 test
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected