84% wp-multirow-slider

Code Review | WP-Multirow-Slider

WordPress plugin WP-Multirow-Slider scored84%from 54 tests.

About plugin

  • Plugin page: wp-multirow-slider
  • Plugin version: 1.0.0
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7-5.5
  • WordPress version: 6.3.1
  • First release: Nov 5, 2020
  • Latest release: Apr 8, 2021
  • Number of updates: 9
  • Update frequency: every 21.0 days
  • Top authors: betlace (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /357 total downloads

Benchmarks

Plugin footprint 83% from 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.03MB] [CPU: ▼5.52ms] Passed 4 tests

Server-side resources used by WP-Multirow-Slider
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.50 ▲0.0341.79 ▲0.56
Dashboard /wp-admin3.33 ▲0.0351.47 ▼2.37
Posts /wp-admin/edit.php3.38 ▲0.0346.25 ▲0.26
Add New Post /wp-admin/post-new.php5.92 ▲0.0386.74 ▼20.52
Media Library /wp-admin/upload.php3.26 ▲0.0339.30 ▲1.37
WPMultirowSlider /wp-admin/edit.php?post_type=wpmrs3.3037.27
Wpmrs categories /wp-admin/edit-tags.php?taxonomy=wpmrs_category&post_type=wpmrs3.2536.50
Wpmrs instruction /wp-admin/edit.php?post_type=wpmrs&page=wpmrs-instruction3.2332.28
Add New Slide /wp-admin/post-new.php?post_type=wpmrs3.3847.56

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

Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 20 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
widget_theysaidso_widget
widget_recent-posts
can_compress_scripts
db_upgraded
widget_recent-comments

Browser metrics Passed 4 tests

Checking browser requirements for WP-Multirow-Slider
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,934 ▲18814.09 ▼0.325.39 ▲3.5844.17 ▲3.75
Dashboard /wp-admin2,234 ▲465.06 ▲0.0997.70 ▼7.4382.48 ▲38.05
Posts /wp-admin/edit.php2,129 ▲402.02 ▼0.0236.62 ▼0.4936.53 ▲4.59
Add New Post /wp-admin/post-new.php1,563 ▲4423.24 ▼0.09728.86 ▲47.7057.65 ▼4.78
Media Library /wp-admin/upload.php1,422 ▲344.32 ▲0.18109.09 ▼7.6375.68 ▲25.54
WPMultirowSlider /wp-admin/edit.php?post_type=wpmrs1,0961.9931.2029.36
Wpmrs categories /wp-admin/edit-tags.php?taxonomy=wpmrs_category&post_type=wpmrs1,3022.1827.4030.51
Wpmrs instruction /wp-admin/edit.php?post_type=wpmrs&page=wpmrs-instruction1,0332.0826.7829.20
Add New Slide /wp-admin/post-new.php?post_type=wpmrs2,2867.72185.09128.10

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
    • widget_recent-comments
    • db_upgraded
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-posts
    • can_compress_scripts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested

SRP 50% from 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
The following issues need your attention
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/wp-multirow-slider/wp-multirow-slider.php:17

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 88% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
  • Screenshots: These screenshots lack descriptions #1, #2 in wp-multirow-slider/assets to your readme.txt
  • Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line ( === wp-multirow-slider === )
Please take inspiration from this readme.txt

wp-multirow-slider/wp-multirow-slider.php Passed 13 tests

Analyzing the main PHP file in "WP-Multirow-Slider" version 1.0.0
30 characters long description:
Multirow slider for wordpress.

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
No dangerous file extensions were detected3,230 lines of code in 11 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript2847452,120
PHP13926351
CSS3498324
Sass2275262
LESS1115152
SVG11013
Ruby1208

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.55
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%
Functions6
▷ Named functions6100.00%
▷ Anonymous functions00.00%
Constants3
▷ Global constants3100.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
3 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant
FileSize - originalSize - compressedSavings
images/prev.png0.68KB0.33KB▼ 50.72%
images/next.png0.97KB0.56KB▼ 42.58%
images/gallery_ico.png0.60KB0.56KB▼ 5.89%