Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.34MB] [CPU: ▼1.47ms] Passed 4 tests
Server-side resources used by Bdtask CRM Best CRM WordPress plugin with full marketing Solution
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.15 | 40.84 ▼2.48 |
Dashboard /wp-admin | 3.75 ▲0.44 | 47.85 ▲1.79 |
Posts /wp-admin/edit.php | 3.80 ▲0.44 | 46.13 ▼0.44 |
Add New Post /wp-admin/post-new.php | 6.28 ▲0.40 | 94.30 ▼4.73 |
Media Library /wp-admin/upload.php | 3.61 ▲0.38 | 41.31 ▲11.01 |
Leads /wp-admin/admin.php?page=bdtaskcrm_invoice | 3.70 | 35.22 |
Manage Quotations /wp-admin/admin.php?page=bdtaskcrm_manage_quotation | 3.60 | 35.36 |
Settings /wp-admin/admin.php?page=bdtaskcrm_setting | 3.63 | 59.06 |
Manage Order /wp-admin/admin.php?page=bdtaskcrm_manage_order | 3.61 | 49.48 |
Order /wp-admin/admin.php?page=bdtaskcrm_create_order | 3.77 | 45.71 |
View Order /wp-admin/admin.php?page=bdtaskcrm_view_order | 3.64 | 33.55 |
View Quotations /wp-admin/admin.php?page=bdtaskcrm_view_quotation | 3.63 | 31.30 |
Premium /wp-admin/admin.php?page=bdtaskcrm_preminum | 3.58 | 32.95 |
Update Quotation /wp-admin/admin.php?page=bdtaskcrm_update_qutation | 3.69 | 27.31 |
Services /wp-admin/admin.php?page=bdtaskcrm_services | 3.66 | 32.34 |
Server storage [IO: ▲13.36MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 420 new files
Database: 4 new tables, 16 new options
New tables |
---|
wp_bdtaskcrm_services |
wp_bdtaskcrm_order_tbl |
wp_bdtaskcrm_order_details |
wp_bdtaskcrm_clients |
New WordPress options |
---|
professional_language |
frontend_address |
db_upgraded |
frontend_button |
frontend_authorziename |
service_language |
theysaidso_admin_options |
can_compress_scripts |
contact_language |
widget_theysaidso_widget |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Bdtask CRM Best CRM WordPress plugin with full marketing Solution
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,026 ▲291 | 16.57 ▲1.83 | 4.68 ▲2.83 | 41.51 ▼9.30 |
Dashboard /wp-admin | 2,308 ▲120 | 7.09 ▲2.19 | 124.33 ▲11.02 | 39.64 ▼4.03 |
Posts /wp-admin/edit.php | 2,200 ▲111 | 4.49 ▲2.49 | 47.80 ▲7.69 | 36.57 ▼1.35 |
Add New Post /wp-admin/post-new.php | 1,763 ▲249 | 26.23 ▲8.67 | 659.24 ▼7.84 | 39.07 ▼20.49 |
Media Library /wp-admin/upload.php | 1,490 ▲105 | 5.86 ▲1.72 | 111.14 ▲16.46 | 43.91 ▲3.30 |
Leads /wp-admin/admin.php?page=bdtaskcrm_invoice | 1,223 | 4.70 | 62.62 | 41.89 |
Manage Quotations /wp-admin/admin.php?page=bdtaskcrm_manage_quotation | 1,083 | 4.61 | 57.57 | 30.30 |
Settings /wp-admin/admin.php?page=bdtaskcrm_setting | 1,177 | 5.36 | 62.46 | 28.22 |
Manage Order /wp-admin/admin.php?page=bdtaskcrm_manage_order | 1,083 | 4.57 | 83.50 | 41.54 |
Order /wp-admin/admin.php?page=bdtaskcrm_create_order | 1,501 | 4.23 | 62.07 | 50.07 |
View Order /wp-admin/admin.php?page=bdtaskcrm_view_order | 872 | 4.17 | 38.43 | 23.13 |
View Quotations /wp-admin/admin.php?page=bdtaskcrm_view_quotation | 869 | 4.15 | 36.67 | 21.02 |
Premium /wp-admin/admin.php?page=bdtaskcrm_preminum | 1,084 | 4.08 | 39.60 | 39.53 |
Update Quotation /wp-admin/admin.php?page=bdtaskcrm_update_qutation | 1,204 | 4.29 | 43.28 | 36.92 |
Services /wp-admin/admin.php?page=bdtaskcrm_services | 1,202 | 4.58 | 60.33 | 33.39 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 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
- Zombie tables detected upon uninstall: 4 tables
- wp_bdtaskcrm_order_tbl
- wp_bdtaskcrm_services
- wp_bdtaskcrm_clients
- wp_bdtaskcrm_order_details
- This plugin did not uninstall successfully, leaving 16 options in the database
- theysaidso_admin_options
- category_language
- can_compress_scripts
- db_upgraded
- service_language
- widget_recent-comments
- professional_language
- widget_recent-posts
- email_language
- frontend_address
- ...
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/admin.php?page=bdtaskcrm_update_qutation
- > Notice in wp-content/plugins/bdtask-crm/admin/templates/bdtaskcrm_update_qutation.php+10
Undefined index: id
- 7 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=bdtaskcrm_update_qutation
- > Notice in wp-content/plugins/bdtask-crm/admin/templates/bdtaskcrm_update_qutation.php+167
Undefined offset: 0
- > GET request to /wp-admin/admin.php?page=bdtaskcrm_update_qutation
- > Notice in wp-content/plugins/bdtask-crm/admin/templates/bdtaskcrm_update_qutation.php+99
Trying to get property 'order_id' of non-object
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=bdtaskcrm_update_qutation
- > Notice in wp-content/plugins/bdtask-crm/admin/templates/bdtaskcrm_update_qutation.php+134
Trying to get property 'client_type' of non-object
- > GET request to /wp-admin/admin.php?page=bdtaskcrm_update_qutation
- > Notice in wp-content/plugins/bdtask-crm/admin/templates/bdtaskcrm_update_qutation.php+157
Trying to get property 'create_date' of non-object
- > GET request to /wp-admin/admin.php?page=bdtaskcrm_update_qutation
- > Notice in wp-content/plugins/bdtask-crm/admin/templates/bdtaskcrm_update_qutation.php+167
Trying to get property 'expiry_date' of non-object
- 5 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=bdtaskcrm_update_qutation
- > Notice in wp-content/plugins/bdtask-crm/admin/templates/bdtaskcrm_update_qutation.php+386
Undefined variable: value
- > GET request to /wp-admin/admin.php?page=bdtaskcrm_update_qutation
- > Notice in wp-content/plugins/bdtask-crm/admin/templates/bdtaskcrm_update_qutation.php+283
Trying to get property 'special_instruction' of non-object
- > GET request to /wp-admin/admin.php?page=bdtaskcrm_update_qutation
- > Notice in wp-content/plugins/bdtask-crm/admin/templates/bdtaskcrm_update_qutation.php+288
Trying to get property 'subTotal' of non-object
- > GET request to /wp-admin/admin.php?page=bdtaskcrm_update_qutation
- > Notice in wp-content/plugins/bdtask-crm/admin/templates/bdtaskcrm_update_qutation.php+295
Trying to get property 'tax' of non-object
- > GET request to /wp-admin/admin.php?page=bdtaskcrm_update_qutation
- > Notice in wp-content/plugins/bdtask-crm/admin/templates/bdtaskcrm_update_qutation.php+302
Trying to get property 'grand_total' of non-object
- > GET request to /wp-admin/admin.php?page=bdtaskcrm_update_qutation
- > Notice in wp-content/plugins/bdtask-crm/admin/templates/bdtaskcrm_update_qutation.php+377
Undefined variable: tbl_services
- > GET request to /wp-admin/admin.php?page=bdtaskcrm_update_qutation
- > Warning in wp-content/plugins/bdtask-crm/admin/templates/bdtaskcrm_update_qutation.php+377
array_filter() expects parameter 1 to be array, null given
- > GET request to /wp-admin/admin.php?page=bdtaskcrm_update_qutation
- > Warning in wp-content/plugins/bdtask-crm/admin/templates/bdtaskcrm_update_qutation.php+377
Invalid argument supplied for foreach()
- > GET request to /wp-admin/admin.php?page=bdtaskcrm_update_qutation
- > Notice in wp-content/plugins/bdtask-crm/admin/templates/bdtaskcrm_update_qutation.php+386
Trying to get property 'row_id' of non-object
SRP 0% 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
Almost there! Just fix the following items
- 4× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/bdtask-crm/public/partials/bdtaskcrm-public-display.php
- > /wp-content/plugins/bdtask-crm/admin/templates/pdf/dompdf/lib/php-css-parser/tests/quickdump.php
- > /wp-content/plugins/bdtask-crm/admin/partials/bdtaskcrm-admin-display.php
- > /wp-content/plugins/bdtask-crm/admin/templates/bdtaskcrm_update_order.php
- 130× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Sabberworm\\CSS\\RuleSet\\RuleSet' not found in wp-content/plugins/bdtask-crm/admin/templates/pdf/dompdf/lib/php-css-parser/lib/Sabberworm/CSS/RuleSet/AtRuleSet.php:10
- > PHP Fatal error
Uncaught Error: Class 'Sabberworm\\CSS\\Value\\CSSFunction' not found in wp-content/plugins/bdtask-crm/admin/templates/pdf/dompdf/lib/php-css-parser/lib/Sabberworm/CSS/Value/Color.php:5
- > PHP Fatal error
Uncaught Error: Class 'Svg\\Tag\\Shape' not found in wp-content/plugins/bdtask-crm/admin/templates/pdf/dompdf/lib/php-svg-lib/src/Svg/Tag/Ellipse.php:11
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit_Framework_TestCase' not found in wp-content/plugins/bdtask-crm/admin/templates/pdf/dompdf/lib/php-css-parser/tests/Sabberworm/CSS/CSSList/AtRuleBlockListTest.php:7
- > PHP Fatal error
Uncaught Error: Class 'Svg\\Tag\\AbstractTag' not found in wp-content/plugins/bdtask-crm/admin/templates/pdf/dompdf/lib/php-svg-lib/src/Svg/Tag/Stop.php:11
- > PHP Fatal error
Uncaught Error: Class 'Sabberworm\\CSS\\CSSList\\CSSList' not found in wp-content/plugins/bdtask-crm/admin/templates/pdf/dompdf/lib/php-css-parser/lib/Sabberworm/CSS/CSSList/CSSBlockList.php:16
- > PHP Fatal error
Uncaught Error: Class 'Dompdf\\Renderer\\Block' not found in wp-content/plugins/bdtask-crm/admin/templates/pdf/dompdf/src/Renderer/Image.php:20
- > PHP Fatal error
Uncaught Error: Class 'Dompdf\\FrameReflower\\AbstractFrameReflower' not found in wp-content/plugins/bdtask-crm/admin/templates/pdf/dompdf/src/FrameReflower/NullFrameReflower.php:19
- > PHP Fatal error
Uncaught Error: Class 'FontLib\\BinaryStream' not found in wp-content/plugins/bdtask-crm/admin/templates/pdf/dompdf/lib/php-font-lib/src/FontLib/Glyph/Outline.php:20
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit_Framework_TestCase' not found in wp-content/plugins/bdtask-crm/admin/templates/pdf/dompdf/lib/php-css-parser/tests/Sabberworm/CSS/RuleSet/LenientParsingTest.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
- Screenshots: Add descriptions for screenshots #1, #2, #3, #4, #5, #6 in bdtask-crm/assets to your readme.txt
- Tags: There are too many tags (15 tag instead of maximum 10)
bdtask-crm/bdtaskcrm.php 85% from 13 tests
The main file in "Bdtask CRM Best CRM WordPress plugin with full marketing Solution" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("bdtask-crm.php" instead of "bdtaskcrm.php")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin55,421 lines of code in 323 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 223 | 9,720 | 16,201 | 42,061 |
CSS | 41 | 236 | 144 | 5,376 |
JavaScript | 8 | 298 | 1,192 | 2,592 |
Sass | 13 | 28 | 24 | 1,560 |
LESS | 13 | 28 | 34 | 1,550 |
SVG | 3 | 0 | 0 | 951 |
Markdown | 6 | 255 | 0 | 909 |
XML | 6 | 3 | 2 | 201 |
JSON | 5 | 0 | 0 | 139 |
YAML | 4 | 16 | 3 | 65 |
HTML | 1 | 0 | 0 | 17 |
PHP code 50% from 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Please fix the following
- Please reduce cyclomatic complexity of methods to less than 100 (currently 652)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 33.73 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 765.00 |
Average method complexity | 4.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 652.00 |
Code structure | ||
---|---|---|
Namespaces | 33 | |
Interfaces | 5 | |
Traits | 0 | |
Classes | 189 | |
▷ Abstract classes | 12 | 6.35% |
▷ Concrete classes | 177 | 93.65% |
▷ Final classes | 0 | 0.00% |
Methods | 2,085 | |
▷ Static methods | 145 | 6.95% |
▷ Public methods | 1,792 | 85.95% |
▷ Protected methods | 192 | 9.21% |
▷ Private methods | 101 | 4.84% |
Functions | 35 | |
▷ Named functions | 20 | 57.14% |
▷ Anonymous functions | 15 | 42.86% |
Constants | 164 | |
▷ Global constants | 9 | 5.49% |
▷ Class constants | 155 | 94.51% |
▷ Public constants | 155 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/templates/pdf/dompdf/lib/res/broken_image.png | 0.60KB | 0.47KB | ▼ 22.33% |
admin/css/bdtask-logo.png | 2.65KB | 1.89KB | ▼ 28.60% |