90% indian-rupee-symbol-for-woocommerce

Code Review | Indian Rupee Symbol For Woocommerce

WordPress plugin Indian Rupee Symbol For Woocommerce scored90%from 54 tests.

About plugin

  • Plugin page: indian-rupee-symb...
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-6.0
  • WordPress version: 6.3.1
  • First release: Jan 7, 2017
  • Latest release: Jul 2, 2022
  • Number of updates: 17
  • Update frequency: every 117.6 days
  • Top authors: aftabmuni (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

600+ active /6,675 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
Installer ran successfully

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

This is a short check of server-side resources used by Indian Rupee Symbol For Woocommerce
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0135.71 ▼8.91
Dashboard /wp-admin3.31 ▼0.0349.31 ▼25.18
Posts /wp-admin/edit.php3.36 ▲0.0145.52 ▼2.53
Add New Post /wp-admin/post-new.php5.89 ▲0.0192.43 ▼5.48
Media Library /wp-admin/upload.php3.23 ▲0.0139.60 ▲0.40

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

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

Browser metrics Passed 4 tests

Checking browser requirements for Indian Rupee Symbol For Woocommerce
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,795 ▲6014.27 ▼0.001.89 ▼0.1338.88 ▼3.03
Dashboard /wp-admin2,199 ▲225.64 ▼0.0294.38 ▲1.6742.73 ▲2.90
Posts /wp-admin/edit.php2,104 ▲42.01 ▲0.0433.02 ▼3.9834.42 ▼1.79
Add New Post /wp-admin/post-new.php1,544 ▲1623.06 ▼0.27659.28 ▼33.2648.45 ▼15.46
Media Library /wp-admin/upload.php1,407 ▲74.10 ▼0.09102.54 ▼13.4042.89 ▼6.78

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_theysaidso_widget
    • widget_recent-posts
    • theysaidso_admin_options
    • widget_recent-comments
    • db_upgraded
    • can_compress_scripts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Everything seems fine, however this is by no means an exhaustive test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 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
6 plugin tags: new indian rupee symbol, woocommerce indian rupee symbol not showing, new indian currency symbol, indian rupee symbol, indian currency symbol...

indian-rupee-symbol-for-woocommerce/indian-rupee-symbol-for-woocommerce.php Passed 13 tests

The main PHP file in "Indian Rupee Symbol For Woocommerce" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
79 characters long description:
This plugin is used to display new Indian currency rupee symbol for WooCommerce

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 detected20 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP191720

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.33
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

PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin