Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.13MB] [CPU: ▼6.75ms] Passed 4 tests
A check of server-side resources used by Element Invader - Elementor Template Kits Library
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 38.25 ▼4.56 |
Dashboard /wp-admin | 3.49 ▲0.19 | 46.64 ▼5.01 |
Posts /wp-admin/edit.php | 3.52 ▲0.17 | 45.31 ▼3.92 |
Add New Post /wp-admin/post-new.php | 6.14 ▲0.25 | 78.69 ▼13.50 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 33.81 ▲0.21 |
Other Layouts /wp-admin/admin.php?page=elementinvader_marketplace | 3.64 | 37.66 |
Contact Us /wp-admin/admin.php?page=elementinvader_contact | 3.37 | 34.40 |
Theme Layouts /wp-admin/admin.php?page=elementinvader | 3.68 | 32.56 |
Server storage [IO: ▲2.43MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 84 new files
Database: no new tables, 8 new options
New WordPress options |
---|
winter_mvc_active_plugins |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
elementinvader_reviews_installed_on |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Element Invader - Elementor Template Kits Library
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,933 ▲198 | 14.02 ▼0.36 | 5.60 ▲3.31 | 47.61 ▼2.55 |
Dashboard /wp-admin | 2,235 ▲47 | 6.04 ▲1.14 | 103.69 ▼2.32 | 58.15 ▲16.11 |
Posts /wp-admin/edit.php | 2,127 ▲38 | 2.05 ▲0.03 | 36.14 ▲0.26 | 52.22 ▲13.77 |
Add New Post /wp-admin/post-new.php | 1,548 ▲15 | 23.27 ▲0.04 | 607.73 ▼69.47 | 48.64 ▼5.37 |
Media Library /wp-admin/upload.php | 1,420 ▲35 | 4.23 ▲0.01 | 100.71 ▼5.06 | 58.99 ▲14.41 |
Other Layouts /wp-admin/admin.php?page=elementinvader_marketplace | 4,381 | 2.19 | 45.26 | 101.85 |
Contact Us /wp-admin/admin.php?page=elementinvader_contact | 1,062 | 1.72 | 22.84 | 61.98 |
Theme Layouts /wp-admin/admin.php?page=elementinvader | 955 | 1.90 | 27.23 | 49.88 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 8 options
- elementinvader_reviews_installed_on
- widget_recent-posts
- db_upgraded
- winter_mvc_active_plugins
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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
Almost there! Just fix the following items
- 6× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/elementinvader/public/partials/elementinvader-public-display.php
- > /wp-content/plugins/elementinvader/application/controllers/Elementinvader_contact.php
- > /wp-content/plugins/elementinvader/application/controllers/Elementinvader_marketplace.php
- > /wp-content/plugins/elementinvader/admin/partials/elementinvader-admin-display.php
- > /wp-content/plugins/elementinvader/application/controllers/Elementinvader.php
- > /wp-content/plugins/elementinvader/application/views/general/footer.php
- 9× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\TemplateLibrary\\Source_Local' not found in wp-content/plugins/elementinvader/vendor/ElementorImporter/ElementorTemplateExporter.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/elementinvader/application/views/elementinvader/install_plugins_all.php:10
- > PHP Fatal error
Uncaught Error: Class 'CI_Model' not found in wp-content/plugins/elementinvader/application/core/MY_Model.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/elementinvader/vendor/Winter_MVC/init.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/elementinvader/application/views/elementinvader/install_plugins.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/elementinvader/application/views/elementinvader_marketplace/index.php:27
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/elementinvader/application/views/elementinvader_contact/index.php:27
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/elementinvader/application/views/elementinvader/export_zip.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/elementinvader/application/views/elementinvader/index.php:26
- > 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 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 your attention:
- Donate link: Invalid url: ""
- Screenshots: Screenshot #1 (ElementInvader Elementor Templates) image required
elementinvader/elementinvader.php Passed 13 tests
The principal PHP file in "Element Invader - Elementor Template Kits Library" v. 1.2.3 is loaded by WordPress automatically on each request
127 characters long description:
ElementInvader offers premium library of one click ready and free Elementor templates from https://elementinvader.com/ service.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin17,655 lines of code in 61 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 41 | 2,244 | 1,966 | 7,198 |
SVG | 2 | 0 | 8 | 5,462 |
JavaScript | 9 | 548 | 376 | 1,766 |
CSS | 5 | 231 | 41 | 1,733 |
Sass | 2 | 233 | 0 | 1,296 |
Markdown | 1 | 14 | 0 | 191 |
HTML | 1 | 2 | 0 | 9 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 23.46 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 139.00 |
Average method complexity | 3.27 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 38.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 26 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 26 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 255 | |
▷ Static methods | 18 | 7.06% |
▷ Public methods | 232 | 90.98% |
▷ Protected methods | 6 | 2.35% |
▷ Private methods | 17 | 6.67% |
Functions | 104 | |
▷ Named functions | 103 | 99.04% |
▷ Anonymous functions | 1 | 0.96% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/elementinvader-logo.png | 12.80KB | 6.28KB | ▼ 50.92% |
admin/images/icon-256x256.png | 30.94KB | 10.74KB | ▼ 65.29% |