Benchmarks
Plugin footprint 23% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
You still need to fix the following installer errors
- This plugin did not install gracefully
- > Deprecated in wp-content/plugins/indianic-testimonial/testimonial.php+576
Function create_function() is deprecated
Server metrics [RAM: ▼1.66MB] [CPU: ▼53.75ms] Passed 4 tests
Analyzing server-side resources used by Testimonial
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.33 ▼1.13 | 5.69 ▼34.34 |
Dashboard /wp-admin | 2.35 ▼0.95 | 7.41 ▼43.68 |
Posts /wp-admin/edit.php | 2.35 ▼1.01 | 7.00 ▼45.50 |
Add New Post /wp-admin/post-new.php | 2.35 ▼3.54 | 7.45 ▼91.46 |
Media Library /wp-admin/upload.php | 2.35 ▼0.88 | 7.64 ▼28.23 |
Listing Template /wp-admin/admin.php?page=inic_testimonial_listing_template | 2.35 | 6.47 |
All Testimonial /wp-admin/admin.php?page=inic_testimonial_view | 2.35 | 7.84 |
Widget Template /wp-admin/admin.php?page=inic_testimonial_widget_template | 2.35 | 5.49 |
Add Testimonial /wp-admin/admin.php?page=inic_testimonial_add | 2.35 | 8.44 |
Settings /wp-admin/admin.php?page=inic_testimonial_settings | 2.35 | 5.78 |
Server storage [IO: ▲0.45MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 16 new files
Database: 3 new tables, 11 new options
New tables |
---|
wp_inic_testimonial_template |
wp_inic_testimonial |
wp_inic_testimonial_widget |
New WordPress options |
---|
db_upgraded |
inic_testimonial_list_ord_by |
widget_inic_testimonial_widget |
widget_recent-comments |
can_compress_scripts |
inic_testimonial_html_template |
jal_db_version |
widget_theysaidso_widget |
inic_testimonial_admin_list_per_page |
theysaidso_admin_options |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Testimonial
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,827 ▲66 | 14.28 ▼0.14 | 1.91 ▲0.32 | 45.76 ▲0.29 |
Dashboard /wp-admin | 2,218 ▲38 | 5.59 ▼0.09 | 84.66 ▼2.05 | 76.55 ▲32.89 |
Posts /wp-admin/edit.php | 2,138 ▲38 | 1.98 ▲0.00 | 34.93 ▼5.62 | 36.19 ▼2.44 |
Add New Post /wp-admin/post-new.php | 1,576 ▲48 | 22.98 ▼0.20 | 759.87 ▲73.59 | 61.21 ▲2.14 |
Media Library /wp-admin/upload.php | 1,441 ▲41 | 4.23 ▲0.03 | 108.29 ▲7.12 | 74.10 ▲27.67 |
Listing Template /wp-admin/admin.php?page=inic_testimonial_listing_template | 874 | 1.80 | 26.02 | 28.20 |
All Testimonial /wp-admin/admin.php?page=inic_testimonial_view | 760 | 1.12 | 6.68 | 21.29 |
Widget Template /wp-admin/admin.php?page=inic_testimonial_widget_template | 850 | 1.65 | 26.91 | 27.83 |
Add Testimonial /wp-admin/admin.php?page=inic_testimonial_add | 2,211 | 2.34 | 35.48 | 40.88 |
Settings /wp-admin/admin.php?page=inic_testimonial_settings | 1,259 | 1.97 | 31.18 | 34.48 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- This plugin cannot be uninstalled
- > Deprecated in wp-content/plugins/indianic-testimonial/testimonial.php+576
Function create_function() is deprecated
- Zombie tables were found after uninstall: 3 tables
- wp_inic_testimonial_widget
- wp_inic_testimonial
- wp_inic_testimonial_template
- This plugin does not fully uninstall, leaving 11 options in the database
- can_compress_scripts
- widget_inic_testimonial_widget
- widget_recent-comments
- db_upgraded
- inic_testimonial_html_template
- widget_recent-posts
- jal_db_version
- theysaidso_admin_options
- inic_testimonial_list_ord_by
- widget_theysaidso_widget
- ...
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Smoke test failed, please fix the following
- 5 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=inic_testimonial_settings
- > Deprecated in wp-content/plugins/indianic-testimonial/testimonial.php+576
Function create_function() is deprecated
- > GET request to /wp-admin/admin.php?page=inic_testimonial_add
- > Notice in wp-content/plugins/indianic-testimonial/add.php+40
Undefined variable: project_name
- > GET request to /wp-admin/admin.php?page=inic_testimonial_add
- > Notice in wp-content/plugins/indianic-testimonial/add.php+45
Undefined variable: project_url
- > GET request to /wp-admin/admin.php?page=inic_testimonial_add
- > Notice in wp-content/plugins/indianic-testimonial/add.php+50
Undefined variable: client_name
- > GET request to /wp-admin/admin.php?page=inic_testimonial_add
- > Notice in wp-content/plugins/indianic-testimonial/add.php+58
Undefined variable: city
- > GET request to /wp-admin/admin.php?page=inic_testimonial_add
- > Notice in wp-content/plugins/indianic-testimonial/add.php+63
Undefined variable: state
- 239 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=inic_testimonial_add
- > Notice in wp-content/plugins/indianic-testimonial/add.php+73
Undefined variable: country
- > GET request to /wp-admin/admin.php?page=inic_testimonial_add
- > Notice in wp-content/plugins/indianic-testimonial/add.php+87
Undefined variable: description
- > GET request to /wp-admin/admin.php?page=inic_testimonial_add
- > Notice in wp-content/plugins/indianic-testimonial/add.php+92
Undefined variable: tags
- > GET request to /wp-admin/admin.php?page=inic_testimonial_add
- > Notice in wp-content/plugins/indianic-testimonial/add.php+97
Undefined variable: video_url
- > GET request to /wp-admin/admin.php?page=inic_testimonial_add
- > Notice in wp-content/plugins/indianic-testimonial/add.php+102
Undefined variable: thumb_img_url
- > GET request to /wp-admin/admin.php?page=inic_testimonial_add
- > Notice in wp-content/plugins/indianic-testimonial/add.php+107
Undefined variable: large_img_url
- > GET request to /wp-admin/admin.php?page=inic_testimonial_add
- > Notice in wp-content/plugins/indianic-testimonial/add.php+112
Undefined variable: is_featured
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 8× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'WP_List_Table' not found in wp-content/plugins/indianic-testimonial/listing_data_table.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/indianic-testimonial/add.php:28
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/indianic-testimonial/widget_template.php:9
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/indianic-testimonial/widget.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/indianic-testimonial/settings.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/indianic-testimonial/listing_template.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/indianic-testimonial/testimonial.php:489
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/indianic-testimonial/view.php:10
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please take a look at the following user-side issues
- > GET request to /wp-admin/admin.php?page=inic_testimonial_listing_template
- > Javascript (severe) in unknown
/wp-admin/admin.php?page=inic_testimonial_listing_template 239:31 Uncaught ReferenceError: QTags is not defined
- > GET request to /wp-admin/admin.php?page=inic_testimonial_widget_template
- > Javascript (severe) in unknown
/wp-admin/admin.php?page=inic_testimonial_widget_template 238:31 Uncaught ReferenceError: QTags is not defined
- > GET request to /wp-admin/admin.php?page=inic_testimonial_add
- > 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: jQuery(...).live is not a function" "TypeError: jQuery(...).live is not a function\n at HTMLDivElement.\u003Canonymous> (/wp-admin/admin.php?page=inic_testimonial_add:79:56)\n at Function.each (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:3129)\n at e.\u003Ccomputed>.each (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:1594)\n at HTMLDocument.\u003Canonymous> (/wp-admin/admin.php?page=inic_testimonial_add:46:40)\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=inic_testimonial_add
- > 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 TypeError: jQuery(...).live is not a function
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need to be fixed:
- Screenshots: Please add images for these screenshots: #1 (screenshot-1.png), #3 (screenshot-3.png), #4 (screenshot-4.png), #5 (screenshot-5.png), #6 (screenshot-6.png), #7 (screenshot-7.png)
indianic-testimonial/testimonial.php 92% from 13 tests
The entry point to "Testimonial" version 2.3 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("indianic-testimonial.php" instead of "testimonial.php")
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
Everything looks great! No dangerous files found in this plugin1,861 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 443 | 335 | 1,861 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 52.50 |
▷ Minimum class complexity | 23.00 |
▷ Maximum class complexity | 83.00 |
Average method complexity | 3.82 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 33.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 | 73 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 73 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 12 | |
▷ Named functions | 9 | 75.00% |
▷ Anonymous functions | 3 | 25.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
7 PNG files occupy 0.34MB with 0.20MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-6.png | 18.59KB | 8.00KB | ▼ 56.97% |
icon.png | 1.45KB | 0.73KB | ▼ 49.60% |
screenshot-3.png | 86.74KB | 34.89KB | ▼ 59.77% |
screenshot-1.png | 47.13KB | 18.31KB | ▼ 61.16% |
screenshot-4.png | 33.49KB | 13.58KB | ▼ 59.47% |