Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.12MB] [CPU: ▼0.07ms] 75% from 4 tests
Server-side resources used by Free Responsive Testimonials, Social Proof Reviews, and Customer Reviews - Stars Testimonials
Please take the time to fix the following items
- CPU: The total CPU usage must kept under 500.00ms (currently 1,898.11ms on /wp-admin/edit.php?post_type=stars_testimonial&page=recommended-plugins)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 39.54 ▼0.70 |
Dashboard /wp-admin | 3.43 ▲0.12 | 48.11 ▲2.62 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 47.08 ▼1.96 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 85.33 ▼0.24 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 40.71 ▲9.55 |
Collect Testimonials /wp-admin/edit.php?post_type=stars_testimonial&page=collect_review_page | 3.41 | 41.39 |
All Testimonials /wp-admin/edit.php?post_type=stars_testimonial | 3.44 | 45.84 |
All Widget Shortcodes /wp-admin/edit.php?post_type=stars_testimonial&page=all-shortcodes | 3.39 | 52.43 |
Testomonial Categories /wp-admin/edit-tags.php?taxonomy=stars_testimonial_cat&post_type=stars_testimonial | 3.34 | 45.22 |
Recommended Plugins /wp-admin/edit.php?post_type=stars_testimonial&page=recommended-plugins | 3.74 | 1,898.11 |
Upgrade to Pro /wp-admin/edit.php?post_type=stars_testimonial&page=all-shortcodes&task=upgrade-to-pro | 3.50 | 39.10 |
Server storage [IO: ▲3.75MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 145 new files
Database: 1 new table, 9 new options
New tables |
---|
wp_star_testimonial_settings |
New WordPress options |
---|
stars-testimonials_show_affiliate_box_after |
starsTestimonials_show_upgrade_box_after |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
stars-testimonials_show_review_box_after |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Free Responsive Testimonials, Social Proof Reviews, and Customer Reviews - Stars Testimonials
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,935 ▲124 | 13.59 ▼0.81 | 6.11 ▲4.11 | 39.72 ▼3.80 |
Dashboard /wp-admin | 2,246 ▲40 | 4.88 ▲0.02 | 97.57 ▼14.01 | 40.71 ▼0.75 |
Posts /wp-admin/edit.php | 2,129 ▲43 | 2.02 ▲0.03 | 34.43 ▼4.70 | 34.57 ▼1.25 |
Add New Post /wp-admin/post-new.php | 1,549 ▲15 | 17.88 ▼5.29 | 681.13 ▲4.50 | 62.44 ▲12.67 |
Media Library /wp-admin/upload.php | 1,431 ▲43 | 4.21 ▲0.04 | 109.14 ▼1.28 | 47.89 ▲1.87 |
Collect Testimonials /wp-admin/edit.php?post_type=stars_testimonial&page=collect_review_page | 1,209 | 3.86 | 83.32 | 82.47 |
All Testimonials /wp-admin/edit.php?post_type=stars_testimonial | 1,446 | 9.81 | 283.65 | 57.93 |
All Widget Shortcodes /wp-admin/edit.php?post_type=stars_testimonial&page=all-shortcodes | 1,565 | 12.95 | 273.89 | 97.74 |
Testomonial Categories /wp-admin/edit-tags.php?taxonomy=stars_testimonial_cat&post_type=stars_testimonial | 1,302 | 2.13 | 26.30 | 29.68 |
Recommended Plugins /wp-admin/edit.php?post_type=stars_testimonial&page=recommended-plugins | 1,464 | 4.01 | 58.31 | 79.07 |
Upgrade to Pro /wp-admin/edit.php?post_type=stars_testimonial&page=all-shortcodes&task=upgrade-to-pro | 1,869 | 4.24 | 81.81 | 108.81 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Zombie tables detected upon uninstall: 1 table
- wp_star_testimonial_settings
- The uninstall procedure has failed, leaving 9 options in the database
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- starsTestimonials_show_upgrade_box_after
- stars-testimonials_show_affiliate_box_after
- can_compress_scripts
- stars-testimonials_show_review_box_after
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 5× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/stars-testimonials-with-slider-and-masonry-grid/upgrade-to-pro.php:7
- > PHP Warning
require_once(ABSPATHwp-admin/includes/plugin-install.php): failed to open stream: No such file or directory in wp-content/plugins/stars-testimonials-with-slider-and-masonry-grid/recommended-plugins.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/stars-testimonials-with-slider-and-masonry-grid/class-upgrade-box.php:7
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/plugin-install.php' (include_path='.:/usr/share/php') in wp-content/plugins/stars-testimonials-with-slider-and-masonry-grid/recommended-plugins.php on line 3
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/stars-testimonials-with-slider-and-masonry-grid/recommended-plugins.php on line 3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
stars-testimonials-with-slider-and-masonry-grid/st.php 69% from 13 tests
The main PHP script in "Free Responsive Testimonials, Social Proof Reviews, and Customer Reviews - Stars Testimonials" version 3.2.9 is automatically included on every request by WordPress
The following require your attention:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Domain Path: Please prefix the domain path with a forward slash character ("/languages")
- Main file name: The principal plugin file should be the same as the plugin slug ("stars-testimonials-with-slider-and-masonry-grid.php" instead of "st.php")
- Domain Path: You should use only dashes and lowercase characters for the domain path ("languages")
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
There were no executable files found in this plugin11,135 lines of code in 96 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 59 | 457 | 421 | 6,257 |
CSS | 14 | 169 | 51 | 2,267 |
JavaScript | 14 | 14 | 48 | 921 |
SVG | 8 | 1 | 1 | 912 |
PO File | 1 | 337 | 373 | 778 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 38.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 222.00 |
Average method complexity | 4.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 1 | 14.29% |
Methods | 72 | |
▷ Static methods | 2 | 2.78% |
▷ Public methods | 69 | 95.83% |
▷ Protected methods | 2 | 2.78% |
▷ Private methods | 1 | 1.39% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 7 | 70.00% |
▷ Class constants | 3 | 30.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
24 PNG files occupy 0.30MB with 0.08MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/admin/agency-price.png | 37.09KB | 15.96KB | ▼ 56.98% |
images/admin/colorpicker_hsb_s.png | 1.14KB | 0.80KB | ▼ 29.97% |
images/admin/basic-price-bg.png | 23.86KB | 13.49KB | ▼ 43.46% |
images/admin/colorpicker_background.png | 1.85KB | 2.14KB | 0.00% |
images/hand-holding-heart-solid.png | 1.70KB | 1.77KB | 0.00% |