90% hizzle-slideshows

Code Review | Hizzle Slideshows

WordPress plugin Hizzle Slideshows scored90%from 54 tests.

About plugin

  • Plugin page: hizzle-slideshows
  • Plugin version: 1.0.0
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 6.0-6.2
  • WordPress version: 6.3.1
  • First release: Jun 13, 2023
  • Latest release: Jun 13, 2023
  • Number of updates: 2
  • Update frequency: every 0.5 days
  • Top authors: hizzlewp (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /302 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.02MB] [CPU: ▼3.70ms] Passed 4 tests

A check of server-side resources used by Hizzle Slideshows
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.51 ▲0.0440.45 ▲4.52
Dashboard /wp-admin3.33 ▲0.0247.78 ▼2.20
Posts /wp-admin/edit.php3.38 ▲0.0244.87 ▼10.07
Add New Post /wp-admin/post-new.php5.92 ▲0.0382.93 ▼6.99
Media Library /wp-admin/upload.php3.25 ▲0.0238.14 ▲4.48

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

Filesystem and database footprint
No storage issues were detected
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
widget_recent-comments
widget_recent-posts
db_upgraded
theysaidso_admin_options
widget_theysaidso_widget

Browser metrics Passed 4 tests

Hizzle Slideshows: an overview of browser usage
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,830 ▲5913.21 ▼0.922.30 ▲0.3444.34 ▲6.97
Dashboard /wp-admin2,206 ▲185.80 ▲0.8999.97 ▼7.4035.42 ▼12.00
Posts /wp-admin/edit.php2,089 ▼02.01 ▼0.0336.39 ▼5.3436.78 ▼0.95
Add New Post /wp-admin/post-new.php6,365 ▲4,84522.68 ▼0.63889.75 ▲296.5937.28 ▼17.30
Media Library /wp-admin/upload.php1,388 ▼34.17 ▼0.0996.19 ▼6.6044.58 ▼3.09

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
  • Zombie WordPress options were found after uninstall: 6 options
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-comments
    • widget_recent-posts
    • db_upgraded
    • widget_theysaidso_widget

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Everything seems fine, however this is by no means an exhaustive test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
5 plugin tags: gallery, block, testimonials, slider, slideshow

hizzle-slideshows/hizzle-slideshows.php Passed 13 tests

"Hizzle Slideshows" version 1.0.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
34 characters long description:
Convert anything into a slideshow.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected123 lines of code in 10 files:
LanguageFilesBlank linesComment linesLines of code
JSON200102
PHP452317
JavaScript3003
CSS1001

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.20
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%
Functions2
▷ Named functions2100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin