84% responsive-tabs-for-elementor

Code Review | Responsive Tabs For Elementor

WordPress plugin Responsive Tabs For Elementor scored84%from 54 tests.

About plugin

  • Plugin page: responsive-tabs-f...
  • Plugin version: 6.0.0
  • PHP compatiblity: 7.4.1+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.6-6.2.2
  • WordPress version: 6.3.1
  • First release: Aug 19, 2022
  • Latest release: Jul 14, 2023
  • Number of updates: 25
  • Update frequency: every 13.2 days
  • Top authors: uapp (60%)julkotenko (44%)

Code review

54 tests

User reviews

1 review

Install metrics

300+ active /1,400 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.00MB] [CPU: ▼3.71ms] Passed 4 tests

Analyzing server-side resources used by Responsive Tabs For Elementor
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0033.74 ▼4.94
Dashboard /wp-admin3.31 ▲0.0044.42 ▼3.62
Posts /wp-admin/edit.php3.36 ▲0.0047.98 ▲3.53
Add New Post /wp-admin/post-new.php5.89 ▲0.0092.96 ▼9.79
Media Library /wp-admin/upload.php3.23 ▲0.0041.06 ▲8.19

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

Filesystem and database footprint
No storage issues were detected
Filesystem: 24 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
widget_recent-comments
widget_theysaidso_widget
theysaidso_admin_options
widget_recent-posts
can_compress_scripts

Browser metrics Passed 4 tests

An overview of browser requirements for Responsive Tabs For Elementor
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,819 ▲7313.25 ▼1.124.90 ▲3.0148.36 ▲5.22
Dashboard /wp-admin2,203 ▲185.83 ▼0.14106.90 ▼1.8839.01 ▼3.60
Posts /wp-admin/edit.php2,089 ▼01.97 ▲0.0139.11 ▲2.6534.88 ▼0.63
Add New Post /wp-admin/post-new.php1,514 ▼517.38 ▼5.81808.30 ▲148.7360.69 ▲9.39
Media Library /wp-admin/upload.php1,382 ▼94.12 ▼0.08120.38 ▲20.7348.13 ▲4.27

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

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
Even though everything seems fine, this is not an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/responsive-tabs-for-elementor/responsive-tabs-for-elementor.php:19

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
  • Tags: Please delete some tags, you are using 11 tag instead of maximum 10
Please take inspiration from this readme.txt

responsive-tabs-for-elementor/responsive-tabs-for-elementor.php Passed 13 tests

"Responsive Tabs For Elementor" version 6.0.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
115 characters long description:
Responsive Tab Plugin for Elementor allows you to show multiple levels of tabs in accordion with text, images, ets.

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
Good job! No executable or dangerous file extensions detected6,203 lines of code in 23 files:
LanguageFilesBlank linesComment linesLines of code
PHP102499136,078
SVG600118
CSS4004
JavaScript3003

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.15
Average class complexity11.44
▷ Minimum class complexity2.00
▷ Maximum class complexity18.00
Average method complexity2.13
▷ Minimum method complexity1.00
▷ Maximum method complexity16.00
Code structure
Namespaces2
Interfaces0
Traits0
Classes9
▷ Abstract classes00.00%
▷ Concrete classes9100.00%
▷ Final classes111.11%
Methods83
▷ Static methods22.41%
▷ Public methods6173.49%
▷ Protected methods2125.30%
▷ Private methods11.20%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.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
There were not PNG files found in your plugin