68% wp-bongabdo-date

Code Review | WP Bongabdo Date

WordPress plugin WP Bongabdo Date scored 68% from 54 tests.

About plugin

  • Plugin page: wp-bongabdo-date
  • Plugin version: 13.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.1.1-4.1.1
  • WordPress version: 6.3.1
  • First release: Apr 21, 2015
  • Latest release: Apr 21, 2015
  • Number of updates: 5
  • Update frequency: N/A
  • Top authors: zakirdaq (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 864 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors

Server metrics [RAM: ▼0.95MB] [CPU: ▼32.18ms] Passed 4 tests

A check of server-side resources used by WP Bongabdo Date
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0140.91 ▼0.19
Dashboard /wp-admin3.00 ▼0.3124.30 ▼27.06
Posts /wp-admin/edit.php3.00 ▼0.3623.21 ▼19.96
Add New Post /wp-admin/post-new.php3.00 ▼2.8923.53 ▼67.03
Media Library /wp-admin/upload.php3.00 ▼0.2321.30 ▼14.68
WP Bongabdo Date /wp-admin/options-general.php?page=wp-bongabdo-date3.0022.57

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

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

Browser metrics Passed 4 tests

WP Bongabdo Date: an overview of browser usage
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,804 ▲4713.37 ▼1.214.07 ▲1.9843.63 ▲0.48
Dashboard /wp-admin2,210 ▲194.81 ▼0.03111.92 ▲4.0444.39 ▲4.00
Posts /wp-admin/edit.php2,090 ▼21.97 ▼0.0934.77 ▼2.4733.04 ▼2.60
Add New Post /wp-admin/post-new.php1,528 ▼1622.98 ▲4.85682.52 ▲68.4652.49 ▼8.09
Media Library /wp-admin/upload.php1,392 ▲44.22 ▲0.0594.56 ▼4.1543.75 ▼1.07
WP Bongabdo Date /wp-admin/options-general.php?page=wp-bongabdo-date8022.0623.8426.74

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
  • Uninstall procedure validation failed for this plugin
    • > User deprecated in wp-includes/functions.php+5737
    Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
  • Zombie WordPress options detected upon uninstall: 6 options
    • db_upgraded
    • theysaidso_admin_options
    • widget_recent-comments
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_recent-posts

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These server-side errors were triggered
  • 2 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=wp-bongabdo-date
    • > User deprecated in wp-includes/functions.php+5737
    Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.

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 fix the following items
  • 2× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-bongabdo-date/wp-bongabdo-date.php:13
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-bongabdo-date/wp-bongabdo-date-settings.php:49

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test

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
5 plugin tags: bongabdo, bongabdo date, bangla, bangla date, bengali

wp-bongabdo-date/wp-bongabdo-date.php 92% from 13 tests

"WP Bongabdo Date" version 13.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
  • Description: Keep the plugin description shorter than 140 characters (currently 203 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected150 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP3298150

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.29
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%
Functions11
▷ Named functions11100.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
There are no PNG files in this plugin