Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼3.34ms] Passed 4 tests
Analyzing server-side resources used by WPHobby Addons for Elementor
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.23 ▼5.29 |
Dashboard /wp-admin | 3.32 ▲0.02 | 44.19 ▼4.17 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 48.90 ▲4.02 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 86.93 ▼3.46 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 34.35 ▼0.44 |
Server storage [IO: ▲1.34MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 51 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for WPHobby Addons for Elementor
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,809 ▲74 | 13.26 ▼1.14 | 1.59 ▼0.27 | 51.47 ▲4.67 |
Dashboard /wp-admin | 2,212 ▲21 | 5.79 ▲0.91 | 100.11 ▼8.62 | 38.48 ▼4.50 |
Posts /wp-admin/edit.php | 2,097 ▲8 | 2.01 ▼0.03 | 40.56 ▲4.34 | 37.98 ▲1.08 |
Add New Post /wp-admin/post-new.php | 1,523 ▼14 | 17.60 ▼5.60 | 664.77 ▼74.89 | 62.75 ▲4.07 |
Media Library /wp-admin/upload.php | 1,397 ▲12 | 4.23 ▼0.02 | 95.57 ▼4.11 | 39.72 ▼5.97 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/wphobby-addons-for-elementor/includes/admin/sections/general/tab-general.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/wphobby-addons-for-elementor/includes/admin/sections/general/top.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wphobby-addons-for-elementor/includes/whae_admin.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/wphobby-addons-for-elementor/includes/admin/sections/general/tab-elements.php:8
- > 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 97% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
wphobby-addons-for-elementor/wphobby-addons-for-elementor.php Passed 13 tests
The main file in "WPHobby Addons for Elementor" v. 1.0.7 serves as a complement to information provided in readme.txt and as the entry point to the plugin
72 characters long description:
Ultimate addons package for Elementor page builder plugin for WordPress.
Code Analysis 97% from 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
There were no executable files found in this plugin11,850 lines of code in 34 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 17 | 742 | 257 | 5,980 |
CSS | 11 | 2,000 | 64 | 5,458 |
JavaScript | 4 | 43 | 22 | 234 |
SVG | 2 | 1 | 3 | 178 |
PHP code 50% from 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
These items need your attention
- Method cyclomatic complexity should be reduced to less than 100 (currently 103)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 18.42 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 103.00 |
Average method complexity | 3.55 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 103.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 12 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 82 | |
▷ Static methods | 2 | 2.44% |
▷ Public methods | 61 | 74.39% |
▷ Protected methods | 21 | 25.61% |
▷ Private methods | 0 | 0.00% |
Functions | 18 | |
▷ Named functions | 18 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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.07MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/mail.png | 16.25KB | 13.04KB | ▼ 19.74% |
assets/images/file.png | 5.09KB | 3.92KB | ▼ 22.99% |
assets/images/default-logo.png | 17.10KB | 2.94KB | ▼ 82.80% |
assets/images/play-button.png | 13.39KB | 10.70KB | ▼ 20.12% |
includes/admin/images/icon.png | 19.99KB | 0.88KB | ▼ 95.61% |