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.08MB] [CPU: ▼6.07ms] Passed 4 tests
This is a short check of server-side resources used by WPSHARE247 Elementor Addons
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.08 | 37.92 ▼4.41 |
Dashboard /wp-admin | 3.38 ▲0.07 | 45.33 ▼6.61 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 51.75 ▲4.77 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 93.34 ▼13.19 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 34.64 ▼0.07 |
Server storage [IO: ▲0.29MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WPSHARE247 Elementor Addons
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲72 | 14.47 ▼0.17 | 1.74 ▲0.05 | 42.11 ▲0.67 |
Dashboard /wp-admin | 2,224 ▲36 | 5.04 ▲0.18 | 100.96 ▼11.67 | 40.25 ▲0.40 |
Posts /wp-admin/edit.php | 2,109 ▲20 | 2.05 ▲0.01 | 42.28 ▲5.65 | 37.50 ▲3.80 |
Add New Post /wp-admin/post-new.php | 1,532 ▲4 | 23.14 ▲0.10 | 598.78 ▼81.29 | 44.50 ▼22.31 |
Media Library /wp-admin/upload.php | 1,409 ▲24 | 4.23 ▲0.05 | 96.02 ▼12.00 | 45.93 ▼0.80 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking 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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 5× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/wpshare247-elementor-addons/includes/widgets/wpshare247_countdown.php:2
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/wpshare247-elementor-addons/includes/widgets/wpshare247_contact_form7.php:2
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/wpshare247-elementor-addons/includes/widgets/wpshare247_products_widget.php:2
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/wpshare247-elementor-addons/includes/widgets/wpshare247_posts_widget.php:2
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/wpshare247-elementor-addons/includes/widgets/wpshare247_product_categories_widget.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 79% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Tags: Please delete some tags, you are using 14 tag instead of maximum 10
- Plugin Name: You should set the name of your plugin on the first line (
=== wpshare247-elementor-addons ===
)
wpshare247-elementor-addons/wpshare247-elementor-addon.php 69% from 13 tests
"WPSHARE247 Elementor Addons" version 1.0.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Description: The description should be shorter than 140 characters (currently 212 characters long)
- Domain Path: The domain path folder was not found ("/languages/")
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("wpshare247-elementor-addons.php" instead of "wpshare247-elementor-addon.php")
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected4,316 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 616 | 182 | 3,943 |
JavaScript | 3 | 1 | 54 | 227 |
CSS | 2 | 24 | 14 | 146 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
Average class complexity | 16.50 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 30.00 |
Average method complexity | 2.06 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 30.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 1 | 12.50% |
Methods | 117 | |
▷ Static methods | 18 | 15.38% |
▷ Public methods | 60 | 51.28% |
▷ Protected methods | 57 | 48.72% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 2 | 40.00% |
▷ Class constants | 3 | 60.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin