90% intelliwidget-gallery-slides

Code Review | IntelliWidget Gallery Slides

WordPress plugin IntelliWidget Gallery Slides scored90%from 54 tests.

About plugin

  • Plugin page: intelliwidget-gal...
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5-4.2
  • WordPress version: 6.3.1
  • First release: Sep 22, 2013
  • Latest release: Apr 21, 2015
  • Number of updates: 14
  • Update frequency: every 41.1 days
  • Top authors: lilaeamedia (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,457 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.01MB] [CPU: ▼4.57ms] Passed 4 tests

Analyzing server-side resources used by IntelliWidget Gallery Slides
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0135.16 ▼4.57
Dashboard /wp-admin3.32 ▲0.0146.92 ▼6.24
Posts /wp-admin/edit.php3.37 ▲0.0148.17 ▲2.28
Add New Post /wp-admin/post-new.php5.90 ▲0.0186.84 ▼9.72
Media Library /wp-admin/upload.php3.25 ▲0.0139.11 ▲2.25

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

How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
theysaidso_admin_options
widget_theysaidso_widget
widget_recent-posts
can_compress_scripts
db_upgraded

Browser metrics Passed 4 tests

A check of browser resources used by IntelliWidget Gallery Slides
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲2814.36 ▼0.261.96 ▲0.2139.10 ▼8.05
Dashboard /wp-admin2,192 ▲155.55 ▼0.0496.02 ▼7.6341.41 ▼2.97
Posts /wp-admin/edit.php2,103 ▲32.01 ▼0.0039.99 ▲1.6138.84 ▲2.47
Add New Post /wp-admin/post-new.php1,545 ▼923.18 ▲5.08643.02 ▼1.1543.39 ▼11.52
Media Library /wp-admin/upload.php1,403 ▲34.24 ▼0.0898.83 ▼3.5641.81 ▼1.61

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
  • This plugin does not fully uninstall, leaving 6 options in the database
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_recent-comments
    • widget_recent-posts
    • db_upgraded

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

SRP Passed 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The SRP test was a success

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 Passed 29 tests

readme.txt Passed 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
8 plugin tags: gallery, media, slideshow, slides, unsorted list...

intelliwidget-gallery-slides/intelliwidget-gallery-slides.php Passed 13 tests

This is the main PHP file of "IntelliWidget Gallery Slides" version 1.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
68 characters long description:
Converts default WP gallery shortcode into ul/li list for slideshows

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin74 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1151474

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
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%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
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
There were not PNG files found in your plugin