Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▼1.19MB] [CPU: ▼38.48ms] Passed 4 tests
An overview of server-side resources used by Elements Buddy Elementor Addons
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.79 ▼0.67 | 15.30 ▼25.91 |
Dashboard /wp-admin | 2.82 ▼0.48 | 16.16 ▼34.21 |
Posts /wp-admin/edit.php | 2.82 ▼0.53 | 17.65 ▼26.33 |
Add New Post /wp-admin/post-new.php | 2.82 ▼3.06 | 18.13 ▼67.46 |
Media Library /wp-admin/upload.php | 2.82 ▼0.40 | 17.11 ▼20.99 |
Server storage [IO: ▲3.52MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 38 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
Elements Buddy Elementor Addons: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,938 ▲203 | 13.63 ▼0.37 | 8.78 ▲6.83 | 39.03 ▼5.90 |
Dashboard /wp-admin | 2,225 ▲37 | 5.80 ▼0.09 | 101.40 ▼12.48 | 42.91 ▼3.42 |
Posts /wp-admin/edit.php | 2,113 ▲24 | 2.06 ▲0.00 | 40.95 ▲3.34 | 36.33 ▲1.91 |
Add New Post /wp-admin/post-new.php | 1,531 ▼2 | 23.08 ▼0.32 | 667.45 ▼1.19 | 52.02 ▼4.84 |
Media Library /wp-admin/upload.php | 1,407 ▲19 | 4.28 ▲0.08 | 102.55 ▼14.07 | 46.50 ▲3.09 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% 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 did not uninstall without warnings or errors
- > User deprecated in wp-includes/functions.php+5747
Function load_plugin_textdomain was called with an argument that is deprecated since version 2.7.0 with no alternative available.
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, 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
Almost there! Just fix the following items
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/elements-buddy/admin/partials/elements-buddy-admin-display.php
- > /wp-content/plugins/elements-buddy/public/partials/elements-buddy-public-display.php
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function elementsbuddy\\add_action() in wp-content/plugins/elements-buddy/plugin.php:107
- > 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 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Screenshots: These screenshots require images: #1 (Hero One), #2 (Hero Two), #3 (Hero Three), #4 (Image Box)
elements-buddy/elements-buddy.php Passed 13 tests
The principal PHP file in "Elements Buddy Elementor Addons" v. 1.2.0 is loaded by WordPress automatically on each request
105 characters long description:
Elements Buddy is a set of slick and effective widgets that works seamlessly with Elementor page builder.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin8,660 lines of code in 29 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 4 | 956 | 165 | 6,323 |
PHP | 17 | 362 | 992 | 1,496 |
Sass | 4 | 48 | 8 | 712 |
JavaScript | 4 | 27 | 68 | 129 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.07 |
Average class complexity | 1.77 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.16 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 13 | 100.00% |
▷ Final classes | 1 | 7.69% |
Methods | 62 | |
▷ Static methods | 3 | 4.84% |
▷ Public methods | 48 | 77.42% |
▷ Protected methods | 8 | 12.90% |
▷ Private methods | 6 | 9.68% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 1 | 25.00% |
▷ Class constants | 3 | 75.00% |
▷ 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
There were not PNG files found in your plugin