Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼3.60ms] Passed 4 tests
This is a short check of server-side resources used by Fancy Elements for Avada
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 39.89 ▼8.04 |
Dashboard /wp-admin | 3.31 ▲0.00 | 45.39 ▼3.29 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.39 ▼2.42 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 95.65 ▼0.64 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.87 ▼0.47 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 38 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Fancy Elements for Avada
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.35 ▼0.89 | 4.51 ▲2.46 | 42.27 ▼5.00 |
Dashboard /wp-admin | 2,206 ▲18 | 5.85 ▲0.99 | 103.48 ▼3.28 | 41.41 ▼0.74 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.04 ▼0.07 | 41.26 ▼0.29 | 35.77 ▼0.73 |
Add New Post /wp-admin/post-new.php | 1,529 ▲15 | 18.36 ▲0.79 | 637.06 ▼32.86 | 47.23 ▼10.31 |
Media Library /wp-admin/upload.php | 1,382 ▼6 | 4.22 ▲0.07 | 99.76 ▼6.35 | 43.72 ▲0.79 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
Smoke tests 50% 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 0% 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
- 4× PHP files output text when accessed directly:
- > /wp-content/plugins/fancy-elements-for-avada/inc/shortcodes/previews/fea-fancy-timeline-v1-preview.php
- > /wp-content/plugins/fancy-elements-for-avada/inc/shortcodes/previews/fea-fancy-tabs-preview.php
- > /wp-content/plugins/fancy-elements-for-avada/inc/shortcodes/previews/fea-fancy-testimonial-preview.php
- > /wp-content/plugins/fancy-elements-for-avada/inc/shortcodes/previews/fea-fancy-timeline-v2-preview.php
- 6× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/fancy-elements-for-avada/elements/fea-timeline-maping.php:164
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/fancy-elements-for-avada/elements/fea-tabs-maping.php:195
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/fancy-elements-for-avada/inc/functions.php:24
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/fancy-elements-for-avada/elements/fea-timeline2-maping.php:187
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/fancy-elements-for-avada/elements/fea-testimonial-maping.php:138
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/fancy-elements-for-avada/fancy-elements-avada.php:17
- > PHP Fatal error
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 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Tags: There are too many tags (14 tag instead of maximum 10)
fancy-elements-for-avada/fancy-elements-avada.php 92% from 13 tests
This is the main PHP file of "Fancy Elements for Avada" version 1.0.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("fancy-elements-for-avada.php" instead of "fancy-elements-avada.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin2,765 lines of code in 27 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 284 | 469 | 1,376 |
CSS | 3 | 106 | 30 | 896 |
JSON | 5 | 0 | 0 | 390 |
XML | 2 | 13 | 8 | 62 |
JavaScript | 3 | 1 | 6 | 41 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
Average class complexity | 7.75 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 24.00 |
Average method complexity | 2.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 23 | |
▷ Static methods | 4 | 17.39% |
▷ Public methods | 23 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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