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 gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼1.59ms] Passed 4 tests
An overview of server-side resources used by Addon Package for Elementor
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 38.28 ▲0.28 |
Dashboard /wp-admin | 3.33 ▲0.02 | 49.45 ▲1.40 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 49.00 ▲0.88 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 91.55 ▼8.91 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 35.99 ▲2.93 |
Server storage [IO: ▲0.28MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 36 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Addon Package for Elementor
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,843 ▲108 | 13.26 ▼1.12 | 2.03 ▲0.06 | 43.56 ▼14.45 |
Dashboard /wp-admin | 2,224 ▲36 | 4.84 ▼0.06 | 113.03 ▲11.48 | 42.06 ▲1.70 |
Posts /wp-admin/edit.php | 2,106 ▲17 | 2.02 ▼0.03 | 41.19 ▲3.41 | 36.50 ▲1.34 |
Add New Post /wp-admin/post-new.php | 1,547 ▲14 | 23.33 ▲0.10 | 584.81 ▲2.01 | 51.97 ▼3.77 |
Media Library /wp-admin/upload.php | 1,406 ▲18 | 4.27 ▲0.11 | 97.97 ▲1.27 | 41.93 ▼1.11 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
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
The smoke test was a success, however most plugin functionality was not tested
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
The following issues need your attention
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function AddonPackageForElementor\\add_action() in wp-content/plugins/addon-package-for-elementor/plugin.php:97
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Screenshots: No descriptions were found for these screenshots #1, #2 in addon-package-for-elementor/assets to your readme.txt
- Requires php: Invalid plugin version format
addon-package-for-elementor/addon-package-for-elementor.php Passed 13 tests
The main PHP script in "Addon Package for Elementor" version 1.0.2 is automatically included on every request by WordPress
111 characters long description:
Addon Package for Elementor. Includes FlexSlider (Carousel, Basic) + WooCommerce Slider (Products & Categories)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin5,263 lines of code in 25 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 370 | 71 | 2,527 |
JavaScript | 3 | 163 | 128 | 1,341 |
PO File | 4 | 352 | 672 | 764 |
CSS | 3 | 13 | 62 | 307 |
LESS | 8 | 180 | 70 | 305 |
SVG | 1 | 0 | 0 | 19 |
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.34 |
Average class complexity | 30.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 65.00 |
Average method complexity | 5.03 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 62.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 1 | 20.00% |
Methods | 36 | |
▷ Static methods | 1 | 2.78% |
▷ Public methods | 27 | 75.00% |
▷ Protected methods | 8 | 22.22% |
▷ Private methods | 1 | 2.78% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 3 | 100.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
ressources/flexslider/images/bg_play_pause.png | 1.51KB | 0.52KB | ▼ 65.52% |
assets/img/placeholder.png | 15.33KB | 11.36KB | ▼ 25.86% |