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
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼7.25ms] Passed 4 tests
A check of server-side resources used by Document Embedder Addon For Elementor
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 43.87 ▲4.18 |
Dashboard /wp-admin | 3.33 ▲0.02 | 53.72 ▼0.49 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 50.77 ▼24.96 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 102.44 ▼3.10 |
Media Library /wp-admin/upload.php | 3.26 ▲0.02 | 41.24 ▼0.43 |
Server storage [IO: ▲1.05MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 23 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Document Embedder Addon For Elementor
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲30 | 14.78 ▲1.58 | 1.70 ▼4.41 | 48.96 ▲7.02 |
Dashboard /wp-admin | 2,228 ▲19 | 4.85 ▲0.02 | 103.72 ▼10.06 | 42.09 ▼2.86 |
Posts /wp-admin/edit.php | 2,107 ▲21 | 2.04 ▲0.04 | 37.09 ▼0.53 | 34.07 ▼0.02 |
Add New Post /wp-admin/post-new.php | 1,547 ▲14 | 23.26 ▲0.14 | 782.55 ▲136.31 | 57.15 ▲9.12 |
Media Library /wp-admin/upload.php | 1,407 ▲16 | 4.24 ▼0.01 | 107.69 ▲6.40 | 44.86 ▼0.73 |
Uninstaller [IO: ✅] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_recent-posts
Smoke tests 75% 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 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
The following issues need your attention
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/document-embedder-addons-for-elementor/enable-mime-type.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function BAddon\\add_action() in wp-content/plugins/document-embedder-addons-for-elementor/plugin.php:142
- > 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 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Screenshots: Add descriptions for screenshots #1, #10, #2, #3, #4, #5, #6, #7, #8, #9, #0 in document-embedder-addons-for-elementor/assets to your readme.txt
document-embedder-addons-for-elementor/document-embedder-addons-for-elementor.php 92% from 13 tests
The entry point to "Document Embedder Addon For Elementor" version 1.0.1 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected2,529 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 265 | 177 | 2,441 |
CSS | 2 | 4 | 1 | 71 |
JavaScript | 1 | 1 | 0 | 17 |
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.19 |
Average class complexity | 5.83 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.77 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 12 | 100.00% |
▷ Final classes | 1 | 8.33% |
Methods | 75 | |
▷ Static methods | 1 | 1.33% |
▷ Public methods | 54 | 72.00% |
▷ Protected methods | 20 | 26.67% |
▷ Private methods | 1 | 1.33% |
Functions | 2 | |
▷ Named functions | 2 | 100.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin