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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼5.37ms] Passed 4 tests
A check of server-side resources used by All Icon Block
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 36.61 ▼2.17 |
Dashboard /wp-admin | 3.33 ▲0.03 | 43.70 ▼7.85 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 47.73 ▼0.46 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 82.08 ▼10.98 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 35.07 ▲3.23 |
Server storage [IO: ▲1.60MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 75 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for All Icon Block
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,828 ▲82 | 13.14 ▼1.07 | 4.63 ▲2.98 | 40.21 ▼2.60 |
Dashboard /wp-admin | 2,209 ▲60 | 5.84 ▲0.28 | 106.17 ▲9.02 | 43.04 ▼0.32 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.06 ▲0.01 | 35.41 ▼6.21 | 35.00 ▼2.51 |
Add New Post /wp-admin/post-new.php | 6,362 ▲4,839 | 28.50 ▲5.33 | 925.40 ▲271.51 | 56.49 ▼5.77 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.26 ▼0.05 | 97.72 ▲3.05 | 41.34 ▼3.12 |
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
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
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 50% from 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
Almost there! Just fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/all-icon-block/all-icon-block.php:28
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 97% 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
Please fix the following attributes:
- Screenshots: These screenshots do not have images: #1 (The Icon Block includes the WordPress icon library allowing you to quickly and easily insert 270+ graphics.), #2 (Create your own custom icons by simply copy/pasting the SVG code. Then modify the icon to suit your needs.), #3 (The Icon Block comes with numerous icon controls such as color, rotation, alignment, padding, and border radius.), #4 (Whether you need a big icon, or a small one, the Icon Block adapts to your layout. Give it a try with the Row block in Gutenberg!), #5 (Use the "quick inserter", to quickly pick the WordPress icon you need.), #6 (The WordPress icon library modal is complete with categories, search, and preview size functionality.), #7 (Custom icons are added via their own insertion modal with a large textarea and the ability to preview the SVG code.), #8 (You are not limited to traditional icons. Any SVG-based graphic will work as well. The block will respect any hard coded color/fill values in the provided SVG.)
all-icon-block/all-icon-block.php Passed 13 tests
"All Icon Block" version 1.0.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
86 characters long description:
A simple little block that allows you add any kind of icon or graphic to your website.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin39,553 lines of code in 72 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 4 | 0 | 0 | 35,133 |
JavaScript | 59 | 235 | 331 | 3,840 |
Sass | 2 | 105 | 17 | 510 |
Markdown | 1 | 24 | 0 | 59 |
PHP | 4 | 2 | 20 | 9 |
CSS | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.00 |
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 | 1 | |
▷ Named functions | 1 | 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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin