84% team-member-slider-block

Code Review | Team Member Slider Block

WordPress plugin Team Member Slider Block scored84%from 54 tests.

About plugin

  • Plugin page: team-member-slide...
  • Plugin version: 1.0.0
  • PHP compatiblity: 7.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.9.3-6.1
  • WordPress version: 6.3.1
  • First release: Feb 2, 2023
  • Latest release: Feb 3, 2023
  • Number of updates: 4
  • Update frequency: every 0.3 days
  • Top authors: krunal265 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /154 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.03MB] [CPU: ▼4.41ms] Passed 4 tests

A check of server-side resources used by Team Member Slider Block
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.50 ▲0.0440.67 ▲1.24
Dashboard /wp-admin3.33 ▲0.0250.14 ▲4.72
Posts /wp-admin/edit.php3.38 ▲0.0247.67 ▼0.93
Add New Post /wp-admin/post-new.php5.93 ▲0.0485.57 ▼22.39
Media Library /wp-admin/upload.php3.25 ▲0.0236.44 ▲4.43

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

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

Browser metrics Passed 4 tests

Checking browser requirements for Team Member Slider Block
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,900 ▲15413.72 ▼0.665.15 ▲3.2938.79 ▼6.16
Dashboard /wp-admin2,217 ▲324.91 ▼0.96108.45 ▲8.9739.16 ▼3.87
Posts /wp-admin/edit.php2,100 ▲142.08 ▲0.0939.27 ▲5.5434.18 ▲0.13
Add New Post /wp-admin/post-new.php6,362 ▲4,84828.01 ▲10.42902.02 ▲255.2038.29 ▼9.44
Media Library /wp-admin/upload.php1,396 ▲84.22 ▼0.0196.65 ▼1.1944.67 ▲1.01

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

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 applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/team-member-slider-block/team-member-slider-block.php:23

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
  • Screenshots: These screenshots do not have images: #1 (Backend View), #2 (Column Settings), #3 (Slider Settings), #4 (Image Settings), #5 (Additional Settings), #6 (Frontend View)
You can take inspiration from this readme.txt

team-member-slider-block/team-member-slider-block.php 92% from 13 tests

"Team Member Slider Block" version 1.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
  • Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug

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 plugin36,206 lines of code in 22 files:
LanguageFilesBlank linesComment linesLines of code
JSON40028,390
JavaScript101,7981,1007,134
CSS44613495
Sass236161
PHP2142326

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.00
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%
Functions3
▷ Named functions133.33%
▷ Anonymous functions266.67%
Constants0
▷ Global constants00.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