83% bizuno-icons

Code Review | Bizuno Icons

WordPress plugin Bizuno Icons scored83%from 54 tests.

About plugin

  • Plugin page: bizuno-icons
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.5-5.5.3
  • WordPress version: 6.3.1
  • First release: Nov 18, 2020
  • Latest release: Nov 18, 2020
  • Number of updates: 5
  • Update frequency: every 5.0 days
  • Top authors: phreesoft (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /419 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully

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

Analyzing server-side resources used by Bizuno Icons
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0136.19 ▼12.20
Dashboard /wp-admin3.31 ▲0.0146.64 ▼3.36
Posts /wp-admin/edit.php3.36 ▲0.0153.21 ▲3.49
Add New Post /wp-admin/post-new.php5.89 ▲0.0183.96 ▼17.06
Media Library /wp-admin/upload.php3.24 ▲0.0131.97 ▼4.35

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

How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 220 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
can_compress_scripts
db_upgraded
widget_recent-posts
widget_recent-comments
widget_theysaidso_widget

Browser metrics Passed 4 tests

This is an overview of browser requirements for Bizuno Icons
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5413.24 ▼1.061.76 ▼0.3442.60 ▼0.60
Dashboard /wp-admin2,206 ▲184.85 ▼1.01104.44 ▼7.1638.75 ▼4.79
Posts /wp-admin/edit.php2,092 ▼02.05 ▲0.0241.21 ▲3.9935.46 ▲2.36
Add New Post /wp-admin/post-new.php1,542 ▲1418.74 ▼4.16625.14 ▼12.7260.70 ▲7.15
Media Library /wp-admin/upload.php1,385 ▼34.25 ▲0.04103.74 ▼6.1646.81 ▲0.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
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_theysaidso_widget
    • widget_recent-posts
    • theysaidso_admin_options
    • widget_recent-comments
    • db_upgraded
    • can_compress_scripts

Smoke tests 75% from 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 everything seems fine, this is not an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
  • 1× PHP files perform the task of outputting text when accessed with GET requests:
    • > /wp-content/plugins/bizuno-icons/bizuno-icons.php

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

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
  • Screenshots: Screenshot #1 (Nuvola Icon collage) image not found
You can look at the official readme.txt

bizuno-icons/bizuno-icons.php 85% from 13 tests

"Bizuno Icons" version 1.0.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
  • Domain Path: The domain path points to a folder that does not exist ("/locale")
  • Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected144 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP21051144

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.44
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions5
▷ Named functions5100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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
205 compressed PNG files occupy 0.28MB
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
icons/nuvola/16x16/nfs_mount.png1.07KB1.14KB0.00%
icons/nuvola/16x16/sales.png0.94KB0.94KB0.00%
icons/nuvola/16x16/source.png0.95KB1.02KB0.00%
icons/nuvola/16x16/install.png1.01KB1.04KB0.00%
icons/nuvola/32x32/journal.png1.00KB1.47KB0.00%