90% themezee-widget-bundle

Code Review | ThemeZee Widget Bundle

WordPress plugin ThemeZee Widget Bundle scored90%from 54 tests.

About plugin

  • Plugin page: themezee-widget-b...
  • Plugin version: 1.6
  • PHP version: 7.4.16
  • WordPress compatibility: 5.2-6.1
  • WordPress version: 6.3.1
  • First release: Feb 7, 2017
  • Latest release: Nov 22, 2022
  • Number of updates: 22
  • Update frequency: every 96.1 days
  • Top authors: ThemeZee (100%)

Code review

54 tests

User reviews

3 reviews

Install metrics

9,000+ active /133,101 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
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.34MB] [CPU: ▲1.18ms] Passed 4 tests

Analyzing server-side resources used by ThemeZee Widget Bundle
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.80 ▲0.3439.07 ▼3.89
Dashboard /wp-admin3.70 ▲0.3951.31 ▼2.13
Posts /wp-admin/edit.php3.75 ▲0.3953.91 ▲8.95
Add New Post /wp-admin/post-new.php6.22 ▲0.3396.55 ▲5.87
Media Library /wp-admin/upload.php3.56 ▲0.3341.45 ▲4.86
ThemeZee Plugins /wp-admin/options-general.php?page=themezee-plugins3.5334.60

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

How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 21 new files
Database: no new tables, 11 new options
New WordPress options
widget_recent-comments
db_upgraded
can_compress_scripts
widget_tzwb-recent-posts
widget_tzwb-social-icons
theysaidso_admin_options
widget_tzwb-recent-comments
widget_tzwb-tabbed-content
widget_theysaidso_widget
tzwb_settings
...

Browser metrics Passed 4 tests

A check of browser resources used by ThemeZee Widget Bundle
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,793 ▲3214.72 ▲0.481.89 ▲0.0944.46 ▼4.42
Dashboard /wp-admin2,199 ▲225.59 ▼0.0688.30 ▼1.4340.15 ▼0.84
Posts /wp-admin/edit.php2,107 ▲71.98 ▲0.0143.60 ▲6.3834.99 ▼1.79
Add New Post /wp-admin/post-new.php1,531 ▲523.18 ▼0.12613.15 ▼70.1654.66 ▼13.89
Media Library /wp-admin/upload.php1,407 ▲74.17 ▼0.04101.01 ▼12.4545.13 ▼1.21
ThemeZee Plugins /wp-admin/options-general.php?page=themezee-plugins8421.9922.3233.56

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
  • Zombie WordPress options detected upon uninstall: 11 options
    • widget_recent-comments
    • theysaidso_admin_options
    • widget_tzwb-recent-comments
    • widget_tzwb-tabbed-content
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_tzwb-recent-posts
    • tzwb_settings
    • widget_recent-posts
    • widget_tzwb-social-icons
    • ...

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
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
No browser errors were detected

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
6 plugin tags: recent posts, themezee, recent comments, tab widget, widget...

themezee-widget-bundle/themezee-widget-bundle.php 92% from 13 tests

The main file in "ThemeZee Widget Bundle" v. 1.6 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
  • Description: Please don't use more than 140 characters for the plugin description (currently 189 characters long)

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
Everything looks great! No dangerous files found in this plugin2,513 lines of code in 19 files:
LanguageFilesBlank linesComment linesLines of code
PHP96568111,804
CSS76643403
SVG100156
JavaScript24423150

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.39
Average class complexity36.67
▷ Minimum class complexity1.00
▷ Maximum class complexity146.00
Average method complexity4.57
▷ Minimum method complexity1.00
▷ Maximum method complexity76.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes9
▷ Abstract classes00.00%
▷ Concrete classes9100.00%
▷ Final classes00.00%
Methods90
▷ Static methods3842.22%
▷ Public methods8695.56%
▷ Protected methods00.00%
▷ Private methods44.44%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants5
▷ Global constants5100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin