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.62MB] [CPU: ▼13.44ms] Passed 4 tests
Server-side resources used by Show Remote IP
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 39.26 ▼0.30 |
Dashboard /wp-admin | 3.36 ▲0.05 | 45.31 ▼4.98 |
Posts /wp-admin/edit.php | 3.47 ▲0.12 | 48.14 ▲2.30 |
Add New Post /wp-admin/post-new.php | 3.23 ▼2.65 | 36.98 ▼50.77 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 37.20 ▲4.52 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 40 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Show Remote IP
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,887 ▲141 | 13.62 ▼1.06 | 8.07 ▲6.30 | 43.53 ▼1.41 |
Dashboard /wp-admin | 2,210 ▲34 | 4.85 ▼1.03 | 98.08 ▼17.45 | 41.19 ▼9.55 |
Posts /wp-admin/edit.php | 2,093 ▲7 | 2.01 ▼0.00 | 42.42 ▲4.87 | 34.12 ▼0.90 |
Add New Post /wp-admin/post-new.php | 1,532 ▲18 | 23.33 ▲5.80 | 665.34 ▲20.66 | 53.45 ▼3.45 |
Media Library /wp-admin/upload.php | 1,395 ▲13 | 4.23 ▼0.01 | 94.01 ▼7.79 | 40.14 ▼4.72 |
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_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
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
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/show-remote-ip/admin/partials/show-remote-ip-admin-display.php
- > /wp-content/plugins/show-remote-ip/public/partials/show-remote-ip-public-display.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Plugin Name: Please specify the plugin name on the first line (
=== show-remote-ip ===
) - Screenshots: These screenshots lack descriptions #1, #2 in show-remote-ip/assets to your readme.txt
show-remote-ip/show-remote-ip.php 85% from 13 tests
The entry point to "Show Remote IP" version 1.2.4 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Requires PHP: Required version must be the same as the one declared in readme.txt ("7.4" instead of "7.0")
- Requires at least: Required version must be the same as the one declared in readme.txt ("5.0.0" instead of "5.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin257 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 129 | 599 | 204 |
YAML | 2 | 0 | 0 | 31 |
Markdown | 1 | 7 | 0 | 11 |
JavaScript | 2 | 4 | 54 | 6 |
Bourne Shell | 1 | 1 | 2 | 5 |
CSS | 2 | 0 | 8 | 0 |
PHP code Passed 2 tests
Analyzing 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.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 28 | |
▷ Static methods | 3 | 10.71% |
▷ Public methods | 22 | 78.57% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 21.43% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
7 PNG files occupy 0.08MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
.wordpress-org/banner-772x250.png | 12.11KB | 6.05KB | ▼ 50.04% |
.wordpress-org/banner-1544x500.png | 11.49KB | 5.80KB | ▼ 49.52% |
.wordpress-org/screenshot-2.png | 19.17KB | 8.57KB | ▼ 55.27% |
.wordpress-org/endpoint.png | 6.77KB | 3.79KB | ▼ 44.04% |
.wordpress-org/icon-128x128.png | 3.44KB | 2.19KB | ▼ 36.13% |