WordPress plugin Enbank scored 84% from 54 tests.

About plugin

  • Plugin page: enbank-payment-fo...
  • Plugin version: 0.1.0
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7-6.1
  • WordPress version: 6.3.1
  • First release: Mar 13, 2023
  • Latest release: Mar 16, 2023
  • Number of updates: 6
  • Update frequency: every 0.8 days
  • Top authors: inflabs0 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 103 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully

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

Server-side resources used by Enbank
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0045.63 ▲3.90
Dashboard /wp-admin3.31 ▲0.0054.71 ▲4.02
Posts /wp-admin/edit.php3.36 ▲0.0047.59 ▼4.76
Add New Post /wp-admin/post-new.php5.89 ▲0.0084.53 ▼12.05
Media Library /wp-admin/upload.php3.23 ▲0.0036.47 ▲2.81

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

Filesystem and database footprint
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
db_upgraded
widget_recent-posts
theysaidso_admin_options
can_compress_scripts
widget_theysaidso_widget

Browser metrics Passed 4 tests

An overview of browser requirements for Enbank
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,825 ▲9014.75 ▲0.382.33 ▲0.6049.36 ▼1.37
Dashboard /wp-admin2,206 ▲184.85 ▼0.09112.73 ▲3.7446.14 ▼1.14
Posts /wp-admin/edit.php2,094 ▲52.00 ▼0.0434.89 ▼0.9431.83 ▼4.56
Add New Post /wp-admin/post-new.php1,519 ▼1623.44 ▲0.46675.08 ▲10.9751.68 ▼2.41
Media Library /wp-admin/upload.php1,388 ▼04.15 ▼0.0292.92 ▼6.2639.83 ▼1.81

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • theysaidso_admin_options
    • can_compress_scripts
    • db_upgraded
    • widget_recent-comments
    • widget_recent-posts
    • widget_theysaidso_widget

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/enbank-payment-for-woocommerce/enbank-payment-for-woocommerce.php:16

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 Passed 29 tests

readme.txt Passed 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
3 plugin tags: enbank, openbanking, payments

enbank-payment-for-woocommerce/enbank-payment-for-woocommerce.php Passed 13 tests

The main file in "Enbank" v. 0.1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
76 characters long description:
This plugin allows woocommerce users to execute account to account payments.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin162 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP13420162

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.12
Average class complexity4.00
▷ Minimum class complexity4.00
▷ Maximum class complexity4.00
Average method complexity1.60
▷ 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 methods00.00%
▷ Public methods5100.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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
assets/icon_enbank.png1.58KB1.11KB▼ 29.83%