Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.18MB] [CPU: ▼1.92ms] Passed 4 tests
An overview of server-side resources used by Advanced Testimonial For WP
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.17 | 44.12 ▲0.31 |
Dashboard /wp-admin | 3.52 ▲0.17 | 54.49 ▼7.23 |
Posts /wp-admin/edit.php | 3.63 ▲0.27 | 61.48 ▲11.92 |
Add New Post /wp-admin/post-new.php | 6.09 ▲0.20 | 92.18 ▼6.19 |
Media Library /wp-admin/upload.php | 3.41 ▲0.18 | 43.64 ▲5.43 |
Setting /wp-admin/edit.php?post_type=itt_testimonial_cp&page=testimonail_setting | 3.41 | 48.40 |
Categories /wp-admin/edit-tags.php?taxonomy=itt_testimonial_category&post_type=itt_testimonial_cp | 3.43 | 41.18 |
All Testimonials /wp-admin/edit.php?post_type=itt_testimonial_cp | 3.48 | 46.37 |
Shortcode Generator /wp-admin/edit.php?post_type=itt_testimonial_cp&page=testimonial_shortcode | 3.58 | 38.63 |
Add Testimonial /wp-admin/post-new.php?post_type=itt_testimonial_cp | 3.52 | 51.53 |
Server storage [IO: ▲1.29MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 78 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Advanced Testimonial For WP
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,123 ▲362 | 14.89 ▲0.54 | 6.93 ▲5.13 | 43.07 ▲1.25 |
Dashboard /wp-admin | 2,420 ▲249 | 6.42 ▲0.76 | 120.97 ▲28.95 | 39.66 ▼5.24 |
Posts /wp-admin/edit.php | 2,348 ▲248 | 3.58 ▲1.57 | 52.51 ▲15.03 | 31.37 ▼6.03 |
Add New Post /wp-admin/post-new.php | 1,599 ▲73 | 23.34 ▲0.14 | 681.48 ▲13.83 | 38.12 ▼12.52 |
Media Library /wp-admin/upload.php | 1,482 ▲88 | 4.40 ▲0.13 | 89.78 ▼9.22 | 43.44 ▼1.17 |
Setting /wp-admin/edit.php?post_type=itt_testimonial_cp&page=testimonail_setting | 1,209 | 3.44 | 49.43 | 35.20 |
Categories /wp-admin/edit-tags.php?taxonomy=itt_testimonial_category&post_type=itt_testimonial_cp | 1,524 | 3.44 | 42.73 | 30.93 |
All Testimonials /wp-admin/edit.php?post_type=itt_testimonial_cp | 1,315 | 3.58 | 51.18 | 26.85 |
Shortcode Generator /wp-admin/edit.php?post_type=itt_testimonial_cp&page=testimonial_shortcode | 1,884 | 3.29 | 52.96 | 29.51 |
Add Testimonial /wp-admin/post-new.php?post_type=itt_testimonial_cp | 1,989 | 3.93 | 70.26 | 35.86 |
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
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
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
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following browser errors
- > GET request to /wp-admin/edit.php?post_type=itt_testimonial_cp&page=testimonail_setting
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1 1:28609 "jQuery.Deferred exception: jQuery(...).live is not a function" "TypeError: jQuery(...).live is not a function\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/advanced-testimonial-for-wp/assets/js/back-end/custom-js.js?ver=1983210252:206:48)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&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,moxiejs,plupload&ver=6.3.1:2:27292)" undefined
- 5 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=itt_testimonial_cp
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1 1:28721 Uncaught TypeError: jQuery(...).live is not a function
- > GET request to /wp-admin/edit-tags.php?taxonomy=itt_testimonial_category&post_type=itt_testimonial_cp
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1 1:28609 "jQuery.Deferred exception: jQuery(...).live is not a function" "TypeError: jQuery(...).live is not a function\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/advanced-testimonial-for-wp/assets/js/back-end/custom-js.js?ver=478823605:206:48)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&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,moxiejs,plupload&ver=6.3.1:2:27292)" undefined
- > GET request to /wp-admin/edit.php?post_type=itt_testimonial_cp
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1 1:28609 "jQuery.Deferred exception: jQuery(...).live is not a function" "TypeError: jQuery(...).live is not a function\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/advanced-testimonial-for-wp/assets/js/back-end/custom-js.js?ver=1902131056:206:48)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&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,moxiejs,plupload&ver=6.3.1:2:27292)" undefined
- > GET request to /wp-admin/edit.php?post_type=itt_testimonial_cp&page=testimonial_shortcode
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1 1:28609 "jQuery.Deferred exception: jQuery(...).live is not a function" "TypeError: jQuery(...).live is not a function\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/advanced-testimonial-for-wp/assets/js/back-end/custom-js.js?ver=872558642:206:48)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&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,moxiejs,plupload&ver=6.3.1:2:27292)" undefined
- > GET request to /wp-admin/post-new.php?post_type=itt_testimonial_cp
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1 1:28609 "jQuery.Deferred exception: jQuery(...).live is not a function" "TypeError: jQuery(...).live is not a function\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/advanced-testimonial-for-wp/assets/js/back-end/custom-js.js?ver=728878625:206:48)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&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,moxiejs,plupload&ver=6.3.1:2:27292)" undefined
Optimizations
Plugin configuration 87% 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:
- Tags: Please delete some tags, you are using 15 tag instead of maximum 10
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== advanced-testimonial-for-wp ===
)
advanced-testimonial-for-wp/main.php 85% from 13 tests
The primary PHP file in "Advanced Testimonial For WP" version 1.0 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Text Domain: Please use dashes and lowercase characters for text domains
- Main file name: The principal plugin file should be the same as the plugin slug ("advanced-testimonial-for-wp.php" instead of "main.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin12,753 lines of code in 51 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 15 | 1,419 | 235 | 5,949 |
JavaScript | 11 | 456 | 354 | 2,927 |
PHP | 15 | 545 | 150 | 1,868 |
PO File | 2 | 657 | 1,025 | 1,378 |
SVG | 3 | 0 | 0 | 422 |
JSON | 3 | 0 | 0 | 108 |
Markdown | 2 | 36 | 0 | 101 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 9.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 2.55 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 11 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 11 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 16 | |
▷ Named functions | 16 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 9 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
10 PNG files occupy 0.11MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/css/star.png | 2.66KB | 2.04KB | ▼ 23.39% |
assets/plugins/owlCarousel/owl-carousel/slider-controls.png | 3.35KB | 0.64KB | ▼ 80.77% |
assets/images/next.png | 48.93KB | 0.25KB | ▼ 99.48% |
assets/images/controls.png | 2.74KB | 1.42KB | ▼ 48.29% |
assets/css/back-end/chosen/chosen-sprite@2x.png | 0.85KB | 0.83KB | ▼ 3.10% |