Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲1.32MB] [CPU: ▲5.20ms] Passed 4 tests
This is a short check of server-side resources used by Testimonial Slider
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.80 ▲1.33 | 44.73 ▲6.41 |
Dashboard /wp-admin | 4.63 ▲1.28 | 59.10 ▲2.25 |
Posts /wp-admin/edit.php | 4.74 ▲1.39 | 61.77 ▲14.04 |
Add New Post /wp-admin/post-new.php | 7.22 ▲1.33 | 100.73 ▲3.76 |
Media Library /wp-admin/upload.php | 4.55 ▲1.32 | 45.15 ▲8.39 |
ShortCode /wp-admin/edit.php?post_type=tss-sc | 4.63 | 48.47 |
All Testimonials /wp-admin/edit.php?post_type=testimonial | 4.60 | 51.01 |
Add Testimonial /wp-admin/post-new.php?post_type=testimonial | 4.70 | 56.06 |
Settings /wp-admin/edit.php?post_type=testimonial&page=tss_settings | 4.53 | 41.68 |
Get Help /wp-admin/edit.php?post_type=testimonial&page=tss_get_help | 4.55 | 40.78 |
Server storage [IO: ▲1.88MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 136 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
tss_settings |
widget_recent-comments |
can_compress_scripts |
widget_widget_tlp_port_owl_carousel |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Testimonial Slider
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,875 ▲103 | 14.13 ▲0.22 | 1.56 ▼0.39 | 37.33 ▼3.35 |
Dashboard /wp-admin | 2,260 ▲80 | 5.59 ▼0.06 | 95.64 ▼1.86 | 84.51 ▲41.81 |
Posts /wp-admin/edit.php | 2,181 ▲81 | 2.14 ▲0.20 | 42.75 ▲2.40 | 36.25 ▼3.49 |
Add New Post /wp-admin/post-new.php | 6,347 ▲4,821 | 21.47 ▼1.82 | 871.77 ▲226.17 | 206.13 ▲156.89 |
Media Library /wp-admin/upload.php | 1,480 ▲86 | 4.24 ▲0.03 | 97.49 ▼2.79 | 73.49 ▲26.27 |
ShortCode /wp-admin/edit.php?post_type=tss-sc | 1,382 | 3.77 | 65.85 | 78.40 |
All Testimonials /wp-admin/edit.php?post_type=testimonial | 1,222 | 2.34 | 36.37 | 35.87 |
Add Testimonial /wp-admin/post-new.php?post_type=testimonial | 2,580 | 8.08 | 187.97 | 157.17 |
Settings /wp-admin/edit.php?post_type=testimonial&page=tss_settings | 1,063 | 2.25 | 34.21 | 42.51 |
Get Help /wp-admin/edit.php?post_type=testimonial&page=tss_get_help | 1,756 | 11.37 | 276.96 | 84.88 |
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 does not fully uninstall, leaving 8 options in the database
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_widget_tlp_port_owl_carousel
- tss_settings
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 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
Please fix the following items
- 49× PHP files output non-empty strings when accessed directly via GET requests (only 10 are shown):
- > /wp-content/plugins/testimonial-slider-and-showcase/lib/elementor/elements/sections/TSSElementorContentSections.php
- > /wp-content/plugins/testimonial-slider-and-showcase/lib/classes/TSSShortCodeGenerator.php
- > /wp-content/plugins/testimonial-slider-and-showcase/lib/widgets/TSScWidget.php
- > /wp-content/plugins/testimonial-slider-and-showcase/lib/classes/TSSNotice.php
- > /wp-content/plugins/testimonial-slider-and-showcase/lib/elementor/TSSElementorControls.php
- > /wp-content/plugins/testimonial-slider-and-showcase/lib/templates/layouts/layout1.php
- > /wp-content/plugins/testimonial-slider-and-showcase/lib/classes/TSSProInit.php
- > /wp-content/plugins/testimonial-slider-and-showcase/lib/classes/TSSGutenBurg.php
- > /wp-content/plugins/testimonial-slider-and-showcase/lib/elementor/elements/tabs/TSSElementorGridStyle.php
- > /wp-content/plugins/testimonial-slider-and-showcase/lib/classes/TSSAjaxResponse.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% 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
Attributes that need to be fixed:
- Donate link: Invalid url: ""
testimonial-slider-and-showcase/testimonial-slider-and-showcase.php 85% from 13 tests
The main PHP file in "Testimonial Slider" ver. 2.3.5 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Description: Please don't use more than 140 characters for the plugin description (currently 194 characters long)
Code Analysis 97% from 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 detected19,794 lines of code in 81 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 49 | 1,637 | 1,859 | 8,952 |
JavaScript | 20 | 1,786 | 2,502 | 7,523 |
CSS | 6 | 570 | 124 | 3,175 |
SVG | 6 | 2 | 2 | 144 |
PHP code 50% from 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
It is recommended to fix the following
- Method cyclomatic complexity has to be reduced to less than 100 (currently 108)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.52 |
Average class complexity | 35.48 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 288.00 |
Average method complexity | 5.64 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 108.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 40 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 40 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 300 | |
▷ Static methods | 26 | 8.67% |
▷ Public methods | 247 | 82.33% |
▷ Protected methods | 9 | 3.00% |
▷ Private methods | 44 | 14.67% |
Functions | 12 | |
▷ Named functions | 1 | 8.33% |
▷ Anonymous functions | 11 | 91.67% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
42 PNG files occupy 0.13MB with 0.07MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/layouts/carousel11.png | 2.61KB | 1.76KB | ▼ 32.77% |
assets/images/placeholder.png | 3.27KB | 1.02KB | ▼ 68.68% |
assets/images/layouts/isotope_video.png | 2.05KB | 1.17KB | ▼ 42.89% |
assets/images/icon-32x32.png | 1.68KB | 0.81KB | ▼ 51.86% |
assets/images/icon-20x20.png | 1.43KB | 0.51KB | ▼ 64.60% |