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.11MB] [CPU: ▲1.58ms] 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.66 ▲0.19 | 697.58 ▲654.47 |
Dashboard /wp-admin | 3.41 ▲0.10 | 46.59 ▼3.21 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 50.11 ▼2.90 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 92.22 ▲6.44 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 40.28 ▲6.01 |
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 |
---|
APIKey1on1Secure |
can_compress_scripts |
DataAnalysis1on1Secure |
widget_recent-comments |
ErrorPageForBadIPs1on1Secure |
db_upgraded |
OnlyUSAVisitor1on1Secure |
TorUser1on1Secure |
theysaidso_admin_options |
widget_recent-posts |
... |
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,795 ▲33 | 14.19 ▼0.17 | 1.59 ▼0.12 | 41.80 ▼1.58 |
Dashboard /wp-admin | 2,213 ▲33 | 5.67 ▲0.02 | 91.42 ▼10.54 | 63.41 ▲18.96 |
Posts /wp-admin/edit.php | 2,121 ▲18 | 1.96 ▲0.02 | 39.51 ▼1.60 | 33.27 ▼3.57 |
Add New Post /wp-admin/post-new.php | 1,693 ▲163 | 22.26 ▼0.65 | 678.68 ▲39.77 | 44.88 ▼2.80 |
Media Library /wp-admin/upload.php | 1,415 ▲15 | 4.10 ▼0.05 | 91.65 ▼4.18 | 74.94 ▲33.71 |
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
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- 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.9 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 detected983 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 161 | 70 | 723 |
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/1on1secureicon18.png | 10.76KB | 0.46KB | ▼ 95.68% |
images/1on1securelogo40.png | 0.48KB | 0.48KB | 0.00% |