94% dhonodhanno-pushpo-bhora

Code Review | Dhonodhanno Pushpo Bhora

WordPress plugin Dhonodhanno Pushpo Bhora scored 94% from 54 tests.

About plugin

  • Plugin page: dhonodhanno-pushp...
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5-4.1.1
  • WordPress version: 5.8.1
  • First release: Feb 24, 2015
  • Latest release: Feb 25, 2015
  • Number of updates: 3
  • Update frequency: N/A
  • Top authors: nazmul.hossain.nihal (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 665 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully

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

This is a short check of server-side resources used by Dhonodhanno Pushpo Bhora
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /2.84 ▲0.1235.22 ▲9.52
Dashboard /wp-admin3.06 ▲0.0144.19 ▼3.56
Posts /wp-admin/edit.php3.11 ▲0.0050.06 ▼0.79
Add New Post /wp-admin/post-new.php5.42 ▼0.0293.53 ▼570.10
Media Library /wp-admin/upload.php3.00 ▲0.0034.11 ▼3.75

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

A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

Dhonodhanno Pushpo Bhora: an overview of browser usage
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,709 ▲11315.97 ▲0.4112.97 ▲1.4249.96 ▼6.69
Dashboard /wp-admin2,976 ▲426.06 ▲0.13153.53 ▼2.47130.78 ▲0.78
Posts /wp-admin/edit.php2,745 ▲62.72 ▲0.0072.37 ▲0.09121.05 ▲23.65
Add New Post /wp-admin/post-new.php1,503 ▼18018.78 ▲0.40386.94 ▼26.34139.25 ▲24.32
Media Library /wp-admin/upload.php1,810 ▲35.04 ▲0.02163.34 ▲5.59147.89 ▲17.91

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Uninstall script ran successfully

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test

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
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/dhonodhanno-pushpo-bhora/dhonodhanno-pushpo-bhora.php:56

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)
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
  • Screenshots: Please add images for these screenshots: #1 (প্লাগিনটি গানের কথা দেখাচ্ছে), #2 (বাংলা ভাষা ব্যাবহার করে কোডিং করা হয়েছে)
You can take inspiration from this readme.txt

dhonodhanno-pushpo-bhora/dhonodhanno-pushpo-bhora.php 92% from 13 tests

"Dhonodhanno Pushpo Bhora" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
  • Description: Please keep the plugin description shorter than 140 characters (currently 964 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin56 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1111156

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.11
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%
Functions3
▷ Named functions3100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
4 PNG files occupy 0.10MB with 0.06MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant
FileSize - originalSize - compressedSavings
icon-128x128.png4.12KB2.07KB▼ 49.70%
screenshot-1.png24.36KB9.71KB▼ 60.16%
banner-772x250.png22.79KB10.14KB▼ 55.52%
screenshot-2.png50.75KB16.58KB▼ 67.33%