Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.05MB] [CPU: ▼289.82ms] Passed 4 tests
A check 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.57 ▲0.06 | 52.07 ▲1.47 |
Dashboard /wp-admin | 3.52 ▲0.11 | 37.52 ▲4.39 |
Posts /wp-admin/edit.php | 3.74 ▲0.10 | 41.72 ▲4.45 |
Add New Post /wp-admin/post-new.php | 6.95 ▼0.02 | 95.46 ▼1,167.57 |
Media Library /wp-admin/upload.php | 3.37 ▲0.08 | 26.90 ▲2.42 |
Add Testimonial /wp-admin/post-new.php?post_type=itt_testimonial_cp | 3.72 | 43.89 |
Shortcode Generator /wp-admin/edit.php?post_type=itt_testimonial_cp&page=testimonial_shortcode | 3.78 | 28.81 |
Categories /wp-admin/edit-tags.php?taxonomy=itt_testimonial_category&post_type=itt_testimonial_cp | 3.40 | 29.64 |
Setting /wp-admin/edit.php?post_type=itt_testimonial_cp&page=testimonail_setting | 3.37 | 28.12 |
All Testimonials /wp-admin/edit.php?post_type=itt_testimonial_cp | 3.51 | 29.53 |
Server storage [IO: ▲1.29MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 78 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Advanced Testimonial For WP
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,233 ▲479 | 18.34 ▲2.64 | 9.95 ▲4.04 | 1.99 ▼0.89 |
Dashboard /wp-admin | 3,186 ▲325 | 8.63 ▲2.51 | 145.84 ▲12.01 | 155.44 ▼7.78 |
Posts /wp-admin/edit.php | 3,018 ▲324 | 5.01 ▲1.77 | 86.41 ▲21.53 | 140.47 ▼1.65 |
Add New Post /wp-admin/post-new.php | 1,741 ▲102 | 16.16 ▼3.07 | 393.19 ▼23.90 | 162.04 ▲19.10 |
Media Library /wp-admin/upload.php | 1,805 ▲107 | 5.91 ▲0.39 | 111.99 ▼40.94 | 184.92 ▼9.42 |
Add Testimonial /wp-admin/post-new.php?post_type=itt_testimonial_cp | 2,640 | 6.09 | 100.53 | 133.82 |
Shortcode Generator /wp-admin/edit.php?post_type=itt_testimonial_cp&page=testimonial_shortcode | 2,383 | 5.06 | 81.27 | 127.40 |
Categories /wp-admin/edit-tags.php?taxonomy=itt_testimonial_category&post_type=itt_testimonial_cp | 1,954 | 5.32 | 81.34 | 121.08 |
Setting /wp-admin/edit.php?post_type=itt_testimonial_cp&page=testimonail_setting | 1,595 | 5.03 | 73.93 | 142.63 |
All Testimonials /wp-admin/edit.php?post_type=itt_testimonial_cp | 1,698 | 5.70 | 78.18 | 115.23 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The plugin uninstalled successfully, without leaving any zombie files or tables
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 no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The SRP test was a success
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 take a look at the following user-side issues
- > 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=5.9.2 1:31592 "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=1397402127:206:48)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=5.9.2:2:30038)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=5.9.2:2:30340)" undefined
- 5 occurences, only the last one shown
- > GET request to /wp-admin/edit.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=5.9.2 1:31702 Uncaught TypeError: jQuery(...).live is not a function
- > 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=5.9.2 1:31592 "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=1254152333:206:48)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=5.9.2:2:30038)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=5.9.2:2:30340)" undefined
- > 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=5.9.2 1:31592 "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=590247656:206:48)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=5.9.2:2:30038)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=5.9.2:2:30340)" undefined
- > 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=5.9.2 1:31592 "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=935065734:206:48)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=5.9.2:2:30038)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=5.9.2:2:30340)" 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=5.9.2 1:31592 "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=1485981891:206:48)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=5.9.2:2:30038)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=5.9.2:2:30340)" undefined
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== advanced-testimonial-for-wp ===
) - Tags: Please reduce the number of tags, currently 15 tag instead of maximum 10
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
Please take the time to fix the following:
- Text Domain: The text domain should only use lowercase characters and dashes
- Main file name: Even though not officially enforced, the main 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 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected12,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
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
10 PNG files occupy 0.11MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/controls.png | 2.74KB | 1.42KB | ▼ 48.29% |
assets/css/star.png | 2.66KB | 2.04KB | ▼ 23.39% |
assets/images/admin_overlay_bg.png | 0.19KB | 0.09KB | ▼ 50.00% |
assets/plugins/owlCarousel/owl-carousel/grabbing.png | 0.11KB | 0.14KB | 0.00% |
assets/plugins/scroller/mCSB_buttons.png | 2.93KB | 0.99KB | ▼ 66.18% |