Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▲0.02ms] Passed 4 tests
A check of server-side resources used by Elastik Page Builder
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 39.86 ▼7.97 |
Dashboard /wp-admin | 3.33 ▲0.02 | 56.73 ▲0.80 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 56.03 ▲1.75 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 147.90 ▲40.49 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 45.11 ▲5.49 |
Server storage [IO: ▲11.23MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 656 new files
Database: no new tables, 10 new options
New WordPress options |
---|
db_upgraded |
azh-content-settings |
widget_recent-comments |
azh-library |
azh-all-settings |
azh-get-content-scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Elastik Page Builder
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,907 ▲107 | 13.68 ▼0.68 | 10.19 ▲8.23 | 47.70 ▲2.73 |
Dashboard /wp-admin | 2,223 ▲14 | 5.86 ▲0.02 | 102.73 ▼4.00 | 42.23 ▲0.69 |
Posts /wp-admin/edit.php | 2,105 ▲13 | 1.98 ▼0.07 | 40.22 ▼0.27 | 32.46 ▼4.42 |
Add New Post /wp-admin/post-new.php | 1,388 ▼145 | 17.65 ▼5.53 | 726.71 ▲31.74 | 42.05 ▼24.73 |
Media Library /wp-admin/upload.php | 1,396 ▲11 | 4.18 ▼0.05 | 99.53 ▼8.31 | 44.18 ▲0.48 |
Uninstaller [IO: ✅] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin does not fully uninstall, leaving 10 options in the database
- widget_recent-posts
- azh-content-settings
- db_upgraded
- azh-all-settings
- can_compress_scripts
- azh-library
- azh-get-content-scripts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
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
Good news, no errors were detected
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 register_activation_hook() in wp-content/plugins/elastik-page-builder/azh_elastic.php:13
- > 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, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Tags: Too many tags (15 tag instead of maximum 10); only the first 5 tags are used in your directory listing
elastik-page-builder/azh_elastic.php 85% from 13 tests
The entry point to "Elastik Page Builder" version 0.27.4 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("elastik-page-builder.php" instead of "azh_elastic.php")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
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
Success! There were no dangerous files found in this plugin78,858 lines of code in 287 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 7 | 64 | 5,374 | 25,369 |
HTML | 248 | 1 | 0 | 19,256 |
JavaScript | 17 | 3,381 | 4,195 | 15,724 |
LESS | 8 | 450 | 249 | 14,034 |
SVG | 3 | 0 | 1 | 3,038 |
PHP | 1 | 100 | 33 | 999 |
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
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
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 | 43 | |
▷ Named functions | 41 | 95.35% |
▷ Anonymous functions | 2 | 4.65% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
164 PNG files occupy 1.91MB with 0.72MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
azh/elastic/posts-thumbnail-excerpt-categories.png | 1.93KB | 1.07KB | ▼ 44.41% |
azh/elastic/button.png | 0.61KB | 0.24KB | ▼ 59.84% |
azh/elastic/products.png | 3.22KB | 1.53KB | ▼ 52.64% |
azh/images/elastic/customers-2.png | 118.42KB | 126.36KB | 0.00% |
azh/images/elastic/pricing-1.png | 5.04KB | 3.45KB | ▼ 31.59% |