Benchmarks
Plugin footprint 65% 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: ▼1.24MB] [CPU: ▼48.28ms] Passed 4 tests
An overview of server-side resources used by Ewebdevs Elements
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.73 ▼0.73 | 14.09 ▼28.45 |
Dashboard /wp-admin | 2.77 ▼0.54 | 15.94 ▼38.32 |
Posts /wp-admin/edit.php | 2.77 ▼0.59 | 14.78 ▼41.21 |
Add New Post /wp-admin/post-new.php | 2.77 ▼3.12 | 16.80 ▼85.13 |
Media Library /wp-admin/upload.php | 2.77 ▼0.46 | 15.39 ▼24.59 |
Server storage [IO: ▲4.00MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 56 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Ewebdevs Elements
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,831 ▲70 | 14.26 ▼0.10 | 1.84 ▲0.23 | 41.94 ▲1.58 |
Dashboard /wp-admin | 2,215 ▲35 | 5.63 ▲0.10 | 94.75 ▲2.34 | 43.45 ▲0.02 |
Posts /wp-admin/edit.php | 2,117 ▲14 | 2.00 ▼0.11 | 39.80 ▲2.51 | 35.80 ▼0.72 |
Add New Post /wp-admin/post-new.php | 1,538 ▲12 | 22.99 ▼0.47 | 647.24 ▼45.60 | 54.81 ▲0.54 |
Media Library /wp-admin/upload.php | 1,414 ▲20 | 4.21 ▼0.09 | 99.26 ▲1.08 | 45.34 ▲4.55 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Uninstall procedure had uncaught 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.
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
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
Almost there! Just fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function ewebdevselements\\add_action() in wp-content/plugins/ewebdevs-elements/plugin.php:104
- > 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)
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
7 plugin tags: elementor widget, elementor testimonial slider, elementor banner, elementor addons, elementor testimonial section...
ewebdevs-elements/ewebdevs-elements.php Passed 13 tests
This is the main PHP file of "Ewebdevs Elements" version 1.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
42 characters long description:
Ewebdevs Elements plugin for custom widget
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected14,752 lines of code in 29 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 10 | 936 | 168 | 9,080 |
SVG | 4 | 1 | 12 | 4,492 |
PHP | 6 | 117 | 374 | 660 |
JavaScript | 8 | 59 | 34 | 438 |
PO File | 1 | 31 | 42 | 82 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 1.59 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 1 | 25.00% |
Methods | 27 | |
▷ Static methods | 1 | 3.70% |
▷ Public methods | 22 | 81.48% |
▷ Protected methods | 4 | 14.81% |
▷ Private methods | 1 | 3.70% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 3 | 100.00% |
▷ Public constants | 3 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
4 PNG files occupy 0.71MB with 0.37MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/bg9.png | 384.00KB | 131.43KB | ▼ 65.77% |
assets/images/resources/testi-bg.png | 44.59KB | 17.37KB | ▼ 61.06% |
assets/js/skins/default/lightbox-close.png | 1.49KB | 1.13KB | ▼ 23.88% |
assets/images/resources/bg1.png | 299.15KB | 128.27KB | ▼ 57.12% |