84% jquery-accordion-slideshow

Code Review | Jquery accordion slideshow

WordPress plugin Jquery accordion slideshow scored84%from 54 tests.

About plugin

  • Plugin page: jquery-accordion-...
  • Plugin version: 8.2
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-6.4
  • WordPress version: 6.3.1
  • First release: Dec 23, 2011
  • Latest release: Oct 29, 2023
  • Number of updates: 41
  • Update frequency: every 105.6 days
  • Top authors: gopi_plus (100%)

Code review

54 tests

User reviews

3 reviews

Install metrics

70+ active /19,746 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 successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.06MB] [CPU: ▼4.37ms] Passed 4 tests

A check of server-side resources used by Jquery accordion slideshow
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.52 ▲0.0639.86 ▼5.72
Dashboard /wp-admin3.36 ▲0.0647.99 ▼2.00
Posts /wp-admin/edit.php3.42 ▲0.0644.77 ▼1.74
Add New Post /wp-admin/post-new.php5.95 ▲0.0681.70 ▼8.02
Media Library /wp-admin/upload.php3.29 ▲0.0636.59 ▼0.53
Jquery accordion slideshow /wp-admin/options-general.php?page=jquery-accordion-slideshow3.3031.57

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

Filesystem and database footprint
The plugin installed successfully
Filesystem: 26 new files
Database: 1 new table, 7 new options
New tables
wp_jas_plugin
New WordPress options
theysaidso_admin_options
widget_theysaidso_widget
can_compress_scripts
widget_recent-posts
JaS_Title
db_upgraded
widget_recent-comments

Browser metrics Passed 4 tests

An overview of browser requirements for Jquery accordion slideshow
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,876 ▲9013.52 ▼0.838.22 ▲6.2242.53 ▼1.03
Dashboard /wp-admin2,199 ▲225.56 ▼0.1094.78 ▼4.6842.64 ▼1.54
Posts /wp-admin/edit.php2,104 ▲42.02 ▲0.0433.40 ▼3.0335.89 ▼0.21
Add New Post /wp-admin/post-new.php1,530 ▲422.96 ▼0.24674.82 ▼53.5952.48 ▼2.94
Media Library /wp-admin/upload.php1,398 ▼24.19 ▼0.0094.12 ▼19.4040.90 ▼6.08
Jquery accordion slideshow /wp-admin/options-general.php?page=jquery-accordion-slideshow9622.0222.4927.89

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
  • Zombie WordPress options detected upon uninstall: 6 options
    • db_upgraded
    • widget_recent-posts
    • widget_theysaidso_widget
    • widget_recent-comments
    • theysaidso_admin_options
    • can_compress_scripts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
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
  • 4× PHP files output text when accessed directly:
    • > /wp-content/plugins/jquery-accordion-slideshow/pages/image-show.php
    • > /wp-content/plugins/jquery-accordion-slideshow/pages/image-add.php
    • > /wp-content/plugins/jquery-accordion-slideshow/pages/image-edit.php
    • > /wp-content/plugins/jquery-accordion-slideshow/jquery-accordion-slideshow.php

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)
No browser issues were found

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
4 plugin tags: jquery, slideshow, accordion, slider

jquery-accordion-slideshow/jquery-accordion-slideshow.php 92% from 13 tests

The main PHP file in "Jquery accordion slideshow" ver. 8.2 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
  • Description: The description should be shorter than 140 characters (currently 183 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected1,877 lines of code in 14 files:
LanguageFilesBlank linesComment linesLines of code
PHP511135941
JavaScript66115600
PO File2133156335
HTML1001

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.34
Average class complexity4.00
▷ Minimum class complexity4.00
▷ Maximum class complexity4.00
Average method complexity2.50
▷ Minimum method complexity2.00
▷ Maximum method complexity3.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods2
▷ Static methods2100.00%
▷ Public methods2100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions12
▷ Named functions12100.00%
▷ Anonymous functions00.00%
Constants6
▷ Global constants6100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin