Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.33MB] [CPU: ▼6.55ms] Passed 4 tests
An overview of server-side resources used by Classy Addons for Elementor
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.80 ▲0.33 | 36.82 ▼2.28 |
Dashboard /wp-admin | 3.67 ▲0.37 | 56.24 ▲11.89 |
Posts /wp-admin/edit.php | 3.72 ▲0.37 | 55.20 ▲0.99 |
Add New Post /wp-admin/post-new.php | 6.19 ▲0.31 | 80.78 ▼18.44 |
Media Library /wp-admin/upload.php | 3.53 ▲0.31 | 38.24 ▼6.46 |
Server storage [IO: ▲6.78MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 183 new files
Database: no new tables, 9 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
classyea_installed |
theysaidso_admin_options |
db_upgraded |
classyea_enable_widget |
classyea_version |
widget_recent-comments |
Browser metrics Passed 4 tests
Classy Addons for Elementor: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,840 ▲94 | 13.32 ▼1.06 | 1.69 ▲0.04 | 39.32 ▼2.22 |
Dashboard /wp-admin | 2,234 ▲46 | 5.88 ▼0.00 | 100.87 ▼1.49 | 73.10 ▲29.38 |
Posts /wp-admin/edit.php | 2,128 ▲39 | 2.02 ▼0.00 | 38.88 ▲2.29 | 34.89 ▲1.94 |
Add New Post /wp-admin/post-new.php | 1,706 ▲182 | 22.29 ▼0.82 | 746.63 ▲96.55 | 56.81 ▲5.08 |
Media Library /wp-admin/upload.php | 1,422 ▲34 | 4.18 ▼0.09 | 96.59 ▼3.53 | 72.08 ▲26.30 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options detected upon uninstall: 7 options
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- classyea_installed
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 18× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/classy-addons-for-elementor/includes/functions.php:76
- > PHP Warning
Use of undefined constant CLASSYEA_PLUGIN_URL - assumed 'CLASSYEA_PLUGIN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/classy-addons-for-elementor/includes/Admin/templates/classyea-general-setting.php on line 6
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Skin_Base' not found in wp-content/plugins/classy-addons-for-elementor/includes/Classyea_Module/Widgets/Classyea_Layout_Two_Acc.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function ClassyEa\\Helper\\Template\\add_action() in wp-content/plugins/classy-addons-for-elementor/includes/Template/Classyea_Templates_Lib.php:53
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/classy-addons-for-elementor/includes/Admin/templates/classyea-widget-setting.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/classy-addons-for-elementor/includes/functions.php:76
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Skin_Base' not found in wp-content/plugins/classy-addons-for-elementor/includes/Classyea_Module/Widgets/Classyea_Layout_Two_Acc.php:8
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/classy-addons-for-elementor/includes/Classyea_Module/Widgets/Classyea_Twitter_Posts.php:7
- > PHP Fatal error
Trait 'ClassyEa\\Helper\\Traits\\Classyea_Module' not found in wp-content/plugins/classy-addons-for-elementor/includes/Classyea_Module/Classyea_Element.php on line 7
- > PHP Fatal error
Trait 'ClassyEa\\Helper\\Traits\\Classyea_Module' not found in wp-content/plugins/classy-addons-for-elementor/includes/Admin/Admin_Setting/Classyea_General_Setting.php on line 5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 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
9 plugin tags: addons for elementor, classyaddons, elementor extensions, elementor addon, elementor addons...
classy-addons-for-elementor/classy-addons-for-elementor.php 92% from 13 tests
The main file in "Classy Addons for Elementor" v. 1.2.7 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Description: The description should be shorter than 140 characters (currently 281 characters long)
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
There were no executable files found in this plugin45,318 lines of code in 149 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 66 | 2,640 | 2,389 | 32,922 |
CSS | 44 | 2,392 | 135 | 7,744 |
JavaScript | 34 | 823 | 727 | 4,610 |
SVG | 3 | 0 | 0 | 23 |
JSON | 2 | 0 | 0 | 19 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 23.55 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 102.00 |
Average method complexity | 3.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 73.00 |
Code structure | ||
---|---|---|
Namespaces | 11 | |
Interfaces | 0 | |
Traits | 1 | |
Classes | 55 | |
▷ Abstract classes | 1 | 1.82% |
▷ Concrete classes | 54 | 98.18% |
▷ Final classes | 1 | 1.85% |
Methods | 570 | |
▷ Static methods | 48 | 8.42% |
▷ Public methods | 341 | 59.82% |
▷ Protected methods | 207 | 36.32% |
▷ Private methods | 22 | 3.86% |
Functions | 17 | |
▷ Named functions | 13 | 76.47% |
▷ Anonymous functions | 4 | 23.53% |
Constants | 14 | |
▷ Global constants | 9 | 64.29% |
▷ Class constants | 5 | 35.71% |
▷ Public constants | 5 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
4 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/elementor/front/images/icon-cross.png | 1.11KB | 0.25KB | ▼ 77.74% |
assets/elementor/front/images/divider-4.png | 1.84KB | 1.47KB | ▼ 20.36% |
assets/images/quote-1.png | 5.23KB | 3.47KB | ▼ 33.66% |
assets/elementor/front/images/line-three.png | 1.30KB | 0.92KB | ▼ 29.71% |