84% tfcarousel-box-addon-for-elementor

Code Review | TFCarousel Box Addon For Elementor

WordPress plugin TFCarousel Box Addon For Elementor scored84%from 54 tests.

About plugin

  • Plugin page: tfcarousel-box-ad...
  • Plugin version: 1.0.5
  • PHP compatiblity: 5.2+
  • PHP version: 7.4.16
  • WordPress compatibility: 1.0.0-5.2
  • WordPress version: 6.3.1
  • First release: May 19, 2020
  • Latest release: Oct 26, 2022
  • Number of updates: 26
  • Update frequency: every 34.4 days
  • Top authors: corpthemes (92.31%)themesflat (11.54%)

Code review

54 tests

User reviews

1 review

Install metrics

60+ active /1,128 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
Installer ran successfully

Server metrics [RAM: ▼0.23MB] [CPU: ▼13.33ms] Passed 4 tests

A check of server-side resources used by TFCarousel Box Addon For Elementor
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0141.00 ▲3.96
Dashboard /wp-admin3.06 ▼0.2428.85 ▼13.18
Posts /wp-admin/edit.php3.20 ▼0.1532.71 ▼11.88
Add New Post /wp-admin/post-new.php5.44 ▼0.4465.50 ▼25.03
Media Library /wp-admin/upload.php3.13 ▼0.1031.31 ▼3.24

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

Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
db_upgraded
widget_recent-comments
widget_theysaidso_widget
theysaidso_admin_options
widget_recent-posts

Browser metrics Passed 4 tests

A check of browser resources used by TFCarousel Box Addon For Elementor
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,849 ▲11413.55 ▼0.732.00 ▲0.1843.70 ▲3.44
Dashboard /wp-admin2,227 ▲425.84 ▼0.04101.71 ▼18.9040.07 ▼7.69
Posts /wp-admin/edit.php2,115 ▲262.01 ▼0.0342.24 ▲6.7737.48 ▲5.56
Add New Post /wp-admin/post-new.php1,691 ▲17722.51 ▲5.06621.15 ▼32.3550.39 ▲2.09
Media Library /wp-admin/upload.php1,406 ▲184.34 ▲0.1595.43 ▲1.7542.32 ▲0.73

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-posts
    • db_upgraded
    • widget_recent-comments
    • widget_theysaidso_widget

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 | 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
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/tfcarousel-box-addon-for-elementor/widgets/widget-carousel.php:2

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

readme.txt Passed 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
3 plugin tags: elementor, tfcarousel, carousel

tfcarousel-box-addon-for-elementor/tfcarousel-box-addon-for-elementor.php Passed 13 tests

The main PHP script in "TFCarousel Box Addon For Elementor" version 1.0.5 is automatically included on every request by WordPress
22 characters long description:
The theme's components

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,091 lines of code in 7 files:
LanguageFilesBlank linesComment linesLines of code
PHP310327975
CSS29162
JavaScript29054

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.13
Average class complexity9.50
▷ Minimum class complexity7.00
▷ Maximum class complexity12.00
Average method complexity1.78
▷ Minimum method complexity1.00
▷ Maximum method complexity7.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes150.00%
Methods19
▷ Static methods210.53%
▷ Public methods1684.21%
▷ Protected methods315.79%
▷ Private methods00.00%
Functions2
▷ Named functions150.00%
▷ Anonymous functions150.00%
Constants4
▷ Global constants125.00%
▷ Class constants375.00%
▷ Public constants3100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin