72% testimonial-builder

Code Review | Testimonial - WordPress Testimonial Showcase Plugin Grid Plus Testimonial Slider

WordPress plugin Testimonial - WordPress Testimonial Showcase Plugin Grid Plus Testimonial Slider scored72%from 54 tests.

About plugin

  • Plugin page: testimonial-builder
  • Plugin version: 1.7.6
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.4.1
  • WordPress version: 6.3.1
  • First release: Oct 11, 2016
  • Latest release: Nov 10, 2023
  • Number of updates: 72
  • Update frequency: every 35.9 days
  • Top authors: wpshopmart (100%)

Code review

54 tests

User reviews

64 reviews

Install metrics

4,000+ active /122,084 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully

Server metrics [RAM: ▲0.03MB] [CPU: ▼6.34ms] Passed 4 tests

This is a short check of server-side resources used by Testimonial - WordPress Testimonial Showcase Plugin Grid Plus Testimonial Slider
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0234.48 ▼0.65
Dashboard /wp-admin3.35 ▲0.0145.30 ▼15.53
Posts /wp-admin/edit.php3.41 ▲0.0543.42 ▲0.47
Add New Post /wp-admin/post-new.php5.94 ▲0.0583.73 ▼9.64
Media Library /wp-admin/upload.php3.28 ▲0.0535.95 ▲3.17
More Free Plugins /wp-admin/edit.php?post_type=test_builder&page=wpsm_testi_b_recom_page3.59493.11
Free Vs Pro /wp-admin/edit.php?post_type=test_builder&page=wpsm_testi_b_fvp_page3.3332.41
All Testimonial /wp-admin/edit.php?post_type=test_builder3.3233.84
Add New Testimonial /wp-admin/post-new.php?post_type=test_builder3.5049.53

Server storage [IO: ▲2.95MB] [DB: ▲0.07MB] Passed 3 tests

Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 123 new files
Database: no new tables, 8 new options
New WordPress options
widget_recent-posts
widget_recent-comments
widget_theysaidso_widget
wpsm_testi_b_review
can_compress_scripts
test_B_default_Settings
db_upgraded
theysaidso_admin_options

Browser metrics Passed 4 tests

Checking browser requirements for Testimonial - WordPress Testimonial Showcase Plugin Grid Plus Testimonial Slider
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,937 ▲16513.39 ▼0.898.19 ▲6.3839.00 ▼0.65
Dashboard /wp-admin2,227 ▲465.53 ▼0.1983.31 ▼22.4939.29 ▼5.36
Posts /wp-admin/edit.php2,135 ▲381.98 ▲0.0434.50 ▼0.6532.70 ▲1.06
Add New Post /wp-admin/post-new.php1,553 ▲2722.97 ▼0.55701.65 ▲16.0055.59 ▲2.32
Media Library /wp-admin/upload.php1,435 ▲354.23 ▲0.0298.25 ▼10.2147.19 ▲1.41
More Free Plugins /wp-admin/edit.php?post_type=test_builder&page=wpsm_testi_b_recom_page1,6942.0625.4535.36
Free Vs Pro /wp-admin/edit.php?post_type=test_builder&page=wpsm_testi_b_fvp_page1,2181.9922.4037.53
All Testimonial /wp-admin/edit.php?post_type=test_builder1,1121.9430.0228.22
Add New Testimonial /wp-admin/post-new.php?post_type=test_builder4,63113.98445.64261.69

Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
  • Zombie WordPress options detected upon uninstall: 8 options
    • test_B_default_Settings
    • widget_recent-comments
    • widget_recent-posts
    • db_upgraded
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_theysaidso_widget
    • wpsm_testi_b_review

Smoke tests 25% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test

SRP 0% from 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
  • 1× PHP files output text when accessed directly:
    • > /wp-content/plugins/testimonial-builder/template/design/index4.php
  • 7× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/testimonial-builder/ink/admin/fvp.php:2
    • > PHP Warning
      include(): Failed opening 'ABSPATHwp-admin/includes/plugin-install.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/testimonial-builder/ink/admin/free.php on line 53
    • > PHP Warning
      include(ABSPATHwp-admin/includes/plugin-install.php): failed to open stream: No such file or directory in wp-content/plugins/testimonial-builder/ink/admin/free.php on line 53
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_locale() in wp-content/plugins/testimonial-builder/ink/admin/free.php:64
    • > PHP Fatal error
      Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/testimonial-builder/ink/admin/more-pro.php:116
    • > PHP Warning
      Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/testimonial-builder/ink/admin/free.php on line 53
    • > PHP Fatal error
      Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/testimonial-builder/ink/admin/help.php:55

User-side errors 0% from 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
These are user-side errors you should fix
    • > GET request to /wp-admin/post-new.php?post_type=test_builder
    • > Network (severe)
    wp-content/plugins/testimonial-builder/assets/tooltip/img/displaydots.jpg - Failed to load resource: the server responded with a status of 404 (Not Found)
    • > GET request to /wp-admin/post-new.php?post_type=test_builder
    • > Network (severe)
    wp-content/plugins/testimonial-builder/assets/tooltip/img/dotsbgcolor.png - Failed to load resource: the server responded with a status of 404 (Not Found)
    • > GET request to /wp-admin/post-new.php?post_type=test_builder
    • > Network (severe)
    wp-content/plugins/testimonial-builder/assets/tooltip/img/dotshvcolor.jpg - Failed to load resource: the server responded with a status of 404 (Not Found)

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
  • Tags: There are too many tags (77 tag instead of maximum 10)
Please take inspiration from this readme.txt

testimonial-builder/testimonial-builder.php Passed 13 tests

The entry point to "Testimonial - WordPress Testimonial Showcase Plugin Grid Plus Testimonial Slider" version 1.7.6 is a PHP file that has certain tags in its header comment area
131 characters long description:
Testimonial Builder is most flexible WordPress plugin available to Add and manage your Testimonial page with drag and drop feature.

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
No dangerous file extensions were detected18,435 lines of code in 71 files:
LanguageFilesBlank linesComment linesLines of code
CSS161,0801249,123
JavaScript71,1395733,810
PHP212751052,691
Sass1319221,158
LESS1319311,149
SVG100504

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.21
Average class complexity8.00
▷ Minimum class complexity8.00
▷ Maximum class complexity8.00
Average method complexity1.39
▷ Minimum method complexity1.00
▷ Maximum method complexity5.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods18
▷ Static methods15.56%
▷ Public methods1794.44%
▷ Protected methods00.00%
▷ Private methods15.56%
Functions13
▷ Named functions13100.00%
▷ Anonymous functions00.00%
Constants2
▷ Global constants2100.00%
▷ Class constants00.00%
▷ Public constants00.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
40 PNG files occupy 1.42MB with 0.70MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/images/icon-show.png32.95KB11.65KB▼ 64.64%
assets/images/testimonial-intro.png315.12KB98.94KB▼ 68.60%
assets/css/images/ui-bg_glass_95_fef1ec_1x400.png0.32KB0.15KB▼ 54.82%
assets/images/csp.png79.41KB83.27KB0.00%
assets/css/images/ui-bg_flat_0_aaaaaa_40x100.png0.21KB0.08KB▼ 58.96%