Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼139.63ms] Passed 4 tests
A check of server-side resources used by Webico Slider Flatsome Addons
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.87 ▲0.03 | 37.39 ▲3.36 |
Dashboard /wp-admin | 3.09 ▲0.04 | 49.38 ▲0.77 |
Posts /wp-admin/edit.php | 3.14 ▲0.04 | 47.71 ▲0.82 |
Add New Post /wp-admin/post-new.php | 5.46 ▲0.03 | 93.20 ▼558.26 |
Media Library /wp-admin/upload.php | 3.04 ▲0.03 | 37.97 ▼1.84 |
Server storage [IO: ▲0.85MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 222 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Webico Slider Flatsome Addons
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,683 ▲88 | 15.82 ▲0.43 | 9.08 ▼2.78 | 44.07 ▼2.87 |
Dashboard /wp-admin | 2,973 ▲39 | 5.89 ▼0.05 | 143.18 ▼19.89 | 133.68 ▲17.80 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.72 ▼0.00 | 66.67 ▼0.49 | 88.71 ▲0.93 |
Add New Post /wp-admin/post-new.php | 1,683 ▼0 | 18.72 ▼0.05 | 407.20 ▼12.85 | 107.09 ▼9.20 |
Media Library /wp-admin/upload.php | 1,807 ▼0 | 5.01 ▼0.02 | 160.89 ▼4.02 | 117.33 ▼9.98 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The plugin uninstalled successfully, without leaving any zombie files or tables
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
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
Almost there! Just fix the following items
- 26× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/webico-slider-flatsome-addons/builder/commons/slide.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/webico-slider-flatsome-addons/builder/commons/links.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/webico-slider-flatsome-addons/builder/commons/repeater-options.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/webico-slider-flatsome-addons/builder/commons/repeater-slider.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/webico-slider-flatsome-addons/shortcodes/wbc_slider.php:168
- > PHP Fatal error
Uncaught Error: Call to undefined function get_theme_mod() in wp-content/plugins/webico-slider-flatsome-addons/builder/helpers/colors.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function get_theme_mod() in wp-content/plugins/webico-slider-flatsome-addons/builder/helpers/colors-overlay.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/webico-slider-flatsome-addons/builder/commons/box-styles.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/webico-slider-flatsome-addons/builder/commons/title-options.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/webico-slider-flatsome-addons/builder/commons/background.php:5
- > PHP Fatal error
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 86% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: flatsome addons, tran binh, webico, tinohost, tino group
webico-slider-flatsome-addons/wbc_slider_addons.php 69% from 13 tests
"Webico Slider Flatsome Addons" version 2.0.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Domain Path: The domain path is invalid: folder "/languages" does not exist
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Requires PHP: The required version number did not match the one declared in readme.txt ("7.2" instead of "5.6")
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("webico-slider-flatsome-addons.php" instead of "wbc_slider_addons.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin7,874 lines of code in 217 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 141 | 0 | 126 | 5,382 |
PHP | 51 | 162 | 58 | 2,042 |
HTML | 25 | 33 | 0 | 450 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
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 | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 3 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 3 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected