Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.13MB] [CPU: ▼4.07ms] Passed 4 tests
This is a short check of server-side resources used by Safelayout Elegant Icons - WordPress icon block
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.15 | 39.46 ▼3.14 |
Dashboard /wp-admin | 3.44 ▲0.09 | 48.29 ▼12.96 |
Posts /wp-admin/edit.php | 3.55 ▲0.20 | 45.55 ▼1.24 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.15 | 95.03 ▲1.08 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 34.75 ▲3.94 |
Safelayout Icons /wp-admin/options-general.php?page=safelayout-elegant-icons | 3.33 | 31.51 |
Server storage [IO: ▲0.62MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 24 new files
Database: no new tables, 8 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
safelayout_icons_packs |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
safelayout_icons_options_rate |
Browser metrics Passed 4 tests
Safelayout Elegant Icons - WordPress icon block: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲38 | 14.37 ▲0.02 | 1.72 ▲0.03 | 43.00 ▼0.65 |
Dashboard /wp-admin | 2,199 ▲21 | 5.64 ▲0.01 | 135.00 ▲19.03 | 58.02 ▲15.57 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.94 ▼0.03 | 35.47 ▼0.56 | 33.77 ▼1.89 |
Add New Post /wp-admin/post-new.php | 1,558 ▲32 | 23.90 ▲0.72 | 723.58 ▲23.84 | 36.62 ▼19.27 |
Media Library /wp-admin/upload.php | 1,404 ▲1 | 4.16 ▼0.03 | 94.31 ▼8.88 | 40.77 ▼3.25 |
Safelayout Icons /wp-admin/options-general.php?page=safelayout-elegant-icons | 851 | 2.01 | 26.94 | 29.19 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- The uninstall procedure has failed, leaving 8 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- safelayout_icons_options_rate
- theysaidso_admin_options
- safelayout_icons_packs
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
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 Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: icon, svg icon, wordpress icons, icon box, icon block
safelayout-elegant-icons/safelayout-elegant-icons.php Passed 13 tests
The principal PHP file in "Safelayout Elegant Icons - WordPress icon block" v. 1.0.5 is loaded by WordPress automatically on each request
20 characters long description:
Beautiful SVG icons.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected1,070 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 45 | 35 | 420 |
JSON | 3 | 0 | 0 | 316 |
CSS | 7 | 3 | 21 | 249 |
JavaScript | 7 | 0 | 0 | 85 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 20.00 |
▷ Minimum class complexity | 20.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 1.90 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.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 | 21 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 21 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
There are no PNG files in this plugin