Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.61MB] [CPU: ▼29.63ms] Passed 4 tests
Server-side resources used by Dooodl
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.44 ▲0.98 | 18.87 ▼19.74 |
Dashboard /wp-admin | 4.67 ▲1.37 | 28.72 ▼16.75 |
Posts /wp-admin/edit.php | 4.67 ▲1.32 | 31.13 ▼14.26 |
Add New Post /wp-admin/post-new.php | 4.67 ▼1.21 | 23.46 ▼67.77 |
Media Library /wp-admin/upload.php | 4.67 ▲1.45 | 27.02 ▼7.14 |
Dooodl /wp-admin/admin.php?page=dooodl-overview | 4.67 | 26.41 |
You shouldn't see this /wp-admin/admin.php?page=dooodl-dummy-item | 4.67 | 23.17 |
Settings /wp-admin/admin.php?page=dooodl-options | 4.67 | 24.35 |
Server storage [IO: ▲7.73MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 549 new files
Database: no new tables, 10 new options
New WordPress options |
---|
redux-framework-tracking |
widget_theysaidso_widget |
widget_dooodl_widget |
theysaidso_admin_options |
dooodl_options |
dooodl_version |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
Dooodl: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,865 ▲104 | 14.09 ▼0.26 | 1.71 ▼0.17 | 41.13 ▲0.76 |
Dashboard /wp-admin | 2,274 ▲97 | 5.64 ▲0.06 | 91.05 ▲5.95 | 38.34 ▼2.87 |
Posts /wp-admin/edit.php | 2,131 ▲31 | 2.01 ▼0.01 | 37.33 ▲0.47 | 39.21 ▲2.35 |
Add New Post /wp-admin/post-new.php | 6,642 ▲5,112 | 24.60 ▲1.46 | 1,031.63 ▲354.63 | 43.16 ▼17.71 |
Media Library /wp-admin/upload.php | 1,425 ▲25 | 4.19 ▲0.02 | 106.98 ▲5.35 | 46.23 ▼2.73 |
Dooodl /wp-admin/admin.php?page=dooodl-overview | 1,144 | 1.70 | 27.74 | 30.86 |
You shouldn't see this /wp-admin/admin.php?page=dooodl-dummy-item | 781 | 1.99 | 24.00 | 22.38 |
Settings /wp-admin/admin.php?page=dooodl-options | 3,173 | 6.57 | 194.43 | 38.45 |
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
It is recommended to fix the following
- This plugin cannot be uninstalled
- > Warning in wp-content/plugins/dooodl/includes/libs/redux-framework/extensions/customizer/extension_customizer.php+291
"continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"?
- Zombie WordPress options detected upon uninstall: 10 options
- widget_dooodl_widget
- widget_recent-comments
- dooodl_options
- redux-framework-tracking
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- dooodl_version
- db_upgraded
Smoke tests 50% 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
- 15 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=dooodl-options
- > Warning in wp-content/plugins/dooodl/includes/libs/redux-framework/extensions/customizer/extension_customizer.php+361
"continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"?
- > GET request to /wp-admin/admin.php?page=dooodl-overview
- > Notice in wp-content/plugins/dooodl/includes/class.dooodl-table-overview.php+359
Undefined variable: meta_query
- > GET request to /wp-admin/admin.php?page=dooodl-overview
- > Notice in wp-content/plugins/dooodl/includes/class.dooodl-table-overview.php+354
Undefined variable: actions
SRP 50% from 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
Please fix the following items
- 57× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/dooodl/includes/libs/advanced-custom-fields/core/fields/file.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/dooodl/includes/libs/advanced-custom-fields/acf.php:37
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/dooodl/includes/libs/advanced-custom-fields/core/controllers/everything_fields.php:31
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/dooodl/includes/class.dooodl-table-overview.php on line 4
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/dooodl/includes/libs/advanced-custom-fields/core/fields/checkbox.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/dooodl/includes/libs/advanced-custom-fields/core/controllers/upgrade.php:25
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/dooodl/includes/libs/advanced-custom-fields/core/fields/wysiwyg.php:10
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/dooodl/includes/libs/advanced-custom-fields/core/fields/number.php:3
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/dooodl/includes/libs/advanced-custom-fields/core/fields/relationship.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/dooodl/includes/libs/advanced-custom-fields/core/controllers/post.php:33
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Screenshots: Please add an image for screenshot #11 (The Dooodl Dashboard Widget.)
dooodl/Dooodl.php 92% from 13 tests
"Dooodl" version 2.0.10's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("dooodl.php" instead of "Dooodl.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin60,723 lines of code in 407 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 127 | 6,851 | 8,626 | 20,622 |
JavaScript | 155 | 4,505 | 3,749 | 15,148 |
PO File | 15 | 5,761 | 8,546 | 12,678 |
CSS | 48 | 1,138 | 595 | 7,346 |
LESS | 30 | 187 | 187 | 3,317 |
Sass | 25 | 3 | 0 | 1,140 |
SVG | 1 | 0 | 0 | 309 |
Markdown | 2 | 29 | 0 | 70 |
Bourne Shell | 1 | 24 | 0 | 55 |
JSON | 2 | 0 | 0 | 37 |
HTML | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 30.95 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 751.00 |
Average method complexity | 5.99 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 95.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 106 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 106 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 636 | |
▷ Static methods | 27 | 4.25% |
▷ Public methods | 621 | 97.64% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 15 | 2.36% |
Functions | 113 | |
▷ Named functions | 113 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 8 | 100.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
69 PNG files occupy 0.26MB with 0.06MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/libs/redux-framework/assets/css/vendor/jquery-ui-bootstrap/images/ui-icons_454545_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
creator/images/ok.png | 6.88KB | 3.93KB | ▼ 42.90% |
includes/libs/redux-framework/assets/css/vendor/jquery-ui-bootstrap/images/ui-icons_222222_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
includes/libs/redux-framework/assets/css/vendor/jquery-ui-bootstrap/images/ui-icons_2e83ff_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
includes/libs/advanced-custom-fields/images/sprite.png | 5.94KB | 2.82KB | ▼ 52.51% |