Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.09MB] [CPU: ▲1.65ms] Passed 4 tests
An overview of server-side resources used by Simple Testimonials Showcase
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 44.77 ▼1.08 |
Dashboard /wp-admin | 3.40 ▲0.10 | 56.71 ▲5.31 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 57.81 ▲9.39 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 91.14 ▼7.04 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 47.02 ▲10.81 |
Categories /wp-admin/edit-tags.php?taxonomy=simple_testimonials_category&post_type=simple_testimonials | 3.32 | 43.07 |
All Testimonials /wp-admin/edit.php?post_type=simple_testimonials | 3.35 | 41.71 |
Add New /wp-admin/post-new.php?post_type=simple_testimonials | 3.45 | 57.32 |
Settings /wp-admin/edit.php?post_type=simple_testimonials&page=simple-testimonials-settings | 3.30 | 41.37 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 34 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Simple Testimonials Showcase
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,943 ▲182 | 13.76 ▼0.52 | 8.09 ▲6.25 | 39.91 ▲1.28 |
Dashboard /wp-admin | 2,237 ▲57 | 5.62 ▼0.05 | 86.36 ▼11.49 | 39.91 ▼3.14 |
Posts /wp-admin/edit.php | 2,142 ▲42 | 2.07 ▲0.09 | 40.80 ▲3.16 | 35.94 ▲0.70 |
Add New Post /wp-admin/post-new.php | 1,562 ▲36 | 23.71 ▲0.57 | 694.82 ▲21.59 | 63.54 ▲2.29 |
Media Library /wp-admin/upload.php | 1,436 ▲36 | 4.23 ▲0.04 | 97.88 ▼11.40 | 44.53 ▼2.43 |
Categories /wp-admin/edit-tags.php?taxonomy=simple_testimonials_category&post_type=simple_testimonials | 1,319 | 2.11 | 27.62 | 31.83 |
All Testimonials /wp-admin/edit.php?post_type=simple_testimonials | 1,120 | 1.94 | 31.70 | 34.78 |
Add New /wp-admin/post-new.php?post_type=simple_testimonials | 2,353 | 7.59 | 176.74 | 71.52 |
Settings /wp-admin/edit.php?post_type=simple_testimonials&page=simple-testimonials-settings | 3,336 | 4.71 | 157.16 | 38.51 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/simple-testimonials-showcase/public/partials/simple-testimonials-showcase-public-display.php
- > /wp-content/plugins/simple-testimonials-showcase/admin/partials/simple-testimonials-showcase-admin-display.php
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simple-testimonials-showcase/includes/class-simple-testimonials-showcase-color-option.php:25
- > 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 Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
8 plugin tags: grid layout, testify, clients feedback, testimonials, testimonials management...
simple-testimonials-showcase/simple-testimonials-showcase.php Passed 13 tests
The main PHP script in "Simple Testimonials Showcase" version 1.1.5 is automatically included on every request by WordPress
75 characters long description:
This plugin allows you to create and display testimonials in multiple ways.
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
There were no executable files found in this plugin1,616 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 18 | 182 | 765 | 834 |
JavaScript | 4 | 74 | 182 | 426 |
CSS | 2 | 3 | 15 | 356 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 6.46 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 21.00 |
Average method complexity | 2.42 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 13 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 50 | |
▷ Static methods | 2 | 4.00% |
▷ Public methods | 45 | 90.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 10.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
3 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/sts-icon.png | 1.72KB | 0.72KB | ▼ 58.04% |
public/images/left-litle.png | 2.90KB | 0.31KB | ▼ 89.30% |
public/images/right-litle.png | 2.87KB | 0.30KB | ▼ 89.57% |