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.00MB] [CPU: ▼1.38ms] Passed 4 tests
Analyzing server-side resources used by Genesis Connect for Easy Digital Downloads
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 59.28 ▲15.32 |
Dashboard /wp-admin | 3.31 ▲0.00 | 54.29 ▲3.00 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.49 ▼2.12 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 95.32 ▼6.00 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.75 ▼0.38 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 20 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Genesis Connect for Easy Digital Downloads
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲53 | 14.35 ▲0.18 | 1.99 ▼0.11 | 42.70 ▼5.06 |
Dashboard /wp-admin | 2,192 ▲12 | 5.57 ▼0.10 | 94.33 ▼1.18 | 41.21 ▼1.91 |
Posts /wp-admin/edit.php | 2,103 ▼0 | 1.94 ▼0.02 | 33.68 ▼10.28 | 33.13 ▼2.02 |
Add New Post /wp-admin/post-new.php | 1,535 ▼0 | 18.23 ▼0.02 | 603.20 ▼15.88 | 69.36 ▲9.66 |
Media Library /wp-admin/upload.php | 1,403 ▼0 | 4.23 ▲0.09 | 99.11 ▼1.01 | 43.89 ▼0.52 |
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
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 6× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/genesis-connect-edd/lib/gcedd-template-loader.php
- > /wp-content/plugins/genesis-connect-edd/genesis-connect-edd.php
- > /wp-content/plugins/genesis-connect-edd/lib/gcedd-admin.php
- > /wp-content/plugins/genesis-connect-edd/lib/gcedd-functions.php
- > /wp-content/plugins/genesis-connect-edd/lib/gcedd-widget-areas.php
- > /wp-content/plugins/genesis-connect-edd/lib/gcedd-frontend.php
- 5× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/genesis-connect-edd/templates/single-download.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/genesis-connect-edd/templates/archive-download.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/genesis-connect-edd/templates/archive-edd_download.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/genesis-connect-edd/templates/single-edd_download.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function genesis() in wp-content/plugins/genesis-connect-edd/templates/taxonomy.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
genesis-connect-edd/genesis-connect-edd.php 92% from 13 tests
This is the main PHP file of "Genesis Connect for Easy Digital Downloads" version 1.3.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Description: Please keep the plugin description shorter than 140 characters (currently 143 characters long)
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 detected658 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 260 | 613 | 455 |
PO File | 2 | 83 | 148 | 203 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.52 |
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 | 21 | |
▷ Named functions | 21 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 15 | |
▷ Global constants | 15 | 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
No PNG files were detected