Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼9.28ms] Passed 4 tests
A check of server-side resources used by Digital Marketing and Agency Templates Addons for Elementor
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 38.70 ▼10.59 |
Dashboard /wp-admin | 3.31 ▲0.01 | 54.93 ▼0.18 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 53.60 ▲0.24 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 81.40 ▼26.57 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 40.88 ▲4.16 |
Server storage [IO: ▲7.02MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 92 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Digital Marketing and Agency Templates Addons for Elementor
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,832 ▲71 | 14.49 ▲0.20 | 1.81 ▼0.25 | 42.78 ▼0.74 |
Dashboard /wp-admin | 2,238 ▲32 | 5.87 ▲0.06 | 99.33 ▼8.35 | 37.84 ▼7.74 |
Posts /wp-admin/edit.php | 2,120 ▲23 | 2.03 ▼0.01 | 37.08 ▼2.51 | 35.81 ▼1.33 |
Add New Post /wp-admin/post-new.php | 1,543 ▲17 | 23.20 ▲5.82 | 635.81 ▼30.21 | 61.42 ▼15.40 |
Media Library /wp-admin/upload.php | 1,414 ▲14 | 4.27 ▲0.05 | 110.24 ▲1.36 | 46.09 ▼6.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- 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)
Good news, no errors were detected
SRP 50% 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
The following issues need your attention
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function DigitalMarketingTemplates\\add_action() in wp-content/plugins/digital-marketing-agency-templates-for-elementor/includes/plugin.php:158
- > 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 on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: addon, elementor, agency, template, digital marketing
digital-marketing-agency-templates-for-elementor/digital-marketing-elementor-templates.php 85% from 13 tests
The principal PHP file in "Digital Marketing and Agency Templates Addons for Elementor" v. 1.1.1 is loaded by WordPress automatically on each request
It is important to fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Main file name: It is recommended to name the main PHP file as the plugin slug ("digital-marketing-agency-templates-for-elementor.php" instead of "digital-marketing-elementor-templates.php")
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
Good job! No executable or dangerous file extensions detected17,367 lines of code in 51 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 5 | 2 | 13 | 9,454 |
CSS | 11 | 427 | 167 | 4,986 |
PHP | 21 | 518 | 1,569 | 2,319 |
JavaScript | 10 | 78 | 117 | 596 |
HTML | 1 | 0 | 0 | 9 |
JSON | 3 | 0 | 0 | 3 |
PHP code Passed 2 tests
A brief analysis 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.15 |
Average class complexity | 4.16 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 1.45 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 19 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 19 | 100.00% |
▷ Final classes | 1 | 5.26% |
Methods | 134 | |
▷ Static methods | 1 | 0.75% |
▷ Public methods | 99 | 73.88% |
▷ Protected methods | 33 | 24.63% |
▷ Private methods | 2 | 1.49% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 6 | 66.67% |
▷ Class constants | 3 | 33.33% |
▷ Public constants | 3 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
15 PNG files occupy 2.22MB with 1.17MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/instructions/elementor-add-templates.png | 7.29KB | 4.14KB | ▼ 43.22% |
assets/images/default/testimonial-arrow-top.png | 4.00KB | 2.14KB | ▼ 46.33% |
assets/images/default/t5-hero-shape.png | 218.06KB | 87.82KB | ▼ 59.72% |
assets/images/default/search-engine.png | 54.50KB | 22.17KB | ▼ 59.31% |
assets/images/default/priching-img-1.png | 11.22KB | 5.17KB | ▼ 53.93% |