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.61MB] [CPU: ▼6.72ms] Passed 4 tests
A check of server-side resources used by GG eBay Management
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.84 ▲0.38 | 44.35 ▼6.10 |
Dashboard /wp-admin | 3.99 ▲0.69 | 52.32 ▼8.80 |
Posts /wp-admin/edit.php | 4.05 ▲0.69 | 54.55 ▼1.75 |
Add New Post /wp-admin/post-new.php | 6.60 ▲0.72 | 91.13 ▼10.21 |
Media Library /wp-admin/upload.php | 3.92 ▲0.69 | 43.52 ▲1.35 |
eBay Accounts /wp-admin/edit.php?post_type=ggem_ebay | 3.97 | 52.34 |
Groups /wp-admin/edit-tags.php?taxonomy=ggem_group&post_type=ggem_ebay | 3.92 | 35.20 |
Payments /wp-admin/edit-tags.php?taxonomy=ggem_payment&post_type=ggem_ebay | 3.97 | 42.37 |
Servers /wp-admin/edit-tags.php?taxonomy=ggem_server&post_type=ggem_ebay | 3.97 | 38.75 |
Add New Account /wp-admin/post-new.php?post_type=ggem_ebay | 4.10 | 59.72 |
Server storage [IO: ▲0.90MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 153 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by GG eBay Management
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,877 ▲131 | 13.44 ▼0.98 | 2.13 ▲0.03 | 41.89 ▼3.10 |
Dashboard /wp-admin | 2,253 ▲65 | 5.17 ▼0.62 | 111.71 ▲3.23 | 61.72 ▲7.13 |
Posts /wp-admin/edit.php | 2,139 ▲44 | 2.29 ▲0.29 | 39.16 ▲1.41 | 32.42 ▼4.49 |
Add New Post /wp-admin/post-new.php | 1,554 ▲21 | 23.13 ▲0.08 | 659.17 ▼66.32 | 65.93 ▲5.67 |
Media Library /wp-admin/upload.php | 1,435 ▲47 | 4.34 ▲0.16 | 110.05 ▼17.45 | 47.44 ▼8.99 |
eBay Accounts /wp-admin/edit.php?post_type=ggem_ebay | 1,200 | 2.45 | 34.04 | 31.03 |
Groups /wp-admin/edit-tags.php?taxonomy=ggem_group&post_type=ggem_ebay | 1,306 | 1.93 | 31.19 | 30.31 |
Payments /wp-admin/edit-tags.php?taxonomy=ggem_payment&post_type=ggem_ebay | 1,534 | 2.61 | 44.35 | 34.52 |
Servers /wp-admin/edit-tags.php?taxonomy=ggem_server&post_type=ggem_ebay | 1,485 | 2.63 | 40.05 | 34.78 |
Add New Account /wp-admin/post-new.php?post_type=ggem_ebay | 2,766 | 8.29 | 201.27 | 83.51 |
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
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 16× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_parse_args() in wp-content/plugins/gg-ebay-management/inc/Libraries/Form/Field/views/input-editor.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/gg-ebay-management/inc/Libraries/Form/View/indexes.php:3
- > PHP Fatal error
Uncaught Error: Class 'GGEM\\Core\\Metabox' not found in wp-content/plugins/gg-ebay-management/inc/Admin/Metabox/Server_Term_Meta.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_parse_args() in wp-content/plugins/gg-ebay-management/inc/Libraries/Form/Field/views/input-switch.php:15
- > PHP Fatal error
Uncaught Error: Class 'GGEM\\Core\\Metabox' not found in wp-content/plugins/gg-ebay-management/inc/Admin/Metabox/EBay_Account_Metabox.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_parse_args() in wp-content/plugins/gg-ebay-management/inc/Libraries/Form/Field/views/input-textarea.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_parse_args() in wp-content/plugins/gg-ebay-management/inc/Libraries/Form/Field/views/input-text.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/gg-ebay-management/inc/Libraries/Form/View/tabs.php:3
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/gg-ebay-management/inc/Libraries/Form/Field/views/input-date.php:19
- > PHP Fatal error
Uncaught Error: Class 'GGEM\\Core\\Metabox' not found in wp-content/plugins/gg-ebay-management/inc/Admin/Setting/General.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
2 plugin tags: gutengeek, ebay management
gg-ebay-management/gg-ebay-management.php 85% from 13 tests
"GG eBay Management" version 1.0.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Requires at least: Required version must be the same as the one declared in readme.txt ("5.2" instead of "3.6")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin16,880 lines of code in 139 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 69 | 2,663 | 874 | 10,271 |
PHP | 61 | 1,233 | 2,093 | 5,249 |
CSS | 7 | 315 | 116 | 1,340 |
SVG | 1 | 0 | 0 | 19 |
JSON | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 15.47 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 98.00 |
Average method complexity | 3.10 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 39.00 |
Code structure | ||
---|---|---|
Namespaces | 13 | |
Interfaces | 1 | |
Traits | 1 | |
Classes | 36 | |
▷ Abstract classes | 2 | 5.56% |
▷ Concrete classes | 34 | 94.44% |
▷ Final classes | 0 | 0.00% |
Methods | 265 | |
▷ Static methods | 30 | 11.32% |
▷ Public methods | 225 | 84.91% |
▷ Protected methods | 13 | 4.91% |
▷ Private methods | 27 | 10.19% |
Functions | 16 | |
▷ Named functions | 15 | 93.75% |
▷ Anonymous functions | 1 | 6.25% |
Constants | 13 | |
▷ Global constants | 7 | 53.85% |
▷ Class constants | 6 | 46.15% |
▷ Public constants | 6 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin