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
Installer ran successfully
Server metrics [RAM: ▲0.15MB] [CPU: ▼8.66ms] Passed 4 tests
Server-side resources used by Testimonial - Responsive Testimonials Showcase
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 38.74 ▼0.53 |
Dashboard /wp-admin | 3.49 ▲0.15 | 46.77 ▼15.32 |
Posts /wp-admin/edit.php | 3.60 ▲0.25 | 47.41 ▼0.79 |
Add New Post /wp-admin/post-new.php | 6.09 ▲0.20 | 81.03 ▼16.78 |
Media Library /wp-admin/upload.php | 3.41 ▲0.18 | 35.63 ▼1.76 |
Add New /wp-admin/post-new.php?post_type=testimonial | 3.46 | 47.67 |
All Testimonial Slider /wp-admin/edit.php?post_type=testimonial | 3.46 | 37.53 |
Server storage [IO: ▲3.45MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 47 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Testimonial - Responsive Testimonials Showcase
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,823 ▲76 | 14.34 ▼0.40 | 1.59 ▼0.06 | 37.77 ▼9.37 |
Dashboard /wp-admin | 2,231 ▲56 | 5.64 ▲0.07 | 91.22 ▼35.48 | 38.44 ▼6.57 |
Posts /wp-admin/edit.php | 2,133 ▲33 | 2.00 ▼0.03 | 40.24 ▲2.64 | 38.42 ▲1.02 |
Add New Post /wp-admin/post-new.php | 1,555 ▲29 | 23.00 ▲0.02 | 664.26 ▼42.42 | 53.85 ▲4.80 |
Media Library /wp-admin/upload.php | 1,436 ▲36 | 4.20 ▼0.01 | 97.39 ▼6.77 | 43.78 ▼2.32 |
Add New /wp-admin/post-new.php?post_type=testimonial | 3,343 | 4.85 | 143.25 | 189.54 |
All Testimonial Slider /wp-admin/edit.php?post_type=testimonial | 1,215 | 1.92 | 32.72 | 41.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
Smoke tests Passed 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 Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
6 plugin tags: testimonial, testimonial showcase, testimonials, testimonial slider, testimonial shortcode...
testimonial-by-weblizar/responsive-testimonial.php 77% from 13 tests
The main PHP script in "Testimonial - Responsive Testimonials Showcase" version 3.8 is automatically included on every request by WordPress
It is important to fix the following:
- Description: The description should be shorter than 140 characters (currently 352 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("testimonial-by-weblizar.php" instead of "responsive-testimonial.php")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin10,924 lines of code in 27 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 3 | 0 | 12 | 8,777 |
PHP | 11 | 89 | 130 | 1,119 |
CSS | 9 | 122 | 13 | 878 |
JavaScript | 4 | 8 | 10 | 150 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 21.17 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 116.00 |
Average method complexity | 6.76 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 77.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 1 | 16.67% |
Methods | 21 | |
▷ Static methods | 19 | 90.48% |
▷ Public methods | 19 | 90.48% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 9.52% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
5 PNG files occupy 0.32MB with 0.13MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/Layout2.png | 84.50KB | 27.61KB | ▼ 67.32% |
assets/images/profile_img.png | 4.78KB | 4.53KB | ▼ 5.21% |
assets/images/grabbing.png | 0.11KB | 0.14KB | 0.00% |
assets/images/logo.png | 107.50KB | 34.96KB | ▼ 67.48% |
assets/images/Layout1.png | 126.57KB | 39.64KB | ▼ 68.68% |