Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼4.74ms] Passed 4 tests
An overview of server-side resources used by Elementrio
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 36.20 ▼5.75 |
Dashboard /wp-admin | 3.31 ▼0.03 | 51.82 ▼8.50 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 50.25 ▲1.99 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 96.37 ▼6.69 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.37 ▲3.90 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Elementrio
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲56 | 14.31 ▼0.04 | 1.74 ▼0.01 | 39.52 ▼4.31 |
Dashboard /wp-admin | 2,192 ▲15 | 5.62 ▼0.03 | 95.37 ▲8.27 | 42.15 ▲4.27 |
Posts /wp-admin/edit.php | 2,103 ▼0 | 1.94 ▼0.02 | 38.67 ▼11.11 | 36.49 ▼8.84 |
Add New Post /wp-admin/post-new.php | 1,529 ▼6 | 23.37 ▼1.63 | 641.93 ▲38.69 | 46.48 ▼19.39 |
Media Library /wp-admin/upload.php | 1,406 ▲6 | 4.19 ▲0.01 | 95.28 ▲1.64 | 41.41 ▼0.56 |
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
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
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 97% from 29 tests
readme.txt 94% 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
These attributes need your attention:
- Screenshots: No descriptions were found for these screenshots #2, #3, #4 in elementrio/assets to your readme.txt
elementrio/elementrio.php Passed 13 tests
The principal PHP file in "Elementrio" v. 1.1.1 is loaded by WordPress automatically on each request
48 characters long description:
An Elementor addon plugin for Elementor widgets.
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
Everything looks great! No dangerous files found in this plugin4,583 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 233 | 1 | 2,804 |
PHP | 9 | 244 | 93 | 1,767 |
SVG | 1 | 0 | 0 | 12 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.08 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.48 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 25 | |
▷ Static methods | 1 | 4.00% |
▷ Public methods | 16 | 64.00% |
▷ Protected methods | 9 | 36.00% |
▷ Private methods | 0 | 0.00% |
Functions | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 2 | 66.67% |
▷ Class constants | 1 | 33.33% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
core/admin/images/elementrio.png | 5.55KB | 3.24KB | ▼ 41.64% |