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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.15MB] [CPU: ▼5.57ms] Passed 4 tests
An overview of server-side resources used by Minimalistic Event Manager
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.17 | 40.92 ▲2.72 |
Dashboard /wp-admin | 3.47 ▲0.12 | 45.32 ▼14.77 |
Posts /wp-admin/edit.php | 3.58 ▲0.22 | 45.24 ▼3.70 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.17 | 88.45 ▼6.53 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 37.21 ▲3.46 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 13 new files
Database: no new tables, 9 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_mem_event_list |
widget_theysaidso_widget |
mem_post_types |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
mem_edit_mode |
Browser metrics Passed 4 tests
Minimalistic Event Manager: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,796 ▲35 | 14.35 ▼0.05 | 1.72 ▲0.01 | 44.03 ▼0.78 |
Dashboard /wp-admin | 2,205 ▲28 | 5.66 ▲0.09 | 82.86 ▼5.49 | 41.75 ▲0.18 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 2.03 ▲0.04 | 34.32 ▼1.48 | 35.11 ▼1.57 |
Add New Post /wp-admin/post-new.php | 6,464 ▲4,938 | 26.29 ▲3.42 | 948.63 ▲283.54 | 56.96 ▼5.49 |
Media Library /wp-admin/upload.php | 1,410 ▲13 | 4.25 ▲0.04 | 95.17 ▼8.55 | 43.69 ▼0.71 |
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
You still need to fix the following
- This plugin does not fully uninstall, leaving 9 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_mem_event_list
- widget_recent-comments
- widget_theysaidso_widget
- mem_edit_mode
- mem_post_types
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/minimalistic-event-manager/widgets/event-list.php:26
- > PHP Fatal error
Uncaught Error: Call to undefined function add_option() in wp-content/plugins/minimalistic-event-manager/mem.php:468
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
3 plugin tags: events, time, dates
minimalistic-event-manager/mem.php 92% from 13 tests
The main PHP script in "Minimalistic Event Manager" version 1.1.1 is automatically included on every request by WordPress
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("minimalistic-event-manager.php" instead of "mem.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected1,171 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 378 | 300 | 712 |
JavaScript | 1 | 65 | 64 | 240 |
PO File | 2 | 53 | 74 | 159 |
CSS | 1 | 5 | 1 | 60 |
PHP code Passed 2 tests
This is a very shot review 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.40 |
Average class complexity | 32.00 |
▷ Minimum class complexity | 32.00 |
▷ Maximum class complexity | 32.00 |
Average method complexity | 3.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.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 | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 15 | |
▷ Named functions | 13 | 86.67% |
▷ Anonymous functions | 2 | 13.33% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected