Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▲6.07ms] Passed 4 tests
Analyzing server-side resources used by Unoapp Protect WP Admin
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 48.28 ▲10.75 |
Dashboard /wp-admin | 3.38 ▲0.08 | 49.85 ▲4.50 |
Posts /wp-admin/edit.php | 3.49 ▲0.14 | 50.56 ▲3.95 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 90.35 ▲6.24 |
Media Library /wp-admin/upload.php | 3.30 ▲0.08 | 43.31 ▲9.57 |
WP-Admin Advanced Security /wp-admin/options-general.php?page=unopwa-settings | 3.27 | 35.14 |
Server storage [IO: ▲0.44MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Unoapp Protect WP Admin
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.27 ▲0.01 | 1.57 ▼0.13 | 42.43 ▼2.89 |
Dashboard /wp-admin | 2,199 ▲32 | 5.55 ▼0.07 | 86.78 ▼7.56 | 38.60 ▼1.82 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.03 ▲0.06 | 33.99 ▼6.11 | 35.80 ▼6.07 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.55 ▲0.04 | 667.26 ▲65.18 | 60.36 ▼0.72 |
Media Library /wp-admin/upload.php | 1,407 ▲10 | 4.15 ▼0.03 | 94.66 ▼6.90 | 41.74 ▼5.22 |
WP-Admin Advanced Security /wp-admin/options-general.php?page=unopwa-settings | 890 | 1.98 | 21.45 | 31.47 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Screenshots: Please add images for these screenshots: #1 (screenshot-1.png), #2 (screenshot-2.png), #3 (screenshot-3.png), #4 (screenshot-4.png)
unoapp-protects-wp-admin/unoapp-protects-wp-admin.php 92% from 13 tests
Analyzing the main PHP file in "Unoapp Protect WP Admin" version 1.1
The following require your attention:
- Description: Keep the plugin description shorter than 140 characters (currently 232 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
Success! There were no dangerous files found in this plugin402 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 102 | 65 | 402 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.53 |
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 | 28 | |
▷ Named functions | 28 | 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
4 PNG files occupy 0.41MB with 0.27MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-3.png | 15.61KB | 5.96KB | ▼ 61.79% |
screenshot-1.png | 287.00KB | 94.46KB | ▼ 67.09% |
screenshot-4.png | 97.07KB | 24.29KB | ▼ 74.98% |
screenshot-2.png | 19.37KB | 7.19KB | ▼ 62.87% |