10% asd-123-456-widget

Code Review | Widget Customizer for Wordpress - Free Version

WordPress plugin Widget Customizer for Wordpress - Free Version scored10%from 54 tests.

About plugin

  • Plugin page: asd-123-456-widget
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5-4.2.2
  • WordPress version: 6.3.1
  • First release: Jul 26, 2014
  • Latest release: Jul 10, 2015
  • Number of updates: 24
  • Update frequency: every 14.6 days
  • Top authors: dzeriho (100%)

Code review

54 tests

User reviews

1 review

Install metrics

200+ active /7,573 total downloads


Plugin footprint 40% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Please fix the following installer errors
  • Install procedure validation failed for this plugin
    • > Deprecated in wp-content/plugins/asd-123-456-widget/widget-customizer.php+20
    Function create_function() is deprecated

Server metrics [RAM: ▼1.96MB] [CPU: ▼57.12ms] Passed 4 tests

This is a short check of server-side resources used by Widget Customizer for Wordpress - Free Version
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /2.03 ▼1.444.24 ▼35.92
Dashboard /wp-admin2.05 ▼1.266.11 ▼44.75
Posts /wp-admin/edit.php2.05 ▼1.315.25 ▼47.60
Add New Post /wp-admin/post-new.php2.05 ▼3.846.38 ▼100.19
Media Library /wp-admin/upload.php2.05 ▼1.184.59 ▼29.42

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

Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 7 new options
New WordPress options

Browser metrics Passed 4 tests

An overview of browser requirements for Widget Customizer for Wordpress - Free Version
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲2814.52 ▼0.091.74 ▲0.1344.31 ▲1.81
Dashboard /wp-admin2,198 ▲185.67 ▲0.0393.58 ▲4.0643.20 ▲0.54
Posts /wp-admin/edit.php2,100 ▼02.03 ▼0.1038.60 ▲0.5336.66 ▲3.87
Add New Post /wp-admin/post-new.php1,545 ▲1322.98 ▼0.07645.68 ▲30.2855.59 ▲2.25
Media Library /wp-admin/upload.php1,403 ▲34.31 ▲0.02100.63 ▼8.8844.71 ▲1.42

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
  • This plugin cannot be uninstalled
    • > Deprecated in wp-content/plugins/asd-123-456-widget/widget-customizer.php+20
    Function create_function() is deprecated
  • Zombie WordPress options detected upon uninstall: 7 options
    • can_compress_scripts
    • widget_recent-comments
    • widget_recent-posts
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_wdgtcstmzr
    • db_upgraded

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

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

SRP 50% from 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
The following issues need your attention
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/asd-123-456-widget/widget-customizer.php:13

User-side errors Passed 1 test

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


Plugin configuration 93% 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
These attributes need to be fixed:
  • Tags: There are too many tags (15 tag instead of maximum 10)
Please take inspiration from this readme.txt

asd-123-456-widget/widget-customizer.php 92% from 13 tests

The main PHP script in "Widget Customizer for Wordpress - Free Version" version 1.0.0 is automatically included on every request by WordPress
Please take the time to fix the following:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("asd-123-456-widget.php" instead of "widget-customizer.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected167 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.23
Average class complexity19.00
▷ Minimum class complexity19.00
▷ Maximum class complexity19.00
Average method complexity5.50
▷ Minimum method complexity1.00
▷ Maximum method complexity19.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods4100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions1100.00%
▷ Anonymous functions00.00%
▷ Global constants1100.00%
▷ Class constants00.00%
▷ Public constants00.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 are no PNG files in this plugin