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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.28MB] [CPU: ▼3.39ms] Passed 4 tests
Analyzing server-side resources used by Themesflat Addons For Elementor
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.74 ▲0.28 | 38.99 ▼4.68 |
Dashboard /wp-admin | 3.58 ▲0.28 | 47.82 ▼1.44 |
Posts /wp-admin/edit.php | 3.69 ▲0.34 | 51.19 ▲1.45 |
Add New Post /wp-admin/post-new.php | 6.18 ▲0.29 | 84.82 ▼8.89 |
Media Library /wp-admin/upload.php | 3.50 ▲0.27 | 36.98 ▲2.87 |
Server storage [IO: ▲4.47MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 138 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Themesflat Addons For Elementor
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,831 ▲74 | 13.52 ▼1.06 | 1.68 ▼0.25 | 43.19 ▼6.03 |
Dashboard /wp-admin | 2,240 ▲52 | 5.28 ▲0.18 | 113.86 ▼5.21 | 40.21 ▼6.61 |
Posts /wp-admin/edit.php | 2,122 ▲33 | 2.52 ▲0.51 | 42.75 ▲3.56 | 36.09 ▼3.12 |
Add New Post /wp-admin/post-new.php | 1,540 ▲26 | 17.69 ▲0.09 | 700.56 ▲50.27 | 50.21 ▼6.60 |
Media Library /wp-admin/upload.php | 1,419 ▲31 | 4.49 ▲0.20 | 101.66 ▲3.93 | 42.67 ▲0.48 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_recent-comments
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)
Good news, no errors were detected
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
The following issues need your attention
- 45× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/themesflat-addons-for-elementor/widgets/widget-testimonial-carousel.php:2
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/themesflat-addons-for-elementor/widgets/widget-clipping-mask.php:2
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/themesflat-addons-for-elementor/widgets/widget-carousel.php:2
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/themesflat-addons-for-elementor/widgets/widget-progress-bar.php:2
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/themesflat-addons-for-elementor/widgets/widget-mini-cart.php:3
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/themesflat-addons-for-elementor/widgets/widget-scroll-top.php:2
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/themesflat-addons-for-elementor/widgets/widget-post-author=============.php:2
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/themesflat-addons-for-elementor/widgets/widget-simple-slide.php:3
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/themesflat-addons-for-elementor/widgets/widget-post-comment.php:2
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/themesflat-addons-for-elementor/widgets/widget-team--.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: addons, elementor, elementor addon, themesflat, widget
themesflat-addons-for-elementor/themesflat-addons-for-elementor.php Passed 13 tests
The main file in "Themesflat Addons For Elementor" v. 2.0.6 serves as a complement to information provided in readme.txt and as the entry point to the plugin
22 characters long description:
The theme's components
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected61,512 lines of code in 118 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 52 | 3,535 | 1,317 | 38,782 |
JavaScript | 33 | 2,592 | 1,767 | 11,542 |
CSS | 21 | 1,481 | 179 | 11,176 |
SVG | 12 | 0 | 0 | 12 |
PHP code 50% from 2 tests
A short review of cyclomatic complexity and code structure
Please tend to the following items
- Please reduce cyclomatic complexity of methods to less than 100 (currently 273)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 26.53 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 279.00 |
Average method complexity | 3.87 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 273.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 47 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 47 | 100.00% |
▷ Final classes | 1 | 2.13% |
Methods | 419 | |
▷ Static methods | 29 | 6.92% |
▷ Public methods | 322 | 76.85% |
▷ Protected methods | 91 | 21.72% |
▷ Private methods | 6 | 1.43% |
Functions | 19 | |
▷ Named functions | 18 | 94.74% |
▷ Anonymous functions | 1 | 5.26% |
Constants | 7 | |
▷ Global constants | 4 | 57.14% |
▷ Class constants | 3 | 42.86% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
12 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/css/overlays/05.png | 0.21KB | 0.10KB | ▼ 52.11% |
assets/css/overlays/03.png | 0.20KB | 0.10KB | ▼ 53.11% |
assets/css/overlays/01.png | 0.21KB | 0.10KB | ▼ 53.05% |
assets/css/overlays/07.png | 0.21KB | 0.10KB | ▼ 51.63% |
assets/css/overlays/08.png | 2.66KB | 0.10KB | ▼ 96.07% |