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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼146.03ms] Passed 4 tests
A check of server-side resources used by UX Flatsome Addons
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.85 ▲0.01 | 34.59 ▼0.29 |
Dashboard /wp-admin | 3.06 ▲0.01 | 44.05 ▼0.91 |
Posts /wp-admin/edit.php | 3.12 ▲0.01 | 42.82 ▼1.36 |
Add New Post /wp-admin/post-new.php | 5.43 ▼0.00 | 92.50 ▼573.97 |
Media Library /wp-admin/upload.php | 3.01 ▲0.01 | 31.90 ▼7.89 |
Server storage [IO: ▲0.35MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 91 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
UX Flatsome Addons: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,719 ▲124 | 15.95 ▼0.01 | 12.38 ▲3.55 | 46.39 ▼2.30 |
Dashboard /wp-admin | 2,992 ▲55 | 5.97 ▼0.13 | 133.44 ▼6.55 | 107.68 ▼9.32 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.72 ▼0.00 | 64.02 ▲2.23 | 87.42 ▲4.89 |
Add New Post /wp-admin/post-new.php | 3,689 ▲2,013 | 15.04 ▼3.91 | 431.24 ▲55.56 | 109.63 ▼2.97 |
Media Library /wp-admin/upload.php | 1,810 ▼0 | 5.03 ▲0.01 | 151.76 ▲8.99 | 120.85 ▲1.18 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
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 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means 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
- 33× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Notice
Undefined variable: repeater_columns in wp-content/plugins/ux-flatsome-addons/builder/commons/repeater-options.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/ux-flatsome-addons/builder/commons/repeater-custom-posts.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/ux-flatsome-addons/shortcodes/uxfsa-category-post.php:124
- > PHP Fatal error
Uncaught Error: Call to undefined function add_ux_builder_shortcode() in wp-content/plugins/ux-flatsome-addons/builder/uxfsa-slider.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_theme_mod() in wp-content/plugins/ux-flatsome-addons/builder/values/color-helpers.php:14
- > PHP Notice
Undefined variable: repeater_col_spacing in wp-content/plugins/ux-flatsome-addons/builder/commons/title-options.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/ux-flatsome-addons/builder/commons/repeater-school.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/ux-flatsome-addons/builder/commons/position.php:5
- > PHP Notice
Undefined variable: repeater_type in wp-content/plugins/ux-flatsome-addons/builder/commons/repeater-options.php on line 5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/ux-flatsome-addons/shortcodes/uxfsa-image-compare.php:126
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
2 plugin tags: uxaddons, flatsome addons
ux-flatsome-addons/ux_flatsome_addons.php 77% from 13 tests
This is the main PHP file of "UX Flatsome Addons" version 1.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Domain Path: The domain path points to a folder that does not exist ("/languages")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("ux-flatsome-addons.php" instead of "ux_flatsome_addons.php")
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 plugin4,134 lines of code in 79 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 55 | 238 | 67 | 3,031 |
JavaScript | 2 | 145 | 82 | 527 |
HTML | 21 | 30 | 0 | 375 |
CSS | 1 | 29 | 1 | 201 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
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 | 11 | |
▷ Named functions | 11 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.13MB with 0.06MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
banner-772x250.png | 137.14KB | 75.94KB | ▼ 44.63% |