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
Install script ran successfully
Server metrics [RAM: ▲0.15MB] [CPU: ▼19.59ms] Passed 4 tests
A check of server-side resources used by Admin Todotastic
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.77 ▲0.31 | 24.25 ▼19.45 |
Dashboard /wp-admin | 3.49 ▲0.19 | 30.06 ▼19.89 |
Posts /wp-admin/edit.php | 3.63 ▲0.27 | 36.29 ▼12.69 |
Add New Post /wp-admin/post-new.php | 5.78 ▼0.11 | 74.44 ▼26.32 |
Media Library /wp-admin/upload.php | 3.49 ▲0.27 | 29.94 ▼2.10 |
Server storage [IO: ▲21.31MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 2,488 new files
Database: 3 new tables, 7 new options
New tables |
---|
wp_bdotstd_todo_mentions |
wp_bdotstd_todo_statuses |
wp_bdotstd_todos |
New WordPress options |
---|
theysaidso_admin_options |
bdotstd_db_version |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Admin Todotastic
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,220 ▲485 | 17.10 ▲2.72 | 9.72 ▲7.77 | 29.67 ▼22.76 |
Dashboard /wp-admin | 2,473 ▲285 | 6.74 ▲1.71 | 140.00 ▲25.92 | 47.44 ▲1.10 |
Posts /wp-admin/edit.php | 2,261 ▲172 | 4.01 ▲1.96 | 68.50 ▲32.31 | 39.58 ▲2.98 |
Add New Post /wp-admin/post-new.php | 6,673 ▲5,139 | 27.67 ▲4.72 | 937.22 ▲264.38 | 53.17 ▲0.71 |
Media Library /wp-admin/upload.php | 1,624 ▲236 | 5.72 ▲1.50 | 115.26 ▲7.32 | 47.36 ▼0.23 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin does not fully uninstall, leaving 3 tables in the database
- wp_bdotstd_todo_mentions
- wp_bdotstd_todo_statuses
- wp_bdotstd_todos
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- bdotstd_db_version
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not 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
- 29× PHP files perform the task of outputting text when accessed with GET requests (only 10 are shown):
- > /wp-content/plugins/admin-todotastic/vendor/illuminate/pagination/resources/views/simple-bootstrap-4.blade.php
- > /wp-content/plugins/admin-todotastic/inc/base/others/fallback-wp-version.php
- > /wp-content/plugins/admin-todotastic/index.php
- > /wp-content/plugins/admin-todotastic/vendor/illuminate/pagination/resources/views/bootstrap-4.blade.php
- > /wp-content/plugins/admin-todotastic/vendor/wpnotes/utils/src/Core.php
- > /wp-content/plugins/admin-todotastic/inc/view/metabox/Metabox.php
- > /wp-content/plugins/admin-todotastic/vendor/wpnotes/utils/src/Localization.php
- > /wp-content/plugins/admin-todotastic/vendor/illuminate/pagination/resources/views/simple-default.blade.php
- > /wp-content/plugins/admin-todotastic/inc/view/dashboard/Board.php
- > /wp-content/plugins/admin-todotastic/vendor/wpnotes/utils/src/Assets.php
- 885× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Faker\\Provider\\PhoneNumber' not found in wp-content/plugins/admin-todotastic/vendor/fzaninotto/faker/src/Faker/Provider/hy_AM/PhoneNumber.php:5
- > PHP Fatal error
Uncaught Error: Interface 'Symfony\\Component\\Translation\\Exception\\ExceptionInterface' not found in wp-content/plugins/admin-todotastic/vendor/symfony/translation/Exception/ProviderExceptionInterface.php:19
- > PHP Fatal error
Uncaught Error: Class 'Symfony\\Component\\Finder\\Iterator\\MultiplePcreFilterIterator' not found in wp-content/plugins/admin-todotastic/vendor/symfony/finder/Iterator/FilenameFilterIterator.php:21
- > PHP Fatal error
Uncaught Error: Class 'Faker\\Provider\\Person' not found in wp-content/plugins/admin-todotastic/vendor/fzaninotto/faker/src/Faker/Provider/es_PE/Person.php:5
- > PHP Fatal error
Uncaught Error: Class 'Illuminate\\Database\\Eloquent\\Relations\\Relation' not found in wp-content/plugins/admin-todotastic/vendor/illuminate/database/Eloquent/Relations/HasOneOrMany.php:9
- > PHP Fatal error
Uncaught Error: Class 'Illuminate\\Database\\Migrations\\Migration' not found in wp-content/plugins/admin-todotastic/vendor/jgrossi/corcel/tests/database/migrations/2017_07_05_181800_create_corcel_terms_table.php:7
- > PHP Fatal error
Uncaught Error: Class 'Doctrine\\Inflector\\GenericLanguageInflectorFactory' not found in wp-content/plugins/admin-todotastic/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/English/InflectorFactory.php:10
- > PHP Fatal error
Uncaught Error: Class 'Illuminate\\Support\\Fluent' not found in wp-content/plugins/admin-todotastic/vendor/illuminate/database/Schema/ColumnDefinition.php:30
- > PHP Fatal error
Uncaught Error: Class 'Faker\\Provider\\PhoneNumber' not found in wp-content/plugins/admin-todotastic/vendor/fzaninotto/faker/src/Faker/Provider/ru_RU/PhoneNumber.php:5
- > PHP Fatal error
Uncaught Error: Class 'Illuminate\\Database\\Eloquent\\Relations\\MorphOneOrMany' not found in wp-content/plugins/admin-todotastic/vendor/illuminate/database/Eloquent/Relations/MorphOne.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: todo, project management, task, collaboration, woocommerce
admin-todotastic/index.php 92% from 13 tests
Analyzing the main PHP file in "Admin Todotastic" version 1.0
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("admin-todotastic.php" instead of "index.php")
Code Analysis 3% from 3 tests
File types 0% from 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Almost there! Just fix the following issues
- Even if your plugin relies on executable files (for example a companion app), never distribute executable files with your plugin
- .bat - Batch File in Windows
- ☣ wp-content/plugins/admin-todotastic/vendor/nesbot/carbon/bin/carbon.bat
- .bat - Batch File in Windows
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2,052 | 37,923 | 70,478 | 182,512 |
Markdown | 30 | 3,114 | 0 | 9,784 |
JSON | 30 | 0 | 0 | 3,069 |
XSD | 3 | 92 | 48 | 2,803 |
JavaScript | 11 | 0 | 67 | 271 |
Blade | 6 | 17 | 21 | 240 |
reStructuredText | 1 | 74 | 78 | 74 |
XML | 3 | 6 | 1 | 64 |
PO File | 1 | 3 | 5 | 36 |
YAML | 1 | 3 | 4 | 13 |
make | 1 | 2 | 0 | 11 |
DOS Batch | 1 | 0 | 0 | 4 |
CSS | 3 | 4 | 10 | 3 |
Dockerfile | 1 | 1 | 0 | 2 |
PHP code 50% from 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
These items need your attention
- Cyclomatic complexity of methods should be reduced to less than 100 (currently 140)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 7.13 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 298.00 |
Average method complexity | 2.05 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 140.00 |
Code structure | ||
---|---|---|
Namespaces | 237 | |
Interfaces | 144 | |
Traits | 84 | |
Classes | 1,103 | |
▷ Abstract classes | 35 | 3.17% |
▷ Concrete classes | 1,068 | 96.83% |
▷ Final classes | 78 | 7.30% |
Methods | 8,407 | |
▷ Static methods | 1,511 | 17.97% |
▷ Public methods | 6,906 | 82.15% |
▷ Protected methods | 1,228 | 14.61% |
▷ Private methods | 273 | 3.25% |
Functions | 972 | |
▷ Named functions | 122 | 12.55% |
▷ Anonymous functions | 850 | 87.45% |
Constants | 246 | |
▷ Global constants | 36 | 14.63% |
▷ Class constants | 210 | 85.37% |
▷ Public constants | 202 | 96.19% |
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
PNG images were not found in this plugin