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
Installer ran successfully
Server metrics [RAM: ▲0.62MB] [CPU: ▼5.14ms] Passed 4 tests
A check of server-side resources used by WP Event Calendar
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.15 ▲0.69 | 41.14 ▼5.12 |
Dashboard /wp-admin | 3.97 ▲0.63 | 48.86 ▼16.41 |
Posts /wp-admin/edit.php | 4.02 ▲0.67 | 52.78 ▲6.05 |
Add New Post /wp-admin/post-new.php | 6.49 ▲0.60 | 93.01 ▼4.00 |
Media Library /wp-admin/upload.php | 3.83 ▲0.60 | 40.33 ▲4.97 |
Calendar /wp-admin/edit.php?post_type=event&page=event-calendar | 3.84 | 40.90 |
Add New /wp-admin/post-new.php?post_type=event | 4.03 | 57.66 |
Types /wp-admin/edit-tags.php?taxonomy=event-type&post_type=event | 3.82 | 40.47 |
Tags /wp-admin/edit-tags.php?taxonomy=event-tag&post_type=event | 3.82 | 39.16 |
Categories /wp-admin/edit-tags.php?taxonomy=event-category&post_type=event | 3.82 | 43.94 |
All Events /wp-admin/edit.php?post_type=event | 3.95 | 44.92 |
Server storage [IO: ▲0.16MB] [DB: ▲0.07MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 23 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
WP Event Calendar: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,864 ▲118 | 14.73 ▲0.38 | 1.94 ▲0.22 | 37.71 ▼2.51 |
Dashboard /wp-admin | 2,245 ▲71 | 5.66 ▲0.01 | 86.76 ▼3.04 | 36.10 ▼1.82 |
Posts /wp-admin/edit.php | 2,150 ▲50 | 2.00 ▲0.02 | 38.00 ▼3.02 | 33.70 ▼0.97 |
Add New Post /wp-admin/post-new.php | 1,565 ▲37 | 22.96 ▼0.30 | 645.42 ▲41.98 | 62.02 ▲4.08 |
Media Library /wp-admin/upload.php | 1,438 ▲44 | 4.24 ▲0.03 | 100.80 ▲4.86 | 42.03 ▲0.85 |
Calendar /wp-admin/edit.php?post_type=event&page=event-calendar | 1,827 | 1.77 | 26.18 | 46.28 |
Add New /wp-admin/post-new.php?post_type=event | 3,107 | 7.53 | 161.39 | 65.85 |
Types /wp-admin/edit-tags.php?taxonomy=event-type&post_type=event | 1,299 | 2.20 | 32.55 | 30.74 |
Tags /wp-admin/edit-tags.php?taxonomy=event-tag&post_type=event | 1,296 | 2.22 | 33.67 | 31.47 |
Categories /wp-admin/edit-tags.php?taxonomy=event-category&post_type=event | 1,327 | 2.20 | 33.87 | 34.23 |
All Events /wp-admin/edit.php?post_type=event | 1,397 | 1.96 | 31.46 | 29.58 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=event&page=event-calendar
- > Notice in wp-content/plugins/wp-event-calendar/wp-event-calendar/includes/common/list-table-base.php+1364
Undefined index: today
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Tags: There are too many tags (11 tag instead of maximum 10)
wp-event-calendar/wp-event-calendar.php Passed 13 tests
"WP Event Calendar" version 1.1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
42 characters long description:
The best way to manage events in WordPress
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
There were no executable files found in this plugin3,299 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 19 | 936 | 2,040 | 2,772 |
CSS | 2 | 113 | 19 | 506 |
JavaScript | 1 | 4 | 0 | 21 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 20.17 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 63.00 |
Average method complexity | 2.34 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 86 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 18 | 20.93% |
▷ Protected methods | 68 | 79.07% |
▷ Private methods | 0 | 0.00% |
Functions | 63 | |
▷ Named functions | 63 | 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
No PNG files were detected