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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.13MB] [CPU: ▼0.09ms] Passed 4 tests
An overview of server-side resources used by Easy Font Resize
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.14 | 41.57 ▼4.57 |
Dashboard /wp-admin | 3.44 ▲0.14 | 53.99 ▲5.81 |
Posts /wp-admin/edit.php | 3.56 ▲0.20 | 48.28 ▲1.56 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.12 | 93.94 ▲3.52 |
Media Library /wp-admin/upload.php | 3.34 ▲0.12 | 34.16 ▼0.88 |
Easy Font Resize /wp-admin/options-general.php?page=options-wpavefrsz-settings | 3.34 | 36.26 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 28 new options
New WordPress options |
---|
widget_recent-comments |
wpavefrsz_show_on_mobile |
wpavefrsz_add_notranslate_class |
wpavefrsz_theme |
wpavefrsz_text_increase |
wpavefrsz_main_offset_mobile |
wpavefrsz_hide_text |
widget_recent-posts |
db_upgraded |
wpavefrsz_max_modifier |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Easy Font Resize
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,051 ▲305 | 15.07 ▲0.77 | 6.29 ▲4.64 | 42.93 ▲1.98 |
Dashboard /wp-admin | 2,362 ▲174 | 6.38 ▲0.48 | 129.44 ▲26.75 | 43.40 ▲1.99 |
Posts /wp-admin/edit.php | 2,268 ▲179 | 3.35 ▲1.33 | 49.90 ▲14.14 | 32.96 ▼0.54 |
Add New Post /wp-admin/post-new.php | 1,560 ▲18 | 18.63 ▲0.48 | 584.25 ▼73.11 | 35.21 ▼19.32 |
Media Library /wp-admin/upload.php | 1,407 ▲19 | 4.22 ▲0.00 | 80.13 ▼27.12 | 43.61 ▼2.32 |
Easy Font Resize /wp-admin/options-general.php?page=options-wpavefrsz-settings | 1,735 | 3.27 | 44.29 | 105.67 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin does not fully uninstall, leaving 28 options in the database
- wpavefrsz_add_notranslate_class
- wpavefrsz_position
- wpavefrsz_elements_array
- can_compress_scripts
- wpavefrsz_instructions_icon
- widget_recent-posts
- wpavefrsz_min_modifier
- wpavefrsz_main_selector
- wpavefrsz_use_wp_icons
- wpavefrsz_main_offset
- ...
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
4 plugin tags: text, accessibility, resize, font
easy-font-resize/wpave-font-resizer.php 85% from 13 tests
"Easy Font Resize" version 1.0.15's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("easy-font-resize.php" instead of "wpave-font-resizer.php")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin767 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 84 | 12 | 527 |
CSS | 1 | 0 | 0 | 127 |
JavaScript | 2 | 30 | 0 | 113 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 80.00% |
▷ Protected methods | 1 | 20.00% |
▷ Private methods | 0 | 0.00% |
Functions | 13 | |
▷ Named functions | 2 | 15.38% |
▷ Anonymous functions | 11 | 84.62% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
1 PNG file occupies 0.08MB with 0.06MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/bmc_qr.png | 86.42KB | 27.37KB | ▼ 68.33% |