89% bank-ifsc-code

Code Review | Bank IFSC Code

WordPress plugin Bank IFSC Code scored89%from 54 tests.

About plugin

  • Plugin page: bank-ifsc-code
  • Plugin version: 1.0
  • PHP compatiblity: 7.1.30+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.3-5.5
  • WordPress version: 6.3.1
  • First release: Aug 27, 2020
  • Latest release: Aug 27, 2020
  • Number of updates: 5
  • Update frequency: N/A
  • Top authors: jay_patel (100%)

Code review

54 tests

User reviews

1 review

Install metrics

50+ active /1,614 total downloads

Benchmarks

Plugin footprint 83% 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.01MB] [CPU: ▼5.33ms] Passed 4 tests

This is a short check of server-side resources used by Bank IFSC Code
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0142.59 ▲3.51
Dashboard /wp-admin3.31 ▲0.0145.86 ▼3.98
Posts /wp-admin/edit.php3.36 ▲0.0145.11 ▼3.63
Add New Post /wp-admin/post-new.php5.89 ▲0.0192.30 ▼12.04
Media Library /wp-admin/upload.php3.23 ▲0.0033.12 ▼1.67

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

Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
theysaidso_admin_options
db_upgraded
can_compress_scripts
widget_recent-comments
widget_theysaidso_widget

Browser metrics Passed 4 tests

Checking browser requirements for Bank IFSC Code
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲6513.29 ▼1.091.74 ▼0.1546.09 ▼4.95
Dashboard /wp-admin2,206 ▲185.89 ▲0.99105.51 ▲1.7937.65 ▼6.83
Posts /wp-admin/edit.php2,086 ▼62.00 ▲0.0039.10 ▼2.5134.24 ▼2.84
Add New Post /wp-admin/post-new.php1,520 ▼2223.32 ▲4.81689.45 ▲81.2053.96 ▼0.90
Media Library /wp-admin/upload.php1,391 ▼04.22 ▼0.0199.09 ▲0.6344.93 ▲0.07

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_recent-posts
    • theysaidso_admin_options
    • db_upgraded
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_recent-comments

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected

SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test

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 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
  • Screenshots: These screenshots do not have images: #1 (plugin_settings.png), #2 (find-branch-details-by-ifsc-code.png), #3 (display-branch-details-by-ifsc-code.png)
You can take inspiration from this readme.txt

bank-ifsc-code/bank-ifsc-code.php 92% from 13 tests

The primary PHP file in "Bank IFSC Code" version 1.0 is used by WordPress to initiate all plugin functionality
The following require your attention:
  • Description: Please keep the plugin description shorter than 140 characters (currently 248 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected165 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP23720165

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.40
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%
Functions5
▷ Named functions5100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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 were not PNG files found in your plugin