Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.15MB] [CPU: ▼8.44ms] Passed 4 tests
Server-side resources used by IVGuard
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.16 | 42.04 ▲3.36 |
Dashboard /wp-admin | 3.46 ▲0.12 | 50.71 ▼10.26 |
Posts /wp-admin/edit.php | 3.58 ▲0.22 | 48.69 ▼5.55 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.15 | 88.47 ▼18.50 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 39.65 ▲0.56 |
Server storage [IO: ▲0.04MB] [DB: ▲0.07MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 2 new files
Database: 3 new tables, 9 new options
New tables |
---|
wp_ivguard_candidate_blocking |
wp_ivguard_login_fail |
wp_ivguard_blocked_ip |
New WordPress options |
---|
ivGuardAPIVerifyIP |
widget_theysaidso_widget |
ivGuardDbVersion |
widget_recent-comments |
ivGuardKey |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by IVGuard
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,867 ▲96 | 14.56 ▲0.03 | 1.84 ▲0.03 | 39.01 ▲0.90 |
Dashboard /wp-admin | 2,246 ▲69 | 5.58 ▼0.09 | 86.60 ▼4.36 | 36.77 ▼5.68 |
Posts /wp-admin/edit.php | 2,154 ▲54 | 2.01 ▲0.03 | 35.08 ▼1.34 | 32.16 ▼1.10 |
Add New Post /wp-admin/post-new.php | 1,548 ▲20 | 18.15 ▼4.85 | 615.07 ▼2.16 | 68.23 ▼9.94 |
Media Library /wp-admin/upload.php | 1,456 ▲56 | 4.25 ▲0.08 | 97.61 ▼6.23 | 42.41 ▼1.18 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Zombie WordPress options detected upon uninstall: 7 options
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- ivGuardDbVersion
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests Passed 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)
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
Congratulations! This plugin passed the SRP test
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 90% from 29 tests
readme.txt 94% 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:
- Tags: Please delete some tags, you are using 17 tag instead of maximum 10
ivguard/IVGuard.php 85% from 13 tests
"IVGuard" version 1.2.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 301 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("ivguard.php" instead of "IVGuard.php")
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
Everything looks great! No dangerous files found in this plugin643 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 66 | 12 | 643 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 116.00 |
▷ Minimum class complexity | 116.00 |
▷ Maximum class complexity | 116.00 |
Average method complexity | 3.86 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 33.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 1 | 100.00% |
Methods | 38 | |
▷ Static methods | 38 | 100.00% |
▷ Public methods | 38 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 2 | 100.00% |
Constants | 19 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 19 | 100.00% |
▷ Public constants | 19 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin