84% theme-blvd-widget-areas

Code Review | Theme Blvd Widget Areas

WordPress plugin Theme Blvd Widget Areas scored84%from 54 tests.

About plugin

  • Plugin page: theme-blvd-widget...
  • Plugin version: 1.3.0
  • PHP version: 7.4.16
  • WordPress version: 6.3.1
  • First release: Sep 7, 2012
  • Latest release: Apr 5, 2018
  • Number of updates: 48
  • Update frequency: every 42.8 days
  • Top authors: themeblvd (100%)

Code review

54 tests

User reviews

1 review

Install metrics

3,000+ active /61,931 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors

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

Analyzing server-side resources used by Theme Blvd Widget Areas
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0034.10 ▼5.02
Dashboard /wp-admin3.31 ▼0.0451.59 ▼15.27
Posts /wp-admin/edit.php3.36 ▲0.0048.32 ▲0.69
Add New Post /wp-admin/post-new.php5.89 ▲0.0092.05 ▼9.68
Media Library /wp-admin/upload.php3.23 ▲0.0036.14 ▲1.25

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

Filesystem and database footprint
This plugin was installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
theysaidso_admin_options
widget_recent-comments
widget_theysaidso_widget
can_compress_scripts
widget_recent-posts

Browser metrics Passed 4 tests

This is an overview of browser requirements for Theme Blvd Widget Areas
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,812 ▲6613.24 ▼1.031.58 ▼0.0640.26 ▼0.58
Dashboard /wp-admin2,218 ▲274.86 ▼0.03105.99 ▲2.2041.32 ▼3.46
Posts /wp-admin/edit.php2,103 ▲112.01 ▼0.0249.87 ▲7.4641.27 ▲3.94
Add New Post /wp-admin/post-new.php1,534 ▲2023.02 ▲5.25593.26 ▼97.0150.14 ▼4.37
Media Library /wp-admin/upload.php1,400 ▲94.22 ▼0.06109.29 ▲2.2942.03 ▼2.85

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
  • Zombie WordPress options detected upon uninstall: 6 options
    • db_upgraded
    • widget_theysaidso_widget
    • widget_recent-posts
    • widget_recent-comments
    • theysaidso_admin_options
    • can_compress_scripts

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
Good news, no errors were detected

SRP 50% from 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
  • 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/theme-blvd-widget-areas/tb-sidebars.php:31

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
10 plugin tags: widget areas, widget, jason bobich, sidebars, themeblvd...

theme-blvd-widget-areas/tb-sidebars.php 85% from 13 tests

"Theme Blvd Widget Areas" version 1.3.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
  • Description: The description should be shorter than 140 characters (currently 156 characters long)
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("theme-blvd-widget-areas.php" instead of "tb-sidebars.php")

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
Good job! No executable or dangerous file extensions detected1,410 lines of code in 8 files:
LanguageFilesBlank linesComment linesLines of code
PHP4455571969
JavaScript2142106228
CSS279213

PHP code Passed 2 tests

An overview 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 complexity25.00
▷ Minimum class complexity19.00
▷ Maximum class complexity31.00
Average method complexity3.40
▷ Minimum method complexity1.00
▷ Maximum method complexity10.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods20
▷ Static methods00.00%
▷ Public methods20100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions10
▷ Named functions10100.00%
▷ Anonymous functions00.00%
Constants3
▷ Global constants3100.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
There were not PNG files found in your plugin