Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
These installer errors require your attention
- This plugin did not install gracefully
- > Notice in wp-content/plugins/arca-payment-gateway/arca-payment-gateway.php+117
Trying to get property 'idramEnabled' of non-object
Server metrics [RAM: ▲0.03MB] [CPU: ▼5.29ms] Passed 4 tests
Server-side resources used by ArCa Payment Gateway
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 38.95 ▲0.75 |
Dashboard /wp-admin | 3.35 ▲0.00 | 47.42 ▼9.53 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 50.07 ▼0.79 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 90.41 ▼11.60 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 35.71 ▲2.25 |
Error logs /wp-admin/admin.php?page=errorlogs | 3.29 | 32.91 |
How To Use /wp-admin/admin.php?page=how_to_use | 3.36 | 32.92 |
Price list /wp-admin/admin.php?page=pricelist | 3.32 | 31.62 |
Dashboard /wp-admin/admin.php?page=dashboard | 3.38 | 35.79 |
Checkout form /wp-admin/admin.php?page=checkoutform | 3.32 | 33.09 |
Idram Settings /wp-admin/admin.php?page=idramconfig | 3.32 | 32.53 |
vPOS Settings /wp-admin/admin.php?page=config | 3.38 | 35.41 |
Support /wp-admin/admin.php?page=support | 3.26 | 30.86 |
Currency /wp-admin/admin.php?page=currency | 3.28 | 33.22 |
Server storage [IO: ▲0.71MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 63 new files
Database: 9 new tables, 7 new options
New tables |
---|
wp_arca_pg_idram_language |
wp_arca_pg_currency |
wp_arca_pg_banks |
wp_arca_pg_pricelist |
wp_arca_pg_language |
wp_arca_pg_errorlogs |
wp_arca_pg_orders |
wp_arca_pg_idram_config |
wp_arca_pg_config |
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
apg_db_version |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by ArCa Payment Gateway
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,108 ▲362 | 13.68 ▼0.70 | 1.85 ▲0.23 | 33.89 ▼7.75 |
Dashboard /wp-admin | 2,490 ▲299 | 5.05 ▼0.85 | 99.23 ▼3.92 | 86.00 ▲44.48 |
Posts /wp-admin/edit.php | 2,294 ▲205 | 2.13 ▲0.13 | 40.61 ▼0.71 | 36.16 ▲0.54 |
Add New Post /wp-admin/post-new.php | 1,861 ▲333 | 24.96 ▲1.66 | 661.58 ▲64.82 | 71.33 ▲16.13 |
Media Library /wp-admin/upload.php | 1,590 ▲205 | 4.33 ▲0.12 | 100.06 ▼9.37 | 73.79 ▲27.64 |
Error logs /wp-admin/admin.php?page=errorlogs | 1,005 | 1.74 | 27.06 | 37.88 |
How To Use /wp-admin/admin.php?page=how_to_use | 1,813 | 1.79 | 26.55 | 47.82 |
Price list /wp-admin/admin.php?page=pricelist | 1,050 | 1.77 | 27.24 | 27.40 |
Dashboard /wp-admin/admin.php?page=dashboard | 1,076 | 1.80 | 27.09 | 31.61 |
Checkout form /wp-admin/admin.php?page=checkoutform | 1,378 | 1.80 | 29.21 | 38.78 |
Orders /wp-admin/admin.php?page=оrderlog | 1,049 | 1.76 | 25.33 | 27.42 |
Idram Settings /wp-admin/admin.php?page=idramconfig | 1,153 | 1.77 | 27.72 | 39.85 |
vPOS Settings /wp-admin/admin.php?page=config | 1,178 | 1.79 | 28.41 | 30.85 |
Support /wp-admin/admin.php?page=support | 980 | 1.73 | 27.04 | 27.00 |
Currency /wp-admin/admin.php?page=currency | 1,118 | 1.77 | 27.70 | 28.45 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie tables detected upon uninstall: 9 tables
- wp_arca_pg_orders
- wp_arca_pg_idram_config
- wp_arca_pg_banks
- wp_arca_pg_idram_language
- wp_arca_pg_language
- wp_arca_pg_errorlogs
- wp_arca_pg_pricelist
- wp_arca_pg_config
- wp_arca_pg_currency
- This plugin did not uninstall successfully, leaving 7 options in the database
- apg_db_version
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 50% from 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 everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/arca-payment-gateway/arca-payment-gateway.php
- 48× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/arca-payment-gateway/includes/apg-register-scripts-styles.php:2
- > PHP Notice
Trying to get property 'rest_serverID' of non-object in wp-content/plugins/arca-payment-gateway/includes/apg-error-logs.php on line 8
- > PHP Warning
Use of undefined constant ARCAPG_PRO - assumed 'ARCAPG_PRO' (this will throw an Error in a future version of PHP) in wp-content/plugins/arca-payment-gateway/includes/apg-dashboard.php on line 4
- > PHP Fatal error
Uncaught Error: Call to a member function get_results() on null in wp-content/plugins/arca-payment-gateway/includes/apg-widget.php:56
- > PHP Notice
Trying to get property 'idramKey' of non-object in wp-content/plugins/arca-payment-gateway/endpoints/apg-idram.php on line 6
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/arca-payment-gateway/forms/form-default.php:24
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/arca-payment-gateway/buttons/button-custom-amount.php:3
- > PHP Notice
Undefined variable: arca_config in wp-content/plugins/arca-payment-gateway/endpoints/apg-ameria-bank.php on line 5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/arca-payment-gateway/includes/apg-wc-gateways_icons.php:2
- > PHP Notice
Trying to get property 'rest_serverID' of non-object in wp-content/plugins/arca-payment-gateway/endpoints/apg-ameria-bank.php on line 5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Tags: You are using too many tags: 16 tag instead of maximum 10
arca-payment-gateway/arca-payment-gateway.php 92% from 13 tests
The principal PHP file in "ArCa Payment Gateway" v. 1.3.1 is loaded by WordPress automatically on each request
It is important to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 242 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin4,878 lines of code in 42 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 37 | 1,050 | 578 | 3,613 |
PO File | 2 | 398 | 262 | 830 |
CSS | 2 | 88 | 30 | 337 |
JavaScript | 1 | 41 | 6 | 98 |
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 code | 0.43 |
Average class complexity | 5.25 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 2.21 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 14 | |
▷ Static methods | 1 | 7.14% |
▷ Public methods | 14 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 56 | |
▷ Named functions | 54 | 96.43% |
▷ Anonymous functions | 2 | 3.57% |
Constants | 11 | |
▷ Global constants | 11 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
17 PNG files occupy 0.41MB with 0.26MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/idram-rocket-2.png | 82.18KB | 36.04KB | ▼ 56.14% |
images/bank-logos/1.png | 2.45KB | 1.14KB | ▼ 53.51% |
images/bank-logos/10.png | 10.92KB | 3.84KB | ▼ 64.81% |
images/credit-card.png | 36.61KB | 16.64KB | ▼ 54.55% |
images/idram.png | 17.70KB | 2.63KB | ▼ 85.13% |