90% dt-elementor-iconfont-library

Code Review | Elementor Ico Iconfont Library

WordPress plugin Elementor Ico Iconfont Library scored90%from 54 tests.

About plugin

  • Plugin page: dt-elementor-icon...
  • Plugin version: 1.1
  • PHP version: 7.4.16
  • WordPress compatibility: 4.5-5.7
  • WordPress version: 6.3.1
  • First release: Jun 16, 2020
  • Latest release: Mar 19, 2021
  • Number of updates: 16
  • Update frequency: every 17.3 days
  • Top authors: designthemes (100%)

Code review

54 tests

User reviews

1 review

Install metrics

500+ active /1,842 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully

Server metrics [RAM: ▲0.03MB] [CPU: ▼4.92ms] Passed 4 tests

Analyzing server-side resources used by Elementor Ico Iconfont Library
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.50 ▲0.0438.15 ▼2.00
Dashboard /wp-admin3.33 ▲0.0345.90 ▼2.93
Posts /wp-admin/edit.php3.39 ▲0.0349.34 ▲2.31
Add New Post /wp-admin/post-new.php5.92 ▲0.0382.11 ▼14.00
Media Library /wp-admin/upload.php3.26 ▲0.0333.78 ▼0.75

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

A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 213 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
db_upgraded
theysaidso_admin_options
can_compress_scripts
widget_theysaidso_widget
widget_recent-posts

Browser metrics Passed 4 tests

Elementor Ico Iconfont Library: an overview of browser usage
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,818 ▲8313.28 ▼1.341.61 ▼0.1538.48 ▼6.58
Dashboard /wp-admin2,224 ▲415.87 ▲0.90109.16 ▼6.1939.63 ▼5.61
Posts /wp-admin/edit.php2,106 ▲172.06 ▲0.0340.64 ▲4.4337.02 ▲5.42
Add New Post /wp-admin/post-new.php1,527 ▼117.78 ▼0.70668.73 ▲51.9152.06 ▼3.29
Media Library /wp-admin/upload.php1,400 ▲94.23 ▲0.0195.72 ▼0.5341.93 ▲0.95

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_recent-posts
    • widget_recent-comments
    • widget_theysaidso_widget
    • can_compress_scripts
    • theysaidso_admin_options
    • db_upgraded

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test

SRP Passed 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
Congratulations! This plugin passed the SRP test

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
7 plugin tags: library, icons, custom icon library, icon font, designthemes...

dt-elementor-iconfont-library/dt-elementor-iconfont-library.php Passed 13 tests

This is the main PHP file of "Elementor Ico Iconfont Library" version 1.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
72 characters long description:
Adds Ico Icon library to default Icon Library of Elementor Page Builder.

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
Success! There were no dangerous files found in this plugin5,563 lines of code in 91 files:
LanguageFilesBlank linesComment linesLines of code
PHP314293933,138
SVG30002,395
CSS30018030

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 code0.21
Average class complexity2.19
▷ Minimum class complexity2.00
▷ Maximum class complexity8.00
Average method complexity1.37
▷ Minimum method complexity1.00
▷ Maximum method complexity4.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes31
▷ Abstract classes00.00%
▷ Concrete classes31100.00%
▷ Final classes13.23%
Methods101
▷ Static methods3130.69%
▷ Public methods101100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants2
▷ Global constants00.00%
▷ Class constants2100.00%
▷ Public constants2100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin