83% bizuno-skins

Code Review | Bizuno Skins

WordPress plugin Bizuno Skins scored83%from 54 tests.

About plugin

  • Plugin page: bizuno-skins
  • 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 19, 2020
  • Latest release: Nov 20, 2020
  • Number of updates: 9
  • Update frequency: every 2.1 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) | Checking the installer triggered no errors
This plugin's installer ran successfully

Server metrics [RAM: ▲0.00MB] [CPU: ▼4.67ms] Passed 4 tests

Server-side resources used by Bizuno Skins
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0136.61 ▼4.26
Dashboard /wp-admin3.31 ▲0.0144.58 ▼5.88
Posts /wp-admin/edit.php3.36 ▲0.0047.16 ▲0.40
Add New Post /wp-admin/post-new.php5.89 ▲0.0081.68 ▼8.92
Media Library /wp-admin/upload.php3.23 ▲0.0034.93 ▲4.80

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

Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 374 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
widget_recent-posts
can_compress_scripts
widget_theysaidso_widget
widget_recent-comments
theysaidso_admin_options

Browser metrics Passed 4 tests

Checking browser requirements for Bizuno Skins
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲6513.24 ▼1.141.58 ▼0.2642.75 ▼0.08
Dashboard /wp-admin2,203 ▲115.79 ▲0.84103.52 ▼15.2537.35 ▼9.43
Posts /wp-admin/edit.php2,086 ▼62.02 ▲0.0234.39 ▼3.3133.02 ▲1.71
Add New Post /wp-admin/post-new.php1,537 ▲423.48 ▼0.01674.29 ▼17.9351.78 ▼14.72
Media Library /wp-admin/upload.php1,388 ▼04.20 ▲0.0395.36 ▼14.0540.68 ▼6.14

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_recent-posts
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • widget_recent-comments
    • can_compress_scripts
    • db_upgraded

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test

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
  • 1× PHP files perform the task of outputting text when accessed with GET requests:
    • > /wp-content/plugins/bizuno-skins/bizuno-skins.php

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
  • Screenshots: Screenshot #1 () image required
The official readme.txt might help

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

The primary PHP file in "Bizuno Skins" version 1.0.0 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
  • Domain Path: The domain path folder does not exist ("/locale")
  • Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6

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
No dangerous file extensions were detected57,634 lines of code in 17 files:
LanguageFilesBlank linesComment linesLines of code
CSS160057,614
PHP172720

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.57
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%
Functions4
▷ Named functions4100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
322 compressed PNG files occupy 0.19MB
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
skins/metro/images/menu_arrows.png0.16KB0.17KB0.00%
skins/metro-orange/images/tabs_icons.png0.14KB0.15KB0.00%
skins/metro/images/datebox_arrow.png0.61KB0.61KB▼ 0.96%
skins/metro-red/images/datagrid_icons.png0.32KB0.31KB▼ 3.33%
skins/metro-blue/images/accordion_arrows.png0.12KB0.13KB0.00%