90% gutena-testimonial

Code Review | Gutena Testimonial Slider

WordPress plugin Gutena Testimonial Slider scored90%from 54 tests.

About plugin

  • Plugin page: gutena-testimonial
  • Plugin version: 1.0.2
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.9-6.2
  • WordPress version: 6.3.1
  • First release: Mar 3, 2023
  • Latest release: Apr 4, 2023
  • Number of updates: 4
  • Update frequency: every 8.2 days
  • Top authors: expresstech (100%)

Code review

54 tests

User reviews

1 review

Install metrics

1,000+ active /3,985 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully

Server metrics [RAM: ▲0.09MB] [CPU: ▼9.58ms] Passed 4 tests

A check of server-side resources used by Gutena Testimonial Slider
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.62 ▲0.1136.84 ▼8.70
Dashboard /wp-admin3.43 ▲0.0551.24 ▼13.92
Posts /wp-admin/edit.php3.55 ▲0.1552.74 ▲3.15
Add New Post /wp-admin/post-new.php6.03 ▲0.1088.11 ▼15.41
Media Library /wp-admin/upload.php3.36 ▲0.0936.26 ▼0.28

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

A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 21 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
db_upgraded
widget_recent-posts
widget_theysaidso_widget
theysaidso_admin_options
widget_recent-comments

Browser metrics Passed 4 tests

A check of browser resources used by Gutena Testimonial Slider
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,817 ▲7114.25 ▲0.052.36 ▲0.4044.25 ▼0.37
Dashboard /wp-admin2,195 ▲185.61 ▼0.0596.89 ▼1.2841.29 ▲4.97
Posts /wp-admin/edit.php2,100 ▼02.02 ▲0.0236.32 ▼6.6737.77 ▲1.26
Add New Post /wp-admin/post-new.php6,213 ▲4,67819.68 ▲1.58921.05 ▲282.8740.62 ▼27.16
Media Library /wp-admin/upload.php1,391 ▼64.15 ▲0.0297.54 ▼10.3141.45 ▼0.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
The following items require your attention
  • Zombie WordPress options detected upon uninstall: 6 options
    • db_upgraded
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_recent-comments
    • can_compress_scripts
    • widget_theysaidso_widget

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test

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
Everything seems fine, however this is by no means an exhaustive test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
5 plugin tags: testimonials, testimonial, client review, review, testimonial slider

gutena-testimonial/gutena-testimonial.php 92% from 13 tests

"Gutena Testimonial Slider" version 1.0.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
  • Description: Please don't use more than 140 characters for the plugin description (currently 209 characters long)

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
Success! There were no dangerous files found in this plugin514 lines of code in 17 files:
LanguageFilesBlank linesComment linesLines of code
JSON100309
PHP545121177
SVG50020
CSS3004
JavaScript3014

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.52
Average class complexity12.00
▷ Minimum class complexity9.00
▷ Maximum class complexity15.00
Average method complexity2.83
▷ Minimum method complexity1.00
▷ Maximum method complexity8.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods12
▷ Static methods216.67%
▷ Public methods1083.33%
▷ Protected methods00.00%
▷ Private methods216.67%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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
2 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
build/images/image.f6e4c44d.png8.18KB3.74KB▼ 54.27%
includes/gutena/gutena-ecosys-onboard/assets/cta/bg.png6.31KB3.12KB▼ 50.59%