84% thim-elementor-kit

Code Review | Thim Elementor Kit

WordPress plugin Thim Elementor Kit scored84%from 54 tests.

About plugin

  • Plugin page: thim-elementor-kit
  • Plugin version: 1.1.7.4
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.2-6.4
  • WordPress version: 6.3.1
  • First release: Jun 18, 2022
  • Latest release: Nov 9, 2023
  • Number of updates: 80
  • Update frequency: every 6.4 days
  • Top authors: ThimPress (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

10,000+ active /86,500 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 successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.03MB] [CPU: ▼4.26ms] Passed 4 tests

A check of server-side resources used by Thim Elementor Kit
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.50 ▲0.0338.41 ▼3.64
Dashboard /wp-admin3.34 ▲0.0345.68 ▼5.13
Posts /wp-admin/edit.php3.39 ▲0.0347.02 ▲1.47
Add New Post /wp-admin/post-new.php5.92 ▲0.0385.69 ▼7.91
Media Library /wp-admin/upload.php3.26 ▲0.0334.78 ▼0.37

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

Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 198 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
can_compress_scripts
theysaidso_admin_options
widget_recent-posts
widget_recent-comments
db_upgraded

Browser metrics Passed 4 tests

An overview of browser requirements for Thim Elementor Kit
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,806 ▲4414.68 ▲0.361.59 ▼0.1537.35 ▼8.49
Dashboard /wp-admin2,208 ▲315.63 ▲0.0687.73 ▼12.5940.59 ▼7.66
Posts /wp-admin/edit.php2,116 ▲162.11 ▲0.1141.48 ▲4.4136.45 ▲2.88
Add New Post /wp-admin/post-new.php1,537 ▲1123.30 ▲0.24618.96 ▼47.8749.69 ▼4.38
Media Library /wp-admin/upload.php1,416 ▲164.20 ▲0.01100.69 ▲1.1641.60 ▼0.99

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
  • Zombie WordPress options detected upon uninstall: 6 options
    • can_compress_scripts
    • widget_recent-comments
    • widget_theysaidso_widget
    • widget_recent-posts
    • db_upgraded
    • theysaidso_admin_options

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting 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
The following issues need your attention
  • 117× PHP files trigger server errors when accessed directly (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Call to undefined function language_attributes() in wp-content/plugins/thim-elementor-kit/inc/modules/header-footer/templates/header.php:2
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/thim-elementor-kit/inc/elementor/widgets/single-course/course-price.php:8
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/thim-elementor-kit/inc/elementor/widgets/single-course/course-meta.php:9
    • > PHP Warning
      require_once(THIM_EKIT_PLUGIN_PATHinc/elementor/widgets/single-post/post-comment.php): failed to open stream: No such file or directory in wp-content/plugins/thim-elementor-kit/inc/elementor/widgets/single-course/course-comment.php on line 8
    • > PHP Fatal error
      Uncaught Error: Class 'Thim_EL_Kit\\Modules\\Modules' not found in wp-content/plugins/thim-elementor-kit/inc/modules/archive-post/class-init.php:8
    • > PHP Fatal error
      Trait 'Thim_EL_Kit\\SingletonTrait' not found in wp-content/plugins/thim-elementor-kit/inc/modules/mega-menu/class-init.php on line 7
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/thim-elementor-kit/inc/elementor/widgets/global/blog-base.php:9
    • > PHP Fatal error
      Uncaught Error: Class 'Walker_Nav_Menu' not found in wp-content/plugins/thim-elementor-kit/inc/modules/mega-menu/class-menu-walker.php:4
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/thim-elementor-kit/inc/elementor/widgets/global/archive-description.php:9
    • > PHP Fatal error
      Uncaught Error: Class 'Elementor\\Thim_Ekit_Widget_List_Base' not found in wp-content/plugins/thim-elementor-kit/inc/elementor/widgets/archive-post/archive-post.php:9

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed: You can take inspiration from this readme.txt

thim-elementor-kit/thim-elementor-kit.php Passed 13 tests

The entry point to "Thim Elementor Kit" version 1.1.7.4 is a PHP file that has certain tags in its header comment area
50 characters long description:
It is page builder for the Elementor page builder.

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
No dangerous file extensions were detected51,466 lines of code in 189 files:
LanguageFilesBlank linesComment linesLines of code
PHP1656,07672046,421
CSS10723,635
SVG2001,209
JavaScript11508200
JSON1001

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.24
Average class complexity13.32
▷ Minimum class complexity1.00
▷ Maximum class complexity86.00
Average method complexity2.34
▷ Minimum method complexity1.00
▷ Maximum method complexity48.00
Code structure
Namespaces24
Interfaces0
Traits4
Classes150
▷ Abstract classes42.67%
▷ Concrete classes14697.33%
▷ Final classes10.68%
Methods1,388
▷ Static methods70.50%
▷ Public methods97970.53%
▷ Protected methods39428.39%
▷ Private methods151.08%
Functions23
▷ Named functions00.00%
▷ Anonymous functions23100.00%
Constants41
▷ Global constants614.63%
▷ Class constants3585.37%
▷ Public constants35100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
4 PNG files occupy 0.47MB with 0.26MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant
FileSize - originalSize - compressedSavings
build/libraries/thim-eicon.png1.99KB0.76KB▼ 61.95%
build/libraries/logo.png1.36KB0.83KB▼ 39.12%
build/libraries/banner.png475.14KB195.48KB▼ 58.86%
build/images/thim-eicon.457ba485.png1.99KB0.76KB▼ 61.95%