Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.35MB] [CPU: ▼3.46ms] Passed 4 tests
Server-side resources used by Event-O-Matic
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.84 ▲0.37 | 44.93 ▲2.06 |
Dashboard /wp-admin | 3.64 ▲0.34 | 51.28 ▼2.67 |
Posts /wp-admin/edit.php | 3.77 ▲0.41 | 46.56 ▼5.77 |
Add New Post /wp-admin/post-new.php | 6.22 ▲0.34 | 86.37 ▼5.09 |
Media Library /wp-admin/upload.php | 3.57 ▲0.34 | 39.67 ▼0.32 |
All Places /wp-admin/edit.php?post_type=eom-place | 3.62 | 40.22 |
Categories /wp-admin/edit-tags.php?taxonomy=eom-event-cats&post_type=eom-event | 3.56 | 36.29 |
Add New Place /wp-admin/post-new.php?post_type=eom-place | 3.69 | 54.14 |
All Events /wp-admin/edit.php?post_type=eom-event | 3.62 | 41.73 |
Add New Event /wp-admin/post-new.php?post_type=eom-event | 3.79 | 51.73 |
Event-O-Matic /wp-admin/options-general.php?page=eom | 3.51 | 36.43 |
Server storage [IO: ▲0.07MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 7 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_eom_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Event-O-Matic
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,970 ▲199 | 13.78 ▼0.14 | 7.07 ▲4.96 | 43.15 ▼0.26 |
Dashboard /wp-admin | 2,275 ▲87 | 5.88 ▲1.00 | 103.45 ▼15.52 | 39.33 ▼8.02 |
Posts /wp-admin/edit.php | 2,161 ▲75 | 2.10 ▲0.07 | 34.58 ▼1.52 | 33.76 ▼1.29 |
Add New Post /wp-admin/post-new.php | 1,574 ▲60 | 20.99 ▲3.49 | 682.90 ▼14.36 | 54.36 ▲2.42 |
Media Library /wp-admin/upload.php | 1,460 ▲72 | 4.31 ▲0.14 | 108.69 ▲4.15 | 49.83 ▲4.28 |
All Places /wp-admin/edit.php?post_type=eom-place | 1,133 | 2.05 | 33.75 | 31.25 |
Categories /wp-admin/edit-tags.php?taxonomy=eom-event-cats&post_type=eom-event | 1,340 | 2.38 | 29.30 | 29.91 |
Add New Place /wp-admin/post-new.php?post_type=eom-place | 2,301 | 7.77 | 174.32 | 65.67 |
All Events /wp-admin/edit.php?post_type=eom-event | 1,195 | 2.06 | 32.64 | 33.12 |
Add New Event /wp-admin/post-new.php?post_type=eom-event | 2,869 | 7.86 | 187.39 | 57.65 |
Event-O-Matic /wp-admin/options-general.php?page=eom | 1,049 | 1.85 | 27.44 | 27.97 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_eom_widget
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Almost there, just fix the following server-side errors
- 6 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=eom
- > Notice in wp-content/plugins/event-o-matic/event-o-matic.php+953
Trying to access array offset on value of type bool
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/event-o-matic/event-o-matic.php:19
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/event-o-matic/widget.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Requires at least: Invalid plugin version format
event-o-matic/event-o-matic.php 92% from 13 tests
Analyzing the main PHP file in "Event-O-Matic" version 6.0.1
You should first fix the following items:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected1,262 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 236 | 369 | 1,027 |
PO File | 1 | 67 | 71 | 154 |
CSS | 2 | 17 | 42 | 81 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 2.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 45 | |
▷ Named functions | 45 | 100.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin