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 gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼3.51ms] Passed 4 tests
This is a short check of server-side resources used by Ele Pack Addons
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 49.23 ▲8.19 |
Dashboard /wp-admin | 3.33 ▲0.03 | 53.96 ▲1.57 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 50.96 ▲3.40 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 86.45 ▼17.71 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 39.63 ▼1.30 |
Server storage [IO: ▲0.66MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Ele Pack Addons: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲45 | 14.29 ▼0.06 | 2.11 ▲0.40 | 42.44 ▼1.43 |
Dashboard /wp-admin | 2,212 ▲35 | 5.59 ▼0.09 | 83.29 ▼8.72 | 40.79 ▲1.08 |
Posts /wp-admin/edit.php | 2,120 ▲20 | 2.02 ▼0.01 | 38.38 ▼0.59 | 34.57 ▲1.34 |
Add New Post /wp-admin/post-new.php | 1,540 ▲9 | 23.18 ▲0.52 | 676.34 ▼10.94 | 51.49 ▼3.13 |
Media Library /wp-admin/upload.php | 1,420 ▲23 | 4.25 ▲0.05 | 96.29 ▼20.46 | 48.42 ▲0.00 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 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 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/ele-pack-addons/widgets/ele-card/ele-card.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ele-pack-addons/ele-pack.php:87
- > 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 79% from 29 tests
readme.txt 81% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that require attention:
- Contributors: Plugin contributors field is missing
- Contributors: No valid plugin tags found
- Screenshots: These screenshots do not have images: #1 (Card Element example.), #2 (Card Element hover and Card background and Card content change example.), #3 (Change button style example.), #4 (Card header enable/disable example.), #5 (Card button enable/disable example.)
ele-pack-addons/ele-pack.php 77% from 13 tests
The principal PHP file in "Ele Pack Addons" v. 1.0 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("ele-pack-addons.php" instead of "ele-pack.php")
- Domain Path: The domain path is invalid: folder "/languages/" does not exist
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected1,343 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 63 | 158 | 1,284 |
CSS | 2 | 2 | 3 | 59 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.07 |
Average class complexity | 6.50 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 1.55 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 1 | 50.00% |
Methods | 20 | |
▷ Static methods | 1 | 5.00% |
▷ Public methods | 17 | 85.00% |
▷ Protected methods | 3 | 15.00% |
▷ Private methods | 0 | 0.00% |
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
PNG files should be compressed to save space and minimize bandwidth usage
7 PNG files occupy 0.48MB with 0.28MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/Screenshot_3.png | 88.35KB | 35.45KB | ▼ 59.88% |
assets/banner-772x250.png | 63.64KB | 17.50KB | ▼ 72.51% |
assets/Screenshot_1.png | 92.37KB | 35.42KB | ▼ 61.66% |
assets/Screenshot_5.png | 80.55KB | 33.48KB | ▼ 58.44% |
assets/icon-256x256.png | 10.48KB | 6.70KB | ▼ 36.05% |