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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.10MB] [CPU: ▼11.03ms] Passed 4 tests
Server-side resources used by Real WAN Server IP
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 36.20 ▼1.22 |
Dashboard /wp-admin | 3.42 ▲0.07 | 43.98 ▼14.67 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 40.57 ▼5.44 |
Add New Post /wp-admin/post-new.php | 6.13 ▲0.24 | 71.53 ▼22.80 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 35.78 ▲2.36 |
Real WAN Server IP /wp-admin/tools.php?page=real_wan_server_ip | 3.29 | 295.18 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Real WAN Server IP
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,905 ▲144 | 13.61 ▼0.97 | 8.07 ▲6.39 | 44.76 ▲7.08 |
Dashboard /wp-admin | 2,200 ▲26 | 5.51 ▼0.14 | 83.50 ▼3.11 | 38.24 ▼2.97 |
Posts /wp-admin/edit.php | 2,108 ▲8 | 2.01 ▼0.02 | 34.96 ▼1.42 | 33.67 ▼4.32 |
Add New Post /wp-admin/post-new.php | 1,533 ▲7 | 22.99 ▼0.16 | 667.44 ▲4.92 | 60.12 ▲8.18 |
Media Library /wp-admin/upload.php | 1,402 ▼1 | 4.23 ▲0.07 | 100.24 ▼4.50 | 46.89 ▲1.05 |
Real WAN Server IP /wp-admin/tools.php?page=real_wan_server_ip | 768 | 1.99 | 23.89 | 25.79 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- db_upgraded
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
Everything seems fine, however 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
Almost there! Just fix the following items
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/real-wan-server-ip/admin/partials/real-wan-server-ip-admin-display.php
- > /wp-content/plugins/real-wan-server-ip/public/partials/real-wan-server-ip-public-display.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
4 plugin tags: wan, ip, server, real
real-wan-server-ip/real-wan-server-ip.php Passed 13 tests
"Real WAN Server IP" version 1.0.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
26 characters long description:
Showing Real WAN Server IP
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected199 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 129 | 544 | 193 |
JavaScript | 2 | 4 | 54 | 6 |
CSS | 2 | 0 | 8 | 0 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.08 |
Average class complexity | 1.57 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.16 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 25 | |
▷ Static methods | 2 | 8.00% |
▷ Public methods | 20 | 80.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 20.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected