Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.37ms] Passed 4 tests
Analyzing server-side resources used by Touch Fashion Slider for Elementor
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 46.82 ▲6.79 |
Dashboard /wp-admin | 3.32 ▲0.02 | 48.34 ▲0.94 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 52.17 ▲0.84 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 84.59 ▼18.84 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 38.39 ▲3.58 |
Server storage [IO: ▲3.64MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 38 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Touch Fashion Slider for Elementor
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,870 ▲109 | 13.76 ▲0.53 | 6.29 ▲1.42 | 38.72 ▼1.94 |
Dashboard /wp-admin | 2,224 ▲23 | 5.88 ▼0.20 | 105.88 ▲0.15 | 43.70 ▼1.94 |
Posts /wp-admin/edit.php | 2,103 ▼0 | 2.05 ▲0.03 | 40.37 ▼0.84 | 38.37 ▼0.61 |
Add New Post /wp-admin/post-new.php | 1,529 ▼25 | 17.41 ▼1.05 | 684.63 ▲66.63 | 57.92 ▼0.15 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.20 ▼0.12 | 97.94 ▼0.33 | 44.06 ▼2.72 |
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
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- 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
Everything seems fine, however this is by no means an exhaustive test
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 take a closer look at the following
- 5× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Notice
Undefined variable: settings in wp-content/plugins/touch-fashion-slider-elementor-addon/include/hero-slider/hero-1.php on line 1
- > PHP Fatal error
Uncaught Error: Call to undefined function Elementor\\add_action() in wp-content/plugins/touch-fashion-slider-elementor-addon/widgets/elementor-helper.php:19
- > PHP Notice
Undefined variable: settings in wp-content/plugins/touch-fashion-slider-elementor-addon/include/hero-slider/hero-2.php on line 1
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/touch-fashion-slider-elementor-addon/include/hero-slider/hero-2.php on line 1
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/touch-fashion-slider-elementor-addon/include/hero-slider/hero-1.php on line 1
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 79% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Tags: Please delete some tags, you are using 17 tag instead of maximum 10
- Contributors: The plugin contributors field is missing
touch-fashion-slider-elementor-addon/tfsel-touch-fashion-slider.php 69% from 13 tests
Analyzing the main PHP file in "Touch Fashion Slider for Elementor" version 1.0.0
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("touch-fashion-slider-elementor-addon.php" instead of "tfsel-touch-fashion-slider.php")
- Requires PHP: The required version number did not match the one declared in readme.txt ("5.6" instead of "7.0")
- Requires at least: The required version number did not match the one declared in readme.txt ("4.9" instead of "5.0")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; 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
There were no executable files found in this plugin22,897 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 3 | 0 | 3 | 9,549 |
JavaScript | 6 | 1,517 | 255 | 8,251 |
CSS | 7 | 1,560 | 62 | 4,148 |
PHP | 7 | 133 | 213 | 949 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 14 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 71.43% |
▷ Protected methods | 4 | 28.57% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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