Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
These installer errors require your attention
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/event-n-task/widget.php+119
Function create_function() is deprecated
Server metrics [RAM: ▼1.55MB] [CPU: ▼55.87ms] Passed 4 tests
An overview of server-side resources used by Event-N-Task
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.44 ▼1.02 | 6.15 ▼38.71 |
Dashboard /wp-admin | 2.46 ▼0.84 | 8.85 ▼38.65 |
Posts /wp-admin/edit.php | 2.46 ▼0.90 | 6.60 ▼44.47 |
Add New Post /wp-admin/post-new.php | 2.46 ▼3.43 | 8.23 ▼101.65 |
Media Library /wp-admin/upload.php | 2.46 ▼0.77 | 10.03 ▼24.28 |
Add New /wp-admin/post-new.php?post_type=ent-event | 2.46 | 7.40 |
Event-N-Task /wp-admin/options-general.php?page=ent-settings | 2.46 | 8.15 |
All Events /wp-admin/edit.php?post_type=ent-event | 2.46 | 7.96 |
Add New /wp-admin/post-new.php?post_type=ent-place | 2.46 | 6.73 |
All Places /wp-admin/edit.php?post_type=ent-place | 2.46 | 9.29 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 8 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_ent-widget-event |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Event-N-Task
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,881 ▲146 | 13.40 ▼1.18 | 1.75 ▼0.18 | 44.87 ▲0.42 |
Dashboard /wp-admin | 2,284 ▲96 | 4.96 ▲0.06 | 102.15 ▼0.45 | 38.35 ▼4.25 |
Posts /wp-admin/edit.php | 2,164 ▲75 | 2.09 ▲0.04 | 38.90 ▼3.09 | 32.70 ▼3.20 |
Add New Post /wp-admin/post-new.php | 1,577 ▲35 | 23.38 ▲5.21 | 649.24 ▲42.09 | 51.94 ▼0.27 |
Media Library /wp-admin/upload.php | 1,460 ▲78 | 4.41 ▲0.21 | 105.64 ▲6.99 | 45.39 ▲0.86 |
Add New /wp-admin/post-new.php?post_type=ent-event | 2,784 | 7.91 | 170.57 | 63.19 |
Event-N-Task /wp-admin/options-general.php?page=ent-settings | 878 | 1.94 | 26.58 | 24.56 |
All Events /wp-admin/edit.php?post_type=ent-event | 1,175 | 2.05 | 36.25 | 28.13 |
Add New /wp-admin/post-new.php?post_type=ent-place | 2,276 | 7.75 | 170.97 | 54.95 |
All Places /wp-admin/edit.php?post_type=ent-place | 1,181 | 2.03 | 35.02 | 30.30 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-content/plugins/event-n-task/widget.php+119
Function create_function() is deprecated
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-posts
- widget_ent-widget-event
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
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
- 7 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=ent-place
- > POST request to /wp-admin/admin-ajax.php
- > Deprecated in wp-content/plugins/event-n-task/widget.php+119
Function create_function() is deprecated
- 5 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=ent-place
- > User deprecated in wp-includes/functions.php+5828
Hook contextual_help is deprecated since version 3.3.0! Use get_current_screen()->add_help_tab(), get_current_screen()->remove_help_tab() instead.
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
Please fix the following
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Query' not found in wp-content/plugins/event-n-task/archive-ent-event.php:21
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/event-n-task/widget.php:11
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/event-n-task/widget.php:11
- > 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 Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
2 plugin tags: tasks, event
event-n-task/event-n-task.php Passed 13 tests
Analyzing the main PHP file in "Event-N-Task" version 1.0
136 characters long description:
The delicious event and task management plugin. We've also stuffed in some user registration for events, so this bad boy has everything.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin1,105 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 259 | 394 | 1,016 |
CSS | 2 | 20 | 42 | 89 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 2.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 39 | |
▷ Named functions | 39 | 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
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/map-pin.png | 1.87KB | 1.29KB | ▼ 30.79% |
img/calendar-blue.png | 1.88KB | 1.05KB | ▼ 44.35% |