80% full-width-responsive-slider-wp

Code Review | Full Width Banner Slider Wp

WordPress plugin Full Width Banner Slider Wp scored80%from 54 tests.

About plugin

  • Plugin page: full-width-respon...
  • Plugin version: 1.1.10
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-6.3
  • WordPress version: 6.3.1
  • First release: Dec 10, 2017
  • Latest release: Sep 1, 2023
  • Number of updates: 23
  • Update frequency: every 91.0 days
  • Top authors: nik00726 (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

3,000+ active /40,248 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.03MB] [CPU: ▼10.25ms] Passed 4 tests

Analyzing server-side resources used by Full Width Banner Slider Wp
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.50 ▲0.0437.09 ▲0.03
Dashboard /wp-admin3.35 ▲0.0145.48 ▼13.58
Posts /wp-admin/edit.php3.40 ▲0.0547.67 ▼2.24
Add New Post /wp-admin/post-new.php5.93 ▲0.0585.06 ▼25.22
Media Library /wp-admin/upload.php3.27 ▲0.0436.63 ▲4.76
Manage Images /wp-admin/admin.php?page=responsive_full_width_slider_wp_media_management3.2737.98
Preview Slider /wp-admin/admin.php?page=responsive_full_width_slider_wp_media_preview3.2736.27
Slider Settings /wp-admin/admin.php?page=responsive_full_width_slider_wp3.2833.09

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

Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 34 new files
Database: 1 new table, 8 new options
New tables
wp_e_fw_slider
New WordPress options
can_compress_scripts
widget_recent-comments
fwrsw_full_width_slider_msg
widget_theysaidso_widget
widget_recent-posts
db_upgraded
theysaidso_admin_options
fwrsw_full_width_settings

Browser metrics Passed 4 tests

An overview of browser requirements for Full Width Banner Slider Wp
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,831 ▲8514.47 ▲0.091.70 ▼0.0840.27 ▼2.98
Dashboard /wp-admin2,237 ▲555.86 ▼0.02105.94 ▲3.0440.23 ▼1.88
Posts /wp-admin/edit.php2,120 ▲311.98 ▼0.0635.34 ▼5.7431.39 ▼3.81
Add New Post /wp-admin/post-new.php1,558 ▲4423.70 ▲6.21661.19 ▲56.6453.40 ▲4.08
Media Library /wp-admin/upload.php1,419 ▲344.21 ▼0.0295.63 ▼1.7242.06 ▲0.18
Manage Images /wp-admin/admin.php?page=responsive_full_width_slider_wp_media_management1,2914.2882.5566.22
Preview Slider /wp-admin/admin.php?page=responsive_full_width_slider_wp_media_preview1,1194.4988.0068.35
Slider Settings /wp-admin/admin.php?page=responsive_full_width_slider_wp1,5624.3858.2754.38

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
  • This plugin does not fully uninstall, leaving 1 table in the database
    • wp_e_fw_slider
  • This plugin did not uninstall successfully, leaving 8 options in the database
    • widget_recent-posts
    • fwrsw_full_width_slider_msg
    • can_compress_scripts
    • db_upgraded
    • fwrsw_full_width_settings
    • widget_theysaidso_widget
    • widget_recent-comments
    • theysaidso_admin_options

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
Good news, no errors were detected

SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
7 plugin tags: responsive slider, header slider, full width slider, full slider, responsive slideshow...

full-width-responsive-slider-wp/full-width-responsive-slider-wp.php Passed 13 tests

The primary PHP file in "Full Width Banner Slider Wp" version 1.1.10 is used by WordPress to initiate all plugin functionality
132 characters long description:
This is beautiful responsive full width slider plugin.Add any number of images. your full width slider will be ready within few min.

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
Everything looks great! No dangerous files found in this plugin4,650 lines of code in 10 files:
LanguageFilesBlank linesComment linesLines of code
PHP1635611,827
CSS4201311,462
SVG100834
JavaScript46251527

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.23
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%
Functions23
▷ Named functions2295.65%
▷ Anonymous functions14.35%
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
6 PNG files occupy 0.25MB with 0.13MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
images/asc.png0.14KB0.12KB▼ 13.79%
images/300x250.png153.53KB42.71KB▼ 72.18%
images/300x250-wp-eng.png34.77KB13.75KB▼ 60.46%
images/no-image-selected.png4.39KB1.90KB▼ 56.84%
images/g-suite-promo-code-4.png59.03KB17.19KB▼ 70.88%