84% wp-anything-slider

Code Review | Wp anything slider

WordPress plugin Wp anything slider scored84%from 54 tests.

About plugin

  • Plugin page: wp-anything-slider
  • Plugin version: 9.2
  • PHP version: 7.4.16
  • WordPress compatibility: 3.4-6.4
  • WordPress version: 6.3.1
  • First release: Apr 23, 2012
  • Latest release: Oct 29, 2023
  • Number of updates: 41
  • Update frequency: every 102.6 days
  • Top authors: gopi_plus (100%)

Code review

54 tests

User reviews

6 reviews

Install metrics

400+ active /39,658 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors

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

Server-side resources used by Wp anything slider
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.50 ▲0.0436.92 ▼1.79
Dashboard /wp-admin3.34 ▲0.0442.67 ▼5.63
Posts /wp-admin/edit.php3.39 ▲0.0449.29 ▼0.79
Add New Post /wp-admin/post-new.php5.92 ▲0.0485.89 ▼4.64
Media Library /wp-admin/upload.php3.27 ▲0.0432.78 ▼2.83
Wp Anything Slider /wp-admin/options-general.php?page=wp-anything-slider3.2528.36

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

A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 15 new files
Database: 2 new tables, 7 new options
New tables
wp_wpanything_content
wp_wpanything_settings
New WordPress options
wpanything_title
theysaidso_admin_options
widget_recent-comments
widget_recent-posts
db_upgraded
can_compress_scripts
widget_theysaidso_widget

Browser metrics Passed 4 tests

An overview of browser requirements for Wp anything slider
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,876 ▲11513.44 ▼0.937.91 ▲6.1439.10 ▼7.89
Dashboard /wp-admin2,202 ▲255.67 ▲0.0895.38 ▼3.4343.52 ▲1.48
Posts /wp-admin/edit.php2,104 ▲71.98 ▼0.0539.47 ▲0.0136.01 ▲2.18
Add New Post /wp-admin/post-new.php1,529 ▲123.87 ▲0.84654.30 ▼51.8750.11 ▼0.98
Media Library /wp-admin/upload.php1,407 ▲74.18 ▼0.03101.86 ▼10.3644.10 ▼3.45
Wp Anything Slider /wp-admin/options-general.php?page=wp-anything-slider9852.1524.4726.78

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
  • Zombie WordPress options detected upon uninstall: 6 options
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • widget_recent-comments
    • widget_recent-posts
    • db_upgraded

Smoke tests 75% 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)
The smoke test was a success, however most plugin functionality was not tested

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
Almost there! Just fix the following items
  • 6× PHP files output non-empty strings when accessed directly via GET requests:
    • > /wp-content/plugins/wp-anything-slider/wp-anything-slider.php
    • > /wp-content/plugins/wp-anything-slider/pages/content-show.php
    • > /wp-content/plugins/wp-anything-slider/pages/content-edit.php
    • > /wp-content/plugins/wp-anything-slider/pages/cycle-setting-edit.php
    • > /wp-content/plugins/wp-anything-slider/pages/cycle-setting-show.php
    • > /wp-content/plugins/wp-anything-slider/pages/content-add.php

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
4 plugin tags: plugin, anything, wordpress, slider

wp-anything-slider/wp-anything-slider.php 92% from 13 tests

The primary PHP file in "Wp anything slider" version 9.2 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
  • Description: Keep the plugin description shorter than 140 characters (currently 258 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
Everything looks great! No dangerous files found in this plugin2,225 lines of code in 12 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript21181231,152
PHP78247800
PO File298132223
CSS1183750

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.33
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%
Functions10
▷ Named functions10100.00%
▷ Anonymous functions00.00%
Constants7
▷ Global constants7100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin