83% wp-client-logo-carousel-list

Code Review | WP Client Logo Carousel List

WordPress plugin WP Client Logo Carousel List scored 83% from 54 tests.

About plugin

  • Plugin page: wp-client-logo-ca...
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-4.4.2
  • WordPress version: 6.3.1
  • First release: Feb 25, 2016
  • Latest release: Feb 20, 2016
  • Number of updates: 2
  • Update frequency: N/A
  • Top authors: Umakant_dataman (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 1,113 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
Install script ran successfully

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

A check of server-side resources used by WP Client Logo Carousel List
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.51 ▲0.0539.61 ▼0.99
Dashboard /wp-admin3.34 ▲0.0447.65 ▲0.87
Posts /wp-admin/edit.php3.40 ▲0.0444.78 ▼4.67
Add New Post /wp-admin/post-new.php5.92 ▲0.0483.84 ▼16.36
Media Library /wp-admin/upload.php3.27 ▲0.0433.44 ▼2.56
All Logo /wp-admin/edit.php?post_type=logocarousel3.3136.77
Add New /wp-admin/post-new.php?post_type=logocarousel3.3245.15

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

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

Browser metrics Passed 4 tests

An overview of browser requirements for WP Client Logo Carousel List
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,973 ▲23813.92 ▼0.4510.43 ▲8.7742.64 ▼8.75
Dashboard /wp-admin2,227 ▲425.84 ▲0.96101.04 ▼8.3936.83 ▼8.81
Posts /wp-admin/edit.php2,128 ▲392.12 ▲0.1235.72 ▼5.0132.17 ▼4.41
Add New Post /wp-admin/post-new.php1,570 ▲2818.50 ▲0.03606.90 ▲4.3370.35 ▲8.45
Media Library /wp-admin/upload.php1,418 ▲364.22 ▲0.0095.45 ▼6.9442.08 ▼0.80
All Logo /wp-admin/edit.php?post_type=logocarousel1,0971.9330.0330.59
Add New /wp-admin/post-new.php?post_type=logocarousel1,6143.9860.6132.42

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 were found after uninstall: 6 options
    • widget_recent-comments
    • db_upgraded
    • can_compress_scripts
    • widget_recent-posts
    • widget_theysaidso_widget
    • theysaidso_admin_options

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

SRP 50% from 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
Please fix the following items
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-client-logo-carousel-list/wp-client-logo-carousel-list.php:37

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 88% from 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
  • Screenshots: Please add images for these screenshots: #1 (Front End View), #2 (List of Logos), #3 (Single Logo Image Page View)
  • Donate link: Please fix this invalid URI: ""
Please take inspiration from this readme.txt

wp-client-logo-carousel-list/wp-client-logo-carousel-list.php 92% from 13 tests

The main file in "WP Client Logo Carousel List" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
  • Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 245 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin1,615 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript2207171,335
PHP11116169
CSS21518111

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.22
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%
Functions8
▷ Named functions8100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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
3 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant
FileSize - originalSize - compressedSavings
images/arrow.png10.96KB5.73KB▼ 47.67%
images/left_quote.png0.39KB0.27KB▼ 31.83%
css/grabbing.png0.11KB0.14KB0.00%