Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▼0.22MB] [CPU: ▼12.36ms] Passed 4 tests
A check of server-side resources used by Minecraft Control Panel
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.08 | 34.82 ▼8.76 |
Dashboard /wp-admin | 3.42 ▲0.11 | 48.08 ▲1.74 |
Posts /wp-admin/edit.php | 3.53 ▲0.17 | 54.42 ▲10.38 |
Add New Post /wp-admin/post-new.php | 4.71 ▼1.18 | 48.55 ▼49.59 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 44.67 ▲7.18 |
Gruppen /wp-admin/admin.php?page=mcp_groups | 3.33 | 39.32 |
Einstellungen /wp-admin/admin.php?page=mcp_settings | 3.32 | 33.70 |
User /wp-admin/admin.php?page=mcp_user | 3.31 | 37.84 |
Server /wp-admin/admin.php?page=mcp_server | 3.34 | 32.20 |
Informationen /wp-admin/admin.php?page=mcp_mainpage | 3.36 | 34.78 |
Server storage [IO: ▲2.85MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 218 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Minecraft Control Panel
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,968 ▲197 | 14.06 ▼0.34 | 10.41 ▲8.35 | 45.21 ▼0.69 |
Dashboard /wp-admin | 2,244 ▲53 | 4.94 ▲0.05 | 111.29 ▼12.46 | 89.20 ▲45.43 |
Posts /wp-admin/edit.php | 2,142 ▲50 | 2.09 ▲0.09 | 44.05 ▲4.24 | 37.81 ▲3.42 |
Add New Post /wp-admin/post-new.php | 1,714 ▲181 | 22.42 ▼0.78 | 732.88 ▲90.78 | 33.46 ▼26.91 |
Media Library /wp-admin/upload.php | 1,441 ▲53 | 4.26 ▲0.04 | 105.57 ▼20.12 | 72.75 ▲21.70 |
Gruppen /wp-admin/admin.php?page=mcp_groups | 941 | 1.76 | 28.10 | 29.32 |
Einstellungen /wp-admin/admin.php?page=mcp_settings | 1,012 | 1.79 | 29.68 | 35.68 |
User /wp-admin/admin.php?page=mcp_user | 822 | 1.72 | 27.17 | 27.29 |
Server /wp-admin/admin.php?page=mcp_server | 1,090 | 1.77 | 25.95 | 27.97 |
Informationen /wp-admin/admin.php?page=mcp_mainpage | 912 | 1.75 | 27.69 | 33.46 |
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
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Almost there, just fix the following server-side errors
- 7 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=mcp_server
- > Notice in wp-content/plugins/minecraft-control-panel/templates/server.php+26
Undefined index: action
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=mcp_mainpage
- > Notice in wp-content/plugins/minecraft-control-panel/templates/mainpage.php+22
Trying to access array offset on value of type null
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=mcp_mainpage
- > Warning in wp-content/plugins/minecraft-control-panel/templates/mainpage.php+22
Invalid argument supplied for foreach()
- 8 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=mcp_server
- > Notice in wp-content/plugins/minecraft-control-panel/templates/server.php+188
Undefined variable: location
- > GET request to /wp-admin/admin.php?page=mcp_server
- > Notice in wp-content/plugins/minecraft-control-panel/templates/server.php+131
Undefined variable: consLines
- > GET request to /wp-admin/admin.php?page=mcp_server
- > Notice in wp-content/plugins/minecraft-control-panel/templates/server.php+143
Undefined variable: chatLines
- > GET request to /wp-admin/admin.php?page=mcp_mainpage
- > Notice in wp-content/plugins/minecraft-control-panel/templates/mainpage.php+167
Undefined variable: plugin_count
- > GET request to /wp-admin/admin.php?page=mcp_mainpage
- > Notice in wp-content/plugins/minecraft-control-panel/templates/mainpage.php+177
Undefined variable: plugins
SRP 0% 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
- 14× PHP files perform the action of outputting non-empty strings when accessed directly (only 10 are shown):
- > /wp-content/plugins/minecraft-control-panel/0.6/0.5/templates/user.php
- > /wp-content/plugins/minecraft-control-panel/0.7/0.6/0.5/templates/user.php
- > /wp-content/plugins/minecraft-control-panel/0.7/0.6/templates/user.php
- > /wp-content/plugins/minecraft-control-panel/0.7/0.5/templates/groups.php
- > /wp-content/plugins/minecraft-control-panel/0.6/templates/user.php
- > /wp-content/plugins/minecraft-control-panel/0.5/templates/groups.php
- > /wp-content/plugins/minecraft-control-panel/0.6/0.5/templates/groups.php
- > /wp-content/plugins/minecraft-control-panel/0.5/templates/user.php
- > /wp-content/plugins/minecraft-control-panel/templates/groups.php
- > /wp-content/plugins/minecraft-control-panel/0.7/0.6/0.5/templates/groups.php
- 110× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/minecraft-control-panel/0.7/templates/groups.php on line 43
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/minecraft-control-panel/0.7/0.6/minecraft-control.php:25
- > PHP Fatal error
Uncaught Error: Call to a member function call() on null in wp-content/plugins/minecraft-control-panel/0.7/0.6/0.5/templates/settings.php:18
- > PHP Notice
Undefined variable: groups in wp-content/plugins/minecraft-control-panel/0.6/templates/groups.php on line 67
- > PHP Notice
Undefined index: action in wp-content/plugins/minecraft-control-panel/0.6/templates/server.php on line 7
- > PHP Notice
Undefined index: action in wp-content/plugins/minecraft-control-panel/0.5/templates/settings.php on line 10
- > PHP Notice
Undefined index: action in wp-content/plugins/minecraft-control-panel/0.7/0.6/0.5/templates/server.php on line 16
- > PHP Notice
Undefined variable: groups in wp-content/plugins/minecraft-control-panel/templates/groups.php on line 43
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/minecraft-control-panel/0.7/0.6/0.5/minecraft-control.php:18
- > PHP Notice
Undefined index: action in wp-content/plugins/minecraft-control-panel/0.5/templates/settings.php on line 5
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Donate link: Invalid URI found ("")
- Screenshots: These screenshots require images: #1 (Das Widget zeigt Informationen über Deinen Minecraftserver an. Vollständig konfigurierbar.), #2 (Das Menü erlaubt direkten Zugriff auf alle noch kommenden Funktionen.), #3 (Die Informationssseite zeigt die Grundeinstellungen und geladenen Plugins des Servers.), #4 (Die Serverseite bietet die Möglichkeit den Server zu starten/stoppen/resetten und verschafft eine Übersicht über die Konsole und den Chat. Dort kann man auch direkt Befehle oder Nachrichten ins Spiel senden.), #5 (Die Gruppenverwaltung erlaubt die vorhandenen Gruppen zu editieren oder neue zu erstellen.), #6 (Die Einstellungsseite gibt die Möglichkeit die API zu steuern und hält die wichtigsten Einstellungen des Plugins und der Widgets bereit.)
- Tags: You are using too many tags: 11 tag instead of maximum 10
minecraft-control-panel/minecraft-control.php 92% from 13 tests
The primary PHP file in "Minecraft Control Panel" version 0.7 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("minecraft-control-panel.php" instead of "minecraft-control.php")
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
Good job! No executable or dangerous file extensions detected5,381 lines of code in 33 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 27 | 517 | 168 | 3,094 |
JavaScript | 2 | 123 | 33 | 1,645 |
CSS | 4 | 89 | 139 | 642 |
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.35 |
Average class complexity | 9.07 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 23.00 |
Average method complexity | 1.73 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 28 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 28 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 308 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 284 | 92.21% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 24 | 7.79% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 8 | 100.00% |
▷ Public constants | 8 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
110 PNG files occupy 2.17MB with 0.92MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
0.7/0.6/0.5/images/dot_disabled.png | 2.72KB | 1.89KB | ▼ 30.46% |
0.5/images/minecraft_logo.png | 1.71KB | 1.47KB | ▼ 13.78% |
0.7/0.5/screenshot-1.png | 9.60KB | 4.70KB | ▼ 51.11% |
0.7/screenshot-6.png | 40.79KB | 13.49KB | ▼ 66.94% |
0.6/screenshot-1.png | 9.60KB | 4.70KB | ▼ 51.11% |