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
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼2.54ms] Passed 4 tests
A check of server-side resources used by 1on1 Secure - AI Security, Anti-Spam, and Firewall
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 710.33 ▲670.84 |
Dashboard /wp-admin | 3.32 ▲0.02 | 45.32 ▼2.73 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 46.94 ▼1.80 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 87.87 ▼9.61 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 38.69 ▲4.00 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 9 new files
Database: no new tables, 12 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
ActionForBadIPs1on1Secure |
can_compress_scripts |
theysaidso_admin_options |
TorUser1on1Secure |
ErrorPageForBadIPs1on1Secure |
widget_recent-posts |
APIKey1on1Secure |
OnlyUSAVisitor1on1Secure |
... |
Browser metrics Passed 4 tests
Checking browser requirements for 1on1 Secure - AI Security, Anti-Spam, and Firewall
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,916 ▲170 | 13.94 ▼0.41 | 1.74 ▲0.20 | 26.27 ▼11.79 |
Dashboard /wp-admin | 2,320 ▲140 | 5.44 ▼0.17 | 91.84 ▲2.85 | 74.64 ▲32.48 |
Posts /wp-admin/edit.php | 2,237 ▲137 | 2.58 ▲0.55 | 42.98 ▲4.07 | 44.65 ▲9.30 |
Add New Post /wp-admin/post-new.php | 1,815 ▲284 | 23.23 ▲0.14 | 648.40 ▲0.18 | 41.73 ▼10.38 |
Media Library /wp-admin/upload.php | 1,525 ▲125 | 4.95 ▲0.74 | 96.50 ▲2.41 | 81.27 ▲36.44 |
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
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 86% 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
Attributes that require attention:
- Screenshots: No descriptions were found for these screenshots #2, #3, #4 in 1on1-secure/assets to your readme.txt
1on1-secure/1on1secure.php 77% from 13 tests
The primary PHP file in "1on1 Secure - AI Security, Anti-Spam, and Firewall" version 1.1.6 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("1on1-secure.php" instead of "1on1secure.php")
- Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 185 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected985 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 163 | 69 | 725 |
JavaScript | 1 | 32 | 5 | 155 |
CSS | 1 | 8 | 6 | 105 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
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 | 29 | |
▷ Named functions | 29 | 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
PNG files should be compressed to save space and minimize bandwidth usage
3 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/1on1securelogo70.png | 13.33KB | 1.78KB | ▼ 86.63% |
images/1on1securelogo40.png | 0.48KB | 0.48KB | 0.00% |
images/1on1secureicon18.png | 10.76KB | 0.46KB | ▼ 95.68% |