74% iconize

Code Review | Iconize

WordPress plugin Iconize scored74%from 54 tests.

About plugin

  • Plugin page: iconize
  • Plugin version: 1.2.4
  • PHP compatiblity: 5.6.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.4-5.8
  • WordPress version: 6.3.1
  • First release: May 17, 2021
  • Latest release: Nov 5, 2021
  • Number of updates: 23
  • Update frequency: every 7.5 days
  • Top authors: thatplugin (100%)

Code review

54 tests

User reviews

3 reviews

Install metrics

1,000+ active /6,569 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.36MB] [CPU: ▲0.66ms] Passed 4 tests

A check of server-side resources used by Iconize
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /4.24 ▲0.7745.12 ▲0.41
Dashboard /wp-admin4.08 ▲0.7855.07 ▲3.20
Posts /wp-admin/edit.php3.57 ▲0.2251.36 ▼2.14
Add New Post /wp-admin/post-new.php6.18 ▲0.29102.66 ▲1.15
Media Library /wp-admin/upload.php3.38 ▲0.1542.51 ▲5.96
Iconize /wp-admin/options-general.php?page=iconize3.3532.83

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

How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 118 new files
Database: no new tables, 10 new options
New WordPress options
widget_recent-posts
widget_iconize_taxonomy
iconize_fonts
iconize_plugin_version
iconize_integrations
widget_recent-comments
db_upgraded
widget_theysaidso_widget
theysaidso_admin_options
can_compress_scripts

Browser metrics Passed 4 tests

A check of browser resources used by Iconize
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /10,734 ▲7,97316.26 ▲1.851.88 ▼0.0142.27 ▲1.72
Dashboard /wp-admin9,321 ▲7,1506.60 ▲0.92149.24 ▲52.8239.52 ▼3.94
Posts /wp-admin/edit.php2,117 ▲172.09 ▲0.0739.56 ▼0.1037.47 ▲0.38
Add New Post /wp-admin/post-new.php5,477 ▲3,94324.26 ▲1.01777.80 ▲92.4137.33 ▼17.08
Media Library /wp-admin/upload.php1,420 ▲204.26 ▲0.0198.47 ▼1.7043.93 ▼0.00
Iconize /wp-admin/options-general.php?page=iconize8902.0622.8928.93

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
  • Incomplete uninstall procedure, leaving 118 files (8.63MB) in the plugin directory
    • (new file) css/bootstrap-modal.css
    • (new file) css/foundation.min.css
    • (new file) class-iconize-wp.php
    • (new file) css/dashicons.min.css
    • (new file) css/bootstrap-modal.min.css
    • (new file) css/bootstrap.min.css
    • (new file) css/fa-4-7.min.css
    • (new file) css/fa-brands.min.css
    • (new file) css/fa-regular.min.css
    • (new file) css/fa-solid.min.css
    • ...
  • This plugin did not uninstall successfully, leaving 10 options in the database
    • iconize_plugin_version
    • can_compress_scripts
    • widget_recent-comments
    • widget_theysaidso_widget
    • widget_iconize_taxonomy
    • db_upgraded
    • widget_recent-posts
    • iconize_integrations
    • iconize_fonts
    • theysaidso_admin_options

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected

SRP 50% from 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
Please fix the following items
  • 5× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Class '_WP_Editors' not found in wp-content/plugins/iconize/tinymce/langs/iconize-langs.php:9
    • > PHP Fatal error
      Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/iconize/includes/widgets/class-iconize-widget-taxonomies.php:15
    • > PHP Fatal error
      Uncaught Error: Class 'Walker_Category' not found in wp-content/plugins/iconize/includes/class-iconize-walker-category.php:18
    • > PHP Fatal error
      Uncaught Error: Class 'Walker_Nav_Menu' not found in wp-content/plugins/iconize/includes/menu-walkers/class-iconize-walker-nav-menu.php:18
    • > PHP Fatal error
      Uncaught Error: Class 'Walker_Nav_Menu' not found in wp-content/plugins/iconize/includes/menu-walkers/class-iconize-walker-nav-menu-edit.php:11

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
  • Donate link: Invalid URI found ("")
The official readme.txt is a good inspiration

iconize/iconize.php Passed 13 tests

"Iconize" version 1.2.4's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
107 characters long description:
Quickly and easily iconize posts, pages, menu items, widget titles, categories, tags, custom taxonomies,...

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin37,056 lines of code in 70 files:
LanguageFilesBlank linesComment linesLines of code
SVG73,239012,839
JSON160010,436
CSS242161018,042
PHP119061,4163,490
JavaScript129664032,249

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.44
Average class complexity106.17
▷ Minimum class complexity19.00
▷ Maximum class complexity457.00
Average method complexity7.95
▷ Minimum method complexity1.00
▷ Maximum method complexity56.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes6
▷ Abstract classes00.00%
▷ Concrete classes6100.00%
▷ Final classes00.00%
Methods91
▷ Static methods11.10%
▷ Public methods8492.31%
▷ Protected methods33.30%
▷ Private methods44.40%
Functions5
▷ Named functions240.00%
▷ Anonymous functions360.00%
Constants4
▷ Global constants4100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
4 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant
FileSize - originalSize - compressedSavings
tinymce/images/flag.png1.34KB0.25KB▼ 81.04%
tinymce/images/swappos.png1.21KB0.22KB▼ 82.11%
tinymce/images/swapsizes.png1.08KB0.17KB▼ 84.76%
tinymce/images/unflag.png1.29KB0.22KB▼ 82.78%