90% intarium-receive-crypto-plugin-for-woocommerce

Code Review | Intarium Receive Crypto Plugin for WooCommerce

WordPress plugin Intarium Receive Crypto Plugin for WooCommerce scored90%from 54 tests.

About plugin

  • Plugin page: intarium-receive-...
  • Plugin version: 0.9.1
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-5.2
  • WordPress version: 6.3.1
  • First release: Nov 21, 2019
  • Latest release: Nov 21, 2019
  • Number of updates: 3
  • Update frequency: every 0.3 days
  • Top authors: intarium (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /2,928 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.05MB] [CPU: ▼1.49ms] Passed 4 tests

Analyzing server-side resources used by Intarium Receive Crypto Plugin for WooCommerce
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.52 ▲0.0545.73 ▲2.14
Dashboard /wp-admin3.36 ▲0.0549.55 ▼2.76
Posts /wp-admin/edit.php3.41 ▲0.0553.18 ▲0.85
Add New Post /wp-admin/post-new.php5.94 ▲0.0595.14 ▼4.15
Media Library /wp-admin/upload.php3.28 ▲0.0537.49 ▲0.09

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

Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
widget_recent-comments
widget_theysaidso_widget
theysaidso_admin_options
widget_recent-posts
db_upgraded

Browser metrics Passed 4 tests

This is an overview of browser requirements for Intarium Receive Crypto Plugin for WooCommerce
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲2814.35 ▼0.001.59 ▼0.6843.21 ▼6.25
Dashboard /wp-admin2,192 ▲155.66 ▼0.0294.00 ▲5.9444.02 ▼7.38
Posts /wp-admin/edit.php2,100 ▼02.03 ▲0.0339.60 ▼0.9535.05 ▼4.17
Add New Post /wp-admin/post-new.php1,526 ▼023.09 ▼0.57650.34 ▼17.8160.83 ▼6.52
Media Library /wp-admin/upload.php1,397 ▼04.16 ▲0.04100.46 ▼11.1943.69 ▼6.96

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
Please fix the following items
  • Zombie WordPress options were found after uninstall: 6 options
    • db_upgraded
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-comments
    • widget_recent-posts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested

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
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 shallow check for browser errors
There were no browser issues found

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
7 plugin tags: gateway, manual payment, woocommerce, dash, bitcoin...

intarium-receive-crypto-plugin-for-woocommerce/intarium-receive-crypto-plugin-for-woocommerce.php Passed 13 tests

The main file in "Intarium Receive Crypto Plugin for WooCommerce" v. 0.9.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
91 characters long description:
Accept CHF, EUR or USD payments from customers and receive Bitcoin or DASH for WooCommerce.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin240 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP13285240

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.20
Average class complexity14.00
▷ Minimum class complexity14.00
▷ Maximum class complexity14.00
Average method complexity2.44
▷ Minimum method complexity1.00
▷ Maximum method complexity6.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods9
▷ Static methods00.00%
▷ Public methods666.67%
▷ Protected methods333.33%
▷ Private methods00.00%
Functions6
▷ Named functions6100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin