Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲1.30MB] [CPU: ▲5.34ms] Passed 4 tests
An overview of server-side resources used by Dynamics 365 Integration
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.44 ▲0.98 | 46.16 ▲3.11 |
Dashboard /wp-admin | 4.74 ▲1.43 | 56.73 ▲7.54 |
Posts /wp-admin/edit.php | 4.80 ▲1.45 | 58.01 ▲1.53 |
Add New Post /wp-admin/post-new.php | 7.22 ▲1.33 | 105.06 ▲15.67 |
Media Library /wp-admin/upload.php | 4.74 ▲1.51 | 44.17 ▲9.19 |
Forms /wp-admin/admin.php?page=wordpresscrm_forms | 4.71 | 40.10 |
Images /wp-admin/admin.php?page=wordpresscrm_attachments | 4.71 | 49.01 |
Connection /wp-admin/admin.php?page=wordpresscrm | 4.71 | 39.04 |
Messages /wp-admin/admin.php?page=wordpresscrm_messages | 4.71 | 39.58 |
About /wp-admin/admin.php?page=wordpresscrm_about | 4.71 | 34.78 |
Server storage [IO: ▲2.61MB] [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: 597 new files
Database: no new tables, 11 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
msdyncrm_messages |
widget_recent-posts |
msdyncrm_forms |
recovery_mode_email_last_sent |
widget_recent-comments |
msdyncrm_attachments |
widget_theysaidso_widget |
msdyncrm_options |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Dynamics 365 Integration
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,866 ▲131 | 13.15 ▼1.49 | 1.71 ▼0.04 | 37.23 ▼13.19 |
Dashboard /wp-admin | 2,269 ▲81 | 5.86 ▲0.79 | 95.73 ▼13.56 | 39.29 ▼4.27 |
Posts /wp-admin/edit.php | 2,156 ▲67 | 2.02 ▼0.03 | 39.88 ▼1.63 | 35.00 ▼1.79 |
Add New Post /wp-admin/post-new.php | 1,564 ▲31 | 23.16 ▼0.02 | 609.27 ▼68.91 | 55.67 ▲1.31 |
Media Library /wp-admin/upload.php | 1,448 ▲63 | 4.28 ▲0.03 | 98.07 ▼12.80 | 41.27 ▼11.03 |
Forms /wp-admin/admin.php?page=wordpresscrm_forms | 908 | 2.07 | 25.07 | 33.06 |
Images /wp-admin/admin.php?page=wordpresscrm_attachments | 791 | 1.53 | 6.82 | 20.20 |
Connection /wp-admin/admin.php?page=wordpresscrm | 1,238 | 1.86 | 27.18 | 32.76 |
Messages /wp-admin/admin.php?page=wordpresscrm_messages | 929 | 2.06 | 23.93 | 27.75 |
About /wp-admin/admin.php?page=wordpresscrm_about | 941 | 2.07 | 25.77 | 27.64 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 11 options
- msdyncrm_options
- widget_theysaidso_widget
- widget_recent-comments
- msdyncrm_forms
- msdyncrm_attachments
- theysaidso_admin_options
- recovery_mode_email_last_sent
- db_upgraded
- msdyncrm_messages
- can_compress_scripts
- ...
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/admin.php?page=wordpresscrm_attachments
- > Error in wp-content/plugins/integration-dynamics/src/Admin/Tab/Attachments.php+40
Uncaught Error: Call to a member function entity() on null in wp-content/plugins/integration-dynamics/src/Admin/Tab/Attachments.php:40
Stack trace:
#0 wp-content/plugins/integration-dynamics/src/Admin/Tab/Attachments.php(100): AlexaCRM\WordpressCRM\Admin\Tab\Attachments->getViews()
#1 wp-includes/class-wp-hook.php(310): AlexaCRM\WordpressCRM\Admin\Tab\Attachments->render()
#2 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#3 wp-includes/plugin.php(517): WP_Hook->do_action()
#4 wp-admin/admin.php(259): do_action()
#5 {main}
thrown
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
Almost there! Just fix the following items
- 291× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Formatter\ormalizerFormatter' not found in wp-content/plugins/integration-dynamics/vendor/monolog/monolog/src/Monolog/Formatter/LineFormatter.php:24
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\AbstractProcessingHandler' not found in wp-content/plugins/integration-dynamics/vendor/monolog/monolog/src/Monolog/Handler/TestHandler.php:66
- > PHP Fatal error
Uncaught Error: Class 'AlexaCRM\\CRMToolkit\\Entity\\OptionSet' not found in wp-content/plugins/integration-dynamics/vendor/alexacrm/php-crm-toolkit/src/Entity/OptionSet/Boolean.php:22
- > PHP Fatal error
Uncaught Error: Class 'Twig\ode\ode' not found in wp-content/plugins/integration-dynamics/vendor/twig/twig/src/Node/BlockNode.php:22
- > PHP Fatal error
Uncaught Error: Class 'Twig\ode\ode' not found in wp-content/plugins/integration-dynamics/src/Shortcode/Twig/Nodes/FormNode.php:8
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\AbstractHandler' not found in wp-content/plugins/integration-dynamics/vendor/monolog/monolog/src/Monolog/Handler/GroupHandler.php:22
- > PHP Fatal error
Uncaught Error: Class 'Twig\ode\ode' not found in wp-content/plugins/integration-dynamics/vendor/twig/twig/src/Node/PrintNode.php:23
- > PHP Fatal error
Uncaught Error: Class 'Twig\ode\\Expression\\Binary\\AbstractBinary' not found in wp-content/plugins/integration-dynamics/vendor/twig/twig/src/Node/Expression/Binary/OrBinary.php:17
- > PHP Fatal error
Uncaught Error: Class 'AlexaCRM\\CRMToolkit\\SoapFault' not found in wp-content/plugins/integration-dynamics/vendor/alexacrm/php-crm-toolkit/src/InvalidSecurityException.php:5
- > PHP Fatal error
Uncaught Error: Class 'Twig\ode\\Expression\\AbstractExpression' not found in wp-content/plugins/integration-dynamics/vendor/twig/twig/src/Node/Expression/GetAttrExpression.php:19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
10 plugin tags: crm, shortcode, form, dynamics 365, portal...
integration-dynamics/integration-dynamics.php Passed 13 tests
The main PHP script in "Dynamics 365 Integration" version 1.3.17 is automatically included on every request by WordPress
72 characters long description:
The easiest way to connect Dynamics 365 and Dynamics CRM with WordPress.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin45,290 lines of code in 548 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 508 | 9,243 | 19,701 | 40,557 |
CSS | 3 | 124 | 51 | 2,011 |
JSON | 9 | 0 | 0 | 808 |
JavaScript | 7 | 263 | 86 | 698 |
Markdown | 9 | 196 | 0 | 677 |
Twig | 8 | 11 | 2 | 479 |
XML | 2 | 3 | 0 | 36 |
YAML | 1 | 5 | 0 | 14 |
reStructuredText | 1 | 8 | 5 | 10 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 12.22 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 238.00 |
Average method complexity | 2.96 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 41.00 |
Code structure | ||
---|---|---|
Namespaces | 65 | |
Interfaces | 31 | |
Traits | 4 | |
Classes | 416 | |
▷ Abstract classes | 27 | 6.49% |
▷ Concrete classes | 389 | 93.51% |
▷ Final classes | 58 | 14.91% |
Methods | 2,626 | |
▷ Static methods | 304 | 11.58% |
▷ Public methods | 2,091 | 79.63% |
▷ Protected methods | 284 | 10.81% |
▷ Private methods | 251 | 9.56% |
Functions | 237 | |
▷ Named functions | 140 | 59.07% |
▷ Anonymous functions | 97 | 40.93% |
Constants | 224 | |
▷ Global constants | 7 | 3.12% |
▷ Class constants | 217 | 96.88% |
▷ Public constants | 217 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
16 PNG files occupy 0.07MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
resources/front/css/images/ui-bg_flat_0_ffffff_40x100.png | 0.20KB | 0.08KB | ▼ 58.17% |
resources/front/css/images/ui-bg_glass_0_FFF_1x400.png | 0.20KB | 0.09KB | ▼ 57.49% |
resources/front/css/images/ui-bg_flat_60_c8c8c8_40x100.png | 0.22KB | 0.08KB | ▼ 62.17% |
resources/front/css/images/ui-icons_454545_256x240.png | 6.83KB | 4.17KB | ▼ 38.86% |
resources/front/css/images/ui-icons_cd0a0a_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |