Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲1.82MB] [CPU: ▲15.41ms] Passed 4 tests
A check of server-side resources used by WP Event Aggregator: Import Eventbrite events, Meetup events, social events and any iCal Events into WordPress
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.32 ▲1.86 | 55.43 ▲13.16 |
Dashboard /wp-admin | 5.47 ▲2.17 | 68.57 ▲20.06 |
Posts /wp-admin/edit.php | 5.21 ▲1.85 | 56.57 ▲8.36 |
Add New Post /wp-admin/post-new.php | 7.69 ▲1.81 | 107.82 ▲24.23 |
Media Library /wp-admin/upload.php | 5.01 ▲1.78 | 53.99 ▲20.04 |
Event Tags /wp-admin/edit-tags.php?taxonomy=event_tag&post_type=wp_events | 5.01 | 47.99 |
Events /wp-admin/edit.php?post_type=wp_events | 5.12 | 47.18 |
Add New /wp-admin/post-new.php?post_type=wp_events | 5.23 | 66.80 |
Event Categories /wp-admin/edit-tags.php?taxonomy=event_category&post_type=wp_events | 5.01 | 45.22 |
Server storage [IO: ▲2.83MB] [DB: ▲0.05MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 176 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Event Aggregator: Import Eventbrite events, Meetup events, social events and any iCal Events into WordPress
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,990 ▲228 | 13.33 ▼1.01 | 1.74 ▲0.10 | 42.40 ▼4.06 |
Dashboard /wp-admin | 2,384 ▲207 | 5.19 ▼0.43 | 104.48 ▲6.67 | 43.05 ▼0.73 |
Posts /wp-admin/edit.php | 2,195 ▲98 | 2.24 ▲0.29 | 39.98 ▲1.94 | 34.57 ▲0.53 |
Add New Post /wp-admin/post-new.php | 6,464 ▲4,938 | 28.25 ▲4.96 | 812.95 ▲184.07 | 37.82 ▼7.19 |
Media Library /wp-admin/upload.php | 1,515 ▲115 | 4.63 ▲0.45 | 97.22 ▼1.39 | 41.79 ▼1.78 |
Event Tags /wp-admin/edit-tags.php?taxonomy=event_tag&post_type=wp_events | 1,362 | 2.31 | 33.73 | 29.79 |
Events /wp-admin/edit.php?post_type=wp_events | 1,242 | 2.37 | 38.59 | 31.71 |
Add New /wp-admin/post-new.php?post_type=wp_events | 3,513 | 7.45 | 187.43 | 69.91 |
Event Categories /wp-admin/edit-tags.php?taxonomy=event_category&post_type=wp_events | 1,393 | 2.09 | 33.15 | 30.26 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.05MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not 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 items
- 17× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function get_the_ID() in wp-content/plugins/wp-event-aggregator/templates/wpea-event-meta.php:7
- > PHP Fatal error
Uncaught Error: Interface 'Kigkonsult\\Icalcreator\\IcalInterface' not found in wp-content/plugins/wp-event-aggregator/includes/lib/icalcreator/src/IcalBase.php:72
- > PHP Fatal error
Uncaught Error: Class 'Kigkonsult\\Icalcreator\\IcalBase' not found in wp-content/plugins/wp-event-aggregator/includes/lib/icalcreator/src/CalendarComponent.php:69
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/wp-event-aggregator/templates/wpea-archive-content.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/wp-event-aggregator/templates/wpea-archive-content2.php:13
- > PHP Fatal error
Uncaught Error: Class 'Kigkonsult\\Icalcreator\\CalendarComponent' not found in wp-content/plugins/wp-event-aggregator/includes/lib/icalcreator/src/Vtimezone.php:45
- > PHP Fatal error
Uncaught Error: Class 'Kigkonsult\\Icalcreator\\VetComponent' not found in wp-content/plugins/wp-event-aggregator/includes/lib/icalcreator/src/Vevent.php:44
- > PHP Fatal error
Uncaught Error: Class 'Kigkonsult\\Icalcreator\\IcalBase' not found in wp-content/plugins/wp-event-aggregator/includes/lib/icalcreator/src/Vcalendar.php:77
- > PHP Fatal error
Uncaught Error: Class 'Kigkonsult\\Icalcreator\\Vcomponent' not found in wp-content/plugins/wp-event-aggregator/includes/lib/icalcreator/src/VetComponent.php:39
- > PHP Fatal error
Uncaught Error: Class 'Kigkonsult\\Icalcreator\\CalendarComponent' not found in wp-content/plugins/wp-event-aggregator/includes/lib/icalcreator/src/Vcomponent.php:41
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% 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
These attributes need your attention:
- Screenshots: A description for screenshot #17 is missing in wp-event-aggregator/assets to your readme.txt
- Tags: Please delete some tags, you are using 24 tag instead of maximum 10
wp-event-aggregator/wp-event-aggregator.php Passed 13 tests
Analyzing the main PHP file in "WP Event Aggregator: Import Eventbrite events, Meetup events, social events and any iCal Events into WordPress" version 1.7.6
103 characters long description:
Import Events from anywhere - Facebook, Eventbrite, Meetup, iCalendar and ICS into your WordPress site.
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin36,034 lines of code in 149 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 130 | 2,702 | 10,797 | 26,475 |
CSS | 6 | 138 | 78 | 5,157 |
SVG | 6 | 0 | 3 | 2,888 |
PO File | 1 | 404 | 516 | 829 |
JavaScript | 4 | 62 | 10 | 477 |
Markdown | 2 | 50 | 0 | 208 |
PHP code 50% from 2 tests
A short review of cyclomatic complexity and code structure
Please tend to the following items
- Please reduce cyclomatic complexity of methods to less than 100 (currently 135)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 39.25 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 318.00 |
Average method complexity | 6.15 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 135.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 1 | |
Traits | 54 | |
Classes | 60 | |
▷ Abstract classes | 5 | 8.33% |
▷ Concrete classes | 55 | 91.67% |
▷ Final classes | 9 | 16.36% |
Methods | 855 | |
▷ Static methods | 239 | 27.95% |
▷ Public methods | 662 | 77.43% |
▷ Protected methods | 70 | 8.19% |
▷ Private methods | 123 | 14.39% |
Functions | 13 | |
▷ Named functions | 12 | 92.31% |
▷ Anonymous functions | 1 | 7.69% |
Constants | 225 | |
▷ Global constants | 11 | 4.89% |
▷ Class constants | 214 | 95.11% |
▷ Public constants | 214 | 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
15 PNG files occupy 0.04MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/css/images/ui-bg_glass_100_f6f6f6_1x400.png | 0.26KB | 0.12KB | ▼ 53.44% |
assets/images/xt_logo.png | 8.77KB | 4.34KB | ▼ 50.47% |
assets/css/images/ui-icons_ffd27a_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |
assets/css/images/ui-bg_diagonals-thick_20_666666_40x40.png | 0.30KB | 0.15KB | ▼ 49.68% |
assets/css/images/ui-icons_228ef1_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |