Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼5.29ms] Passed 4 tests
An overview of server-side resources used by Custom Product List Table
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 40.66 ▼0.33 |
Dashboard /wp-admin | 3.39 ▲0.05 | 54.83 ▼2.75 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 45.55 ▼0.71 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 83.74 ▼15.68 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 33.84 ▼2.02 |
Add New /wp-admin/admin.php?page=ww_clt_add_form | 3.33 | 37.50 |
Products /wp-admin/admin.php?page=ww_clt_products | 3.40 | 32.55 |
Categories /wp-admin/edit-tags.php?taxonomy=ww_pro_category&post_type=ww_pro_post | 3.31 | 29.48 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Custom Product List Table
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,833 ▲87 | 13.69 ▼0.59 | 1.71 ▲0.12 | 44.20 ▲2.05 |
Dashboard /wp-admin | 2,236 ▲48 | 5.77 ▲0.80 | 100.81 ▼1.31 | 38.73 ▼5.38 |
Posts /wp-admin/edit.php | 2,122 ▲36 | 2.04 ▲0.01 | 38.41 ▲2.68 | 32.29 ▼6.08 |
Add New Post /wp-admin/post-new.php | 1,541 ▼1 | 17.59 ▼0.82 | 675.70 ▲66.29 | 51.08 ▼3.49 |
Media Library /wp-admin/upload.php | 1,421 ▲39 | 4.21 ▲0.05 | 97.89 ▼2.95 | 41.21 ▼1.83 |
Add New /wp-admin/admin.php?page=ww_clt_add_form | 1,073 | 1.76 | 24.87 | 28.49 |
Products /wp-admin/admin.php?page=ww_clt_products | 1,047 | 2.07 | 26.24 | 29.46 |
Categories /wp-admin/edit-tags.php?taxonomy=ww_pro_category&post_type=ww_pro_post | 1,326 | 2.28 | 28.98 | 27.31 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These server-side errors were triggered
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ww_clt_products
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ww_clt_products
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There are user-side issues you should fix
- > GET request to /wp-admin/admin.php?page=ww_clt_add_form
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: postboxes is not defined" "ReferenceError: postboxes is not defined\n at HTMLDocument.\u003Canonymous> (/wp-admin/admin.php?page=ww_clt_add_form:48:6)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
- > GET request to /wp-admin/admin.php?page=ww_clt_add_form
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28721 Uncaught ReferenceError: postboxes is not defined
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
6 plugin tags: without woocomemrce, product category, product, list table, custom product table...
custom-product-list-table/custom-product-list-table.php Passed 13 tests
Analyzing the main PHP file in "Custom Product List Table" version 1.0.0
102 characters long description:
This plugin handles Product's Add,Edit and Delete functinalities with Category and product's status.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected908 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 353 | 505 | 890 |
CSS | 1 | 0 | 2 | 18 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 19.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 40.00 |
Average method complexity | 2.95 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 38 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 38 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 8 | 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