Benchmarks
Plugin footprint 83% 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: ▼4.94ms] Passed 4 tests
This is a short check of server-side resources used by Taugun Events Calendar
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.68 ▲0.21 | 43.22 ▲3.24 |
Dashboard /wp-admin | 3.55 ▲0.25 | 49.69 ▼10.88 |
Posts /wp-admin/edit.php | 3.60 ▲0.24 | 58.61 ▲9.61 |
Add New Post /wp-admin/post-new.php | 6.25 ▲0.36 | 89.04 ▼17.87 |
Media Library /wp-admin/upload.php | 3.49 ▲0.26 | 40.86 ▲5.74 |
Categories /wp-admin/edit-tags.php?taxonomy=esf_events_cat&post_type=esf-events | 3.54 | 41.26 |
Add Event /wp-admin/post-new.php?post_type=esf-events | 3.89 | 58.84 |
Events /wp-admin/edit.php?post_type=esf-events | 3.59 | 45.72 |
Tags /wp-admin/edit-tags.php?taxonomy=esf_events_tag&post_type=esf-events | 3.54 | 40.93 |
Organizers /wp-admin/edit.php?post_type=esf-events&page=organizers | 3.61 | 43.88 |
Settings /wp-admin/edit.php?post_type=esf-events&page=settings | 3.63 | 44.25 |
Locations /wp-admin/edit.php?post_type=esf-events&page=locations | 3.61 | 43.76 |
Server storage [IO: ▲2.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 74 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-posts |
esf_free_version |
widget_theysaidso_widget |
esf_account_management_events_page_id |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Taugun Events Calendar
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,953 ▲192 | 13.88 ▼0.41 | 8.91 ▲7.18 | 73.00 ▲29.59 |
Dashboard /wp-admin | 2,229 ▲52 | 5.56 ▼0.02 | 84.23 ▼20.18 | 75.43 ▲32.70 |
Posts /wp-admin/edit.php | 2,146 ▲43 | 1.99 ▲0.00 | 39.05 ▲2.95 | 37.14 ▲0.84 |
Add New Post /wp-admin/post-new.php | 1,564 ▲36 | 23.49 ▲0.20 | 711.72 ▲5.12 | 64.41 ▲6.17 |
Media Library /wp-admin/upload.php | 1,443 ▲43 | 4.20 ▼0.03 | 98.34 ▼13.08 | 73.29 ▲24.82 |
Categories /wp-admin/edit-tags.php?taxonomy=esf_events_cat&post_type=esf-events | 1,531 | 3.73 | 61.88 | 82.06 |
Add Event /wp-admin/post-new.php?post_type=esf-events | 5,307 | 7.93 | 217.38 | 84.12 |
Events /wp-admin/edit.php?post_type=esf-events | 1,358 | 3.49 | 68.57 | 74.57 |
Tags /wp-admin/edit-tags.php?taxonomy=esf_events_tag&post_type=esf-events | 1,503 | 3.68 | 56.15 | 78.67 |
Organizers /wp-admin/edit.php?post_type=esf-events&page=organizers | 1,164 | 3.58 | 42.64 | 60.88 |
Settings /wp-admin/edit.php?post_type=esf-events&page=settings | 2,150 | 3.60 | 42.80 | 84.56 |
Locations /wp-admin/edit.php?post_type=esf-events&page=locations | 1,164 | 3.60 | 42.74 | 60.39 |
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
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 8 options
- theysaidso_admin_options
- widget_recent-comments
- esf_account_management_events_page_id
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- esf_free_version
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These errors were triggered by the plugin
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=esf-events
- > request to
- > Notice in wp-config.php+20
Undefined index: REQUEST_METHOD
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
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
5 plugin tags: wp events, events, wordpress events, events calendar, wordpress events calendar
taugun/esf.php 92% from 13 tests
The primary PHP file in "Taugun Events Calendar" version 1.6 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("taugun.php" instead of "esf.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
Everything looks great! No dangerous files found in this plugin21,630 lines of code in 61 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 8 | 2,516 | 716 | 9,853 |
PHP | 43 | 1,557 | 1,616 | 5,650 |
CSS | 9 | 159 | 82 | 3,456 |
SVG | 1 | 0 | 0 | 2,671 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 18.75 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 92.00 |
Average method complexity | 2.63 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 52.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 28 | |
▷ Abstract classes | 2 | 7.14% |
▷ Concrete classes | 26 | 92.86% |
▷ Final classes | 1 | 3.85% |
Methods | 304 | |
▷ Static methods | 106 | 34.87% |
▷ Public methods | 264 | 86.84% |
▷ Protected methods | 13 | 4.28% |
▷ Private methods | 27 | 8.88% |
Functions | 40 | |
▷ Named functions | 40 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 1 | 16.67% |
▷ Class constants | 5 | 83.33% |
▷ Public constants | 5 | 100.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
6 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/single-event-placeholder.png | 3.81KB | 1.98KB | ▼ 47.94% |
assets/images/location-placeholder.png | 2.42KB | 1.28KB | ▼ 47.08% |
assets/images/flintop.png | 2.53KB | 1.83KB | ▼ 27.98% |
assets/images/organizer-placeholder.png | 2.70KB | 2.00KB | ▼ 26.09% |
assets/images/dash-icon.png | 0.80KB | 0.79KB | ▼ 1.46% |