89% skyboot-custom-icons-for-elementor

Code Review | Skyboot Custom Icons for Elementor - Elementor Icons library - 14000+ Icons

WordPress plugin Skyboot Custom Icons for Elementor - Elementor Icons library - 14000+ Icons scored89%from 54 tests.

About plugin

  • Plugin page: skyboot-custom-ic...
  • Plugin version: 1.0.7
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.9-6.3
  • WordPress version: 6.3.1
  • First release: Jun 29, 2020
  • Latest release: Aug 25, 2023
  • Number of updates: 21
  • Update frequency: every 55.1 days
  • Top authors: skybootstrap (100%)

Code review

54 tests

User reviews

16 reviews

Install metrics

60,000+ active /157,882 total downloads

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
Install script ran successfully

Server metrics [RAM: ▲0.01MB] [CPU: ▼6.31ms] Passed 4 tests

A check of server-side resources used by Skyboot Custom Icons for Elementor - Elementor Icons library - 14000+ Icons
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0136.33 ▼8.68
Dashboard /wp-admin3.31 ▲0.0146.38 ▼3.70
Posts /wp-admin/edit.php3.36 ▲0.0153.58 ▲0.95
Add New Post /wp-admin/post-new.php5.89 ▲0.0189.31 ▼13.79
Media Library /wp-admin/upload.php3.24 ▲0.0135.63 ▲1.83

Server storage [IO: ▲20.59MB] [DB: ▲0.00MB] Passed 3 tests

Filesystem and database footprint
This plugin installed successfully
Filesystem: 120 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
widget_recent-comments
widget_theysaidso_widget
db_upgraded
widget_recent-posts
theysaidso_admin_options

Browser metrics Passed 4 tests

Skyboot Custom Icons for Elementor - Elementor Icons library - 14000+ Icons: an overview of browser usage
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,797 ▲3614.47 ▼0.141.74 ▼0.2840.51 ▼4.56
Dashboard /wp-admin2,200 ▲235.60 ▼0.1083.15 ▼9.4739.71 ▼5.37
Posts /wp-admin/edit.php2,108 ▲82.12 ▲0.0735.51 ▼1.1532.63 ▼5.06
Add New Post /wp-admin/post-new.php1,553 ▲2723.42 ▼0.06661.74 ▲10.9452.72 ▼13.20
Media Library /wp-admin/upload.php1,402 ▲24.21 ▼0.0596.03 ▼6.3046.90 ▲2.00

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_recent-comments
    • db_upgraded
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-posts

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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The SRP test was a success

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 90% from 29 tests

readme.txt 94% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
  • Tags: Please delete some tags, you are using 12 tag instead of maximum 10
You can take inspiration from this readme.txt

skyboot-custom-icons-for-elementor/skyboot-custom-icons-for-elementor.php 85% from 13 tests

The main PHP script in "Skyboot Custom Icons for Elementor - Elementor Icons library - 14000+ Icons" version 1.0.7 is automatically included on every request by WordPress
It is important to fix the following:
  • Text Domain: The text domain name should consist of only dashes and lowercase characters
  • Description: Please keep the plugin description shorter than 140 characters (currently 227 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin42,826 lines of code in 56 files:
LanguageFilesBlank linesComment linesLines of code
SVG160616,327
PHP2348639415,855
CSS177799210,644

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.34
Average class complexity8.35
▷ Minimum class complexity2.00
▷ Maximum class complexity69.00
Average method complexity2.12
▷ Minimum method complexity1.00
▷ Maximum method complexity33.00
Code structure
Namespaces1
Interfaces0
Traits0
Classes20
▷ Abstract classes00.00%
▷ Concrete classes20100.00%
▷ Final classes00.00%
Methods114
▷ Static methods1714.91%
▷ Public methods114100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions3
▷ Named functions266.67%
▷ Anonymous functions133.33%
Constants8
▷ Global constants675.00%
▷ Class constants225.00%
▷ Public constants2100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
1 compressed PNG file occupies 0.01MB
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
assets/images/skb-rate-us.png13.06KB14.05KB0.00%