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
- > Notice in wp-content/plugins/remote-control-panel/remotecontrolpanel.php+145
Undefined variable: add_filter
Server metrics [RAM: ▼1.67MB] [CPU: ▼57.71ms] Passed 4 tests
Server-side resources used by Remote Control Panel
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.68 ▲0.22 | 44.87 ▲2.44 |
Dashboard /wp-admin | 2.27 ▼1.03 | 9.94 ▼42.89 |
Posts /wp-admin/edit.php | 2.27 ▼1.09 | 10.22 ▼49.76 |
Add New Post /wp-admin/post-new.php | 2.27 ▼3.62 | 8.53 ▼107.10 |
Media Library /wp-admin/upload.php | 2.27 ▼0.96 | 8.80 ▼31.10 |
Remote Control Panel /wp-admin/options-general.php?page=remotecontrolpanel | 2.27 | 9.47 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_recent-posts |
remotecontrolpanel-options |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Remote Control Panel
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲34 | 14.40 ▲0.05 | 1.56 ▼0.14 | 41.14 ▼4.14 |
Dashboard /wp-admin | 2,204 ▲27 | 5.66 ▲0.06 | 89.61 ▼2.11 | 38.35 ▼6.94 |
Posts /wp-admin/edit.php | 2,106 ▲3 | 1.99 ▲0.04 | 39.89 ▼4.20 | 36.67 ▲0.11 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 23.48 ▲0.31 | 639.08 ▲13.87 | 60.73 ▲6.96 |
Media Library /wp-admin/upload.php | 1,406 ▲6 | 4.15 ▼0.07 | 96.27 ▼15.87 | 44.52 ▲3.37 |
Remote Control Panel /wp-admin/options-general.php?page=remotecontrolpanel | 844 | 1.68 | 22.88 | 27.93 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/remote-control-panel/remotecontrolpanel.php+145
Undefined variable: add_filter
- The uninstall procedure has failed, leaving 7 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- remotecontrolpanel-options
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=remotecontrolpanel
- > Notice in wp-content/plugins/remote-control-panel/remotecontrolpanel.php+145
Undefined variable: add_filter
- 4 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=remotecontrolpanel
- > Notice in wp-content/plugins/remote-control-panel/remotecontrolpanel.php+834
Trying to get property 'status' of non-object
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=remotecontrolpanel
- > Notice in wp-content/plugins/remote-control-panel/remotecontrolpanel.php+831
Undefined variable: rval
SRP 50% from 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
Please take a closer look at the following
- 12× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'remotecontrolpanel' not found in wp-content/plugins/remote-control-panel/admin.php:25
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/theme.php' (include_path='.:/usr/share/php') in wp-content/plugins/remote-control-panel/remotecontrolpanel_themes.php on line 10
- > PHP Warning
require_once(ABSPATHwp-includes/update.php): failed to open stream: No such file or directory in wp-content/plugins/remote-control-panel/remotecontrolpanel_core.php on line 10
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-includes/update.php' (include_path='.:/usr/share/php') in wp-content/plugins/remote-control-panel/remotecontrolpanel_core.php on line 10
- > PHP Fatal error
Uncaught Error: Class 'wpdb' not found in wp-content/plugins/remote-control-panel/lib/db.php:3
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/plugin.php' (include_path='.:/usr/share/php') in wp-content/plugins/remote-control-panel/remotecontrolpanel_plugins.php on line 10
- > PHP Warning
require_once(ABSPATHwp-admin/includes/plugin.php): failed to open stream: No such file or directory in wp-content/plugins/remote-control-panel/remotecontrolpanel_plugins.php on line 10
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/remote-control-panel/remotecontrolpanel_core.php on line 10
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/remote-control-panel/remotecontrolpanel_plugins.php on line 10
- > PHP Fatal error
Uncaught Error: Class 'wpdb' not found in wp-content/plugins/remote-control-panel/lib/db.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
8 plugin tags: administration, backup, management, wordpress security, remote control...
remote-control-panel/remotecontrolpanel.php 92% from 13 tests
Analyzing the main PHP file in "Remote Control Panel" version 0.4.6
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("remote-control-panel.php" instead of "remotecontrolpanel.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin2,030 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 377 | 466 | 2,016 |
JavaScript | 1 | 0 | 0 | 14 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 21.29 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 90.00 |
Average method complexity | 3.39 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 43.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 14 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 119 | |
▷ Static methods | 10 | 8.40% |
▷ Public methods | 96 | 80.67% |
▷ Protected methods | 8 | 6.72% |
▷ Private methods | 15 | 12.61% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 4 | 100.00% |
▷ Public constants | 4 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected