Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼0.53ms] Passed 4 tests
Server-side resources used by EventON Report
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 37.19 ▼2.84 |
Dashboard /wp-admin | 3.31 ▲0.01 | 50.46 ▲1.26 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.19 ▲1.22 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 92.75 ▼0.54 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 37.52 ▲0.04 |
Server storage [IO: ▲0.27MB] [DB: ▲0.07MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
EventON Report: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,820 ▲59 | 14.36 ▲0.08 | 1.92 ▲0.08 | 42.37 ▼2.90 |
Dashboard /wp-admin | 2,198 ▲27 | 5.48 ▼0.17 | 84.17 ▼10.36 | 41.24 ▼0.85 |
Posts /wp-admin/edit.php | 2,110 ▲10 | 1.94 ▼0.03 | 36.42 ▼2.96 | 36.11 ▲1.48 |
Add New Post /wp-admin/post-new.php | 1,532 ▲4 | 23.27 ▲0.02 | 681.07 ▲40.93 | 62.87 ▲6.17 |
Media Library /wp-admin/upload.php | 1,406 ▲12 | 4.26 ▲0.02 | 97.30 ▼1.87 | 43.10 ▼3.16 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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 fix the following
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/mmt-eventon-reports-lite/includes/admin/admin-settings-page.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mmt-eventon-reports-lite/mmt-eventon-reports-lite.php:42
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mmt-eventon-reports-lite/includes/admin/class-mmt-eo-reports-admin-ajax.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
- Screenshots: Please add an image for screenshot #1 (Reports Settings)
mmt-eventon-reports-lite/mmt-eventon-reports-lite.php 92% from 13 tests
This is the main PHP file of "EventON Report" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
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
Everything looks great! No dangerous files found in this plugin918 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 46 | 151 | 543 |
CSS | 2 | 1 | 3 | 228 |
JavaScript | 2 | 1 | 17 | 147 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 14.40 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 45.00 |
Average method complexity | 4.35 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 36.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 20 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 20 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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 Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin