Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.14MB] [CPU: ▼11.57ms] Passed 4 tests
Analyzing server-side resources used by Events Made Easy Frontend Submit
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.15 | 35.48 ▼9.09 |
Dashboard /wp-admin | 3.46 ▲0.11 | 45.38 ▼16.33 |
Posts /wp-admin/edit.php | 3.57 ▲0.21 | 49.75 ▲0.80 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.15 | 80.81 ▼18.22 |
Media Library /wp-admin/upload.php | 3.38 ▲0.15 | 34.23 ▼2.62 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Events Made Easy Frontend Submit
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲31 | 14.67 ▲0.58 | 1.81 ▲0.03 | 42.43 ▼0.74 |
Dashboard /wp-admin | 2,201 ▲21 | 5.61 ▼0.05 | 88.15 ▼0.00 | 42.53 ▼0.03 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 2.03 ▲0.02 | 41.34 ▼1.96 | 36.29 ▲1.35 |
Add New Post /wp-admin/post-new.php | 1,533 ▲7 | 23.29 ▲0.14 | 616.01 ▼80.83 | 55.69 ▲1.32 |
Media Library /wp-admin/upload.php | 1,400 ▲6 | 4.20 ▲0.00 | 97.48 ▼5.78 | 41.01 ▼0.85 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/events-made-easy-frontend-submit/emefs.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function the_permalink() in wp-content/plugins/events-made-easy-frontend-submit/templates/form.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
2 plugin tags: events, frontend
events-made-easy-frontend-submit/emefs.php 92% from 13 tests
"Events Made Easy Frontend Submit" version 1.0.79's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("events-made-easy-frontend-submit.php" instead of "emefs.php")
Code Analysis Passed 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
Good job! No executable or dangerous file extensions detected1,447 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 147 | 141 | 1,056 |
JavaScript | 1 | 21 | 10 | 283 |
CSS | 2 | 18 | 2 | 108 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 107.50 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 209.00 |
Average method complexity | 5.95 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 62.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 43 | |
▷ Static methods | 21 | 48.84% |
▷ Public methods | 40 | 93.02% |
▷ Protected methods | 3 | 6.98% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
PNG images were not found in this plugin