Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.39MB] [CPU: ▼135.16ms] Passed 4 tests
An overview of server-side resources used by Super Testimonials
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.21 ▲0.37 | 48.40 ▲16.88 |
Dashboard /wp-admin | 3.50 ▲0.45 | 52.43 ▲4.34 |
Posts /wp-admin/edit.php | 3.57 ▲0.46 | 57.37 ▲13.81 |
Add New Post /wp-admin/post-new.php | 5.80 ▲0.36 | 105.14 ▼562.08 |
Media Library /wp-admin/upload.php | 3.39 ▲0.39 | 41.16 ▲3.30 |
Add New /wp-admin/post-new.php?post_type=testimonials | 3.56 | 63.67 |
Feedback /wp-admin/edit.php?post_type=testimonials&page=sola_t_feedback | 3.37 | 37.21 |
Settings /wp-admin/edit.php?post_type=testimonials&page=sola_t_settings | 3.46 | 38.57 |
All Testimonials /wp-admin/edit.php?post_type=testimonials | 3.44 | 42.57 |
Server storage [IO: ▲4.33MB] [DB: ▲0.01MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 194 new files
Database: no new tables, 6 new options
New WordPress options |
---|
sola_t_token |
widget_sola_testimonials_widget_slider_basic |
widget_sola_testimonials_widget_single |
widget_sola_testimonials_widget_random |
sola_t_style_settings |
sola_t_options_settings |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Super Testimonials
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,985 ▲413 | 22.90 ▲7.35 | 10.63 ▲0.17 | 50.46 ▲1.48 |
Dashboard /wp-admin | 3,257 ▲329 | 12.38 ▲6.39 | 251.27 ▲109.41 | 118.51 ▲8.93 |
Posts /wp-admin/edit.php | 3,080 ▲341 | 8.97 ▲6.25 | 137.82 ▲62.23 | 115.90 ▲13.84 |
Add New Post /wp-admin/post-new.php | 1,805 ▲122 | 22.97 ▲4.40 | 221.31 ▼174.91 | 113.01 ▼10.19 |
Media Library /wp-admin/upload.php | 2,150 ▲343 | 11.74 ▲6.71 | 201.67 ▲44.02 | 122.69 ▼4.88 |
Add New /wp-admin/post-new.php?post_type=testimonials | 3,488 | 15.83 | 287.41 | 156.77 |
Feedback /wp-admin/edit.php?post_type=testimonials&page=sola_t_feedback | 1,512 | 9.47 | 125.42 | 91.20 |
Settings /wp-admin/edit.php?post_type=testimonials&page=sola_t_settings | 1,904 | 9.45 | 187.00 | 166.02 |
All Testimonials /wp-admin/edit.php?post_type=testimonials | 1,819 | 8.85 | 129.26 | 92.03 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- sola_t_options_settings
- sola_t_token
- widget_sola_testimonials_widget_single
- sola_t_style_settings
- widget_sola_testimonials_widget_slider_basic
- widget_sola_testimonials_widget_random
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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 following issues need your attention
- 17× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/sola-testimonials/includes/settings/shortcodes.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/sola-testimonials/includes/settings/styles.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/sola-testimonials/includes/settings/options.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_get_current_user() in wp-content/plugins/sola-testimonials/includes/feedback.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/sola-testimonials/includes/settings/forms.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/sola-testimonials/includes/settings/upgrade.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/sola-testimonials/includes/shortcodes.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_bloginfo() in wp-content/plugins/sola-testimonials/includes/gutenberg-blocks/single-testimonial/index.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/sola-testimonials/includes/footer.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function site_url() in wp-content/plugins/sola-testimonials/sola-testimonials.php:159
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
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
5 plugin tags: testimonial manager, testimonial plugin, testimonials, testimonial, testimonial widget
sola-testimonials/sola-testimonials.php Passed 13 tests
This is the main PHP file of "Super Testimonials" version 3.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
57 characters long description:
A super easy to use and comprehensive Testimonial plugin.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin11,296 lines of code in 142 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 12 | 2,678 | 4,114 | 6,148 |
PHP | 17 | 582 | 368 | 2,663 |
CSS | 8 | 141 | 73 | 1,605 |
JavaScript | 105 | 152 | 71 | 880 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 12 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 12 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 44 | |
▷ Named functions | 44 | 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 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
36 PNG files occupy 1.06MB with 0.56MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/layouts/sola-t-theme-3.png | 61.74KB | 19.23KB | ▼ 68.85% |
images/welcome-image.png | 13.46KB | 7.43KB | ▼ 44.80% |
images/layouts/sola-t-image-2.png | 6.92KB | 2.10KB | ▼ 69.72% |
css/images/ui-icons_888888_256x240.png | 6.83KB | 4.17KB | ▼ 38.92% |
css/images/ui-bg_glass_75_e6e6e6_1x400.png | 0.26KB | 0.15KB | ▼ 42.37% |