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.09MB] [CPU: ▼3.55ms] Passed 4 tests
This is a short check of server-side resources used by Elements Plus!
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 38.12 ▼1.20 |
Dashboard /wp-admin | 3.40 ▲0.10 | 45.51 ▼9.37 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 48.92 ▲1.52 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 85.06 ▼1.28 |
Media Library /wp-admin/upload.php | 3.33 ▲0.09 | 33.79 ▼2.35 |
Server storage [IO: ▲4.97MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 106 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Elements Plus!
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲70 | 14.78 ▲0.50 | 2.07 ▲0.32 | 42.06 ▼2.38 |
Dashboard /wp-admin | 2,214 ▲26 | 4.89 ▼0.00 | 109.17 ▼7.14 | 41.72 ▼5.44 |
Posts /wp-admin/edit.php | 2,096 ▲10 | 2.04 ▲0.03 | 39.09 ▲4.81 | 36.82 ▼1.65 |
Add New Post /wp-admin/post-new.php | 1,538 ▲24 | 23.18 ▲5.66 | 577.79 ▼125.77 | 52.54 ▼1.98 |
Media Library /wp-admin/upload.php | 1,396 ▲5 | 4.36 ▲0.17 | 95.69 ▼1.93 | 44.08 ▼2.69 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
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)
Everything seems fine, however this is by no means an exhaustive test
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
- 9× 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/elements-plus/elements/ep-pricing-list.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/elements-plus/elements/ep-instagram-filters.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/elements-plus/elements/ep-tilt.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/elements-plus/elements/ep-tooltip.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/elements-plus/inc/map-styles.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/elements-plus/elements/ep-sticky-videos.php:3
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/elements-plus/elements/ep-hotspots.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/elements-plus/elements/ep-scheduled.php:2
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Settings' not found in wp-content/plugins/elements-plus/inc/elements-plus-options.php:3
- > 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 errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
6 plugin tags: custom elements, elements plus, custom widgets, elementor, elementor widgets...
elements-plus/elements-plus.php Passed 13 tests
The principal PHP file in "Elements Plus!" v. 2.16.2 is loaded by WordPress automatically on each request
64 characters long description:
Custom elements for the Elementor page builder by CSSIgniter.com
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin18,763 lines of code in 77 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 34 | 1,430 | 297 | 10,526 |
CSS | 21 | 866 | 25 | 3,481 |
JavaScript | 20 | 513 | 272 | 3,373 |
SVG | 2 | 0 | 0 | 1,383 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 7.50 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 19.00 |
Average method complexity | 1.89 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 26 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 26 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 190 | |
▷ Static methods | 7 | 3.68% |
▷ Public methods | 116 | 61.05% |
▷ Protected methods | 73 | 38.42% |
▷ Private methods | 1 | 0.53% |
Functions | 66 | |
▷ Named functions | 32 | 48.48% |
▷ Anonymous functions | 34 | 51.52% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
1 PNG file occupies 0.07MB with 0.03MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/banner.png | 70.29KB | 42.12KB | ▼ 40.08% |