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
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼4.31ms] Passed 4 tests
A check of server-side resources used by Ingenico Server Integration Plugin
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 38.85 ▲1.69 |
Dashboard /wp-admin | 3.32 ▲0.01 | 46.03 ▼3.42 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 44.83 ▲0.45 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 78.16 ▼11.06 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 32.66 ▼3.21 |
Ingenico Server /wp-admin/admin.php?page=ingenico-server-for-woocommerce | 3.18 | 29.13 |
Server storage [IO: ▲0.11MB] [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: 3 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
woocommerce_ingenico_server_config |
can_compress_scripts |
widget_recent-posts |
recovery_mode_email_last_sent |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Ingenico Server Integration Plugin
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.35 ▼0.00 | 1.68 ▼0.04 | 43.91 ▲4.14 |
Dashboard /wp-admin | 2,192 ▲15 | 5.50 ▼0.10 | 82.00 ▼10.30 | 38.47 ▼1.50 |
Posts /wp-admin/edit.php | 2,100 ▲3 | 1.94 ▼0.03 | 33.88 ▼4.66 | 37.42 ▲2.71 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.23 ▼0.16 | 654.12 ▲5.87 | 56.84 ▲0.45 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.21 ▼0.06 | 94.54 ▼15.04 | 43.00 ▼3.70 |
Ingenico Server /wp-admin/admin.php?page=ingenico-server-for-woocommerce | 724 | 1.12 | 6.67 | 23.91 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 8 options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- woocommerce_ingenico_server_config
- widget_recent-posts
- recovery_mode_email_last_sent
- theysaidso_admin_options
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/admin.php?page=ingenico-server-for-woocommerce
- > Error in wp-content/plugins/ingenico-server-for-woocommerce/ingenico-server-for-woocommerce.php+133
Uncaught Error: Call to undefined function wc_get_orders() in wp-content/plugins/ingenico-server-for-woocommerce/ingenico-server-for-woocommerce.php:133
Stack trace:
#0 wp-content/plugins/ingenico-server-for-woocommerce/ingenico-server-for-woocommerce.php(499): Ingenico_Server_For_Woocommerce_Orders_Table->prepare_items()
#1 wp-includes/class-wp-hook.php(310): ingenico_server_for_woocommerce_page()
#2 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#3 wp-includes/plugin.php(517): WP_Hook->do_action()
#4 wp-admin/admin.php(259): do_action()
#5 {main}
thrown
SRP Passed 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
The SRP test was a success
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 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Tags: Please reduce the number of tags, currently 13 tag instead of maximum 10
- Donate link: Please fix this invalid url: ""
ingenico-server-for-woocommerce/ingenico-server-for-woocommerce.php 85% from 13 tests
The entry point to "Ingenico Server Integration Plugin" version 1.0.0 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Domain Path: The domain path folder does not exist ("/lang")
- Requires at least: Required version does not match the one declared in readme.txt ("4.0" instead of "4.0.0")
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
No dangerous file extensions were detected443 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 60 | 74 | 443 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin