Benchmarks
Plugin footprint 47% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲5.58MB] [CPU: ▲26.69ms] 50% from 4 tests
Analyzing server-side resources used by A WordPress Testimonial Plugin to Showcase Testimonial Slider, Testimonial Grid and More: Solid Testimonial
Please have a look at the following items
- CPU: Total CPU usage must kept under 500.00ms (currently 662.35ms on /wp-admin/edit.php?post_type=gs_testimonial&page=gs-testimonial-plugins-premium)
- Extra RAM: Extra memory usage should kept under 5MB (currently 5.58MB on /wp-admin/edit.php?post_type=gs_testimonial&page=gs-testimonial-plugins-premium)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 9.22 ▲5.76 | 73.09 ▲24.54 |
Dashboard /wp-admin | 9.24 ▲5.94 | 85.38 ▲36.66 |
Posts /wp-admin/edit.php | 9.24 ▲5.89 | 88.92 ▲40.08 |
Add New Post /wp-admin/post-new.php | 10.62 ▲4.73 | 100.94 ▲9.47 |
Media Library /wp-admin/upload.php | 9.24 ▲6.02 | 68.67 ▲36.10 |
GS Plugins Lite /wp-admin/edit.php?post_type=gs_testimonial&page=gs-testimonial-plugins-lite | 9.25 | 713.62 |
Freemius Debug [v.2.6.0] /wp-admin/admin.php?page=freemius | 9.24 | 61.91 |
GS Plugins Pro /wp-admin/edit.php?post_type=gs_testimonial&page=gs-testimonial-plugins-premium | 9.25 | 662.35 |
Server storage [IO: ▲5.32MB] [DB: ▲0.05MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 269 new files
Database: 1 new table, 11 new options
New tables |
---|
wp_gstm_shortcodes |
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
wp_gstm_db_version |
fs_accounts |
db_upgraded |
gs_testimonial_plugin_permalinks_flushed |
fs_debug_mode |
can_compress_scripts |
... |
Browser metrics Passed 4 tests
A WordPress Testimonial Plugin to Showcase Testimonial Slider, Testimonial Grid and More: Solid Testimonial: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,877 ▲90 | 14.58 ▲0.37 | 1.77 ▼0.11 | 27.87 ▼19.34 |
Dashboard /wp-admin | 2,279 ▲105 | 5.57 ▼0.08 | 98.58 ▲3.45 | 85.56 ▲44.75 |
Posts /wp-admin/edit.php | 2,185 ▲85 | 2.00 ▲0.05 | 40.81 ▲2.90 | 39.15 ▲4.42 |
Add New Post /wp-admin/post-new.php | 1,633 ▲96 | 23.00 ▼0.11 | 691.27 ▲21.44 | 31.79 ▼21.75 |
Media Library /wp-admin/upload.php | 1,484 ▲84 | 4.07 ▼0.09 | 99.98 ▲0.77 | 83.79 ▲41.26 |
GS Plugins Lite /wp-admin/edit.php?post_type=gs_testimonial&page=gs-testimonial-plugins-lite | 2,559 | 2.05 | 33.27 | 102.62 |
Freemius Debug [v.2.6.0] /wp-admin/admin.php?page=freemius | 1,114 | 1.66 | 24.48 | 24.63 |
GS Plugins Pro /wp-admin/edit.php?post_type=gs_testimonial&page=gs-testimonial-plugins-premium | 2,155 | 2.05 | 30.15 | 62.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.05MB] 25% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/gs-testimonial/freemius/includes/class-freemius.php+8546
Undefined property: stdClass::$plugins
- The plugin did not uninstall successfully, leaving 1 table in the database
- wp_gstm_shortcodes
- Zombie WordPress options detected upon uninstall: 11 options
- wp_gstm_db_version
- db_upgraded
- fs_debug_mode
- theysaidso_admin_options
- fs_accounts
- gs_testimonial_plugin_permalinks_flushed
- can_compress_scripts
- widget_recent-comments
- fs_active_plugins
- widget_theysaidso_widget
- ...
Smoke tests 50% from 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)
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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
Almost there! Just fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/gs-testimonial/includes/integrations/beaver/includes/frontend.php
- 13× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to a member function have_posts() on null in wp-content/plugins/gs-testimonial/templates/gs-grid-template-03.php:13
- > PHP Fatal error
Uncaught Error: Call to a member function have_posts() on null in wp-content/plugins/gs-testimonial/templates/gs-grid-template-01.php:13
- > PHP Notice
Undefined variable: settings in wp-content/plugins/gs-testimonial/includes/integrations/beaver/includes/frontend.php on line 3
- > PHP Notice
Undefined variable: gs_t_loop in wp-content/plugins/gs-testimonial/templates/gs-grid-template-03.php on line 13
- > PHP Fatal error
Uncaught Error: Call to undefined function language_attributes() in wp-content/plugins/gs-testimonial/includes/shortcode-builder/preview.php:1
- > PHP Fatal error
Uncaught Error: Call to a member function have_posts() on null in wp-content/plugins/gs-testimonial/templates/gs-grid-template-02.php:13
- > PHP Notice
Undefined variable: gs_t_loop in wp-content/plugins/gs-testimonial/templates/gs-grid-template-02.php on line 13
- > PHP Notice
Trying to get property 'shortcode_id' of non-object in wp-content/plugins/gs-testimonial/includes/integrations/beaver/includes/frontend.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/gs-testimonial/includes/gs-common-pages/gs-testimonial-common-pages.php:3
- > PHP Fatal error
Uncaught Error: Class 'td_block' not found in wp-content/plugins/gs-testimonial/includes/integrations/includes/gs-testimonial-block.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 93% 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
7 plugin tags: best testimonial plugin, free testimonial plugin, testimonial, wordpress testimonial plugin, testimonial showcase...
gs-testimonial/gs-testimonial.php 85% from 13 tests
"A WordPress Testimonial Plugin to Showcase Testimonial Slider, Testimonial Grid and More: Solid Testimonial" version 3.0.8's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 371 characters long)
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected41,938 lines of code in 199 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 155 | 9,499 | 18,018 | 39,002 |
CSS | 26 | 411 | 25 | 2,721 |
JavaScript | 14 | 36 | 86 | 211 |
SVG | 3 | 0 | 0 | 3 |
JSON | 1 | 0 | 0 | 1 |
PHP code 50% from 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
The following items need your attention
- Cyclomatic complexity of classes has to be reduced to less than 1000 (currently 3,096)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.59 |
Average class complexity | 62.14 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,096.00 |
Average method complexity | 4.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 80 | |
▷ Abstract classes | 3 | 3.75% |
▷ Concrete classes | 77 | 96.25% |
▷ Final classes | 4 | 5.19% |
Methods | 1,566 | |
▷ Static methods | 217 | 13.86% |
▷ Public methods | 1,146 | 73.18% |
▷ Protected methods | 33 | 2.11% |
▷ Private methods | 387 | 24.71% |
Functions | 146 | |
▷ Named functions | 128 | 87.67% |
▷ Anonymous functions | 18 | 12.33% |
Constants | 151 | |
▷ Global constants | 104 | 68.87% |
▷ Class constants | 47 | 31.13% |
▷ Public constants | 47 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
14 PNG files occupy 0.08MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/dummy-data/gstm-client-company-4.png | 3.00KB | 2.68KB | ▼ 10.86% |
assets/rateit-js/star-white32.png | 1.62KB | 1.41KB | ▼ 13.42% |
assets/img/dummy-data/gstm-client-company-5.png | 2.26KB | 2.30KB | 0.00% |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
assets/img/no_img.png | 8.45KB | 3.71KB | ▼ 56.07% |