Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.17MB] [CPU: ▲0.22ms] Passed 4 tests
This is a short check of server-side resources used by Elastik Addons for WPBakery
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.18 | 41.62 ▼1.44 |
Dashboard /wp-admin | 3.47 ▲0.17 | 55.85 ▲6.24 |
Posts /wp-admin/edit.php | 3.58 ▲0.23 | 46.09 ▼1.14 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.17 | 83.61 ▼1.12 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 35.76 ▲4.57 |
Server storage [IO: ▲16.32MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 680 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Elastik Addons for WPBakery
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,932 ▲186 | 13.69 ▼0.66 | 10.34 ▲8.56 | 42.13 ▼5.25 |
Dashboard /wp-admin | 2,223 ▲35 | 4.84 ▼1.03 | 110.21 ▲2.35 | 49.79 ▲5.03 |
Posts /wp-admin/edit.php | 2,105 ▲13 | 2.05 ▲0.02 | 34.69 ▼1.49 | 39.10 ▲3.37 |
Add New Post /wp-admin/post-new.php | 1,524 ▼5 | 17.57 ▼0.74 | 661.41 ▲49.52 | 65.02 ▲14.65 |
Media Library /wp-admin/upload.php | 1,402 ▲11 | 4.23 ▲0.06 | 99.80 ▲0.29 | 42.09 ▼2.20 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking 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
Please fix the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/elastik-addons-for-wpbakery/azh_elastic.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/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
4 plugin tags: visual composer, wpbakery, wpbakery addon, vc
elastik-addons-for-wpbakery/azh_elastic.php 85% from 13 tests
The entry point to "Elastik Addons for WPBakery" version 0.27 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("elastik-addons-for-wpbakery.php" instead of "azh_elastic.php")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
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 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
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
164 PNG files occupy 1.91MB with 0.70MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
azh/images/elastic/macbook-air.png | 50.80KB | 53.40KB | 0.00% |
azh/elastic/contact-form.png | 0.41KB | 0.15KB | ▼ 63.27% |
azh/images/elastic/chronometer.png | 1.84KB | 1.57KB | ▼ 14.66% |
azh/elastic/feature.png | 0.87KB | 0.47KB | ▼ 45.32% |
azh/elastic/pricing-plan-7.png | 1.08KB | 0.44KB | ▼ 59.11% |