Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.00MB] [CPU: ▼8.12ms] Passed 4 tests
A check of server-side resources used by IP Address Widget in Footer
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.74 ▲0.01 | 41.73 ▼4.44 |
Dashboard /wp-admin | 3.58 ▼0.05 | 49.58 ▼19.56 |
Posts /wp-admin/edit.php | 3.69 ▲0.01 | 52.27 ▼2.82 |
Add New Post /wp-admin/post-new.php | 6.16 ▲0.01 | 90.12 ▼5.64 |
Media Library /wp-admin/upload.php | 3.50 ▲0.01 | 39.03 ▼0.61 |
IPAddress.Tech Widget /wp-admin/options-general.php?page=ipwf-ip-ins-scr | 3.47 | 35.87 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 5 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
ipwf-ipfoot-img-scr |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
IP Address Widget in Footer: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,809 ▲48 | 14.37 ▼0.23 | 1.75 ▼0.30 | 41.97 ▼2.18 |
Dashboard /wp-admin | 2,199 ▲22 | 5.61 ▲0.02 | 86.40 ▼2.76 | 37.89 ▼2.22 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 2.00 ▼0.02 | 42.24 ▲0.73 | 35.95 ▲0.24 |
Add New Post /wp-admin/post-new.php | 1,543 ▲17 | 17.81 ▲0.40 | 690.17 ▲60.75 | 54.61 ▲2.76 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.25 ▲0.03 | 107.18 ▲5.22 | 46.38 ▲0.45 |
IPAddress.Tech Widget /wp-admin/options-general.php?page=ipwf-ip-ins-scr | 827 | 2.06 | 25.35 | 30.62 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-comments
- db_upgraded
- ipwf-ipfoot-img-scr
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
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
Please fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ip-address-widget-in-footer/ip-address-widget-footer.php:43
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
These are user-side errors you should fix
- > GET request to /wp-admin/options-general.php?page=ipwf-ip-ins-scr
- > Network (severe)
https://ipaddress.tech/what-is-my-ip-address.png - Failed to load resource: the server responded with a status of 404 ()
- > GET request to /wp-admin/options-general.php?page=ipwf-ip-ins-scr
- > Network (severe)
https://ipaddress.tech/what-is-my-ip-address-w.png - Failed to load resource: the server responded with a status of 404 ()
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Screenshots: A description for screenshot #1 is required in ip-address-widget-in-footer/assets to your readme.txt
ip-address-widget-in-footer/ip-address-widget-footer.php 85% from 13 tests
The principal PHP file in "IP Address Widget in Footer" v. 1.0.0 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("ip-address-widget-in-footer.php" instead of "ip-address-widget-footer.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 382 characters long)
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
Success! There were no dangerous files found in this plugin64 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 15 | 11 | 64 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected