Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.21MB] [CPU: ▼7.37ms] Passed 4 tests
This is a short check of server-side resources used by EDD - FastBill Integration
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.68 ▲0.22 | 40.16 ▼2.68 |
Dashboard /wp-admin | 3.51 ▲0.21 | 46.12 ▼2.43 |
Posts /wp-admin/edit.php | 3.63 ▲0.27 | 50.05 ▼0.56 |
Add New Post /wp-admin/post-new.php | 6.09 ▲0.21 | 86.19 ▼22.92 |
Media Library /wp-admin/upload.php | 3.43 ▲0.21 | 37.11 ▼1.44 |
Server storage [IO: ▲0.41MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for EDD - FastBill Integration
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲43 | 13.21 ▼1.09 | 1.65 ▼0.64 | 41.10 ▲0.72 |
Dashboard /wp-admin | 2,206 ▲18 | 5.86 ▲0.05 | 103.95 ▲3.44 | 38.71 ▼5.07 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.02 ▲0.02 | 41.90 ▲1.17 | 33.79 ▼4.38 |
Add New Post /wp-admin/post-new.php | 1,542 ▲28 | 18.44 ▲0.72 | 632.96 ▼22.98 | 49.83 ▼1.25 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.24 ▲0.14 | 97.59 ▼14.38 | 41.62 ▼4.73 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for 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 | 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
Almost there! Just fix the following items
- 6× 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/edd-fastbill/includes/payment-history.php:38
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/edd-fastbill/includes/frontend-functions.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/edd-fastbill/includes/register-settings.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/edd-fastbill/edd-fastbill.php:32
- > PHP Fatal error
Uncaught Error: Class 'drumba\\EDD\\FastBill\\FastBill' not found in wp-content/plugins/edd-fastbill/includes/payment-actions.php:156
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/edd-fastbill/includes/template-tags.php:31
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
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
Please fix the following attributes:
- Screenshots: These screenshots require images: #1 (FastBill Settings), #2 (Payment column)
edd-fastbill/edd-fastbill.php 92% from 13 tests
The primary PHP file in "EDD - FastBill Integration" version 1.6.0 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Description: Please keep the plugin description shorter than 140 characters (currently 212 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin1,160 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 366 | 436 | 974 |
PO File | 1 | 75 | 164 | 136 |
SVG | 1 | 0 | 1 | 50 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 40.67 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 101.00 |
Average method complexity | 5.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 30.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 26 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 19 | 73.08% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 26.92% |
Functions | 21 | |
▷ Named functions | 21 | 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
2 PNG files occupy 0.24MB with 0.10MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 37.87KB | 22.01KB | ▼ 41.88% |
screenshot-1.png | 203.52KB | 109.13KB | ▼ 46.38% |