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: ▲2.12MB] [CPU: ▲16.25ms] Passed 4 tests
A check of server-side resources used by Events Maker by dFactory
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.14 ▲1.68 | 47.86 ▲9.95 |
Dashboard /wp-admin | 5.62 ▲2.32 | 64.36 ▲17.00 |
Posts /wp-admin/edit.php | 5.83 ▲2.48 | 67.57 ▲19.11 |
Add New Post /wp-admin/post-new.php | 8.14 ▲2.25 | 117.04 ▲20.11 |
Media Library /wp-admin/upload.php | 5.47 ▲2.24 | 53.64 ▲18.94 |
Settings /wp-admin/edit.php?post_type=event&page=events-settings | 5.44 | 44.06 |
All Events /wp-admin/edit.php?post_type=event | 5.75 | 52.43 |
Categories /wp-admin/edit-tags.php?taxonomy=event-category&post_type=event | 5.50 | 48.57 |
Organizers /wp-admin/edit-tags.php?taxonomy=event-organizer&post_type=event | 5.50 | 47.19 |
Tags /wp-admin/edit-tags.php?taxonomy=event-tag&post_type=event | 5.50 | 47.02 |
Welcome to Events Maker /wp-admin/index.php?page=events-maker-about | 5.43 | 43.75 |
Add New /wp-admin/post-new.php?post_type=event | 5.69 | 77.84 |
Locations /wp-admin/edit-tags.php?taxonomy=event-location&post_type=event | 5.51 | 51.45 |
Server storage [IO: ▲1.64MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 213 new files
Database: no new tables, 13 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_events_maker_list_widget |
widget_theysaidso_widget |
can_compress_scripts |
widget_events_maker_categories_widget |
widget_events_maker_organizers_widget |
widget_events_maker_archive_widget |
widget_recent-posts |
widget_events_maker_locations_widget |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Events Maker by dFactory
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,949 ▲214 | 13.53 ▼1.22 | 7.35 ▲5.74 | 38.68 ▼5.28 |
Dashboard /wp-admin | 2,266 ▲81 | 5.84 ▲0.78 | 120.82 ▼17.02 | 55.01 ▲3.92 |
Posts /wp-admin/edit.php | 2,151 ▲62 | 2.00 ▼0.02 | 39.56 ▼1.27 | 37.02 ▲1.12 |
Add New Post /wp-admin/post-new.php | 1,587 ▲73 | 23.42 ▲5.88 | 680.49 ▲83.13 | 56.55 ▲4.87 |
Media Library /wp-admin/upload.php | 1,448 ▲57 | 4.24 ▲0.03 | 98.19 ▼8.37 | 40.73 ▼2.32 |
Settings /wp-admin/edit.php?post_type=event&page=events-settings | 1,578 | 1.84 | 27.45 | 58.84 |
All Events /wp-admin/edit.php?post_type=event | 1,308 | 2.38 | 41.02 | 31.90 |
Categories /wp-admin/edit-tags.php?taxonomy=event-category&post_type=event | 1,842 | 5.99 | 113.91 | 57.71 |
Organizers /wp-admin/edit-tags.php?taxonomy=event-organizer&post_type=event | 1,889 | 5.96 | 109.67 | 51.22 |
Tags /wp-admin/edit-tags.php?taxonomy=event-tag&post_type=event | 1,797 | 5.96 | 110.04 | 48.89 |
Welcome to Events Maker /wp-admin/index.php?page=events-maker-about | 980 | 2.17 | 24.76 | 42.30 |
Add New /wp-admin/post-new.php?post_type=event | 4,144 | 8.05 | 197.51 | 63.46 |
Locations /wp-admin/edit-tags.php?taxonomy=event-location&post_type=event | 2,883 | 5.86 | 109.53 | 53.14 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 13 options in the database
- can_compress_scripts
- widget_recent-posts
- widget_events_maker_categories_widget
- theysaidso_admin_options
- widget_events_maker_list_widget
- widget_events_maker_archive_widget
- widget_events_maker_search_widget
- widget_events_maker_organizers_widget
- widget_recent-comments
- widget_events_maker_calendar_widget
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% 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 trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/events-maker/includes/template-hooks.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Tags: You are using too many tags: 12 tag instead of maximum 10
events-maker/events-maker.php 92% from 13 tests
This is the main PHP file of "Events Maker by dFactory" version 1.6.14, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 142 characters long)
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin15,768 lines of code in 178 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 59 | 2,686 | 2,614 | 9,403 |
JavaScript | 109 | 436 | 500 | 3,652 |
CSS | 8 | 466 | 245 | 2,651 |
Markdown | 1 | 9 | 0 | 37 |
XML | 1 | 0 | 0 | 25 |
PHP code 50% from 2 tests
An overview of cyclomatic complexity and code structure
The following items need your attention
- Please reduce cyclomatic complexity of methods to less than 100 (currently 123)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.58 |
Average class complexity | 56.07 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 231.00 |
Average method complexity | 6.90 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 123.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 27 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 27 | 100.00% |
▷ Final classes | 1 | 3.70% |
Methods | 252 | |
▷ Static methods | 2 | 0.79% |
▷ Public methods | 228 | 90.48% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 24 | 9.52% |
Functions | 83 | |
▷ Named functions | 83 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.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
24 PNG files occupy 0.12MB with 0.07MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/fullcalendar/lib/cupertino/images/ui-bg_highlight-hard_100_f2f5f7_1x100.png | 0.36KB | 0.14KB | ▼ 60.65% |
assets/fullcalendar/lib/cupertino/images/ui-bg_flat_15_cd0a0a_40x100.png | 0.25KB | 0.08KB | ▼ 66.67% |
css/images/bg_fallback.png | 3.63KB | 0.30KB | ▼ 91.72% |
assets/fullcalendar/lib/cupertino/images/ui-bg_highlight-soft_100_deedf7_1x100.png | 0.42KB | 0.18KB | ▼ 57.28% |
assets/fullcalendar/lib/cupertino/images/ui-icons_3d80b3_256x240.png | 4.49KB | 4.18KB | ▼ 6.89% |