78% info-list-slideshow

Code Review | Info List Slideshow

WordPress plugin Info List Slideshow scored78%from 54 tests.

About plugin

  • Plugin page: info-list-slideshow
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5-4.4
  • WordPress version: 6.3.1
  • First release: Mar 7, 2016
  • Latest release: Mar 7, 2016
  • Number of updates: 2
  • Update frequency: every 10.0 days
  • Top authors: module.express (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /581 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully

Server metrics [RAM: ▲0.10MB] [CPU: ▲0.95ms] Passed 4 tests

A check of server-side resources used by Info List Slideshow
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.58 ▲0.1244.53 ▲1.50
Dashboard /wp-admin3.40 ▲0.1048.28 ▼3.62
Posts /wp-admin/edit.php3.45 ▲0.1049.58 ▲0.89
Add New Post /wp-admin/post-new.php5.98 ▲0.1096.59 ▲6.46
Media Library /wp-admin/upload.php3.32 ▲0.0939.38 ▲5.04
Gallery showcases /wp-admin/edit.php?post_type=ils_gallery_slider&page=responsive_gallery-ils-bar-submenu-page3.2936.59
All Images /wp-admin/edit.php?post_type=ils_gallery_slider3.3738.21
Gallery Category /wp-admin/edit-tags.php?taxonomy=responsive_ils_slider-category&post_type=ils_gallery_slider3.3235.41
Add New /wp-admin/post-new.php?post_type=ils_gallery_slider3.4450.55

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

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

Browser metrics Passed 4 tests

Info List Slideshow: an overview of browser usage
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,017 ▲25613.74 ▼0.6412.82 ▲11.0647.44 ▲1.58
Dashboard /wp-admin2,259 ▲565.87 ▲0.79110.44 ▼7.1344.02 ▼2.11
Posts /wp-admin/edit.php2,138 ▲382.01 ▲0.0240.51 ▲1.4136.05 ▲0.52
Add New Post /wp-admin/post-new.php1,558 ▲1617.66 ▼5.47648.27 ▼36.6867.91 ▲18.36
Media Library /wp-admin/upload.php1,441 ▲444.18 ▼0.04105.37 ▼2.9350.84 ▲3.78
Gallery showcases /wp-admin/edit.php?post_type=ils_gallery_slider&page=responsive_gallery-ils-bar-submenu-page8312.0226.6430.15
All Images /wp-admin/edit.php?post_type=ils_gallery_slider1,1191.9331.8431.94
Gallery Category /wp-admin/edit-tags.php?taxonomy=responsive_ils_slider-category&post_type=ils_gallery_slider1,2892.1727.1429.04
Add New /wp-admin/post-new.php?post_type=ils_gallery_slider2,3437.57171.0365.25

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • db_upgraded
    • theysaidso_admin_options
    • widget_recent-posts
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-comments

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
  • 3× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/info-list-slideshow/ils_gallery_admin_settings_center.php:2
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/info-list-slideshow/info-list-slideshow.php:329
    • > PHP Fatal error
      Uncaught Error: Call to undefined function the_post_thumbnail() in wp-content/plugins/info-list-slideshow/designs/template.php:3

User-side errors 0% from 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
These are user-side errors you should fix
    • > GET request to /wp-admin/edit.php?post_type=ils_gallery_slider&page=responsive_gallery-ils-bar-submenu-page
    • > Network (severe)
    wp-content/plugins/info-list-slideshow/images/design-1.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 important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
  • Screenshots: These screenshots do not have images: #1 (Designs Views from admin side), #2 (Catagroies shortcode)
You can look at the official readme.txt

info-list-slideshow/info-list-slideshow.php Passed 13 tests

Analyzing the main PHP file in "Info List Slideshow" version 1.0
39 characters long description:
A simple Responsive Info List Slideshow

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin3,857 lines of code in 31 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript185493762,266
CSS102531291,299
PHP35825292

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.20
Average class complexity21.00
▷ Minimum class complexity21.00
▷ Maximum class complexity21.00
Average method complexity2.67
▷ Minimum method complexity1.00
▷ Maximum method complexity10.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods12
▷ Static methods00.00%
▷ Public methods12100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions4
▷ Named functions4100.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
25 PNG files occupy 0.31MB with 0.30MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
themes/light/images/up-arrow.png3.31KB0.45KB▼ 86.45%
themes/default-big/images/left-arrow.png22.89KB0.42KB▼ 98.16%
themes/dark/images/left-arrow.png22.89KB0.44KB▼ 98.07%
themes/light-big/images/left-arrow.png23.34KB0.58KB▼ 97.53%
themes/default/images/left-arrow.png22.60KB0.26KB▼ 98.84%