Benchmarks
Plugin footprint 65% 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: ▼13.93MB] [CPU: ▼3,061,806.97ms] 75% from 4 tests
A check of server-side resources used by FT Calendar
Please have a look at the following items
- CPU: You should keep total CPU usage under 500.00ms (currently 2,521.25ms on /wp-admin/admin.php?page=ftcalendar-help)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.40 ▼58.23 | 46.55 ▼12,247,243.25 |
Dashboard /wp-admin | 4.22 ▲0.88 | 55.69 ▲1.12 |
Posts /wp-admin/edit.php | 4.28 ▲0.88 | 58.36 ▲3.67 |
Add New Post /wp-admin/post-new.php | 6.77 ▲0.84 | 100.55 ▲10.58 |
Media Library /wp-admin/upload.php | 4.09 ▲0.81 | 48.06 ▲11.63 |
Import /wp-admin/admin.php?page=ftcalendar-import | 4.06 | 40.51 |
Export /wp-admin/admin.php?page=ftcalendar-export | 4.06 | 44.13 |
Calendars /wp-admin/edit-tags.php?taxonomy=ftcalendar | 4.08 | 53.63 |
FT Calendar Help /wp-admin/admin.php?page=ftcalendar-help | 4.29 | 2,521.25 |
FT Calendar /wp-admin/admin.php?page=ftcalendar-general | 4.06 | 40.46 |
Server storage [IO: ▲0.85MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 67 new files
Database: 1 new table, 11 new options
New tables |
---|
wp_ftcalendar_events |
New WordPress options |
---|
widget_recent-posts |
widget_ft_cal_thumb_calendar |
ft_cal_db_version |
widget_recent-comments |
widget_ft_cal_event_list |
theysaidso_admin_options |
ft_calendar_options |
can_compress_scripts |
widget_theysaidso_widget |
ft_cal_version |
... |
Browser metrics Passed 4 tests
Checking browser requirements for FT Calendar
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,920 ▲159 | 13.86 ▼0.49 | 10.57 ▲8.85 | 41.74 ▼5.49 |
Dashboard /wp-admin | 2,238 ▲58 | 5.61 ▼0.03 | 92.92 ▲4.98 | 42.20 ▼0.02 |
Posts /wp-admin/edit.php | 2,198 ▲98 | 2.09 ▲0.08 | 42.14 ▲1.70 | 35.04 ▼5.45 |
Add New Post /wp-admin/post-new.php | 6,269 ▲4,743 | 18.94 ▼4.65 | 969.28 ▲306.85 | 41.83 ▼18.89 |
Media Library /wp-admin/upload.php | 1,443 ▲43 | 4.17 ▼0.08 | 104.40 ▼10.23 | 48.59 ▲1.75 |
Import /wp-admin/admin.php?page=ftcalendar-import | 938 | 1.93 | 31.76 | 30.77 |
Export /wp-admin/admin.php?page=ftcalendar-export | 859 | 1.94 | 26.70 | 26.79 |
Calendars /wp-admin/edit-tags.php?taxonomy=ftcalendar | 1,429 | 2.17 | 30.17 | 39.38 |
FT Calendar Help /wp-admin/admin.php?page=ftcalendar-help | 1,249 | 1.98 | 30.60 | 37.89 |
FT Calendar /wp-admin/admin.php?page=ftcalendar-general | 1,067 | 1.97 | 30.80 | 30.40 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie tables were found after uninstall: 1 table
- wp_ftcalendar_events
- This plugin did not uninstall successfully, leaving 11 options in the database
- widget_ft_cal_thumb_calendar
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- ft_calendar_options
- ft_cal_version
- db_upgraded
- widget_ft_cal_event_list
- widget_recent-comments
- ...
Smoke tests 25% 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
- 57 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ftcalendar-general
- > Warning in wp-content/plugins/easy-age-verifier/lib/extras/wpApi.php+48
file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known
- 57 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ftcalendar-general
- > Warning in wp-content/plugins/easy-age-verifier/lib/extras/wpApi.php+48
file_get_contents(http://www.fillyourtaproom.com/wp-json/wp/v2/posts?per_page=10): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 7× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function remove_filter() in wp-content/plugins/ft-calendar/includes/feed-rdf.php:10
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/ft-calendar/classes/class-widgets.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function remove_filter() in wp-content/plugins/ft-calendar/includes/feed-rss.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function remove_filter() in wp-content/plugins/ft-calendar/includes/feed-rss2.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function get_bloginfo() in wp-content/plugins/ft-calendar/ft-calendar.php:46
- > PHP Fatal error
Uncaught Error: Call to undefined function remove_filter() in wp-content/plugins/ft-calendar/includes/feed-atom.php:10
- > PHP Fatal error
Uncaught Error: Call to a member function get_calendar_data() on null in wp-content/plugins/ft-calendar/includes/feed-ical.php:11
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There are user-side issues you should fix
- > GET request to /wp-admin/edit-tags.php?taxonomy=ftcalendar
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: $(...).live is not a function" "TypeError: $(...).live is not a function\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/ft-calendar/includes/js/add-edit-taxonomy.js?ver=6.3.1:3:24)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ftcalendar-general
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28721 Uncaught TypeError: $(...).live is not a function
- > GET request to /wp-admin/admin.php?page=ftcalendar-general
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: $(...).live is not a function" "TypeError: $(...).live is not a function\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/ft-calendar/includes/js/general-settings.js?ver=6.3.1:2:30)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
Optimizations
Plugin configuration 97% 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
These attributes need to be fixed:
- Tags: Too many tags (11 tag instead of maximum 10); only the first 5 tags are used in your directory listing
ft-calendar/ft-calendar.php Passed 13 tests
The main PHP script in "FT Calendar" version 1.6.1.1 is automatically included on every request by WordPress
45 characters long description:
A feature rich calendar plugin for 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
Everything looks great! No dangerous files found in this plugin8,493 lines of code in 34 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 2,137 | 1,520 | 4,922 |
JavaScript | 9 | 136 | 297 | 1,890 |
CSS | 5 | 140 | 65 | 903 |
PO File | 4 | 366 | 434 | 778 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 56.69 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 238.00 |
Average method complexity | 6.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 49.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 13 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 134 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 134 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 13 | |
▷ Named functions | 13 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
26 PNG files occupy 0.26MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/css/ui-lightness/images/ui-icons_ffffff_256x240.png | 3.62KB | 4.11KB | 0.00% |
includes/css/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png | 0.12KB | 0.18KB | 0.00% |
screenshot-9.png | 60.90KB | 27.44KB | ▼ 54.94% |
screenshot-6.png | 47.03KB | 23.66KB | ▼ 49.70% |
includes/css/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png | 0.09KB | 0.14KB | 0.00% |