Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲1.00MB] [CPU: ▲0.42ms] Passed 4 tests
A check of server-side resources used by Themify Event Post
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.41 ▲0.94 | 46.69 ▲11.34 |
Dashboard /wp-admin | 4.38 ▲1.04 | 57.64 ▼2.63 |
Posts /wp-admin/edit.php | 4.40 ▲1.04 | 51.76 ▲7.13 |
Add New Post /wp-admin/post-new.php | 7.02 ▲1.14 | 86.10 ▼9.14 |
Media Library /wp-admin/upload.php | 4.20 ▲0.97 | 41.01 ▲6.32 |
Add New /wp-admin/post-new.php?post_type=event | 7.05 | 86.91 |
Event Tags /wp-admin/edit-tags.php?taxonomy=event-tag&post_type=event | 4.28 | 42.90 |
Event Settings /wp-admin/edit.php?post_type=event&page=themify-event-post | 4.17 | 37.32 |
Event Categories /wp-admin/edit-tags.php?taxonomy=event-category&post_type=event | 4.28 | 42.96 |
Events /wp-admin/edit.php?post_type=event | 4.31 | 40.49 |
Server storage [IO: ▲0.63MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 104 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_themify-event-post |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_themify-event-categories |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Themify Event Post
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,917 ▲170 | 13.35 ▼0.99 | 9.02 ▲7.30 | 45.51 ▲8.77 |
Dashboard /wp-admin | 2,239 ▲65 | 5.63 ▼0.03 | 85.26 ▼10.52 | 37.68 ▼8.30 |
Posts /wp-admin/edit.php | 2,136 ▲36 | 2.01 ▲0.06 | 34.33 ▼3.20 | 36.10 ▲0.22 |
Add New Post /wp-admin/post-new.php | 6,277 ▲4,751 | 18.69 ▼4.20 | 905.96 ▲200.85 | 38.86 ▼21.42 |
Media Library /wp-admin/upload.php | 1,442 ▲39 | 4.21 ▲0.01 | 96.69 ▼1.54 | 41.99 ▼5.69 |
Add New /wp-admin/post-new.php?post_type=event | 2,047 | 17.05 | 987.92 | 57.35 |
Event Tags /wp-admin/edit-tags.php?taxonomy=event-tag&post_type=event | 1,474 | 3.20 | 46.49 | 29.50 |
Event Settings /wp-admin/edit.php?post_type=event&page=themify-event-post | 1,025 | 1.66 | 24.98 | 30.82 |
Event Categories /wp-admin/edit-tags.php?taxonomy=event-category&post_type=event | 1,502 | 3.26 | 45.25 | 30.93 |
Events /wp-admin/edit.php?post_type=event | 1,181 | 2.10 | 35.53 | 28.11 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin did not uninstall successfully, leaving 8 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- widget_themify-event-categories
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_themify-event-post
- 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
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 17× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/themify-event-post/templates/config-shortcode-generator.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/themify-event-post/templates/config-post-meta.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function get_the_ID() in wp-content/plugins/themify-event-post/templates/content.php:24
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/themify-event-post/templates/shortcode.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function get_the_id() in wp-content/plugins/themify-event-post/templates/single.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function get_posts() in wp-content/plugins/themify-event-post/templates/widget-posts.php:57
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_parse_args() in wp-content/plugins/themify-event-post/templates/template-event-posts.php:14
- > PHP Notice
Undefined variable: instance in wp-content/plugins/themify-event-post/templates/widget-posts.php on line 17
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/themify-event-post/templates/widget-posts.php on line 41
- > PHP Notice
Undefined variable: instance in wp-content/plugins/themify-event-post/templates/widget-posts.php on line 41
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following browser errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=event
- > 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: Cannot read properties of null (reading 'addEventListener')" "TypeError: Cannot read properties of null (reading 'addEventListener')\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/themify-event-post/assets/admin_script.js?ver=1.2.7:20:13)\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/edit.php?post_type=event
- > 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: Cannot read properties of null (reading 'addEventListener')
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: Add descriptions for screenshots #1, #2 in themify-event-post/assets to your readme.txt
themify-event-post/themify-event-post.php 92% from 13 tests
The main PHP file in "Themify Event Post" ver. 1.2.7 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Domain Path: The domain path folder was not found ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin9,890 lines of code in 60 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 24 | 694 | 906 | 5,806 |
JavaScript | 23 | 325 | 252 | 2,344 |
CSS | 13 | 29 | 47 | 1,740 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.52 |
Average class complexity | 37.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 172.00 |
Average method complexity | 4.06 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 54.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 106 | |
▷ Static methods | 7 | 6.60% |
▷ Public methods | 103 | 97.17% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 2.83% |
Functions | 74 | |
▷ Named functions | 73 | 98.65% |
▷ Anonymous functions | 1 | 1.35% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
5 compressed PNG files occupy 0.02MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/themify-metabox/img/ddbtn-cross.png | 0.18KB | 0.27KB | 0.00% |
includes/themify-metabox/img/jquery.minicolors.png | 24.58KB | 27.69KB | 0.00% |
includes/themify-metabox/img/ddbtn-check.png | 0.14KB | 0.23KB | 0.00% |
includes/themify-metabox/img/ddbtn-blank.png | 0.07KB | 0.09KB | 0.00% |
includes/themify-metabox/img/icon-delete.png | 0.45KB | 0.46KB | 0.00% |