Benchmarks
Plugin footprint 48% 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: ▼1.96MB] [CPU: ▼56.37ms] Passed 4 tests
An overview of server-side resources used by PerPayment - Performance Marketing Platform / Affiliate marketing / Advertising model / Cross Marketing / Cross Selling / Open Ads Trading A/C (Similar to Online Shares Trading) - Now Make Money Online Per Conversion $499
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.44 | 3.98 ▼37.65 |
Dashboard /wp-admin | 2.05 ▼1.26 | 6.27 ▼50.00 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 5.99 ▼47.06 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 6.29 ▼90.78 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 14.73 ▼25.37 |
Welcome /wp-admin/admin.php?page=pp | 2.05 | 5.00 |
Settings /wp-admin/admin.php?page=Settings | 2.05 | 7.83 |
View Income Analytics /wp-admin/admin.php?page=View-Income-Analytics | 2.05 | 5.84 |
Setup Ads /wp-admin/admin.php?page=Set-Up-Ads | 2.05 | 6.21 |
Server storage [IO: ▲2.42MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 25 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_perpayment |
New WordPress options |
---|
jal_db_version |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for PerPayment - Performance Marketing Platform / Affiliate marketing / Advertising model / Cross Marketing / Cross Selling / Open Ads Trading A/C (Similar to Online Shares Trading) - Now Make Money Online Per Conversion $499
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,882 ▲121 | 14.20 ▼0.46 | 1.74 ▲0.11 | 49.60 ▲4.12 |
Dashboard /wp-admin | 2,220 ▲46 | 5.56 ▼0.08 | 82.14 ▼12.66 | 77.16 ▲33.13 |
Posts /wp-admin/edit.php | 2,137 ▲34 | 2.07 ▲0.12 | 33.42 ▼10.61 | 36.72 ▲1.97 |
Add New Post /wp-admin/post-new.php | 1,720 ▲184 | 22.57 ▲4.46 | 689.45 ▲10.58 | 54.18 ▼32.64 |
Media Library /wp-admin/upload.php | 1,437 ▲37 | 4.16 ▼0.01 | 94.33 ▼18.05 | 57.98 ▲10.29 |
Welcome /wp-admin/admin.php?page=pp | 1,779 | 9.28 | 293.77 | 100.70 |
Settings /wp-admin/admin.php?page=Settings | 870 | 2.02 | 27.94 | 37.34 |
View Income Analytics /wp-admin/admin.php?page=View-Income-Analytics | 851 | 2.02 | 26.37 | 27.47 |
Setup Ads /wp-admin/admin.php?page=Set-Up-Ads | 1,131 | 2.05 | 24.52 | 42.14 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin did not uninstall without warnings or errors
- > User notice in wp-includes/functions.php+5905
Function wp_register_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the PerPayw3 handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- This plugin does not fully uninstall, leaving 1 table in the database
- wp_perpayment
- Zombie WordPress options were found after uninstall: 7 options
- widget_theysaidso_widget
- theysaidso_admin_options
- jal_db_version
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- db_upgraded
Smoke tests 0% 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
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=Set-Up-Ads
- > User notice in wp-includes/functions.php+5905
Function wp_register_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the PerPayw3 handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=Set-Up-Ads
- > User notice in wp-includes/functions.php+5905
Function wp_register_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the PerPayppstyle handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=Set-Up-Ads
- > User notice in wp-includes/functions.php+5905
Function wp_enqueue_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the PerPayppstyle handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/perpayment/right-side-ad.php
- > /wp-content/plugins/perpayment/left-side-ad.php
- 5× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/perpayment/welcome.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_register_style() in wp-content/plugins/perpayment/PerPayment.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/perpayment/set-up-ads.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/perpayment/settings.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/perpayment/view-income-analytics.php:3
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following user-side errors
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=Set-Up-Ads
- > Network (severe)
wp-content/plugins/perpayment/images/plogo.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=Set-Up-Ads
- > Network (severe)
wp-admin/%3C?%20echo%20plugin_dir_url(__FILE__);?%3Eimages/headless-logo.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=pp
- > Network (severe)
wp-admin/%3C?%20echo%20plugin_dir_url(__FILE__);?%3Eimages/hirekhan-logo.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=pp
- > Network (severe)
wp-admin/%3C?%20echo%20plugin_dir_url(__FILE__);?%3Eimages/fundacle-logo.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=pp
- > Network (severe)
wp-admin/%3C?%20echo%20plugin_dir_url(__FILE__);?%3Eimages/americanirs-logo.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=Set-Up-Ads
- > Network (severe)
wp-admin/%3C?%20echo%20plugin_dir_url(__FILE__);?%3Eimages/499.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=Set-Up-Ads
- > Network (severe)
wp-admin/%3C?%20echo%20plugin_dir_url(__FILE__);?%3Eimages/American-Business-970x250.jpg - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=Set-Up-Ads
- > Network (severe)
wp-admin/%3C?%20echo%20plugin_dir_url(__FILE__);?%3Eimages/American-Founder-970x250.jpg - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=Set-Up-Ads
- > Network (severe)
wp-admin/%3C?%20echo%20plugin_dir_url(__FILE__);?%3Eimages/HireKhan-Manpower-970x250.jpg - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=Set-Up-Ads
- > Network (severe)
wp-admin/%3C?%20echo%20plugin_dir_url(__FILE__);?%3Eimages/American-IRS-970x250.jpg - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=Set-Up-Ads
- > Network (severe)
wp-admin/%3C?%20echo%20plugin_dir_url(__FILE__);?%3Eimages/Fundacle-Investor-970x250.jpg - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=Set-Up-Ads
- > Network (severe)
wp-admin/%3C?%20echo%20plugin_dir_url(__FILE__);?%3Eimages/Fundacle-Businessman-970x250.jpg - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=Set-Up-Ads
- > Network (severe)
wp-admin/%3C?%20echo%20plugin_dir_url(__FILE__);?%3Eimages/PerPayment-logo.png - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 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
10 plugin tags: advertising model, influencer marketing, performance marketing, cross marketing, cross selling...
perpayment/PerPayment.php 85% from 13 tests
This is the main PHP file of "PerPayment - Performance Marketing Platform / Affiliate marketing / Advertising model / Cross Marketing / Cross Selling / Open Ads Trading A/C (Similar to Online Shares Trading) - Now Make Money Online Per Conversion $499" version 2.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("perpayment.php" instead of "PerPayment.php")
- Domain Path: The domain path folder does not exist ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected878 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 122 | 36 | 656 |
CSS | 2 | 1 | 3 | 222 |
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.11 |
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 | 14 | |
▷ Named functions | 14 | 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 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
7 PNG files occupy 0.70MB with 0.29MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/hirekhan-logo.png | 4.12KB | 2.70KB | ▼ 34.56% |
images/499.png | 600.70KB | 215.64KB | ▼ 64.10% |
images/headless-logo.png | 31.96KB | 20.55KB | ▼ 35.70% |
images/PerPayment-logo.png | 31.96KB | 20.55KB | ▼ 35.70% |
images/americanirs-logo.png | 4.29KB | 2.68KB | ▼ 37.50% |