100% bangla-font-solution

Code Review | Bangla Font Solution for WordPress

WordPress plugin Bangla Font Solution for WordPress scored 100% from 54 tests.

About plugin

  • Plugin page: bangla-font-solution
  • Plugin version: 1.0.3
  • PHP compatiblity: 6.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-5.8
  • WordPress version: 5.8.1
  • First release: Dec 18, 2019
  • Latest release: Jul 22, 2021
  • Number of updates: 8
  • Update frequency: every 72.7 days
  • Top authors: themebing (100%)

Code review

54 tests

User reviews

1 review

Install metrics

500+ active / 3,111 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully

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

Server-side resources used by Bangla Font Solution for WordPress
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /2.85 ▲0.1346.75 ▲23.89
Dashboard /wp-admin3.07 ▲0.0148.41 ▼1.70
Posts /wp-admin/edit.php3.12 ▲0.0045.82 ▼13.81
Add New Post /wp-admin/post-new.php5.42 ▼0.0199.03 ▼562.44
Media Library /wp-admin/upload.php3.01 ▲0.0137.32 ▲1.83

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

Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 7 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

This is an overview of browser requirements for Bangla Font Solution for WordPress
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,812 ▲17516.14 ▲0.7412.32 ▲1.4368.03 ▲10.37
Dashboard /wp-admin2,970 ▲365.86 ▼0.12154.63 ▼6.72110.07 ▼15.05
Posts /wp-admin/edit.php2,739 ▼02.69 ▲0.0069.70 ▲1.4199.55 ▲1.70
Add New Post /wp-admin/post-new.php1,683 ▼018.74 ▼0.03397.15 ▼6.01111.56 ▼6.04
Media Library /wp-admin/upload.php1,807 ▼05.03 ▲0.01157.15 ▼8.95131.37 ▲4.18

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstall script ran successfully

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected

SRP Passed 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
No output text or server-side errors detected on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
7 plugin tags: solaimanlipi font, bangla font plugin, solaimanlipi, bangla font support, bangla font...

bangla-font-solution/bangla-font-solution.php 92% from 13 tests

The primary PHP file in "Bangla Font Solution for WordPress" version 1.0.3 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
  • Description: Please keep the plugin description shorter than 140 characters (currently 155 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 plugin43 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP132133
JavaScript1006
CSS1004

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.12
Average class complexity2.00
▷ Minimum class complexity2.00
▷ Maximum class complexity2.00
Average method complexity1.20
▷ Minimum method complexity1.00
▷ Maximum method complexity2.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods5
▷ Static methods120.00%
▷ Public methods480.00%
▷ Protected methods00.00%
▷ Private methods120.00%
Functions0
▷ Named functions00.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
No PNG files were detected