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.14MB] [CPU: ▼3.39ms] Passed 4 tests
This is a short check of server-side resources used by Content Visibility for Divi Builder
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 41.93 ▲1.31 |
Dashboard /wp-admin | 3.44 ▲0.14 | 44.83 ▼3.61 |
Posts /wp-admin/edit.php | 3.55 ▲0.20 | 45.51 ▼3.67 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.16 | 91.56 ▼7.57 |
Media Library /wp-admin/upload.php | 3.36 ▲0.14 | 35.36 ▲2.87 |
Module Extender API Reference /wp-admin/tools.php?page=module-extender-for-divi-builder-api-reference | 3.33 | 29.82 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
content_visibility_for_divi_builder_version |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Content Visibility for Divi Builder
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,826 ▲55 | 13.21 ▼1.16 | 1.66 ▼0.41 | 43.57 ▼1.86 |
Dashboard /wp-admin | 2,235 ▲53 | 4.91 ▼0.96 | 113.45 ▲10.70 | 47.87 ▲6.15 |
Posts /wp-admin/edit.php | 2,115 ▲26 | 2.06 ▲0.05 | 40.95 ▲5.00 | 40.60 ▲4.99 |
Add New Post /wp-admin/post-new.php | 1,538 ▲24 | 23.11 ▲5.50 | 627.80 ▲8.95 | 55.67 ▲2.02 |
Media Library /wp-admin/upload.php | 1,411 ▲20 | 4.23 ▲0.03 | 98.03 ▼4.67 | 44.46 ▼1.86 |
Module Extender API Reference /wp-admin/tools.php?page=module-extender-for-divi-builder-api-reference | 865 | 2.07 | 26.57 | 39.44 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 7 options
- widget_theysaidso_widget
- content_visibility_for_divi_builder_version
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
Smoke tests Passed 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 Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Tags: You are using too many tags: 14 tag instead of maximum 10
content-visibility-for-divi-builder/content-visibility-for-divi-builder.php Passed 13 tests
The main PHP file in "Content Visibility for Divi Builder" ver. 3.22 adds more information about the plugin and also serves as the entry point for this plugin
100 characters long description:
Allows Sections and Modules to be displayed/hidden based on the outcome of a PHP boolean expression.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin530 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 75 | 45 | 425 |
JavaScript | 2 | 14 | 7 | 100 |
CSS | 1 | 0 | 0 | 5 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.59 |
Average class complexity | 11.00 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 2.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 23 | |
▷ Named functions | 4 | 17.39% |
▷ Anonymous functions | 19 | 82.61% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin