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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.18MB] [CPU: ▼2.09ms] Passed 4 tests
An overview of server-side resources used by Responsive Testimonials
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.16 | 36.49 ▼6.95 |
Dashboard /wp-admin | 3.49 ▲0.18 | 45.33 ▼1.48 |
Posts /wp-admin/edit.php | 3.53 ▲0.18 | 51.97 ▲7.33 |
Add New Post /wp-admin/post-new.php | 6.09 ▲0.21 | 86.96 ▼1.29 |
Media Library /wp-admin/upload.php | 3.41 ▲0.18 | 34.96 ▲1.36 |
Add New /wp-admin/post-new.php?post_type=ttml | 3.85 | 57.11 |
All Testimonial sets /wp-admin/edit.php?post_type=ttml | 3.45 | 36.33 |
Server storage [IO: ▲1.03MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 137 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Responsive Testimonials
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,837 ▲102 | 13.33 ▼0.88 | 5.81 ▲3.47 | 39.75 ▼7.89 |
Dashboard /wp-admin | 2,241 ▲53 | 4.97 ▲0.07 | 100.72 ▼5.85 | 39.29 ▼5.48 |
Posts /wp-admin/edit.php | 2,127 ▲38 | 2.07 ▲0.04 | 41.33 ▲4.57 | 35.12 ▲0.05 |
Add New Post /wp-admin/post-new.php | 1,550 ▲17 | 18.33 ▼4.85 | 596.28 ▼91.48 | 53.18 ▲3.93 |
Media Library /wp-admin/upload.php | 1,423 ▲35 | 4.28 ▲0.12 | 96.57 ▼12.07 | 40.53 ▼4.86 |
Add New /wp-admin/post-new.php?post_type=ttml | 2,469 | 4.39 | 83.18 | 49.23 |
All Testimonial sets /wp-admin/edit.php?post_type=ttml | 1,100 | 2.07 | 33.41 | 30.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
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 take a closer look at the following
- 39× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Textarea' not found in wp-content/plugins/responsive-testimonials/inc/cmb2/includes/types/CMB2_Type_Wysiwyg.php:16
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Counter_Base' not found in wp-content/plugins/responsive-testimonials/inc/cmb2/includes/types/CMB2_Type_Textarea.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Multi_Base' not found in wp-content/plugins/responsive-testimonials/inc/cmb2/includes/types/CMB2_Type_Radio.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Multi_Base' not found in wp-content/plugins/responsive-testimonials/inc/cmb2/includes/types/CMB2_Type_Select.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Text_Date' not found in wp-content/plugins/responsive-testimonials/inc/cmb2/includes/types/CMB2_Type_Text_Time.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Text' not found in wp-content/plugins/responsive-testimonials/inc/cmb2/includes/types/CMB2_Type_Oembed.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Counter_Base' not found in wp-content/plugins/responsive-testimonials/inc/cmb2/includes/types/CMB2_Type_Text.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Text' not found in wp-content/plugins/responsive-testimonials/inc/cmb2/includes/types/CMB2_Type_Colorpicker.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Taxonomy_Radio' not found in wp-content/plugins/responsive-testimonials/inc/cmb2/includes/types/CMB2_Type_Taxonomy_Radio_Hierarchical.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Taxonomy_Base' not found in wp-content/plugins/responsive-testimonials/inc/cmb2/includes/types/CMB2_Type_Taxonomy_Multicheck.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
9 plugin tags: referrals, responsive, shortcode, recommendations, client testimonials...
responsive-testimonials/ttml.php 85% from 13 tests
"Responsive Testimonials" version 1.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Description: The description should be shorter than 140 characters (currently 419 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("responsive-testimonials.php" instead of "ttml.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
There were no executable files found in this plugin15,202 lines of code in 101 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 57 | 2,140 | 6,134 | 7,116 |
CSS | 16 | 281 | 1,198 | 4,745 |
JavaScript | 9 | 365 | 590 | 1,474 |
Sass | 17 | 306 | 29 | 1,410 |
PO File | 2 | 200 | 212 | 457 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 19.04 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 186.00 |
Average method complexity | 3.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 68 | |
▷ Abstract classes | 9 | 13.24% |
▷ Concrete classes | 59 | 86.76% |
▷ Final classes | 0 | 0.00% |
Methods | 536 | |
▷ Static methods | 88 | 16.42% |
▷ Public methods | 444 | 82.84% |
▷ Protected methods | 89 | 16.60% |
▷ Private methods | 3 | 0.56% |
Functions | 32 | |
▷ Named functions | 32 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 3 | 33.33% |
▷ Class constants | 6 | 66.67% |
▷ Public constants | 6 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
24 PNG files occupy 0.06MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/links/pinterest.png | 3.40KB | 0.37KB | ▼ 89.22% |
img/links/instagram.png | 3.21KB | 0.31KB | ▼ 90.25% |
img/links/twitter.png | 3.22KB | 0.32KB | ▼ 90.14% |
inc/cmb2/images/ui-bg_glass_75_dadada_1x400.png | 0.11KB | 0.16KB | 0.00% |
img/links/facebook.png | 2.96KB | 0.32KB | ▼ 89.29% |