Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.13MB] [CPU: ▼1.59ms] Passed 4 tests
An overview of server-side resources used by WP First Letter Avatar
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 40.74 ▼4.96 |
Dashboard /wp-admin | 3.44 ▲0.14 | 48.22 ▼2.52 |
Posts /wp-admin/edit.php | 3.56 ▲0.20 | 49.83 ▲2.70 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.14 | 91.24 ▲1.12 |
Media Library /wp-admin/upload.php | 3.36 ▲0.14 | 34.67 ▲0.02 |
WP First Letter Avatar /wp-admin/options-general.php?page=wp_first_letter_avatar | 3.33 | 33.49 |
Server storage [IO: ▲1.47MB] [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: 1,465 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
wpfla_settings |
widget_recent-comments |
Browser metrics Passed 4 tests
WP First Letter Avatar: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,821 ▲75 | 13.29 ▼1.06 | 1.85 ▼0.14 | 40.38 ▼2.94 |
Dashboard /wp-admin | 2,224 ▲33 | 5.84 ▼0.06 | 103.77 ▲3.03 | 80.19 ▲36.93 |
Posts /wp-admin/edit.php | 2,107 ▲21 | 2.00 ▼0.04 | 35.55 ▼2.02 | 34.16 ▼0.08 |
Add New Post /wp-admin/post-new.php | 1,537 ▼5 | 23.19 ▲4.90 | 740.79 ▲129.47 | 55.13 ▲1.55 |
Media Library /wp-admin/upload.php | 1,396 ▲11 | 4.14 ▼0.11 | 100.74 ▼2.20 | 45.68 ▲4.34 |
WP First Letter Avatar /wp-admin/options-general.php?page=wp_first_letter_avatar | 979 | 2.03 | 24.60 | 25.70 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
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
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The SRP test was a success
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
These are user-side errors you should fix
- > GET request to /wp-admin/options-general.php?page=wp_first_letter_avatar
- > Network (severe)
http://i2.wp.com/wp.com/wp-content/plugins/wp-first-letter-avatar/images/default/48/latin_a.png - Failed to load resource: the server responded with a status of 404 (File Not Found)
- > GET request to /wp-admin/options-general.php?page=wp_first_letter_avatar
- > Network (severe)
http://i2.wp.com/wp.com/wp-content/plugins/wp-first-letter-avatar/images/default/96/latin_a.png - Failed to load resource: the server responded with a status of 404 (File Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
wp-first-letter-avatar/wp-first-letter-avatar.php 92% from 13 tests
The main PHP script in "WP First Letter Avatar" version 2.2.8 is automatically included on every request by WordPress
You should first fix the following items:
- Description: Please keep the plugin description shorter than 140 characters (currently 142 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin701 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 171 | 206 | 488 |
PO File | 2 | 64 | 78 | 208 |
CSS | 1 | 4 | 11 | 5 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 39.00 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 70.00 |
Average method complexity | 4.04 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 25 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 21 | 84.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 16.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 12 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 12 | 100.00% |
▷ Public constants | 12 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
1455 compressed PNG files occupy 1.30MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/opensans/512/greek_913.png | 2.02KB | 2.12KB | 0.00% |
images/opensans/128/latin_g.png | 0.65KB | 0.72KB | 0.00% |
images/default/128/arabic_1602.png | 1.42KB | 1.49KB | 0.00% |
images/default/128/cyrillic_1081.png | 1.00KB | 1.04KB | 0.00% |
images/default/128/latin_v.png | 0.69KB | 0.80KB | 0.00% |