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
This plugin's installer ran successfully
Server metrics [RAM: ▼0.55MB] [CPU: ▼13.18ms] Passed 4 tests
An overview of server-side resources used by Easy IP Blocker
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 34.71 ▼5.95 |
Dashboard /wp-admin | 3.43 ▲0.13 | 45.85 ▼1.30 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 46.98 ▲1.32 |
Add New Post /wp-admin/post-new.php | 3.28 ▼2.60 | 35.03 ▼45.79 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 35.47 ▲0.32 |
Easy IP Block Settings /wp-admin/options-general.php?page=easy_ip_blocker_settings | 3.36 | 35.01 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
easy_ip_blocker_version |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Easy IP Blocker
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.58 ▲0.14 | 1.56 ▼0.13 | 36.14 ▼6.39 |
Dashboard /wp-admin | 2,202 ▲28 | 5.51 ▼0.12 | 84.62 ▼21.74 | 38.51 ▼8.11 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.01 ▲0.03 | 41.90 ▲4.38 | 35.70 ▲0.38 |
Add New Post /wp-admin/post-new.php | 1,529 ▲1 | 23.09 ▼0.04 | 674.14 ▼24.06 | 56.26 ▼6.95 |
Media Library /wp-admin/upload.php | 1,398 ▼2 | 4.23 ▼0.12 | 94.11 ▼6.08 | 40.42 ▼4.64 |
Easy IP Block Settings /wp-admin/options-general.php?page=easy_ip_blocker_settings | 992 | 3.10 | 48.76 | 25.99 |
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
These items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- easy_ip_blocker_version
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
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 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please take a look at the following user-side issues
- > GET request to /wp-admin/options-general.php?page=easy_ip_blocker_settings
- > Network (severe)
wp-content/plugins/easy-ip-blocker/assets/js/settings.min.js?ver=1.0.0 - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
2 plugin tags: plugin, wordpress
easy-ip-blocker/easy-ip-blocker.php 92% from 13 tests
The entry point to "Easy IP Blocker" version 1.0.4 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Domain Path: The domain path folder does not exist ("/lang/")
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
No dangerous file extensions were detected614 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 161 | 377 | 614 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 31.00 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 54.00 |
Average method complexity | 4.10 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 43.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 29 | |
▷ Static methods | 2 | 6.90% |
▷ Public methods | 26 | 89.66% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 10.34% |
Functions | 1 | |
▷ Named functions | 1 | 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 images were found in this plugin