Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼6.44ms] Passed 4 tests
A check of server-side resources used by Payzaty
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 39.24 ▼3.53 |
Dashboard /wp-admin | 3.31 ▼0.04 | 45.41 ▼15.16 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.08 ▲1.56 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 82.84 ▼7.96 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.72 ▲0.90 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Payzaty
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲43 | 14.33 ▲0.18 | 1.74 ▲0.12 | 48.48 ▲5.13 |
Dashboard /wp-admin | 2,195 ▲15 | 5.57 ▼0.08 | 89.42 ▲5.48 | 36.19 ▼2.24 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.02 ▲0.00 | 41.32 ▲6.35 | 38.07 ▲0.76 |
Add New Post /wp-admin/post-new.php | 1,535 ▲9 | 23.14 ▼0.28 | 663.03 ▲27.87 | 52.02 ▲6.14 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.22 ▲0.07 | 94.51 ▼3.06 | 42.93 ▼3.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/payzaty/payzaty.php:21
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Contributors: Plugin contributors not specified
- Tags: Please delete some tags, you are using 12 tag instead of maximum 10
- Requires at least: Version format is invalid
payzaty/payzaty.php Passed 13 tests
"Payzaty" version 1.6.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
26 characters long description:
Payzaty WooCommerce plugin
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected316 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 83 | 314 | 260 |
PO File | 1 | 17 | 21 | 56 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 3.60 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 1.48 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 1 | 20.00% |
Methods | 27 | |
▷ Static methods | 2 | 7.41% |
▷ Public methods | 24 | 88.89% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 11.11% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/payzaty-logo.png | 2.80KB | 2.03KB | ▼ 27.55% |
assets/screenshot-1.png | 17.36KB | 8.88KB | ▼ 48.86% |