Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.32MB] [CPU: ▼3.24ms] Passed 4 tests
A check of server-side resources used by NoFrixion for WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.82 ▲0.36 | 39.38 ▼3.22 |
Dashboard /wp-admin | 3.66 ▲0.35 | 46.09 ▼1.69 |
Posts /wp-admin/edit.php | 3.71 ▲0.35 | 48.77 ▼1.09 |
Add New Post /wp-admin/post-new.php | 6.18 ▲0.29 | 82.00 ▼6.97 |
Media Library /wp-admin/upload.php | 3.52 ▲0.29 | 40.98 ▲7.87 |
Server storage [IO: ▲0.30MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 62 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
nofrixion_permalinks_flushed |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by NoFrixion for WooCommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲68 | 14.35 ▲0.17 | 1.88 ▲0.16 | 39.67 ▼6.94 |
Dashboard /wp-admin | 2,213 ▲39 | 5.64 ▼0.10 | 89.30 ▼13.11 | 40.43 ▼4.51 |
Posts /wp-admin/edit.php | 2,116 ▲16 | 2.11 ▲0.09 | 41.95 ▲8.31 | 35.30 ▲2.48 |
Add New Post /wp-admin/post-new.php | 1,541 ▲13 | 23.28 ▲0.16 | 670.37 ▲45.75 | 56.32 ▼0.92 |
Media Library /wp-admin/upload.php | 1,415 ▲15 | 4.19 ▼0.08 | 109.05 ▲7.19 | 48.13 ▲6.61 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- nofrixion_permalinks_flushed
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% from 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
Please take a closer look at the following
- 14× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'Nofrixion\\Http\\ResponseInterface' not found in wp-content/plugins/nofrixion-for-woocommerce/vendor/nofrixion/moneymoov-php/src/Http/Response.php:7
- > PHP Fatal error
Uncaught Error: Class 'Nofrixion\\Exception\ofrixionException' not found in wp-content/plugins/nofrixion-for-woocommerce/vendor/nofrixion/moneymoov-php/src/Exception/RequestException.php:10
- > PHP Fatal error
Uncaught Error: Class 'PhpCsFixer\\Finder' not found in wp-content/plugins/nofrixion-for-woocommerce/vendor/nofrixion/moneymoov-php/.php-cs-fixer.dist.php:3
- > PHP Fatal error
Uncaught Error: Class 'Nofrixion\\Exception\ofrixionException' not found in wp-content/plugins/nofrixion-for-woocommerce/vendor/nofrixion/moneymoov-php/src/Exception/ConnectException.php:9
- > PHP Fatal error
Uncaught Error: Class 'Nofrixion\\WC\\Gateway\ofrixionGateway' not found in wp-content/plugins/nofrixion-for-woocommerce/src/Gateway/NoFrixionPisp.php:11
- > PHP Fatal error
Uncaught Error: Class 'Nofrixion\\Client\\AbstractClient' not found in wp-content/plugins/nofrixion-for-woocommerce/vendor/nofrixion/moneymoov-php/src/Client/MerchantClient.php:15
- > PHP Fatal error
Uncaught Error: Class 'Nofrixion\\Exception\\RequestException' not found in wp-content/plugins/nofrixion-for-woocommerce/vendor/nofrixion/moneymoov-php/src/Exception/ForbiddenException.php:7
- > PHP Fatal error
Uncaught Error: Class 'Nofrixion\\Client\\AbstractClient' not found in wp-content/plugins/nofrixion-for-woocommerce/vendor/nofrixion/moneymoov-php/src/Client/WebhookClient.php:14
- > PHP Fatal error
Uncaught Error: Class 'WC_Settings_Page' not found in wp-content/plugins/nofrixion-for-woocommerce/src/Admin/GlobalSettings.php:9
- > PHP Fatal error
Uncaught Error: Class 'Nofrixion\\WC\\Gateway\ofrixionGateway' not found in wp-content/plugins/nofrixion-for-woocommerce/src/Gateway/NoFrixionCard.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 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
8 plugin tags: payment, woocommerce, payment processing, payment gateway, payments...
nofrixion-for-woocommerce/nofrixion-for-woocommerce.php 92% from 13 tests
This is the main PHP file of "NoFrixion for WooCommerce" version 1.2.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Git Repository: Please do not include Git repositories in your plugin
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin3,835 lines of code in 55 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 45 | 694 | 1,104 | 3,235 |
JavaScript | 2 | 61 | 90 | 334 |
JSON | 4 | 1 | 0 | 148 |
Markdown | 2 | 28 | 0 | 61 |
CSS | 1 | 7 | 1 | 42 |
XML | 1 | 0 | 0 | 15 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 13.24 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 70.00 |
Average method complexity | 3.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 12 | |
Interfaces | 2 | |
Traits | 0 | |
Classes | 36 | |
▷ Abstract classes | 1 | 2.78% |
▷ Concrete classes | 35 | 97.22% |
▷ Final classes | 0 | 0.00% |
Methods | 156 | |
▷ Static methods | 31 | 19.87% |
▷ Public methods | 141 | 90.38% |
▷ Protected methods | 11 | 7.05% |
▷ Private methods | 4 | 2.56% |
Functions | 13 | |
▷ Named functions | 2 | 15.38% |
▷ Anonymous functions | 11 | 84.62% |
Constants | 25 | |
▷ Global constants | 9 | 36.00% |
▷ Class constants | 16 | 64.00% |
▷ Public constants | 14 | 87.50% |
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
There are no PNG files in this plugin