83% easy-slide-show

Code Review | Easy Slide Show

WordPress plugin Easy Slide Show scored 83% from 54 tests.

About plugin

  • Plugin page: easy-slide-show
  • Plugin version: 1.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-3.9.1
  • WordPress version: 5.8.1
  • First release: Jul 24, 2014
  • Latest release: Jul 29, 2014
  • Number of updates: 6
  • Update frequency: every 1.7 days
  • Top authors: rajeshzala (100%)

Code review

54 tests

User reviews

1 review

Install metrics

40+ active / 7,546 total downloads


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
This plugin's installer ran successfully

Server metrics [RAM: ▲0.07MB] [CPU: ▼141.67ms] Passed 4 tests

This is a short check of server-side resources used by Easy Slide Show
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /2.90 ▲0.1842.93 ▲17.47
Dashboard /wp-admin3.13 ▲0.0752.09 ▼0.47
Posts /wp-admin/edit.php3.18 ▲0.0750.51 ▼1.22
Add New Post /wp-admin/post-new.php5.49 ▲0.0599.01 ▼572.45
Media Library /wp-admin/upload.php3.07 ▲0.0742.62 ▲7.46
Add New /wp-admin/post-new.php?post_type=easy-slides3.1752.93
Easy Slides /wp-admin/edit.php?post_type=easy-slides3.1140.53

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

Filesystem and database footprint
This plugin installed successfully
Filesystem: 18 new files
Database: no new tables, 1 new option
New WordPress options

Browser metrics Passed 4 tests

An overview of browser requirements for Easy Slide Show
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,915 ▲31916.38 ▲0.3920.03 ▲5.7499.27 ▲46.23
Dashboard /wp-admin3,025 ▲885.92 ▼0.21161.52 ▼15.84130.18 ▲5.77
Posts /wp-admin/edit.php2,794 ▲552.71 ▼0.0073.63 ▲2.0293.33 ▼5.89
Add New Post /wp-admin/post-new.php1,719 ▲10418.66 ▼2.85438.16 ▲126.03113.81 ▼1.07
Media Library /wp-admin/upload.php1,862 ▲555.03 ▲0.00182.17 ▲4.62122.64 ▼0.67
Add New /wp-admin/post-new.php?post_type=easy-slides2,8939.02251.18156.41
Easy Slides /wp-admin/edit.php?post_type=easy-slides1,4432.6372.8467.92

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
Please fix the following items
  • This plugin does not fully uninstall, leaving 1 option in the database
    • widget_easy_slide_show_widget

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

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

SRP 50% 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
Almost there! Just fix the following items
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/easy-slide-show/easy-slide-show.php:11

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test


Plugin configuration 90% from 29 tests

readme.txt 88% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
  • Donate link: Invalid URI found ("")
  • Screenshots: Screenshot #1 (This is what easy slide show is all about.) image required
Please take inspiration from this readme.txt

easy-slide-show/easy-slide-show.php 92% from 13 tests

The main file in "Easy Slide Show" v. 1.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
  • Description: Please keep the plugin description shorter than 140 characters (currently 345 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin2,663 lines of code in 6 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.22
Average class complexity7.00
▷ Minimum class complexity7.00
▷ Maximum class complexity7.00
Average method complexity2.50
▷ Minimum method complexity1.00
▷ Maximum method complexity3.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods4100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions13100.00%
▷ Anonymous functions00.00%
▷ Global constants3100.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
4 PNG files occupy 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant
FileSize - originalSize - compressedSavings
images/pagination.png1.36KB0.58KB▼ 57.53%
images/default-image.png34.62KB13.68KB▼ 60.49%
images/default-image-small.png7.60KB2.51KB▼ 67.00%