Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲5.30MB] [CPU: ▲25.00ms] 75% from 4 tests
A check of server-side resources used by Element Pack Elementor Addons (Header Footer, Free Template Library, Grid, Carousel, Table, Parallax Animation, Register Form, Twitter Grid)
The following require your attention
- Extra RAM: Extra memory usage must be kept under 5MB (currently 5.30MB on /wp-admin/admin.php?page=freemius)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 9.20 ▲5.74 | 61.94 ▲24.59 |
Dashboard /wp-admin | 9.22 ▲5.92 | 71.60 ▲24.29 |
Posts /wp-admin/edit.php | 9.22 ▲5.87 | 81.91 ▲34.62 |
Add New Post /wp-admin/post-new.php | 9.55 ▲3.66 | 110.93 ▲16.48 |
Media Library /wp-admin/upload.php | 9.22 ▲5.99 | 70.13 ▲37.31 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 9.22 | 62.09 |
Server storage [IO: ▲15.54MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 1,034 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
fs_active_plugins |
theysaidso_admin_options |
widget_recent-comments |
fs_debug_mode |
fs_accounts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Element Pack Elementor Addons (Header Footer, Free Template Library, Grid, Carousel, Table, Parallax Animation, Register Form, Twitter Grid)
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲67 | 14.32 ▲0.07 | 1.58 ▼0.18 | 30.20 ▼13.09 |
Dashboard /wp-admin | 2,231 ▲54 | 5.49 ▼0.09 | 97.51 ▼2.53 | 46.04 ▲1.17 |
Posts /wp-admin/edit.php | 2,140 ▲40 | 2.14 ▲0.13 | 38.96 ▼3.31 | 37.98 ▲3.95 |
Add New Post /wp-admin/post-new.php | 1,550 ▲24 | 22.88 ▼0.23 | 695.93 ▲69.66 | 54.01 ▲2.22 |
Media Library /wp-admin/upload.php | 1,442 ▲45 | 4.20 ▲0.05 | 107.15 ▲1.06 | 49.42 ▲7.79 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 1,088 | 1.65 | 28.52 | 31.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% 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
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/bdthemes-element-pack-lite/freemius/includes/class-freemius.php+8486
Undefined property: stdClass::$plugins
- The uninstall procedure has failed, leaving 9 options in the database
- fs_active_plugins
- can_compress_scripts
- fs_debug_mode
- widget_recent-comments
- fs_accounts
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 14× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'MatthiasMullie\\Minify\\Exceptions\\BasicException' not found in wp-content/plugins/bdthemes-element-pack-lite/admin/optimizer/vendor/matthiasmullie/minify/src/Exceptions/IOException.php:19
- > PHP Warning
Use of undefined constant BDTEP__FILE__ - assumed 'BDTEP__FILE__' (this will throw an Error in a future version of PHP) in wp-content/plugins/bdthemes-element-pack-lite/includes/helper.php on line 12
- > PHP Fatal error
Uncaught Error: Class 'MatthiasMullie\\Minify\\Exception' not found in wp-content/plugins/bdthemes-element-pack-lite/admin/optimizer/vendor/matthiasmullie/minify/src/Exceptions/BasicException.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/bdthemes-element-pack-lite/includes/helper.php:13
- > PHP Fatal error
Uncaught Error: Class 'ElementPack_Settings_API' not found in wp-content/plugins/bdthemes-element-pack-lite/admin/admin-settings.php:34
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/plugin.php' (include_path='.:/usr/share/php') in wp-content/plugins/bdthemes-element-pack-lite/bdthemes-element-pack-lite.php on line 25
- > PHP Fatal error
Uncaught Error: Class 'MatthiasMullie\\Minify\\Exceptions\\BasicException' not found in wp-content/plugins/bdthemes-element-pack-lite/admin/optimizer/vendor/matthiasmullie/minify/src/Exceptions/FileImportException.php:19
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/bdthemes-element-pack-lite/bdthemes-element-pack-lite.php on line 25
- > PHP Fatal error
Uncaught Error: Call to undefined function ElementPack\\add_action() in wp-content/plugins/bdthemes-element-pack-lite/admin/admin-notice.php:23
- > PHP Fatal error
Uncaught Error: Class 'MatthiasMullie\\Minify\\Minify' not found in wp-content/plugins/bdthemes-element-pack-lite/admin/optimizer/vendor/matthiasmullie/minify/src/CSS.php:29
- > 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 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 require attention:
- Tags: Too many tags (11 tag instead of maximum 10); only the first 5 tags are used in your directory listing
bdthemes-element-pack-lite/bdthemes-element-pack-lite.php 85% from 13 tests
The main PHP script in "Element Pack Elementor Addons (Header Footer, Free Template Library, Grid, Carousel, Table, Parallax Animation, Register Form, Twitter Grid)" version 5.4.9 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Requires at least: The required version number must match the one declared in readme.txt ("5.0.0" instead of "3.0.0")
- Description: Please keep the plugin description shorter than 140 characters (currently 260 characters long)
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin170,725 lines of code in 940 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 470 | 22,611 | 22,371 | 126,881 |
JavaScript | 119 | 4,037 | 1,994 | 25,890 |
SVG | 193 | 449 | 46 | 16,336 |
CSS | 144 | 40 | 11 | 555 |
LESS | 1 | 103 | 1 | 535 |
Markdown | 2 | 89 | 0 | 252 |
JSON | 8 | 0 | 0 | 218 |
YAML | 1 | 0 | 0 | 46 |
Dockerfile | 1 | 2 | 0 | 11 |
HTML | 1 | 0 | 0 | 1 |
PHP code 50% from 2 tests
A short review of cyclomatic complexity and code structure
Please fix the following
- Cyclomatic complexity of classes should be reduced to less than 1000 (currently 3,073)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 26.83 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,073.00 |
Average method complexity | 3.54 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 159 | |
Interfaces | 1 | |
Traits | 5 | |
Classes | 301 | |
▷ Abstract classes | 10 | 3.32% |
▷ Concrete classes | 291 | 96.68% |
▷ Final classes | 1 | 0.34% |
Methods | 3,151 | |
▷ Static methods | 288 | 9.14% |
▷ Public methods | 2,349 | 74.55% |
▷ Protected methods | 355 | 11.27% |
▷ Private methods | 447 | 14.19% |
Functions | 223 | |
▷ Named functions | 188 | 84.30% |
▷ Anonymous functions | 35 | 15.70% |
Constants | 174 | |
▷ Global constants | 118 | 67.82% |
▷ Class constants | 56 | 32.18% |
▷ Public constants | 56 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
17 PNG files occupy 0.04MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/lens.png | 0.15KB | 0.10KB | ▼ 36.71% |
assets/images/selectarrow.png | 1.03KB | 0.21KB | ▼ 79.16% |
assets/images/marker-shadow.png | 0.60KB | 1.16KB | 0.00% |
assets/images/datatables/sort_asc.png | 0.16KB | 0.25KB | 0.00% |
assets/images/datatables/sort_asc_disabled.png | 0.14KB | 0.25KB | 0.00% |