Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.07MB] [CPU: ▼2.88ms] Passed 4 tests
A check of server-side resources used by Free Responsive Testimonials and Customer Reviews - Superb Testimonials
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 43.52 ▲3.37 |
Dashboard /wp-admin | 3.37 ▲0.07 | 49.55 ▼2.93 |
Posts /wp-admin/edit.php | 3.42 ▲0.07 | 52.71 ▲0.26 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 88.57 ▼12.21 |
Media Library /wp-admin/upload.php | 3.29 ▲0.07 | 41.68 ▲5.05 |
Shortcodes /wp-admin/admin.php?page=superb-testimonials-short-codes | 3.43 | 42.56 |
All Testimonials /wp-admin/admin.php?page=superb-testimonials | 3.32 | 40.45 |
Categories /wp-admin/admin.php?page=superb-testimonials-categories | 3.34 | 39.21 |
Server storage [IO: ▲1.79MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 55 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Free Responsive Testimonials and Customer Reviews - Superb Testimonials
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,936 ▲175 | 13.47 ▼0.92 | 13.30 ▲11.42 | 39.81 ▼3.31 |
Dashboard /wp-admin | 2,226 ▲49 | 5.63 ▲0.04 | 91.78 ▲1.10 | 38.49 ▼3.70 |
Posts /wp-admin/edit.php | 2,131 ▲28 | 2.05 ▲0.00 | 36.56 ▼6.58 | 34.33 ▼8.95 |
Add New Post /wp-admin/post-new.php | 1,574 ▲27 | 23.39 ▲0.04 | 687.02 ▼6.59 | 55.79 ▲2.61 |
Media Library /wp-admin/upload.php | 1,434 ▲40 | 4.16 ▼0.05 | 111.37 ▲3.53 | 49.10 ▲2.48 |
Shortcodes /wp-admin/admin.php?page=superb-testimonials-short-codes | 1,491 | 3.57 | 55.31 | 42.68 |
All Testimonials /wp-admin/admin.php?page=superb-testimonials | 1,092 | 3.56 | 58.14 | 104.95 |
Categories /wp-admin/admin.php?page=superb-testimonials-categories | 1,281 | 3.42 | 48.37 | 45.17 |
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
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
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
Good news, no errors were detected
SRP 50% from 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
Please take a closer look at the following
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/my-superb-testimonials/admin/partials/steps/add-new-testimonial.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/my-superb-testimonials/admin/partials/steps/signup-page.php:5
- > 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 87% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need your attention:
- Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Screenshots: Please add an image for screenshot #1 (Create your first shortcode using our shortcode builder)
my-superb-testimonials/superb-testimonials.php 85% from 13 tests
The main PHP script in "Free Responsive Testimonials and Customer Reviews - Superb Testimonials" version 1.0.0 is automatically included on every request by WordPress
It is important to fix the following:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("my-superb-testimonials.php" instead of "superb-testimonials.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected6,506 lines of code in 39 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 25 | 346 | 732 | 2,904 |
CSS | 5 | 374 | 2 | 2,248 |
JavaScript | 9 | 221 | 235 | 1,354 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 18.57 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 97.00 |
Average method complexity | 4.24 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 38 | |
▷ Static methods | 3 | 7.89% |
▷ Public methods | 33 | 86.84% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 13.16% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
4 PNG files occupy 0.10MB with 0.05MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/Frame.png | 12.76KB | 9.20KB | ▼ 27.95% |
admin/images/welcome.png | 9.49KB | 4.49KB | ▼ 52.71% |
admin/images/left-section.png | 66.10KB | 25.39KB | ▼ 61.59% |
admin/images/payment-card-icons.png | 11.56KB | 4.49KB | ▼ 61.19% |