Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼1.23MB] [CPU: ▼41.47ms] Passed 4 tests
A check of server-side resources used by Mind Doodle Visual Sitemaps & Tasks
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.74 ▼0.71 | 14.95 ▼24.10 |
Dashboard /wp-admin | 2.78 ▼0.52 | 17.19 ▼36.35 |
Posts /wp-admin/edit.php | 2.78 ▼0.57 | 16.77 ▼32.36 |
Add New Post /wp-admin/post-new.php | 2.78 ▼3.10 | 19.36 ▼73.06 |
Media Library /wp-admin/upload.php | 2.78 ▼0.44 | 17.23 ▼16.45 |
Sitemap /wp-admin/admin.php?page=sitemap | 2.78 | 16.81 |
Tasks /wp-admin/admin.php?page=md_tasks | 2.78 | 17.03 |
Mind Doodle /wp-admin/admin.php?page=md_plugin | 2.78 | 17.42 |
Server storage [IO: ▲5.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 130 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
sitemap |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Mind Doodle Visual Sitemaps & Tasks
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,997 ▲262 | 21.52 ▲7.11 | 99.20 ▲97.17 | 46.35 ▲1.49 |
Dashboard /wp-admin | 2,281 ▲96 | 5.91 ▲0.05 | 108.50 ▲6.92 | 40.10 ▼2.92 |
Posts /wp-admin/edit.php | 2,164 ▲75 | 2.03 ▲0.04 | 40.84 ▲5.90 | 34.35 ▼0.66 |
Add New Post /wp-admin/post-new.php | 6,395 ▲4,876 | 27.63 ▲4.55 | 924.54 ▲246.62 | 43.13 ▼17.84 |
Media Library /wp-admin/upload.php | 1,464 ▲76 | 4.21 ▼0.01 | 99.89 ▼5.94 | 44.69 ▲2.54 |
Sitemap /wp-admin/admin.php?page=sitemap | 1,061 | 7.78 | 173.13 | 123.22 |
Tasks /wp-admin/admin.php?page=md_tasks | 942 | 1.82 | 25.85 | 46.39 |
Mind Doodle /wp-admin/admin.php?page=md_plugin | 1,470 | 10.72 | 268.74 | 65.18 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/mind-doodle-sitemap/index.php+201
Trying to access array offset on value of type bool
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Smoke test failed, please fix the following
- 19 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=md_plugin
- > Notice in wp-content/plugins/mind-doodle-sitemap/pages/general.php+235
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=md_plugin
- > User notice in wp-includes/functions.php+5905
Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=md_plugin
- > Notice in wp-content/plugins/mind-doodle-sitemap/index.php+286
Undefined index: doodle_id
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=md_tasks
- > Notice in wp-content/plugins/mind-doodle-sitemap/lib/dfx_oauth.php+131
Undefined property: MDSM_DFX_API_OBJECT::$httpHeader
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=md_tasks
- > Warning in wp-content/plugins/mind-doodle-sitemap/lib/dfx_oauth.php+131
curl_setopt(): You must pass either an object or an array with the CURLOPT_HTTPHEADER argument
- > GET request to /wp-admin/admin.php?page=md_tasks
- > Warning in wp-content/plugins/mind-doodle-sitemap/pages/tasks/agile_summary.php+76
sizeof(): Parameter must be an array or an object that implements Countable
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
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mind-doodle-sitemap/shortcode/shortcode.php:23
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following browser errors
- > GET request to /wp-admin/admin.php?page=sitemap
- > Javascript (severe) in unknown
https://cdnjs.cloudflare.com/ajax/libs/fetch/3.0.0/fetch.min.js?ver=6.3.1 0:1113 Uncaught SyntaxError: Unexpected token 'export'
Optimizations
Plugin configuration 90% 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
These attributes need your attention:
- Donate link: Please fix this invalid URI: ""
mind-doodle-sitemap/index.php 85% from 13 tests
"Mind Doodle Visual Sitemaps & Tasks" version 1.6's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Description: Please don't use more than 140 characters for the plugin description (currently 162 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("mind-doodle-sitemap.php" instead of "index.php")
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 detected16,975 lines of code in 47 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 10 | 135 | 51 | 9,441 |
HTML | 2 | 167 | 2 | 2,738 |
PHP | 19 | 392 | 111 | 2,501 |
JavaScript | 12 | 189 | 134 | 1,752 |
SVG | 3 | 0 | 1 | 542 |
JSON | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 25.50 |
▷ Minimum class complexity | 18.00 |
▷ Maximum class complexity | 33.00 |
Average method complexity | 3.72 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 18 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 13 | 72.22% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 27.78% |
Functions | 75 | |
▷ Named functions | 68 | 90.67% |
▷ Anonymous functions | 7 | 9.33% |
Constants | 8 | |
▷ Global constants | 8 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
15 PNG files occupy 0.58MB with 0.38MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/upgrade-icon-3.png | 15.71KB | 6.24KB | ▼ 60.28% |
assets/images/upgrade-icon-2.png | 8.07KB | 3.86KB | ▼ 52.17% |
assets/images/upgrade-icon-1.png | 24.26KB | 7.84KB | ▼ 67.69% |
assets/images/wp-dash-2.png | 40.97KB | 4.29KB | ▼ 89.53% |
assets/images/md-32x32.png | 3.61KB | 1.63KB | ▼ 55.01% |