84% ele-custom-skin

Code Review | Elementor Custom Skin

WordPress plugin Elementor Custom Skin scored84%from 54 tests.

About plugin

  • Plugin page: ele-custom-skin
  • Plugin version: 3.1.7
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.2.0
  • WordPress version: 6.3.1
  • First release: Apr 18, 2018
  • Latest release: Aug 23, 2022
  • Number of updates: 137
  • Update frequency: every 11.6 days
  • Top authors: dudaster (100%)

Code review

54 tests

User reviews

113 reviews

Install metrics

100,000+ active /1,202,971 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 gracefully, with no errors

Server metrics [RAM: ▲0.11MB] [CPU: ▼9.01ms] Passed 4 tests

Analyzing server-side resources used by Elementor Custom Skin
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.60 ▲0.1434.95 ▼0.93
Dashboard /wp-admin3.42 ▲0.0745.25 ▼14.94
Posts /wp-admin/edit.php3.53 ▲0.1848.72 ▲0.51
Add New Post /wp-admin/post-new.php6.00 ▲0.1178.62 ▼16.54
Media Library /wp-admin/upload.php3.34 ▲0.1137.11 ▼3.61

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

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

Browser metrics Passed 4 tests

Checking browser requirements for Elementor Custom Skin
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,940 ▲16914.15 ▼0.496.22 ▲4.2942.70 ▼3.14
Dashboard /wp-admin2,236 ▲485.82 ▼0.07105.47 ▼7.5982.15 ▲41.31
Posts /wp-admin/edit.php2,121 ▲292.01 ▲0.0035.79 ▼0.2933.89 ▼0.92
Add New Post /wp-admin/post-new.php1,539 ▲617.49 ▼5.69696.59 ▲15.2253.38 ▲2.47
Media Library /wp-admin/upload.php1,409 ▲244.26 ▲0.04111.32 ▲7.0179.54 ▲33.48

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • db_upgraded
    • widget_recent-comments
    • 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 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test

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
Please fix the following
  • 3× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      require_once(): Failed opening required 'ELECS_DIRtheme-builder/conditions/loop.php' (include_path='.:/usr/share/php') in wp-content/plugins/ele-custom-skin/theme-builder/init.php on line 3
    • > PHP Warning
      require_once(ELECS_DIRtheme-builder/conditions/loop.php): failed to open stream: No such file or directory in wp-content/plugins/ele-custom-skin/theme-builder/init.php on line 3
    • > PHP Warning
      Use of undefined constant ELECS_DIR - assumed 'ELECS_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/ele-custom-skin/theme-builder/init.php on line 3

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention: The official readme.txt is a good inspiration

ele-custom-skin/ele-custom-skin.php 92% from 13 tests

The main PHP file in "Elementor Custom Skin" ver. 3.1.7 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
  • Domain Path: The domain path is invalid: folder "/languages" does not exist

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected3,107 lines of code in 27 files:
LanguageFilesBlank linesComment linesLines of code
PHP204932842,106
SVG200421
CSS17622374
JavaScript4357206

PHP code Passed 2 tests

This is a short overview 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.28
Average class complexity7.00
▷ Minimum class complexity1.00
▷ Maximum class complexity51.00
Average method complexity1.85
▷ Minimum method complexity1.00
▷ Maximum method complexity14.00
Code structure
Namespaces5
Interfaces0
Traits0
Classes16
▷ Abstract classes00.00%
▷ Concrete classes16100.00%
▷ Final classes16.25%
Methods114
▷ Static methods2622.81%
▷ Public methods8171.05%
▷ Protected methods2421.05%
▷ Private methods97.89%
Functions37
▷ Named functions2875.68%
▷ Anonymous functions924.32%
Constants4
▷ Global constants4100.00%
▷ Class constants00.00%
▷ Public constants00.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.33MB with 0.19MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/screenshot-2.png145.32KB53.23KB▼ 63.37%
assets/screenshot-1.png56.55KB22.41KB▼ 60.37%
assets/screenshot-3.png129.62KB35.77KB▼ 72.40%
assets/dudaster_icon.png3.13KB1.84KB▼ 41.37%