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
The following installer errors require your attention
- Install procedure had errors
- > Warning in wp-includes/class-wp-hook.php+310
call_user_func_array() expects parameter 1 to be a valid callback, class 'Reservationsystem' not found
Server metrics [RAM: ▲0.06MB] [CPU: ▼4.43ms] Passed 4 tests
A check of server-side resources used by Reservation System
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 45.71 ▲2.24 |
Dashboard /wp-admin | 3.37 ▲0.07 | 53.23 ▲2.76 |
Posts /wp-admin/edit.php | 3.43 ▲0.06 | 54.09 ▼3.44 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.06 | 85.53 ▼19.27 |
Media Library /wp-admin/upload.php | 3.30 ▲0.06 | 42.24 ▲5.20 |
Reservations /wp-admin/edit.php?post_type=reservation | 3.34 | 39.19 |
Add New /wp-admin/post-new.php?post_type=reservation | 3.41 | 49.59 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Reservation System
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,924 ▲163 | 13.52 ▼1.13 | 12.97 ▲11.10 | 46.85 ▲3.98 |
Dashboard /wp-admin | 2,222 ▲45 | 5.56 ▼0.03 | 87.59 ▼4.49 | 43.66 ▼2.70 |
Posts /wp-admin/edit.php | 2,127 ▲24 | 2.01 ▲0.03 | 39.71 ▼6.99 | 35.15 ▼3.93 |
Add New Post /wp-admin/post-new.php | 1,548 ▲22 | 23.65 ▲0.47 | 686.67 ▼25.03 | 58.61 ▼2.66 |
Media Library /wp-admin/upload.php | 1,427 ▲27 | 4.14 ▼0.06 | 100.26 ▼8.28 | 42.07 ▼3.77 |
Reservations /wp-admin/edit.php?post_type=reservation | 1,100 | 1.93 | 31.08 | 32.18 |
Add New /wp-admin/post-new.php?post_type=reservation | 2,292 | 7.62 | 173.67 | 67.09 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin cannot be uninstalled
- > Warning in wp-includes/class-wp-hook.php+310
call_user_func_array() expects parameter 1 to be a valid callback, class 'Reservationsystem' not found
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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 SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: event, event system, reservation system, system, reservation
reservation-system/reservationsystem.php 85% from 13 tests
The principal PHP file in "Reservation System" v. 1.1.0 is loaded by WordPress automatically on each request
The following require your attention:
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
- Main file name: Name the main plugin file the same as the plugin slug ("reservation-system.php" instead of "reservationsystem.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
Everything looks great! No dangerous files found in this plugin1,841 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 81 | 70 | 1,442 |
PHP | 4 | 34 | 32 | 272 |
JavaScript | 2 | 21 | 31 | 127 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 8.50 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 4.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 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 | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.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
No PNG files were detected