Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼3.91ms] Passed 4 tests
An overview of server-side resources used by Editor Cleanup For Divi Builder: FDP add-on to cleanup the Divi Builder frontend editor
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 37.05 ▼4.06 |
Dashboard /wp-admin | 3.35 ▲0.04 | 44.88 ▼3.59 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 49.15 ▲0.84 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 93.08 ▼5.25 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 35.47 ▼2.75 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] 67% from 3 tests
Filesystem and database footprint
Please fix the following
- Illegal file modification detected: 1 file (2.42KB) outside of "wp-content/plugins/editor-cleanup-for-divi-builder/" and "wp-content/uploads/"
- (new file) wp-content/mu-plugins/fdp-mu-divi-builder.php
Filesystem: 21 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Editor Cleanup For Divi Builder: FDP add-on to cleanup the Divi Builder frontend editor
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲49 | 14.65 ▲0.26 | 1.61 ▼0.16 | 39.04 ▼5.43 |
Dashboard /wp-admin | 2,201 ▲21 | 5.49 ▼0.16 | 87.42 ▼8.69 | 41.11 ▼2.36 |
Posts /wp-admin/edit.php | 2,110 ▲10 | 2.02 ▲0.03 | 39.82 ▲2.40 | 38.28 ▲4.92 |
Add New Post /wp-admin/post-new.php | 1,602 ▲73 | 22.03 ▼1.70 | 564.94 ▼102.85 | 32.25 ▼41.43 |
Media Library /wp-admin/upload.php | 1,406 ▲12 | 4.23 ▲0.05 | 98.51 ▲4.99 | 43.44 ▼1.11 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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 SRP test was a success
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)
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: Add an image for screenshot #1 (How disable plugins in the frontend editor of Divi Builder)
editor-cleanup-for-divi-builder/editor-cleanup-for-divi-builder.php Passed 13 tests
This is the main PHP file of "Editor Cleanup For Divi Builder: FDP add-on to cleanup the Divi Builder frontend editor" version 0.0.4, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
53 characters long description:
An FDP add-on to speed up Divi Builder in the backend
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected571 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 40 | 67 | 554 |
JavaScript | 1 | 0 | 0 | 17 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.52 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 27 | |
▷ Named functions | 20 | 74.07% |
▷ Anonymous functions | 7 | 25.93% |
Constants | 7 | |
▷ Global constants | 7 | 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
No PNG files were detected