Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼3.72ms] Passed 4 tests
An overview of server-side resources used by Block for Font Awesome
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.07 | 36.31 ▼1.96 |
Dashboard /wp-admin | 3.38 ▲0.07 | 47.99 ▼0.48 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 45.81 ▲0.11 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 82.32 ▼12.53 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 36.24 ▲0.25 |
Font Awesome /wp-admin/options-general.php?page=fa | 3.27 | 29.62 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 10 new files
Database: no new tables, 14 new options
New WordPress options |
---|
fa_enqueue_fa6_be |
widget_recent-comments |
fa_enqueue_fe |
fa_enqueue_kit |
fa_enqueue_kit_be |
widget_theysaidso_widget |
fa_enqueue_fa6_source |
widget_recent-posts |
fa_enqueue_kit_fe |
db_upgraded |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Block for Font Awesome
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,820 ▲34 | 14.72 ▲0.35 | 1.81 ▼0.39 | 41.65 ▲0.34 |
Dashboard /wp-admin | 2,198 ▲21 | 5.74 ▲0.12 | 83.83 ▼7.47 | 36.67 ▼1.87 |
Posts /wp-admin/edit.php | 2,106 ▲6 | 1.99 ▲0.02 | 32.94 ▼4.27 | 33.04 ▼3.89 |
Add New Post /wp-admin/post-new.php | 6,367 ▲4,839 | 27.82 ▲4.59 | 866.45 ▲183.40 | 61.90 ▲3.89 |
Media Library /wp-admin/upload.php | 1,406 ▲6 | 4.21 ▲0.02 | 93.03 ▼7.11 | 39.74 ▼4.83 |
Font Awesome /wp-admin/options-general.php?page=fa | 1,012 | 2.03 | 25.21 | 47.67 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options detected upon uninstall: 14 options
- fa_enqueue_fe
- can_compress_scripts
- fa_enqueue_fa6_be
- fa_enqueue_be
- widget_recent-comments
- fa_enqueue_kit_be
- theysaidso_admin_options
- db_upgraded
- fa_enqueue_fa6_fe
- widget_theysaidso_widget
- ...
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
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 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Please add images for these screenshots: #1 (Front-end icon blocks), #2 (Back-end icon blocks), #3 (Icon settings)
block-for-font-awesome/block-for-font-awesome.php Passed 13 tests
Analyzing the main PHP file in "Block for Font Awesome" version 1.3.3
110 characters long description:
Display a Font Awesome 5, Font Awesome 6 or Font Awesome kit icon in a Gutenberg block or a custom HTML block.
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 plugin568 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 74 | 58 | 274 |
JavaScript | 1 | 9 | 3 | 141 |
CSS | 1 | 8 | 6 | 108 |
XML | 1 | 7 | 4 | 24 |
JSON | 1 | 0 | 0 | 21 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
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 | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.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
3 compressed PNG files occupy 0.02MB
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 3.45KB | 3.65KB | 0.00% |
screenshot-3.png | 6.91KB | 7.24KB | 0.00% |
screenshot-1.png | 14.20KB | 15.40KB | 0.00% |