Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▼0.90MB] [CPU: ▼31.43ms] Passed 4 tests
This is a short check of server-side resources used by Nakiedy - system rezerwacji online
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 37.66 ▼4.29 |
Dashboard /wp-admin | 3.04 ▼0.26 | 24.90 ▼21.37 |
Posts /wp-admin/edit.php | 3.04 ▼0.31 | 24.35 ▼21.95 |
Add New Post /wp-admin/post-new.php | 3.04 ▼2.84 | 23.58 ▼72.28 |
Media Library /wp-admin/upload.php | 3.04 ▼0.18 | 23.63 ▼10.11 |
Ustawienia /wp-admin/admin.php?page=wpn-settings | 3.04 | 24.86 |
Pomoc /wp-admin/admin.php?page=wpn-help | 3.04 | 25.09 |
Kalendarz /wp-admin/admin.php?page=wpn-dashboard | 3.04 | 23.57 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
Nakiedy - system rezerwacji online: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,822 ▲36 | 14.11 ▼0.26 | 1.61 ▼0.18 | 39.42 ▼2.29 |
Dashboard /wp-admin | 2,228 ▲53 | 5.60 ▼0.14 | 85.36 ▼13.66 | 87.65 ▲42.21 |
Posts /wp-admin/edit.php | 2,139 ▲39 | 1.98 ▲0.01 | 37.96 ▲1.56 | 34.70 ▼1.18 |
Add New Post /wp-admin/post-new.php | 1,708 ▲182 | 22.28 ▼1.09 | 686.39 ▼0.64 | 50.28 ▼4.45 |
Media Library /wp-admin/upload.php | 1,433 ▲33 | 4.17 ▼0.01 | 96.70 ▼11.95 | 62.55 ▲14.97 |
Ustawienia /wp-admin/admin.php?page=wpn-settings | 872 | 2.18 | 23.73 | 33.72 |
Pomoc /wp-admin/admin.php?page=wpn-help | 895 | 1.99 | 24.42 | 30.52 |
Kalendarz /wp-admin/admin.php?page=wpn-dashboard | 805 | 2.00 | 25.80 | 26.68 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Uninstall procedure validation failed for this plugin
- > User notice in wp-includes/functions.php+5905
Function add_menu_page was called incorrectly. The seventh parameter passed to add_menu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 6.0.0.)
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Please fix the following server-side errors
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wpn-dashboard
- > User notice in wp-includes/functions.php+5905
Function add_menu_page was called incorrectly. The seventh parameter passed to add_menu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 6.0.0.)
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 4× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'Nakiedy_Rezerwacje' not found in wp-content/plugins/nakiedy-darmowy-system-rezerwacji-online/includes/wpn-settings.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/nakiedy-darmowy-system-rezerwacji-online/nakiedy-rezerwacje.php:20
- > PHP Fatal error
Uncaught Error: Class 'Nakiedy_Rezerwacje' not found in wp-content/plugins/nakiedy-darmowy-system-rezerwacji-online/includes/wpn-help.php:1
- > PHP Fatal error
Uncaught Error: Class 'Nakiedy_Rezerwacje' not found in wp-content/plugins/nakiedy-darmowy-system-rezerwacji-online/includes/wpn-dashboard.php:2
- > PHP Fatal error
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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 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
4 plugin tags: rezerwacja wizyt, system rejestracji, system rezerwacji, rejestracja online
nakiedy-darmowy-system-rezerwacji-online/nakiedy-rezerwacje.php 77% from 13 tests
"Nakiedy - system rezerwacji online" version 1.2.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("nakiedy-darmowy-system-rezerwacji-online.php" instead of "nakiedy-rezerwacje.php")
- Description: Keep the plugin description shorter than 140 characters (currently 571 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected1,085 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 138 | 85 | 617 |
CSS | 1 | 11 | 6 | 468 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 23.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 36.00 |
Average method complexity | 2.83 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 36 | |
▷ Static methods | 1 | 2.78% |
▷ Public methods | 36 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
2 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/nakiedy.png | 4.40KB | 2.82KB | ▼ 35.97% |
images/nakiedy-logo.png | 1.24KB | 1.29KB | 0.00% |