Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼5.40ms] Passed 4 tests
A check of server-side resources used by WP Event Manager Migration
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 38.56 ▼3.34 |
Dashboard /wp-admin | 3.32 ▲0.02 | 45.52 ▼7.60 |
Posts /wp-admin/edit.php | 3.43 ▲0.08 | 41.90 ▼3.70 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 78.37 ▼6.97 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 35.77 ▼0.77 |
Server storage [IO: ▲0.25MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 25 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
WP Event Manager Migration: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,833 ▲72 | 14.35 ▲0.00 | 1.92 ▲0.18 | 44.66 ▼4.39 |
Dashboard /wp-admin | 2,205 ▲28 | 5.65 ▲0.02 | 97.91 ▼1.36 | 44.47 ▼2.24 |
Posts /wp-admin/edit.php | 2,119 ▲16 | 2.02 ▼0.00 | 35.84 ▼1.37 | 32.47 ▼2.20 |
Add New Post /wp-admin/post-new.php | 1,544 ▲18 | 23.14 ▼0.44 | 673.72 ▲34.59 | 54.37 ▲4.78 |
Media Library /wp-admin/upload.php | 1,416 ▲22 | 4.19 ▼0.05 | 99.89 ▼4.71 | 43.39 ▼1.53 |
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
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting 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
The following issues need your attention
- 4× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wp-event-manager-migration/templates/admin/event-migration-success.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wp-event-manager-migration/templates/admin/event-migration-import.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wp-event-manager-migration/templates/admin/event-migration-mapping-form.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wp-event-manager-migration/templates/admin/event-migration-file-upload.php:2
- > 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 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Screenshots: No descriptions were found for these screenshots #1, #2, #3 in wp-event-manager-migration/assets to your readme.txt
wp-event-manager-migration/wp-event-manager-migration.php 92% from 13 tests
"WP Event Manager Migration" version 1.0.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 142 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin3,996 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 467 | 763 | 3,153 |
PO File | 3 | 342 | 248 | 595 |
JavaScript | 2 | 26 | 40 | 114 |
Pascal | 1 | 41 | 85 | 80 |
CSS | 2 | 4 | 0 | 52 |
Markdown | 1 | 0 | 0 | 2 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 102.33 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 173.00 |
Average method complexity | 6.15 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 50.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 118 | |
▷ Static methods | 11 | 9.32% |
▷ Public methods | 99 | 83.90% |
▷ Protected methods | 9 | 7.63% |
▷ Private methods | 10 | 8.47% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 42 | |
▷ Global constants | 42 | 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
No PNG images were found in this plugin