Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼0.66ms] 75% from 4 tests
A check of server-side resources used by I Pay You
Please take the time to fix the following items
- CPU: Total CPU usage must kept under 500.00ms (currently 2,598.37ms on /wp-admin/admin.php?page=afiwai-design)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 43.44 ▲1.08 |
Dashboard /wp-admin | 3.34 ▲0.04 | 53.27 ▲0.70 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 48.88 ▼0.40 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 89.04 ▼4.03 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 37.99 ▲1.54 |
I Pay You /wp-admin/admin.php?page=ipayou-paypalme-options | 3.23 | 32.81 |
AFIWAI DESIGN /wp-admin/admin.php?page=afiwai-design | 3.28 | 2,598.37 |
Server storage [IO: ▲0.35MB] [DB: ▲0.00MB] 67% from 3 tests
Analyzing filesystem and database footprints of this plugin
It is recommended to fix the following issues
- Illegal file modification found: 1 file (4.00KB) outside of "wp-content/plugins/i-pay-you/" and "wp-content/uploads/"
- (new file) wp-content/mgd_mirror/mgd_maximinodotpy-gitdown-test-repository
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for I Pay You
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,842 ▲56 | 13.26 ▼1.39 | 1.81 ▼0.36 | 41.65 ▼1.80 |
Dashboard /wp-admin | 2,242 ▲39 | 5.88 ▲0.97 | 100.37 ▼16.26 | 40.47 ▼4.37 |
Posts /wp-admin/edit.php | 2,130 ▲27 | 2.00 ▼0.02 | 34.97 ▼0.63 | 33.37 ▼2.82 |
Add New Post /wp-admin/post-new.php | 1,567 ▲22 | 23.08 ▼0.39 | 674.27 ▲32.11 | 66.07 ▲12.97 |
Media Library /wp-admin/upload.php | 1,430 ▲30 | 4.31 ▲0.13 | 104.77 ▼1.63 | 45.28 ▼2.52 |
I Pay You /wp-admin/admin.php?page=ipayou-paypalme-options | 887 | 2.04 | 21.74 | 28.69 |
AFIWAI DESIGN /wp-admin/admin.php?page=afiwai-design | 1,274 | 5.20 | 160.95 | 139.64 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% 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
Almost there! Just fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/i-pay-you/i-pay-you.php:23
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
These are user-side errors you should fix
- > GET request to /wp-admin/admin.php?page=afiwai-design
- > Javascript (severe) in unknown
/wp-admin/admin.php?page=afiwai-design - Access to font at 'https://afiwai.com/wp-content/themes/Divi/core/admin/fonts/modules/all/modules.woff' from origin '' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
- > GET request to /wp-admin/admin.php?page=afiwai-design
- > Network (severe)
https://afiwai.com/wp-content/themes/Divi/core/admin/fonts/modules/all/modules.woff - Failed to load resource: net::ERR_FAILED
- > GET request to /wp-admin/admin.php?page=afiwai-design
- > Javascript (severe) in unknown
/wp-admin/admin.php?page=afiwai-design - Access to font at 'https://afiwai.com/wp-content/themes/Divi/core/admin/fonts/modules/all/modules.ttf' from origin '' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
- > GET request to /wp-admin/admin.php?page=afiwai-design
- > Network (severe)
https://afiwai.com/wp-content/themes/Divi/core/admin/fonts/modules/all/modules.ttf - Failed to load resource: net::ERR_FAILED
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need your attention:
- Screenshots: These screenshots do not have images: #1 (Panel Control to insert the PayPal ID), #2 (Enter the amount), #3 (Click on the payment link), #4 (Payment Paypal)
i-pay-you/i-pay-you.php 92% from 13 tests
This is the main PHP file of "I Pay You" version 1.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected256 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 45 | 25 | 179 |
PO File | 1 | 15 | 15 | 46 |
CSS | 1 | 5 | 0 | 21 |
JavaScript | 1 | 1 | 0 | 10 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 9 | |
▷ Named functions | 9 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin