78% logo-slider-free

Code Review | Logo Slider Free

WordPress plugin Logo Slider Free scored78%from 54 tests.

About plugin

  • Plugin page: logo-slider-free
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.8-4.7.5
  • WordPress version: 6.3.1
  • First release: May 25, 2017
  • Latest release: May 25, 2017
  • Number of updates: 8
  • Update frequency: every 0.4 days
  • Top authors: pluginspoint (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,290 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
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.29MB] [CPU: ▲0.66ms] Passed 4 tests

Server-side resources used by Logo Slider Free
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.76 ▲0.3041.01 ▲1.73
Dashboard /wp-admin3.60 ▲0.2956.44 ▲8.84
Posts /wp-admin/edit.php3.65 ▲0.2953.19 ▲4.13
Add New Post /wp-admin/post-new.php6.20 ▲0.3292.58 ▼11.18
Media Library /wp-admin/upload.php3.52 ▲0.2938.39 ▲7.98
All Logos /wp-admin/edit.php?post_type=lsuwshowcase3.5234.35
All Shortcodes /wp-admin/edit.php?post_type=lsuwgeneratelogo3.5633.85
Add New Logo /wp-admin/post-new.php?post_type=lsuwshowcase3.6655.52
Logo Group /wp-admin/edit-tags.php?taxonomy=lsuwshowcasecat&post_type=lsuwshowcase3.5135.58
Generate Shortcode /wp-admin/post-new.php?post_type=lsuwgeneratelogo3.5650.00

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

Filesystem and database footprint
This plugin installed successfully
Filesystem: 30 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
widget_recent-posts
theysaidso_admin_options
widget_theysaidso_widget
can_compress_scripts
db_upgraded

Browser metrics Passed 4 tests

A check of browser resources used by Logo Slider Free
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,064 ▲32914.21 ▼0.077.62 ▲5.7246.66 ▲6.27
Dashboard /wp-admin2,298 ▲1075.50 ▲0.60114.00 ▲12.2139.26 ▼4.64
Posts /wp-admin/edit.php2,165 ▲762.58 ▲0.5543.92 ▲2.4635.21 ▼2.78
Add New Post /wp-admin/post-new.php1,601 ▲8723.55 ▲5.85655.67 ▼52.9037.13 ▼12.95
Media Library /wp-admin/upload.php1,484 ▲964.62 ▲0.4288.86 ▼16.9940.20 ▼4.01
All Logos /wp-admin/edit.php?post_type=lsuwshowcase1,1512.4837.5528.25
All Shortcodes /wp-admin/edit.php?post_type=lsuwgeneratelogo1,1542.5446.0333.85
Add New Logo /wp-admin/post-new.php?post_type=lsuwshowcase2,4408.20190.8768.36
Logo Group /wp-admin/edit-tags.php?taxonomy=lsuwshowcasecat&post_type=lsuwshowcase1,3592.3432.0028.19
Generate Shortcode /wp-admin/post-new.php?post_type=lsuwgeneratelogo4,3653.7795.6941.13

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
  • This plugin does not fully uninstall, leaving 6 options in the database
    • db_upgraded
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-comments
    • theysaidso_admin_options
    • widget_recent-posts

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Almost there, just fix the following server-side errors
    • > GET request to /wp-admin/edit.php?post_type=lsuwshowcase
    • > Notice in wp-content/plugins/logo-slider-free/lib/post-type/lsuw-post-type.php+78
    Undefined index: order

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Looking good! No server-side errors or output on direct access of PHP files

User-side errors 0% from 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
These are user-side errors you should fix
  • 3 occurences, only the last one shown
    • > GET request to /wp-admin/post-new.php?post_type=lsuwgeneratelogo
    • > Console-api (warning) in wp-admin/js/common.min.js?ver=6.3.1+1:283
    wpColorPickerL10n.pick is deprecated since version 5.5.0! Use wp.i18n instead.
  • 3 occurences, only the last one shown
    • > GET request to /wp-admin/post-new.php?post_type=lsuwgeneratelogo
    • > Console-api (warning) in wp-admin/js/common.min.js?ver=6.3.1+1:283
    wpColorPickerL10n.defaultString is deprecated since version 5.5.0! Use wp.i18n instead.

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: client logo slider, best logo slider, team, logo, logo slider

logo-slider-free/logo-slider-free.php 92% from 13 tests

"Logo Slider Free" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
  • Description: Please keep the plugin description shorter than 140 characters (currently 146 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
Success! There were no dangerous files found in this plugin12,807 lines of code in 22 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript71,0719854,477
CSS6537653,665
SVG1002,671
PHP82761211,994

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.44
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%
Functions18
▷ Named functions18100.00%
▷ Anonymous functions00.00%
Constants2
▷ Global constants2100.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
No PNG images were found in this plugin