Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.22MB] [CPU: ▼2.03ms] Passed 4 tests
Analyzing server-side resources used by EleKits
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.68 ▲0.22 | 41.63 ▼3.74 |
Dashboard /wp-admin | 3.52 ▲0.22 | 54.22 ▼0.04 |
Posts /wp-admin/edit.php | 3.57 ▲0.22 | 54.80 ▼0.73 |
Add New Post /wp-admin/post-new.php | 6.14 ▲0.26 | 88.85 ▼3.59 |
Media Library /wp-admin/upload.php | 3.45 ▲0.22 | 46.88 ▲11.96 |
Server storage [IO: ▲1.26MB] [DB: ▲0.46MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 73 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for EleKits
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,926 ▲140 | 13.50 ▼1.12 | 8.65 ▲6.43 | 41.99 ▼3.68 |
Dashboard /wp-admin | 2,209 ▲32 | 5.53 ▼0.08 | 85.97 ▼12.36 | 86.85 ▲44.29 |
Posts /wp-admin/edit.php | 2,132 ▲32 | 2.12 ▲0.11 | 36.13 ▼3.06 | 37.76 ▲4.21 |
Add New Post /wp-admin/post-new.php | 1,716 ▲190 | 24.53 ▲1.42 | 696.10 ▲12.29 | 64.06 ▲9.21 |
Media Library /wp-admin/upload.php | 1,429 ▲29 | 4.17 ▼0.01 | 110.54 ▲1.82 | 85.96 ▲41.09 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.46MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
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 fix the following items
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/elekits/public/partials/elekits-public-display.php
- > /wp-content/plugins/elekits/admin/partials/elekits-admin-display.php
- 6× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/elekits/includes/classes/class-elekits-sites-white-label.php:69
- > PHP Warning
require_once(ABSPATHwp-admin/includes/image.php): failed to open stream: No such file or directory in wp-content/plugins/elekits/includes/importers/batch-processing/class-elekits-sites-batch-processing.php on line 122
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/elekits/includes/importers/batch-processing/class-elekits-sites-batch-processing.php on line 122
- > PHP Fatal error
Uncaught Error: Class 'WP_Async_Request' not found in wp-content/plugins/elekits/includes/importers/batch-processing/helpers/class-wp-background-process.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/elekits/includes/importers/class-elekits-sites-helper.php:46
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/image.php' (include_path='.:/usr/share/php') in wp-content/plugins/elekits/includes/importers/batch-processing/class-elekits-sites-batch-processing.php on line 122
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 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
7 plugin tags: landing page builder, visual editor, elementor, design, front-end builder...
elekits/elekits.php Passed 13 tests
The primary PHP file in "EleKits" version 0.1.1 is used by WordPress to initiate all plugin functionality
64 characters long description:
Responsive and high-converting Elementor landing page templates.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin15,270 lines of code in 56 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 9 | 1,090 | 106 | 7,842 |
PHP | 30 | 1,227 | 2,673 | 5,740 |
JavaScript | 6 | 321 | 221 | 1,512 |
SVG | 6 | 1 | 4 | 171 |
JSON | 5 | 0 | 0 | 5 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 28.75 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 125.00 |
Average method complexity | 3.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 29.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 20 | |
▷ Abstract classes | 2 | 10.00% |
▷ Concrete classes | 18 | 90.00% |
▷ Final classes | 0 | 0.00% |
Methods | 235 | |
▷ Static methods | 44 | 18.72% |
▷ Public methods | 205 | 87.23% |
▷ Protected methods | 20 | 8.51% |
▷ Private methods | 10 | 4.26% |
Functions | 18 | |
▷ Named functions | 18 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 12 | |
▷ Global constants | 12 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
4 PNG files occupy 0.09MB with 0.04MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/elementor/assets/images/pixabay-logo.png | 7.03KB | 7.12KB | 0.00% |
admin/elementor/assets/images/placeholder.png | 50.74KB | 25.55KB | ▼ 49.64% |
admin/elementor/assets/images/block-editor.png | 24.42KB | 5.73KB | ▼ 76.52% |
admin/elementor/assets/images/elekits-icon.png | 14.21KB | 5.24KB | ▼ 63.17% |