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 successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.01MB] [CPU: ▼5.88ms] Passed 4 tests
A check of server-side resources used by The Pack Elementor addons (Header Footer & WooCommerce Builder, Template Library)
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 34.94 ▼5.15 |
Dashboard /wp-admin | 3.31 ▼0.03 | 45.49 ▼14.33 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 44.14 ▼0.86 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 85.88 ▼3.16 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 32.54 ▼0.48 |
Starter Sites /wp-admin/admin.php?page=the-pack-demo | 3.00 | 23.13 |
The Pack /wp-admin/admin.php?page=the-pack | 3.00 | 28.15 |
Server storage [IO: ▲7.57MB] [DB: ▲0.08MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 734 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
_thepack |
db_upgraded |
Browser metrics Passed 4 tests
The Pack Elementor addons (Header Footer & WooCommerce Builder, Template Library): an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲54 | 14.24 ▼0.08 | 1.62 ▼0.07 | 35.89 ▼7.86 |
Dashboard /wp-admin | 2,189 ▲11 | 5.53 ▼0.12 | 87.44 ▼27.84 | 39.20 ▼8.75 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.97 ▲0.00 | 34.42 ▼3.44 | 35.45 ▼1.54 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.26 ▼0.09 | 693.92 ▲7.56 | 61.84 ▲7.11 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.20 ▲0.05 | 95.38 ▼1.37 | 41.91 ▲0.85 |
Starter Sites /wp-admin/admin.php?page=the-pack-demo | 28 | 0.41 | 0.10 | 3.48 |
The Pack /wp-admin/admin.php?page=the-pack | 28 | 0.41 | 0.11 | 4.04 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.08MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- _thepack
Smoke tests 25% 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 0% 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
- 15× GET requests to PHP files return non-empty strings (only 10 are shown):
- > /wp-content/plugins/the-pack-addon/includes/widgets/element/iconbox_alternate/view.php
- > /wp-content/plugins/the-pack-addon/includes/widgets/element/imgbox_4/view.php
- > /wp-content/plugins/the-pack-addon/includes/widgets/woocommerce/woo-category/style_1.php
- > /wp-content/plugins/the-pack-addon/includes/widgets/element/separator/view.php
- > /wp-content/plugins/the-pack-addon/includes/widgets/woocommerce/woo-filter-sidebar/view.php
- > /wp-content/plugins/the-pack-addon/includes/widgets/element/case_grid/two.php
- > /wp-content/plugins/the-pack-addon/includes/widgets/element/case_grid/one.php
- > /wp-content/plugins/the-pack-addon/includes/widgets/element/circle-text/view.php
- > /wp-content/plugins/the-pack-addon/includes/widgets/element/cta2/view.php
- > /wp-content/plugins/the-pack-addon/includes/widgets/element/star-rating/view.php
- 845× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/the-pack-addon/includes/widgets/element/imgbox_4/view.php on line 15
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/the-pack-addon/includes/widgets/element/scroll_to/two.php on line 2
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/the-pack-addon/includes/widgets/element/videobg-pop/view.php on line 4
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/the-pack-addon/includes/widgets/element/team_2/view.php on line 17
- > PHP Fatal error
Uncaught Error: Call to undefined function the_pack_render_icon() in wp-content/plugins/the-pack-addon/includes/widgets/element/offscreen_menu/view.php:2
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/the-pack-addon/includes/widgets/element/counter_circle/one.php on line 13
- > PHP Notice
Undefined variable: settings in wp-content/plugins/the-pack-addon/includes/widgets/element/slidercarousel/view.php on line 4
- > PHP Notice
Undefined variable: settings in wp-content/plugins/the-pack-addon/includes/widgets/element/gallery_carousel/view.php on line 13
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/the-pack-addon/includes/widgets/element/iconbox_alternate/view.php on line 5
- > PHP Notice
Undefined variable: settings in wp-content/plugins/the-pack-addon/includes/widgets/element/testimonial_1/two.php on line 6
- > PHP Notice
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following browser errors
- > GET request to /wp-admin/admin.php?page=the-pack-demo
- > Network (severe)
wp-admin/admin.php?page=the-pack-demo - Failed to load resource: the server responded with a status of 403 (Forbidden)
- > GET request to /wp-admin/admin.php?page=the-pack
- > Network (severe)
wp-admin/admin.php?page=the-pack - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration 86% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: template library, header footer, elementor widgets, addons, elementor
the-pack-addon/index.php 69% from 13 tests
The main file in "The Pack Elementor addons (Header Footer & WooCommerce Builder, Template Library)" v. 2.0.5 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 152 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("the-pack-addon.php" instead of "index.php")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Domain Path: The domain path points to a folder that does not exist ("/languages/")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin145,932 lines of code in 711 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 505 | 13,226 | 2,975 | 87,317 |
CSS | 107 | 1,977 | 613 | 20,036 |
HTML | 1 | 4,603 | 0 | 13,870 |
JavaScript | 33 | 3,447 | 822 | 13,739 |
SVG | 48 | 1 | 2 | 6,149 |
Sass | 15 | 954 | 3 | 4,811 |
JSON | 2 | 4 | 0 | 10 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 10.80 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 214.00 |
Average method complexity | 2.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 57.00 |
Code structure | ||
---|---|---|
Namespaces | 24 | |
Interfaces | 0 | |
Traits | 1 | |
Classes | 325 | |
▷ Abstract classes | 12 | 3.69% |
▷ Concrete classes | 313 | 96.31% |
▷ Final classes | 2 | 0.64% |
Methods | 2,106 | |
▷ Static methods | 294 | 13.96% |
▷ Public methods | 1,621 | 76.97% |
▷ Protected methods | 376 | 17.85% |
▷ Private methods | 109 | 5.18% |
Functions | 107 | |
▷ Named functions | 95 | 88.79% |
▷ Anonymous functions | 12 | 11.21% |
Constants | 48 | |
▷ Global constants | 9 | 18.75% |
▷ Class constants | 39 | 81.25% |
▷ Public constants | 39 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/framework/assets/images/checkerboard.png | 2.29KB | 2.54KB | 0.00% |