Benchmarks
Plugin footprint 65% 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: ▼1.63MB] [CPU: ▼53.46ms] Passed 4 tests
Server-side resources used by ACME Divi Modules
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.63 ▼1.11 | 11.46 ▼34.54 |
Dashboard /wp-admin | 2.68 ▼0.96 | 21.40 ▼44.96 |
Posts /wp-admin/edit.php | 2.68 ▼1.00 | 15.94 ▼48.93 |
Add New Post /wp-admin/post-new.php | 2.67 ▼3.47 | 17.16 ▼85.41 |
Media Library /wp-admin/upload.php | 2.68 ▼0.81 | 15.35 ▼21.53 |
Divi Modules /wp-admin/admin.php?page=acme-divi-modules | 2.67 | 15.52 |
Server storage [IO: ▲0.42MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 47 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for ACME Divi Modules
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,891 ▲130 | 13.54 ▼0.84 | 10.19 ▲8.46 | 39.97 ▼3.42 |
Dashboard /wp-admin | 2,217 ▲40 | 5.66 ▲0.00 | 89.69 ▼3.55 | 35.15 ▼11.13 |
Posts /wp-admin/edit.php | 2,122 ▲19 | 2.00 ▲0.01 | 40.60 ▼6.47 | 35.74 ▼2.69 |
Add New Post /wp-admin/post-new.php | 1,561 ▲16 | 22.94 ▼0.14 | 642.42 ▲42.42 | 51.93 ▲4.24 |
Media Library /wp-admin/upload.php | 1,419 ▲22 | 4.25 ▼0.07 | 109.56 ▲4.80 | 47.28 ▲1.44 |
Divi Modules /wp-admin/admin.php?page=acme-divi-modules | 819 | 1.82 | 27.22 | 27.93 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Uninstall procedure had uncaught errors
- > Notice in wp-content/plugins/acme-divi-modules/admin/class-acme-divi-modules-admin.php+563
Trying to access array offset on value of type bool
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- db_upgraded
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Almost there, just fix the following server-side errors
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=acme-divi-modules
- > Notice in wp-content/plugins/acme-divi-modules/admin/class-acme-divi-modules-admin.php+563
Trying to access array offset on value of type bool
- > GET request to /wp-admin/admin.php?page=acme-divi-modules
- > Notice in wp-content/plugins/acme-divi-modules/admin/class-acme-divi-modules-admin.php+452
Undefined variable: myCSS
- > GET request to /wp-admin/admin.php?page=acme-divi-modules
- > Notice in wp-content/plugins/acme-divi-modules/admin/partials/acme-divi-modules-admin-display.php+15
Undefined index: acme_tab
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
Please fix the following items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/acme-divi-modules/public/partials/acme-divi-modules-public-display.php
- 10× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/acme-divi-modules/admin/partials/acme-divi-modules-admin-display-abmb-main-form.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/acme-divi-modules/admin/partials/acme-divi-modules-admin-display-abmsi-main-form.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/acme-divi-modules/admin/partials/acme_divi_modules_options.php:9
- > PHP Notice
Undefined index: acme_tab in wp-content/plugins/acme-divi-modules/admin/partials/acme-divi-modules-admin-display.php on line 15
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/acme-divi-modules/admin/partials/acme-divi-modules-admin-display-abmp-post_type-loop.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/acme-divi-modules/admin/partials/acme-divi-modules-admin-display-abmp-terms-loop.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/acme-divi-modules/admin/partials/acme-divi-modules-admin-display-options.php:19
- > PHP Fatal error
Uncaught Error: Class 'ET_Builder_Module' not found in wp-content/plugins/acme-divi-modules/admin/class-acme-divi-modules-modules.php:28
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/acme-divi-modules/admin/partials/acme-divi-modules-admin-display-abmp-main-form.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/acme-divi-modules/admin/partials/acme-divi-modules-admin-display.php:33
- > 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 on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Plugin Name: You should set the name of your plugin on the first line (
=== acme-divi-modules ===
)
acme-divi-modules/acme-divi-modules.php Passed 13 tests
The main PHP script in "ACME Divi Modules" version 1.3.5 is automatically included on every request by WordPress
50 characters long description:
This plugin add some extra modules to Divi Builder
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
No dangerous file extensions were detected6,215 lines of code in 29 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 21 | 552 | 1,003 | 3,540 |
CSS | 3 | 89 | 64 | 1,415 |
PO File | 2 | 355 | 653 | 1,028 |
JavaScript | 3 | 57 | 59 | 232 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 29.36 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 149.00 |
Average method complexity | 5.66 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 84.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 67 | |
▷ Static methods | 5 | 7.46% |
▷ Public methods | 59 | 88.06% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 8 | 11.94% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
9 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/css/images/ui-bg_dots-small_65_a6a6a6_2x2.png | 0.20KB | 0.08KB | ▼ 57.97% |
admin/css/images/ui-icons_ffffff_256x240.png | 6.15KB | 4.17KB | ▼ 32.13% |
admin/css/images/ui-icons_cc0000_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |
admin/css/images/ui-bg_highlight-hard_100_eeeeee_1x100.png | 0.25KB | 0.14KB | ▼ 43.65% |
admin/css/images/ui-bg_diagonals-thick_75_f3d8d8_40x40.png | 0.40KB | 0.15KB | ▼ 61.99% |