89% esb-testimonials

Code Review | ESB Testimonials

WordPress plugin ESB Testimonials scored89%from 54 tests.

About plugin

  • Plugin page: esb-testimonials
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress version: 6.3.1
  • First release: Nov 7, 2014
  • Latest release: Dec 24, 2014
  • Number of updates: 4
  • Update frequency: every 11.8 days
  • Top authors: esparkbiz (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,064 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully

Server metrics [RAM: ▲0.12MB] [CPU: ▼0.84ms] Passed 4 tests

This is a short check of server-side resources used by ESB Testimonials
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.58 ▲0.1237.31 ▼11.07
Dashboard /wp-admin3.41 ▲0.1146.49 ▲0.24
Posts /wp-admin/edit.php3.53 ▲0.1751.04 ▲4.52
Add New Post /wp-admin/post-new.php6.01 ▲0.1392.18 ▲5.48
Media Library /wp-admin/upload.php3.34 ▲0.1136.00 ▲2.96
Generate Shortcode /wp-admin/edit.php?post_type=esb_testimonials&page=esb_tm_gen_stcd3.4232.94
Add New /wp-admin/post-new.php?post_type=esb_testimonials3.5052.73
All Testimonials /wp-admin/edit.php?post_type=esb_testimonials3.3834.11
Categories /wp-admin/edit-tags.php?taxonomy=esbtestimonials&post_type=esb_testimonials3.3333.05

Server storage [IO: ▲0.64MB] [DB: ▲0.00MB] Passed 3 tests

How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 20 new files
Database: no new tables, 9 new options
New WordPress options
can_compress_scripts
esb_tm_set_option
db_upgraded
theysaidso_admin_options
widget_theysaidso_widget
widget_recent-posts
widget_recent-comments
esbtestimonials_children
esb_tm_options

Browser metrics Passed 4 tests

This is an overview of browser requirements for ESB Testimonials
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,951 ▲20514.39 ▲0.016.02 ▲4.0541.30 ▼1.11
Dashboard /wp-admin2,266 ▲785.25 ▲0.19120.55 ▲11.4739.36 ▼6.01
Posts /wp-admin/edit.php2,157 ▲682.37 ▲0.3547.09 ▲11.5234.75 ▼2.13
Add New Post /wp-admin/post-new.php1,565 ▲5117.82 ▲0.06614.42 ▲2.2733.39 ▼25.37
Media Library /wp-admin/upload.php1,448 ▲634.52 ▲0.37100.33 ▼0.7341.97 ▼0.65
Generate Shortcode /wp-admin/edit.php?post_type=esb_testimonials&page=esb_tm_gen_stcd2,0762.7368.8830.67
Add New /wp-admin/post-new.php?post_type=esb_testimonials2,5098.05189.1566.42
All Testimonials /wp-admin/edit.php?post_type=esb_testimonials1,1772.3139.9730.57
Categories /wp-admin/edit-tags.php?taxonomy=esbtestimonials&post_type=esb_testimonials1,3332.1436.0025.48

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
You still need to fix the following
  • Zombie WordPress options were found after uninstall: 7 options
    • widget_recent-comments
    • widget_recent-posts
    • can_compress_scripts
    • db_upgraded
    • theysaidso_admin_options
    • esbtestimonials_children
    • widget_theysaidso_widget

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected

SRP Passed 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
Congratulations! This plugin passed the SRP test

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 88% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
  • Requires at least: Version not formatted correctly
  • Tags: Please reduce the number of tags, currently 18 tag instead of maximum 10
You can take inspiration from this readme.txt

esb-testimonials/esb-testimonials.php Passed 13 tests

The main PHP file in "ESB Testimonials" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
80 characters long description:
Display testimonials with slider, grid or list view used with dynamic shortcode.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin3,250 lines of code in 15 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript22041441,049
CSS31911900
PHP9189179781
SVG100520

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.37
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions22
▷ Named functions22100.00%
▷ Anonymous functions00.00%
Constants7
▷ Global constants7100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin