Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲4.98MB] [CPU: ▲23.29ms] Passed 4 tests
An overview of server-side resources used by Overlay Image Divi Module
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.88 ▲5.42 | 61.76 ▲18.67 |
Dashboard /wp-admin | 8.90 ▲5.59 | 68.58 ▲21.35 |
Posts /wp-admin/edit.php | 8.90 ▲5.54 | 70.11 ▲24.33 |
Add New Post /wp-admin/post-new.php | 9.24 ▲3.36 | 124.31 ▲28.79 |
Media Library /wp-admin/upload.php | 8.90 ▲5.67 | 74.70 ▲40.82 |
Upgrade ➤ /wp-admin/admin.php?page=lwp_overlay_image-pricing | 8.90 | 60.52 |
Contact Us /wp-admin/admin.php?page=lwp_overlay_image-contact | 8.90 | 54.54 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 8.90 | 56.61 |
Support Forum /wp-admin/admin.php?page=lwp_overlay_image-wp-support-forum | 8.90 | 50.43 |
Server storage [IO: ▲3.40MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 198 new files
Database: no new tables, 9 new options
New WordPress options |
---|
fs_active_plugins |
fs_accounts |
db_upgraded |
fs_debug_mode |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Overlay Image Divi Module: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲70 | 13.27 ▼1.33 | 1.95 ▲0.14 | 45.51 ▼1.65 |
Dashboard /wp-admin | 2,214 ▲29 | 4.88 ▼0.02 | 100.32 ▼2.48 | 36.70 ▼9.45 |
Posts /wp-admin/edit.php | 2,094 ▲5 | 1.99 ▲0.01 | 34.38 ▼2.65 | 35.13 ▼1.01 |
Add New Post /wp-admin/post-new.php | 1,531 ▼5 | 18.31 ▼4.73 | 654.93 ▼23.92 | 50.92 ▼1.79 |
Media Library /wp-admin/upload.php | 1,396 ▲11 | 4.26 ▲0.07 | 94.75 ▼17.49 | 43.89 ▼5.14 |
Upgrade ➤ /wp-admin/admin.php?page=lwp_overlay_image-pricing | 2,196 | 3.31 | 67.61 | 150.06 |
Contact Us /wp-admin/admin.php?page=lwp_overlay_image-contact | 1,537 | 3.17 | 54.38 | 53.51 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 1,060 | 1.90 | 25.92 | 25.04 |
Support Forum /wp-admin/admin.php?page=lwp_overlay_image-wp-support-forum | 2,023 | 3.79 | 90.79 | 94.00 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Uninstall procedure had uncaught errors
- > Notice in wp-content/plugins/overlay-image-divi-module/freemius/includes/class-freemius.php+8486
Undefined property: stdClass::$plugins
- This plugin did not uninstall successfully, leaving 9 options in the database
- can_compress_scripts
- fs_debug_mode
- fs_active_plugins
- fs_accounts
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Please fix the following server-side errors
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=lwp_overlay_image-contact
- > Notice in wp-content/plugins/overlay-image-divi-module/freemius/includes/managers/class-fs-admin-menu-manager.php+710
Trying to access array offset on value of type bool
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=lwp_overlay_image-contact
- > Notice in wp-content/plugins/overlay-image-divi-module/freemius/includes/managers/class-fs-admin-menu-manager.php+710
Trying to access array offset on value of type null
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 4× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'ET_Builder_Module' not found in wp-content/plugins/overlay-image-divi-module/includes/modules/OverlayImages/OverlayImages.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/overlay-image-divi-module/includes/LwpFunctions.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/overlay-image-divi-module/includes/functions-admin.php:20
- > PHP Fatal error
Uncaught Error: Class 'DiviExtension' not found in wp-content/plugins/overlay-image-divi-module/includes/LwpOverlayImages.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 86% 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
These attributes need your attention:
- Screenshots: No descriptions were found for these screenshots #1, #2, #3, #4, #5 in overlay-image-divi-module/assets to your readme.txt
overlay-image-divi-module/lwp-overlay-images.php 77% from 13 tests
This is the main PHP file of "Overlay Image Divi Module" version 1.5, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Description: Keep the plugin description shorter than 140 characters (currently 187 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("overlay-image-divi-module.php" instead of "lwp-overlay-images.php")
Code Analysis 97% from 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
Success! There were no dangerous files found in this plugin34,997 lines of code in 148 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 126 | 8,086 | 17,430 | 34,139 |
Markdown | 1 | 212 | 0 | 453 |
JavaScript | 5 | 34 | 59 | 196 |
PO File | 1 | 72 | 83 | 194 |
CSS | 15 | 0 | 0 | 15 |
PHP code 50% from 2 tests
A short review of cyclomatic complexity and code structure
It is recommended to fix the following
- Class cyclomatic complexity should be reduced to less than 1000 (currently 3,073)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.63 |
Average class complexity | 86.35 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,073.00 |
Average method complexity | 4.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 52 | |
▷ Abstract classes | 2 | 3.85% |
▷ Concrete classes | 50 | 96.15% |
▷ Final classes | 0 | 0.00% |
Methods | 1,269 | |
▷ Static methods | 199 | 15.68% |
▷ Public methods | 880 | 69.35% |
▷ Protected methods | 17 | 1.34% |
▷ Private methods | 372 | 29.31% |
Functions | 105 | |
▷ Named functions | 105 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 145 | |
▷ Global constants | 98 | 67.59% |
▷ Class constants | 47 | 32.41% |
▷ Public constants | 47 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
3 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
freemius/assets/img/overlay-image-divi-module.png | 4.17KB | 3.86KB | ▼ 7.52% |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |