Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼5.92ms] Passed 4 tests
This is a short check of server-side resources used by GDReseller
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 46.63 ▲5.47 |
Dashboard /wp-admin | 3.36 ▲0.05 | 48.86 ▼4.18 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 55.53 ▲0.71 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 85.37 ▼22.22 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 38.15 ▲2.03 |
Add New /wp-admin/post-new.php?post_type=gdr_form | 3.37 | 49.73 |
GD Options /wp-admin/options-general.php?page=gdr_options | 3.25 | 33.90 |
All GD Products /wp-admin/edit.php?post_type=gdr_form | 3.32 | 39.04 |
Reseller Groups /wp-admin/edit-tags.php?taxonomy=reseller_group&post_type=gdr_form | 3.27 | 34.18 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, 9 new options
New WordPress options |
---|
gdr_activation_date |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_gdr_domain_form_widget |
widget_theysaidso_widget |
db_upgraded |
footer_text |
Browser metrics Passed 4 tests
Checking browser requirements for GDReseller
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,831 ▲70 | 14.35 ▲0.00 | 1.62 ▼0.03 | 39.69 ▼5.37 |
Dashboard /wp-admin | 2,237 ▲57 | 5.51 ▼0.21 | 85.79 ▼3.60 | 40.61 ▼7.03 |
Posts /wp-admin/edit.php | 2,146 ▲49 | 2.00 ▲0.01 | 39.27 ▲0.60 | 36.66 ▼8.52 |
Add New Post /wp-admin/post-new.php | 1,559 ▲33 | 23.01 ▼0.09 | 663.78 ▲5.12 | 49.66 ▼7.41 |
Media Library /wp-admin/upload.php | 1,439 ▲45 | 4.31 ▲0.12 | 97.24 ▼4.83 | 43.65 ▲1.23 |
Add New /wp-admin/post-new.php?post_type=gdr_form | 2,466 | 7.74 | 197.89 | 124.06 |
GD Options /wp-admin/options-general.php?page=gdr_options | 877 | 2.01 | 24.21 | 24.61 |
All GD Products /wp-admin/edit.php?post_type=gdr_form | 1,148 | 1.95 | 32.31 | 32.41 |
Reseller Groups /wp-admin/edit-tags.php?taxonomy=reseller_group&post_type=gdr_form | 1,321 | 2.13 | 26.92 | 30.35 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin does not fully uninstall, leaving 9 options in the database
- db_upgraded
- footer_text
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- widget_gdr_domain_form_widget
- gdr_activation_date
- can_compress_scripts
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/post-new.php?post_type=gdr_form
- > Warning in wp-content/plugins/gdreseller/gdreseller.php+167
count(): Parameter must be an array or an object that implements Countable
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
Almost there! Just fix the following items
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/gdreseller/gdreseller.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/gdreseller/gdr_tax.php:33
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following browser errors
- 4 occurences, only the last one shown
- > GET request to /wp-admin/edit-tags.php?taxonomy=reseller_group&post_type=gdr_form
- > Network (severe)
wp-content/plugins/gdreseller/css/style.css?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Screenshots: Screenshot #19 (Make sure the reseller ID is yours and the Form URL is "http://YourReseller.Website.com//domains/search.aspx?checkAvail=1&prog_id=") image not found
- Screenshots: Please describe screenshot #7 in gdreseller/assets to your readme.txt
gdreseller/gdreseller.php Passed 13 tests
The entry point to "GDReseller" version 1.6 is a PHP file that has certain tags in its header comment area
103 characters long description:
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 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected553 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 82 | 68 | 539 |
JavaScript | 1 | 1 | 1 | 14 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 11.00 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 3.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
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
No PNG images were found in this plugin