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.03MB] [CPU: ▼1.47ms] Passed 4 tests
This is a short check of server-side resources used by WooMinecraft-WP
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 38.43 ▼4.45 |
Dashboard /wp-admin | 3.34 ▲0.03 | 50.12 ▼4.69 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 54.19 ▲6.78 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 95.03 ▲2.24 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 37.77 ▲1.01 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for WooMinecraft-WP
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,820 ▲59 | 13.22 ▼1.43 | 2.16 ▲0.52 | 44.02 ▲2.92 |
Dashboard /wp-admin | 2,226 ▲23 | 4.92 ▼0.96 | 112.54 ▼0.00 | 42.65 ▼2.20 |
Posts /wp-admin/edit.php | 2,108 ▲8 | 2.05 ▲0.00 | 39.58 ▲0.57 | 35.88 ▲1.41 |
Add New Post /wp-admin/post-new.php | 1,545 ▼0 | 23.41 ▲0.01 | 630.21 ▼36.66 | 57.43 ▼0.53 |
Media Library /wp-admin/upload.php | 1,402 ▲2 | 4.24 ▲0.07 | 98.66 ▼19.86 | 40.69 ▼6.91 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 4× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function WooMinecraft\\WooCommerce\\get_servers() in wp-content/plugins/woominecraft/includes/views/commands.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/woominecraft/includes/views/admin-settings.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/woominecraft/includes/views/server-section.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function WooMinecraft\\plugin_dir_path() in wp-content/plugins/woominecraft/woominecraft.php:18
- > 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 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: minecraft, donations, woocommerce
woominecraft/woominecraft.php 92% from 13 tests
The main PHP script in "WooMinecraft-WP" version 1.4.5 is automatically included on every request by WordPress
Please take the time to fix the following:
- Requires at least: Required version does not match the one declared in readme.txt ("4.4.2" instead of "3.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin954 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 171 | 290 | 789 |
JavaScript | 2 | 38 | 33 | 123 |
CSS | 2 | 9 | 0 | 40 |
Markdown | 1 | 0 | 0 | 2 |
PHP code Passed 2 tests
An overview 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.36 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 6 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 52 | |
▷ Named functions | 47 | 90.38% |
▷ Anonymous functions | 5 | 9.62% |
Constants | 5 | |
▷ Global constants | 3 | 60.00% |
▷ Class constants | 2 | 40.00% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin