Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.17MB] [CPU: ▼1.32ms] Passed 4 tests
This is a short check of server-side resources used by Elastik Addons for Elementor
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.18 | 40.81 ▲3.09 |
Dashboard /wp-admin | 3.47 ▲0.17 | 45.81 ▼5.42 |
Posts /wp-admin/edit.php | 3.58 ▲0.23 | 49.35 ▲3.92 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.17 | 91.48 ▼6.87 |
Media Library /wp-admin/upload.php | 3.39 ▲0.17 | 39.84 ▲4.12 |
Server storage [IO: ▲16.32MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 680 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Elastik Addons for Elementor
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,932 ▲161 | 13.73 ▼1.02 | 9.66 ▲7.60 | 39.02 ▼8.44 |
Dashboard /wp-admin | 2,220 ▲35 | 5.80 ▲0.96 | 95.40 ▼11.01 | 43.05 ▲0.59 |
Posts /wp-admin/edit.php | 2,105 ▲16 | 2.05 ▲0.02 | 39.83 ▲2.76 | 36.42 ▲1.89 |
Add New Post /wp-admin/post-new.php | 1,552 ▲16 | 18.31 ▼4.87 | 623.51 ▼44.19 | 64.86 ▲15.25 |
Media Library /wp-admin/upload.php | 1,405 ▲14 | 4.25 ▲0.09 | 106.16 ▲4.80 | 48.35 ▲1.92 |
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
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
Please take a closer look at the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/elastik-addons-for-elementor/azh_elastic.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
2 plugin tags: elementor, elementor addon
elastik-addons-for-elementor/azh_elastic.php 85% from 13 tests
"Elastik Addons for Elementor" version 0.27's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("elastik-addons-for-elementor.php" instead of "azh_elastic.php")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin221,128 lines of code in 312 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 20 | 67 | 5,864 | 109,993 |
LESS | 20 | 2,005 | 669 | 71,828 |
HTML | 248 | 1 | 0 | 19,246 |
JavaScript | 17 | 3,383 | 4,194 | 15,654 |
SVG | 3 | 0 | 1 | 3,038 |
PHP | 1 | 93 | 32 | 931 |
JSON | 2 | 0 | 0 | 397 |
PO File | 1 | 12 | 19 | 41 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 39 | |
▷ Named functions | 37 | 94.87% |
▷ Anonymous functions | 2 | 5.13% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
164 PNG files occupy 1.91MB with 0.99MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
azh/elastic/teammate-2.png | 0.90KB | 0.48KB | ▼ 46.54% |
azh/elastic/testimonial.png | 1.02KB | 0.58KB | ▼ 43.46% |
azh/elastic/page-title.png | 0.37KB | 0.11KB | ▼ 70.29% |
azh/images/elastic/shape.png | 42.88KB | 20.89KB | ▼ 51.28% |
azh/images/elastic/pricing-2.png | 7.51KB | 3.95KB | ▼ 47.33% |