Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.33MB] [CPU: ▼4.31ms] Passed 4 tests
This is a short check of server-side resources used by StylePress for Elementor
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.77 ▲0.31 | 27.17 ▼12.98 |
Dashboard /wp-admin | 3.63 ▲0.33 | 45.85 ▲1.29 |
Posts /wp-admin/edit.php | 3.75 ▲0.39 | 45.05 ▼1.26 |
Add New Post /wp-admin/post-new.php | 6.21 ▲0.33 | 85.54 ▼4.29 |
Media Library /wp-admin/upload.php | 3.56 ▲0.33 | 38.50 ▲6.29 |
Server storage [IO: ▲1.84MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 174 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by StylePress for Elementor
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,470 ▼265 | 14.48 ▼0.11 | 0.51 ▼1.11 | 18.36 ▼31.46 |
Dashboard /wp-admin | 2,208 ▲20 | 5.85 ▼0.07 | 102.00 ▼6.83 | 40.85 ▼0.85 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.05 ▲0.03 | 34.54 ▼9.18 | 34.60 ▼3.05 |
Add New Post /wp-admin/post-new.php | 1,540 ▲7 | 23.18 ▲0.24 | 646.53 ▼24.01 | 63.91 ▲7.31 |
Media Library /wp-admin/upload.php | 1,393 ▲2 | 4.24 ▼0.00 | 98.23 ▼4.65 | 45.51 ▲3.10 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 9× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Notice
Undefined variable: post in wp-content/plugins/full-site-builder-for-elementor/metaboxes/export.php on line 4
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/full-site-builder-for-elementor/metaboxes/post-meta-box.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/full-site-builder-for-elementor/admin/_header.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_url() in wp-content/plugins/full-site-builder-for-elementor/metaboxes/export.php:10
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/full-site-builder-for-elementor/extensions/stylepress-loop/widget.stylepress-loop.php:17
- > PHP Notice
Trying to get property 'post_parent' of non-object in wp-content/plugins/full-site-builder-for-elementor/metaboxes/export.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_style() in wp-content/plugins/full-site-builder-for-elementor/themes/oceanwp.php:3
- > PHP Fatal error
Uncaught Error: Class 'Walker_Nav_Menu' not found in wp-content/plugins/full-site-builder-for-elementor/extensions/wp-menu/walker-display.php:3
- > PHP Fatal error
Uncaught Error: Class 'Walker_Nav_Menu' not found in wp-content/plugins/full-site-builder-for-elementor/extensions/wp-menu/walker-edit-page.php:13
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: A description for screenshot #4 is required in full-site-builder-for-elementor/assets to your readme.txt
- Tags: Please reduce the number of tags, currently 16 tag instead of maximum 10
full-site-builder-for-elementor/full-site-builder-for-elementor.php 92% from 13 tests
This is the main PHP file of "StylePress for Elementor" version 1.2.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
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 plugin22,216 lines of code in 149 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 94 | 2,140 | 2,115 | 9,110 |
CSS | 18 | 715 | 103 | 5,598 |
LESS | 16 | 491 | 82 | 3,270 |
SVG | 1 | 0 | 0 | 2,672 |
JavaScript | 15 | 313 | 228 | 1,245 |
JSON | 4 | 0 | 0 | 316 |
Markdown | 1 | 4 | 0 | 5 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 30.86 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 385.00 |
Average method complexity | 3.80 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 45.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 28 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 28 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 272 | |
▷ Static methods | 6 | 2.21% |
▷ Public methods | 210 | 77.21% |
▷ Protected methods | 49 | 18.01% |
▷ Private methods | 13 | 4.78% |
Functions | 61 | |
▷ Named functions | 14 | 22.95% |
▷ Anonymous functions | 47 | 77.05% |
Constants | 12 | |
▷ Global constants | 11 | 91.67% |
▷ Class constants | 1 | 8.33% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
5 PNG files occupy 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/logo-stylepress-sml.png | 5.92KB | 3.30KB | ▼ 44.29% |
assets/img/widget-logo.png | 6.21KB | 3.09KB | ▼ 50.19% |
assets/img/icon.png | 1.11KB | 0.41KB | ▼ 62.93% |
extensions/modal-popup/images/close.png | 1.07KB | 0.19KB | ▼ 82.64% |
assets/img/inner-outer-graphic-light.png | 24.37KB | 9.65KB | ▼ 60.40% |