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
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼2.54ms] Passed 4 tests
This is a short check of server-side resources used by DEFINE SERVER
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 36.77 ▼6.34 |
Dashboard /wp-admin | 3.34 ▲0.04 | 55.62 ▲4.80 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 50.72 ▲3.91 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 89.13 ▼6.31 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 36.96 ▼1.41 |
DEFINE SERVER /wp-admin/options-general.php?page=define-server/define-server.php | 3.23 | 32.26 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
define_server_options |
Browser metrics Passed 4 tests
A check of browser resources used by DEFINE SERVER
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.24 ▼0.37 | 1.98 ▲0.24 | 42.76 ▼2.83 |
Dashboard /wp-admin | 2,193 ▲16 | 5.56 ▼0.12 | 86.09 ▼3.79 | 42.09 ▼5.99 |
Posts /wp-admin/edit.php | 2,101 ▲1 | 2.05 ▲0.06 | 35.98 ▲1.49 | 34.95 ▲3.10 |
Add New Post /wp-admin/post-new.php | 1,557 ▲12 | 22.92 ▼0.07 | 687.59 ▼1.96 | 53.78 ▼8.06 |
Media Library /wp-admin/upload.php | 1,404 ▲1 | 4.21 ▼0.06 | 100.80 ▼0.83 | 40.97 ▼9.51 |
DEFINE SERVER /wp-admin/options-general.php?page=define-server/define-server.php | 852 | 2.01 | 22.62 | 68.61 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
- Contributors: Please add at least on tag
- Contributors: The plugin contributors field is not present
define-server/define-server.php Passed 13 tests
Analyzing the main PHP file in "DEFINE SERVER" version 1.0.1
139 characters long description:
DEFINE SERVER can help us to define the 'downloadserver' and the 'apiserver',it's help China's user solve '429 Too Many Requests' and more.
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
Everything looks great! No dangerous files found in this plugin235 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 38 | 58 | 205 |
Markdown | 1 | 26 | 0 | 30 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 27.00 |
▷ Minimum class complexity | 27.00 |
▷ Maximum class complexity | 27.00 |
Average method complexity | 3.89 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 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 | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin