Benchmarks
Plugin footprint 48% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▼0.80MB] [CPU: ▼34.92ms] Passed 4 tests
An overview of server-side resources used by Event Calendar
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.18 | 50.39 ▲12.13 |
Dashboard /wp-admin | 3.16 ▼0.19 | 22.55 ▼37.04 |
Posts /wp-admin/edit.php | 3.16 ▼0.20 | 23.98 ▼22.34 |
Add New Post /wp-admin/post-new.php | 3.16 ▼2.73 | 22.27 ▼69.53 |
Media Library /wp-admin/upload.php | 3.16 ▼0.07 | 21.59 ▼10.76 |
Server storage [IO: ▲2.66MB] [DB: ▲0.02MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 74 new files
Database: 7 new tables, 7 new options
New tables |
---|
wp_totalsoft_evcal_manager |
wp_totalsoft_evcal_events |
wp_totalsoft_evcal_eff_p1 |
wp_totalsoft_evcal_eff_p2 |
wp_totalsoft_evcal_eff_data |
wp_totalsoft_evcal_ids |
wp_totalsoft_fonts |
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_event_calendar_ts |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Event Calendar
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,963 ▲217 | 13.54 ▼0.81 | 9.43 ▲7.83 | 36.97 ▼3.95 |
Dashboard /wp-admin | 2,241 ▲67 | 4.92 ▼0.67 | 86.06 ▼1.52 | 69.84 ▲28.43 |
Posts /wp-admin/edit.php | 2,165 ▲65 | 2.30 ▲0.35 | 34.69 ▼1.36 | 36.75 ▼0.79 |
Add New Post /wp-admin/post-new.php | 1,731 ▲203 | 22.50 ▼0.59 | 685.83 ▲60.53 | 37.37 ▼17.25 |
Media Library /wp-admin/upload.php | 1,449 ▲49 | 4.29 ▲0.10 | 103.86 ▲4.59 | 77.31 ▲32.04 |
Total Products /wp-admin/admin.php?page=Total Soft Products?TS_EvCal_Nonce=a0fa0d7719 | 28 | 0.42 | 0.09 | 3.51 |
Calendar Manager /wp-admin/admin.php?page=Event Calendar TS?TS_EvCal_Nonce=a0fa0d7719 | 28 | 0.42 | 0.10 | 3.77 |
Theme Manager /wp-admin/admin.php?page=Total Soft Events?TS_EvCal_Nonce=a0fa0d7719 | 28 | 0.42 | 0.07 | 3.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 25% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/event-calendars/index.php+35
Undefined variable: bare_url
- The plugin did not uninstall successfully, leaving 7 tables in the database
- wp_totalsoft_evcal_manager
- wp_totalsoft_evcal_eff_p2
- wp_totalsoft_evcal_eff_p1
- wp_totalsoft_evcal_events
- wp_totalsoft_fonts
- wp_totalsoft_evcal_ids
- wp_totalsoft_evcal_eff_data
- The uninstall procedure has failed, leaving 7 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- widget_event_calendar_ts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for 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 | 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
Please take a closer look at the following
- 7× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/event-calendars/Includes/Total-Soft-Products.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/event-calendars/Includes/Event-Calendar-Install.php:2
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/event-calendars/Includes/Event-Calendar-Widget.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/event-calendars/Includes/Event-Calendar-Theme.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/event-calendars/Includes/Event-Calendar-Ajax.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/event-calendars/Includes/Event-Calendar-New.php:2
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/event-calendars/Includes/Event-Calendar-Widget.php:3
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There are user-side issues you should fix
- > GET request to /wp-admin/admin.php?page=Total Soft Products?TS_EvCal_Nonce=a0fa0d7719
- > Network (severe)
wp-admin/admin.php?page=Total%20Soft%20Products?TS_EvCal_Nonce=a0fa0d7719 - Failed to load resource: the server responded with a status of 403 (Forbidden)
- > GET request to /wp-admin/admin.php?page=Event Calendar TS?TS_EvCal_Nonce=a0fa0d7719
- > Network (severe)
wp-admin/admin.php?page=Event%20Calendar%20TS?TS_EvCal_Nonce=a0fa0d7719 - Failed to load resource: the server responded with a status of 403 (Forbidden)
- > GET request to /wp-admin/admin.php?page=Total Soft Events?TS_EvCal_Nonce=a0fa0d7719
- > Network (severe)
wp-admin/admin.php?page=Total%20Soft%20Events?TS_EvCal_Nonce=a0fa0d7719 - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Tags: There are too many tags (14 tag instead of maximum 10)
- Screenshots: No descriptions were found for these screenshots #2, #3, #4 in event-calendars/assets to your readme.txt
event-calendars/index.php 85% from 13 tests
"Event Calendar" version 1.0.4's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("event-calendars.php" instead of "index.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 243 characters long)
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 detected6,629 lines of code in 49 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 9 | 24 | 26 | 2,493 |
PHP | 7 | 116 | 19 | 1,865 |
JavaScript | 30 | 211 | 143 | 1,394 |
SVG | 3 | 0 | 0 | 877 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.13 |
Average class complexity | 24.00 |
▷ Minimum class complexity | 24.00 |
▷ Maximum class complexity | 24.00 |
Average method complexity | 8.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 3 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 3 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 19 | |
▷ Named functions | 19 | 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 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
8 PNG files occupy 0.49MB with 0.23MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
Images/admin.png | 3.56KB | 0.98KB | ▼ 72.55% |
Images/TotalSoftLogo.png | 10.79KB | 5.14KB | ▼ 52.38% |
Images/Products/Gallery_video.png | 135.83KB | 50.52KB | ▼ 62.80% |
Images/Products/Portfolio.png | 137.74KB | 68.13KB | ▼ 50.54% |
Images/transparency-grid.png | 2.58KB | 2.80KB | 0.00% |