Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼9.92ms] Passed 4 tests
An overview of server-side resources used by Allpay Payment Gateway
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 37.41 ▼1.98 |
Dashboard /wp-admin | 3.31 ▼0.04 | 46.48 ▼21.00 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.54 ▼3.60 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 91.96 ▼7.47 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 32.14 ▼7.62 |
Server storage [IO: ▲0.03MB] [DB: ▲0.07MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Allpay Payment Gateway
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲3 | 14.69 ▲0.34 | 1.93 ▲0.11 | 45.10 ▲2.09 |
Dashboard /wp-admin | 2,195 ▲21 | 5.62 ▼0.11 | 90.38 ▼5.64 | 38.72 ▼7.24 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 1.97 ▼0.03 | 40.13 ▲5.72 | 37.15 ▲0.04 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 22.82 ▼0.17 | 601.49 ▼51.54 | 46.73 ▼6.78 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.16 ▲0.07 | 100.13 ▼8.81 | 42.36 ▼4.01 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The SRP test was a success
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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% 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
2 plugin tags: payment provider, israel
allpay-payment-gateway/allpay-gateway.php 85% from 13 tests
Analyzing the main PHP file in "Allpay Payment Gateway" version 1.0.2
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("allpay-payment-gateway.php" instead of "allpay-gateway.php")
- Requires at least: Required version must be the same as the one declared in readme.txt ("4.7" instead of "3.0")
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
There were no executable files found in this plugin384 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 41 | 43 | 201 |
PO File | 2 | 62 | 66 | 183 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 23.00 |
▷ Minimum class complexity | 23.00 |
▷ Maximum class complexity | 23.00 |
Average method complexity | 4.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.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 | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
There are no PNG files in this plugin