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.04MB] [CPU: ▼3.55ms] Passed 4 tests
A check of server-side resources used by Deen Post Layouts Addon for Elementor
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.04 | 46.90 ▲1.68 |
Dashboard /wp-admin | 3.39 ▲0.04 | 48.84 ▼3.04 |
Posts /wp-admin/edit.php | 3.50 ▲0.10 | 47.62 ▼6.86 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.04 | 91.30 ▼5.99 |
Media Library /wp-admin/upload.php | 3.31 ▲0.04 | 38.82 ▲1.83 |
Server storage [IO: ▲3.03MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 33 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Deen Post Layouts Addon for Elementor
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,831 ▲70 | 14.18 ▼0.53 | 1.84 ▲0.14 | 44.48 ▼2.93 |
Dashboard /wp-admin | 2,209 ▲35 | 5.52 ▼0.05 | 87.31 ▼4.93 | 41.28 ▼0.08 |
Posts /wp-admin/edit.php | 2,117 ▲17 | 1.98 ▲0.01 | 35.34 ▼1.95 | 34.83 ▲1.89 |
Add New Post /wp-admin/post-new.php | 1,538 ▲5 | 23.17 ▲0.36 | 638.14 ▼54.30 | 50.60 ▼7.59 |
Media Library /wp-admin/upload.php | 1,417 ▲14 | 4.28 ▲0.10 | 103.81 ▲1.51 | 45.12 ▼0.94 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- 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
Even though no errors were found, 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
Please take a closer look at the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/deen-post-layouts-addon-for-elementor/deen-post-layouts-addon.php:22
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Screenshots: Add a description for screenshot #5 in deen-post-layouts-addon-for-elementor/assets to your readme.txt
deen-post-layouts-addon-for-elementor/deen-post-layouts-addon.php 69% from 13 tests
"Deen Post Layouts Addon for Elementor" version 1.0.3's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("deen-post-layouts-addon-for-elementor.php" instead of "deen-post-layouts-addon.php")
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Requires at least: Required version does not match the one declared in readme.txt ("5.9.0" instead of "5.2")
- Requires PHP: Required version does not match the one declared in readme.txt ("7.4" instead of "7.2")
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
Success! There were no dangerous files found in this plugin17,561 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 3 | 0 | 0 | 9,546 |
CSS | 7 | 225 | 18 | 5,618 |
PHP | 3 | 211 | 114 | 2,123 |
PO File | 1 | 115 | 141 | 247 |
JavaScript | 1 | 3 | 2 | 27 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 36.00 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 62.00 |
Average method complexity | 4.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 60.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 1 | 50.00% |
Methods | 21 | |
▷ Static methods | 1 | 4.76% |
▷ Public methods | 19 | 90.48% |
▷ Protected methods | 2 | 9.52% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
3 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/Ov.png | 5.46KB | 1.55KB | ▼ 71.68% |
assets/img/video.png | 1.80KB | 1.19KB | ▼ 34.07% |
assets/img/placeholder.png | 6.38KB | 3.16KB | ▼ 50.44% |