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
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼0.47ms] Passed 4 tests
A check of server-side resources used by Wapuuvatar
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 45.22 ▼2.61 |
Dashboard /wp-admin | 3.31 ▲0.00 | 57.01 ▼2.30 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 56.23 ▲2.69 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 98.33 ▲2.27 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 39.57 ▲0.78 |
Server storage [IO: ▲2.16MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 260 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Wapuuvatar: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▼0 | 13.19 ▼1.23 | 1.95 ▼0.06 | 41.45 ▼3.23 |
Dashboard /wp-admin | 2,203 ▼3 | 5.79 ▼0.07 | 96.97 ▼18.18 | 40.54 ▼4.12 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 1.98 ▼0.03 | 35.36 ▼0.95 | 34.43 ▲0.06 |
Add New Post /wp-admin/post-new.php | 1,533 ▼0 | 23.31 ▼0.00 | 662.36 ▼32.12 | 57.88 ▼5.21 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.20 ▲0.02 | 111.72 ▲5.39 | 44.37 ▲0.85 |
Uninstaller [IO: ✅] [DB: ▲0.00MB] 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
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
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
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
The following issues need your attention
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wapuuvatar/wapuuvatar.php:38
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Screenshots: Screenshot #1 (Wapuus in action) image missing
wapuuvatar/wapuuvatar.php Passed 13 tests
The principal PHP file in "Wapuuvatar" v. 3.0.3 is loaded by WordPress automatically on each request
33 characters long description:
Use Wapuus for your user avatars.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin1,325 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 2 | 0 | 0 | 857 |
Markdown | 1 | 58 | 0 | 281 |
PHP | 1 | 17 | 63 | 187 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.59 |
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 | 6 | |
▷ Named functions | 6 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
253 compressed PNG files occupy 2.10MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
dist/taekwon-blue-wapuu-256.png | 13.00KB | 13.36KB | 0.00% |
dist/r2-wapuu-128.png | 6.02KB | 6.07KB | 0.00% |
dist/wapuu-minion-256.png | 13.48KB | 13.96KB | 0.00% |
dist/wapuu-snitch-256.png | 12.12KB | 12.56KB | 0.00% |
dist/tonkotsu-wapuu-256.png | 16.37KB | 17.04KB | 0.00% |