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: ▼5.46ms] Passed 4 tests
An overview of server-side resources used by PayPro Gateways - Easy Digital Downloads
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 34.27 ▼7.30 |
Dashboard /wp-admin | 3.31 ▼0.04 | 51.54 ▼7.29 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.32 ▲2.59 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 82.74 ▼9.82 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.45 ▲2.78 |
Server storage [IO: ▲0.31MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 40 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for PayPro Gateways - Easy Digital Downloads
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.20 ▼1.03 | 1.66 ▼0.38 | 44.81 ▲2.93 |
Dashboard /wp-admin | 2,206 ▲18 | 5.83 ▼0.05 | 102.37 ▼13.74 | 40.07 ▼2.22 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.05 ▲0.00 | 38.97 ▲1.18 | 34.42 ▼0.03 |
Add New Post /wp-admin/post-new.php | 1,533 ▲19 | 23.35 ▲5.79 | 664.92 ▼36.59 | 53.83 ▼11.45 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.30 ▲0.09 | 101.96 ▲0.98 | 45.21 ▼1.39 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Tags: Please delete some tags, you are using 18 tag instead of maximum 10
paypro-gateways-easy-digital-downloads/paypro-gateways-edd.php 85% from 13 tests
The primary PHP file in "PayPro Gateways - Easy Digital Downloads" version 1.0.3 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("paypro-gateways-easy-digital-downloads.php" instead of "paypro-gateways-edd.php")
Code Analysis 5% from 3 tests
File types 0% from 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
Please make sure to remedy the following
- Do not include executable or dangerous files in your plugin
- .crt - Security Certificate in Firefox, IE, Chrome, Safari
- ☣ wp-content/plugins/paypro-gateways-easy-digital-downloads/vendor/paypro/paypro-php-v1/data/ca-bundle.crt
- .crt - Security Certificate in Firefox, IE, Chrome, Safari
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 29 | 240 | 272 | 960 |
PO File | 1 | 31 | 0 | 81 |
JSON | 2 | 0 | 0 | 73 |
Markdown | 1 | 15 | 0 | 27 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 4.86 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 1.98 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 22 | |
▷ Abstract classes | 2 | 9.09% |
▷ Concrete classes | 20 | 90.91% |
▷ Final classes | 0 | 0.00% |
Methods | 91 | |
▷ Static methods | 14 | 15.38% |
▷ Public methods | 86 | 94.51% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 5.49% |
Functions | 5 | |
▷ Named functions | 4 | 80.00% |
▷ Anonymous functions | 1 | 20.00% |
Constants | 5 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 5 | 100.00% |
▷ Public constants | 5 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin