Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼5.50ms] Passed 4 tests
Server-side resources used by Flexi Addons for Elementor
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.42 ▼4.08 |
Dashboard /wp-admin | 3.32 ▲0.02 | 50.14 ▼4.40 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 50.27 ▲1.37 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 85.94 ▼12.12 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 35.98 ▼1.40 |
Server storage [IO: ▲2.08MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 98 new files
Database: no new tables, 8 new options
New WordPress options |
---|
flexiaddons_install_date |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
flexiaddons_version |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Flexi Addons for Elementor: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,833 ▲72 | 13.25 ▼1.35 | 1.77 ▼0.31 | 40.23 ▼3.44 |
Dashboard /wp-admin | 2,242 ▲42 | 4.86 ▼0.08 | 104.10 ▼17.58 | 43.08 ▼21.99 |
Posts /wp-admin/edit.php | 2,118 ▲18 | 1.98 ▼0.04 | 37.14 ▼4.43 | 34.00 ▼6.86 |
Add New Post /wp-admin/post-new.php | 1,563 ▲16 | 22.95 ▼0.10 | 676.32 ▲78.43 | 51.96 ▼7.87 |
Media Library /wp-admin/upload.php | 1,421 ▲21 | 4.28 ▲0.04 | 98.61 ▼12.76 | 44.39 ▼1.06 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- The uninstall procedure has failed, leaving 8 options in the database
- db_upgraded
- widget_recent-posts
- flexiaddons_version
- theysaidso_admin_options
- can_compress_scripts
- flexiaddons_install_date
- widget_theysaidso_widget
- widget_recent-comments
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
Please take a closer look at the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'Flexi_Addons_Widgets_Manager' not found in wp-content/plugins/flexiaddons/includes/extensions/class-x-copy-paste.php:274
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need to be fixed:
- Screenshots: Please add descriptions for these screenshots #14, #15, #16 in flexiaddons/assets to your readme.txt
flexiaddons/flexiaddons.php Passed 13 tests
The main file in "Flexi Addons for Elementor" v. 1.0.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
106 characters long description:
A collection of premium quality & highly customizable addons or modules for use in Elementor page builder.
Code Analysis 97% from 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
Good job! No executable or dangerous file extensions detected32,797 lines of code in 90 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 43 | 3,792 | 2,659 | 23,179 |
JavaScript | 18 | 1,468 | 949 | 8,750 |
CSS | 23 | 110 | 16 | 817 |
JSON | 2 | 0 | 0 | 35 |
SVG | 4 | 1 | 0 | 16 |
PHP code 50% from 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
These items need your attention
- Please reduce cyclomatic complexity of methods to less than 100 (currently 104)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 32.74 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 467.00 |
Average method complexity | 4.07 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 104.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 43 | |
▷ Abstract classes | 1 | 2.33% |
▷ Concrete classes | 42 | 97.67% |
▷ Final classes | 1 | 2.38% |
Methods | 447 | |
▷ Static methods | 41 | 9.17% |
▷ Public methods | 174 | 38.93% |
▷ Protected methods | 235 | 52.57% |
▷ Private methods | 38 | 8.50% |
Functions | 27 | |
▷ Named functions | 22 | 81.48% |
▷ Anonymous functions | 5 | 18.52% |
Constants | 12 | |
▷ Global constants | 10 | 83.33% |
▷ Class constants | 2 | 16.67% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin