88% feature-list-slider

Code Review | Feature List Slider

WordPress plugin Feature List Slider scored 88% from 54 tests.

About plugin

  • Plugin page: feature-list-slider
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5-4.4
  • WordPress version: 5.8.1
  • First release: Feb 3, 2016
  • Latest release: Feb 2, 2016
  • Number of updates: 2
  • Update frequency: N/A
  • Top authors: module.express (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 756 total downloads


Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully

Server metrics [RAM: ▲0.04MB] [CPU: ▼138.27ms] Passed 4 tests

Server-side resources used by Feature List Slider
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /2.88 ▲0.0452.56 ▲25.12
Dashboard /wp-admin3.10 ▲0.0457.41 ▲11.86
Posts /wp-admin/edit.php3.15 ▲0.0443.67 ▼0.73
Add New Post /wp-admin/post-new.php5.46 ▲0.0289.67 ▼564.55
Media Library /wp-admin/upload.php3.04 ▲0.0430.70 ▲0.34
Gallery Category /wp-admin/edit-tags.php?taxonomy=responsive_fls_slider-category&post_type=feature_list_slider3.0432.27
All Image /wp-admin/edit.php?post_type=feature_list_slider3.0832.01
Gallery showcases /wp-admin/edit.php?post_type=feature_list_slider&page=responsive_gallery-fls-bar-submenu-page3.0128.96
Add New /wp-admin/post-new.php?post_type=feature_list_slider3.1549.30

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

Filesystem and database footprint
This plugin installed successfully
Filesystem: 11 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

Feature List Slider: an overview of browser usage
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,870 ▲27416.37 ▲0.6121.62 ▲11.8852.60 ▲3.97
Dashboard /wp-admin3,015 ▲816.09 ▲0.15152.43 ▲14.65111.73 ▼1.50
Posts /wp-admin/edit.php2,784 ▲452.71 ▼0.0167.11 ▲0.3089.13 ▼2.67
Add New Post /wp-admin/post-new.php1,904 ▲23219.13 ▲0.23376.48 ▼2.68106.59 ▼0.49
Media Library /wp-admin/upload.php1,858 ▲485.05 ▼0.02138.88 ▲0.98119.47 ▼6.99
Gallery Category /wp-admin/edit-tags.php?taxonomy=responsive_fls_slider-category&post_type=feature_list_slider1,7762.3857.9679.14
All Image /wp-admin/edit.php?post_type=feature_list_slider1,4662.6463.0171.99
Gallery showcases /wp-admin/edit.php?post_type=feature_list_slider&page=responsive_gallery-fls-bar-submenu-page1,0602.0649.9178.36
Add New /wp-admin/post-new.php?post_type=feature_list_slider3,0798.94215.15144.44

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Uninstall script ran successfully

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected

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
Please fix the following items
  • 3× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function the_post_thumbnail() in wp-content/plugins/feature-list-slider/designs/design-1.php:2
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/feature-list-slider/feature-list-slider.php:342
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/feature-list-slider/fls_gallery_admin_settings_center.php:2

User-side errors 0% from 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
These are user-side errors you should fix
    • > GET request to /wp-admin/edit.php?post_type=feature_list_slider&page=responsive_gallery-fls-bar-submenu-page
    • > Network (severe)
    wp-content/plugins/feature-list-slider/images/design-1.jpg - Failed to load resource: the server responded with a status of 404 (Not Found)


Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
  • Screenshots: These screenshots do not have images: #1 (Designs Views from admin side), #2 (Catagroies shortcode)
You can take inspiration from this readme.txt

feature-list-slider/feature-list-slider.php Passed 13 tests

The main PHP script in "Feature List Slider" version 1.0 is automatically included on every request by WordPress
39 characters long description:
A simple Responsive Feature List Slider

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
Good job! No executable or dangerous file extensions detected5,279 lines of code in 8 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.25
Average class complexity21.00
▷ Minimum class complexity21.00
▷ Maximum class complexity21.00
Average method complexity2.82
▷ Minimum method complexity1.00
▷ Maximum method complexity10.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods11100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions4100.00%
▷ Anonymous functions00.00%
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
css/transparent_bg.png0.14KB0.09KB▼ 33.56%