Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.23MB] [CPU: ▼1.43ms] Passed 4 tests
Analyzing server-side resources used by Resell GD
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.67 ▲0.21 | 46.47 ▲9.59 |
Dashboard /wp-admin | 3.55 ▲0.21 | 50.56 ▼9.84 |
Posts /wp-admin/edit.php | 3.67 ▲0.31 | 52.12 ▲6.62 |
Add New Post /wp-admin/post-new.php | 6.14 ▲0.25 | 91.31 ▼12.07 |
Media Library /wp-admin/upload.php | 3.48 ▲0.25 | 45.53 ▲12.56 |
Add New /wp-admin/post-new.php?post_type=gd_product | 3.61 | 53.70 |
GoDaddy Products /wp-admin/edit.php?post_type=gd_product | 3.53 | 45.58 |
Shortcode Generator /wp-admin/edit.php?post_type=gd_product&page=gd_product-shortcode-generator | 3.45 | 38.73 |
Pricing Export /wp-admin/edit.php?post_type=gd_product&page=gd_product-export-prices | 3.44 | 37.93 |
Pricing Import /wp-admin/edit.php?post_type=gd_product&page=gd_product-import-prices | 3.45 | 36.04 |
Product Import /wp-admin/edit.php?post_type=gd_product&page=gd_product-import-products | 3.45 | 36.98 |
Resell GD /wp-admin/options-general.php?page=godday_options | 3.44 | 36.93 |
Server storage [IO: ▲5.78MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 68 new files
Database: no new tables, 8 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_godaddysearch |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_godaddyhosting |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Resell GD
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,937 ▲191 | 13.63 ▼1.02 | 8.34 ▲6.60 | 36.38 ▼7.45 |
Dashboard /wp-admin | 2,252 ▲63 | 5.85 ▼0.06 | 108.76 ▲5.40 | 62.74 ▲20.55 |
Posts /wp-admin/edit.php | 2,141 ▲52 | 2.01 ▲0.01 | 38.34 ▲2.32 | 34.77 ▼0.72 |
Add New Post /wp-admin/post-new.php | 1,562 ▲43 | 23.38 ▲0.19 | 823.50 ▲170.17 | 55.71 ▲0.91 |
Media Library /wp-admin/upload.php | 1,431 ▲46 | 4.22 ▼0.04 | 97.67 ▼6.30 | 73.58 ▲30.75 |
Add New /wp-admin/post-new.php?post_type=gd_product | 2,703 | 7.77 | 191.37 | 157.67 |
GoDaddy Products /wp-admin/edit.php?post_type=gd_product | 1,204 | 1.95 | 34.77 | 29.26 |
Shortcode Generator /wp-admin/edit.php?post_type=gd_product&page=gd_product-shortcode-generator | 849 | 2.05 | 23.54 | 28.32 |
Pricing Export /wp-admin/edit.php?post_type=gd_product&page=gd_product-export-prices | 864 | 2.06 | 22.74 | 25.01 |
Pricing Import /wp-admin/edit.php?post_type=gd_product&page=gd_product-import-prices | 837 | 2.21 | 25.47 | 28.25 |
Product Import /wp-admin/edit.php?post_type=gd_product&page=gd_product-import-products | 965 | 2.05 | 22.00 | 24.24 |
Resell GD /wp-admin/options-general.php?page=godday_options | 863 | 2.20 | 27.04 | 24.14 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Zombie WordPress options detected upon uninstall: 8 options
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_godaddysearch
- widget_godaddyhosting
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 | 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
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/resell-gd/resell-gd.php:23
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/resell-gd/includes/gd_widget_hosting.php:18
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/resell-gd/includes/gd_widget.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 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
3 plugin tags: domain name searches, resell gd, storefront interface
resell-gd/resell-gd.php Passed 13 tests
The main file in "Resell GD" v. 1.4 serves as a complement to information provided in readme.txt and as the entry point to the plugin
129 characters long description:
GoDaddy Reseller Plugin - Allow Godaddy resellers to redirect product sales and perform domain name search through their reseller
Code Analysis Passed 3 tests
File types Passed 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
No dangerous file extensions were detected145,454 lines of code in 61 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
HTML | 25 | 0 | 608 | 143,011 |
PHP | 10 | 493 | 900 | 2,357 |
CSS | 1 | 6 | 0 | 48 |
JSON | 24 | 0 | 0 | 24 |
JavaScript | 1 | 1 | 1 | 14 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 36.64 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 252.00 |
Average method complexity | 4.73 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 105 | |
▷ Static methods | 7 | 6.67% |
▷ Public methods | 78 | 74.29% |
▷ Protected methods | 4 | 3.81% |
▷ Private methods | 23 | 21.90% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 19 | |
▷ Global constants | 15 | 78.95% |
▷ Class constants | 4 | 21.05% |
▷ Public constants | 4 | 100.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
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/GoDaddy.png | 1.00KB | 0.88KB | ▼ 11.46% |