Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.07MB] [CPU: ▼2.62ms] Passed 4 tests
Analyzing server-side resources used by WP-ISPConfig 3
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 45.99 ▲1.43 |
Dashboard /wp-admin | 3.37 ▲0.07 | 55.47 ▲4.48 |
Posts /wp-admin/edit.php | 3.48 ▲0.13 | 60.14 ▲4.89 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 103.32 ▼14.97 |
Media Library /wp-admin/upload.php | 3.29 ▲0.07 | 36.82 ▼1.43 |
Databases /wp-admin/admin.php?page=ispconfig_databases | 3.27 | 35.58 |
Settings /wp-admin/admin.php?page=ispconfig_settings | 3.26 | 36.72 |
Websites /wp-admin/admin.php?page=ispconfig_websites | 3.27 | 43.13 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 29 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP-ISPConfig 3
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,859 ▲70 | 13.49 ▲0.30 | 2.43 ▲0.77 | 40.38 ▼8.26 |
Dashboard /wp-admin | 2,222 ▲13 | 4.95 ▼0.91 | 100.18 ▲0.10 | 75.11 ▲34.63 |
Posts /wp-admin/edit.php | 2,120 ▲28 | 2.05 ▲0.04 | 38.81 ▼1.60 | 37.00 ▲1.55 |
Add New Post /wp-admin/post-new.php | 6,444 ▲4,927 | 20.49 ▲2.86 | 879.62 ▲257.77 | 185.07 ▲127.95 |
Media Library /wp-admin/upload.php | 1,410 ▲19 | 4.25 ▲0.13 | 101.14 ▼9.72 | 73.15 ▲26.40 |
Databases /wp-admin/admin.php?page=ispconfig_databases | 876 | 1.68 | 28.45 | 34.32 |
Settings /wp-admin/admin.php?page=ispconfig_settings | 1,064 | 1.69 | 32.61 | 35.29 |
Websites /wp-admin/admin.php?page=ispconfig_websites | 894 | 2.07 | 25.67 | 28.48 |
Uninstaller [IO: ✅] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/wp-ispconfig3/index.php
- 7× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Warning
require_once(WPISPCONFIG3_PLUGIN_DIRmanage/ispconfig_database_list.php): failed to open stream: No such file or directory in wp-content/plugins/wp-ispconfig3/manage/ispconfig_database.php on line 2
- > PHP Fatal error
require_once(): Failed opening required 'WPISPCONFIG3_PLUGIN_DIRmanage/ispconfig_website_list.php' (include_path='.:/usr/share/php') in wp-content/plugins/wp-ispconfig3/manage/ispconfig_website.php on line 3
- > PHP Fatal error
require_once(): Failed opening required 'WPISPCONFIG3_PLUGIN_DIRmanage/ispconfig_database_list.php' (include_path='.:/usr/share/php') in wp-content/plugins/wp-ispconfig3/manage/ispconfig_database.php on line 2
- > PHP Warning
require_once(WPISPCONFIG3_PLUGIN_DIRmanage/ispconfig_website_list.php): failed to open stream: No such file or directory in wp-content/plugins/wp-ispconfig3/manage/ispconfig_website.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-ispconfig3/ispconfig-blocks.php:7
- > PHP Warning
Use of undefined constant WPISPCONFIG3_PLUGIN_DIR - assumed 'WPISPCONFIG3_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-ispconfig3/manage/ispconfig_website.php on line 3
- > PHP Warning
Use of undefined constant WPISPCONFIG3_PLUGIN_DIR - assumed 'WPISPCONFIG3_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-ispconfig3/manage/ispconfig_database.php on line 2
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Tags: You are using too many tags: 13 tag instead of maximum 10
wp-ispconfig3/index.php 92% from 13 tests
"WP-ISPConfig 3" version 1.5.6's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("wp-ispconfig3.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin2,947 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 376 | 208 | 1,767 |
JavaScript | 3 | 93 | 18 | 405 |
JSON | 3 | 0 | 0 | 348 |
PO File | 2 | 101 | 6 | 220 |
Bourne Shell | 2 | 15 | 0 | 66 |
CSS | 2 | 6 | 2 | 49 |
SVG | 1 | 0 | 0 | 38 |
XML | 1 | 1 | 1 | 33 |
Markdown | 1 | 13 | 0 | 21 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 26.20 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 126.00 |
Average method complexity | 3.15 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 1 | 10.00% |
▷ Concrete classes | 9 | 90.00% |
▷ Final classes | 0 | 0.00% |
Methods | 93 | |
▷ Static methods | 13 | 13.98% |
▷ Public methods | 67 | 72.04% |
▷ Protected methods | 16 | 17.20% |
▷ Private methods | 10 | 10.75% |
Functions | 15 | |
▷ Named functions | 1 | 6.67% |
▷ Anonymous functions | 14 | 93.33% |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
ispconfig.png | 0.35KB | 0.35KB | 0.00% |