Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼4.24ms] Passed 4 tests
Analyzing server-side resources used by Easy Digital Downloads Fat Zebra Gateway
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 40.76 ▼0.29 |
Dashboard /wp-admin | 3.33 ▼0.01 | 47.31 ▼17.71 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 50.29 ▲1.87 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 91.77 ▼0.82 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 39.41 ▲6.02 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Easy Digital Downloads Fat Zebra Gateway: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲29 | 13.26 ▼1.04 | 1.84 ▲0.01 | 39.92 ▼4.35 |
Dashboard /wp-admin | 2,206 ▲18 | 4.85 ▼1.03 | 105.90 ▼19.76 | 42.72 ▼2.18 |
Posts /wp-admin/edit.php | 2,092 ▲6 | 2.01 ▼0.04 | 40.61 ▲4.23 | 38.03 ▲4.05 |
Add New Post /wp-admin/post-new.php | 1,514 ▼30 | 17.72 ▼0.59 | 660.37 ▲35.54 | 53.93 ▼4.58 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.20 ▼0.01 | 108.34 ▲3.06 | 47.20 ▲2.12 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% from 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
Please fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/easy-digital-downloads-fat-zebra-gateway/edd-fatzebra.php:34
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 86% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
6 plugin tags: australia, payment gateway, fatzebra, ecommerce, edd...
easy-digital-downloads-fat-zebra-gateway/edd-fatzebra.php 69% from 13 tests
The principal PHP file in "Easy Digital Downloads Fat Zebra Gateway" v. 1.0.0 is loaded by WordPress automatically on each request
The following require your attention:
- Domain Path: The domain path follows the same naming rules as the domain name, using only dashes and lowercase characters ("languages")
- Main file name: Name the main plugin file the same as the plugin slug ("easy-digital-downloads-fat-zebra-gateway.php" instead of "edd-fatzebra.php")
- Domain Path: The domain path should be prefixed with a forward slash character ("/languages")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin141 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 23 | 33 | 118 |
Markdown | 1 | 14 | 0 | 23 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
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 | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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
No PNG files were detected