Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼8.63ms] Passed 4 tests
Analyzing server-side resources used by Dadevarzan Beaver Builder Modules
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 38.98 ▼1.03 |
Dashboard /wp-admin | 3.31 ▲0.01 | 52.21 ▲2.84 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.86 ▼0.82 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 90.41 ▼32.04 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.88 ▼0.61 |
Server storage [IO: ▲29.46MB] [DB: ▲0.00MB] 67% from 3 tests
Filesystem and database footprint
It is recommended to fix the following issues
- The filesystem usage should be lower than 25MB (currently using 29.46MB)
Filesystem: 55 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
Dadevarzan Beaver Builder Modules: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.74 ▲0.47 | 1.68 ▼0.07 | 43.20 ▲2.59 |
Dashboard /wp-admin | 2,195 ▲18 | 5.62 ▼0.00 | 89.83 ▼0.74 | 41.89 ▼3.14 |
Posts /wp-admin/edit.php | 2,100 ▲3 | 2.00 ▲0.00 | 37.08 ▼0.13 | 34.19 ▼4.73 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.32 ▲0.23 | 688.61 ▲36.29 | 56.40 ▲5.14 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.30 ▲0.03 | 95.77 ▼13.13 | 43.58 ▲1.22 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 4× PHP files output text when accessed directly:
- > /wp-content/plugins/dadevarzan-beaver-builder-modules/modules/scroll-add-class/includes/frontend.js.php
- > /wp-content/plugins/dadevarzan-beaver-builder-modules/modules/scroll-add-class/includes/frontend.php
- > /wp-content/plugins/dadevarzan-beaver-builder-modules/modules/date-and-time/includes/frontend.php
- > /wp-content/plugins/dadevarzan-beaver-builder-modules/modules/iran-map/includes/frontend.php
- 35× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'FLBuilderModule' not found in wp-content/plugins/dadevarzan-beaver-builder-modules/modules/date-and-time/date-and-time.php:7
- > PHP Fatal error
Uncaught Error: Class 'FLBuilderModule' not found in wp-content/plugins/dadevarzan-beaver-builder-modules/modules/powered-by/powered-by.php:7
- > PHP Notice
Undefined variable: id in wp-content/plugins/dadevarzan-beaver-builder-modules/modules/iran-map/includes/frontend.css.php on line 16
- > PHP Notice
Undefined variable: settings in wp-content/plugins/dadevarzan-beaver-builder-modules/modules/date-and-time/includes/frontend.php on line 22
- > PHP Fatal error
Uncaught Error: Class 'FLBuilderModule' not found in wp-content/plugins/dadevarzan-beaver-builder-modules/modules/scroll-add-class/scroll-add-class.php:7
- > PHP Notice
Trying to get property 'border_color' of non-object in wp-content/plugins/dadevarzan-beaver-builder-modules/modules/iran-map/includes/frontend.css.php on line 2
- > PHP Notice
Undefined variable: settings in wp-content/plugins/dadevarzan-beaver-builder-modules/modules/date-and-time/includes/frontend.php on line 3
- > PHP Notice
Undefined variable: id in wp-content/plugins/dadevarzan-beaver-builder-modules/modules/iran-map/includes/frontend.css.php on line 13
- > PHP Notice
Trying to get property 'province_color' of non-object in wp-content/plugins/dadevarzan-beaver-builder-modules/modules/iran-map/includes/frontend.css.php on line 8
- > PHP Notice
Undefined variable: id in wp-content/plugins/dadevarzan-beaver-builder-modules/modules/iran-map/includes/frontend.css.php on line 16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
6 plugin tags: beaver builder, beaver builder modules, dadehvarzan, beaver builder addons, beaver builder extensions...
dadevarzan-beaver-builder-modules/fl-dadevarzan-beaverbuilder-modules.php 85% from 13 tests
Analyzing the main PHP file in "Dadevarzan Beaver Builder Modules" version 1.5.0
Please make the necessary changes and 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: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("dadevarzan-beaver-builder-modules.php" instead of "fl-dadevarzan-beaverbuilder-modules.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected1,551 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 82 | 113 | 959 |
PO File | 2 | 222 | 238 | 483 |
CSS | 2 | 0 | 0 | 50 |
JavaScript | 3 | 10 | 0 | 50 |
Markdown | 1 | 3 | 0 | 9 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 2.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 1.91 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 11 | |
▷ Static methods | 1 | 9.09% |
▷ Public methods | 11 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin