Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.24MB] [CPU: ▲2.12ms] Passed 4 tests
This is a short check of server-side resources used by Integrate Dynamics 365 CRM
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.66 ▲0.19 | 48.12 ▲6.03 |
Dashboard /wp-admin | 3.60 ▲0.29 | 55.47 ▼3.05 |
Posts /wp-admin/edit.php | 3.65 ▲0.29 | 55.06 ▲7.42 |
Add New Post /wp-admin/post-new.php | 6.12 ▲0.23 | 95.05 ▼0.61 |
Media Library /wp-admin/upload.php | 3.46 ▲0.23 | 42.29 ▲6.10 |
Server storage [IO: ▲0.41MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 63 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Integrate Dynamics 365 CRM
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲68 | 14.60 ▼0.03 | 2.01 ▲0.15 | 47.50 ▲2.91 |
Dashboard /wp-admin | 2,195 ▲18 | 5.64 ▲0.13 | 95.50 ▼10.44 | 84.22 ▲41.59 |
Posts /wp-admin/edit.php | 2,112 ▲12 | 1.97 ▼0.03 | 36.13 ▼3.42 | 33.17 ▼3.07 |
Add New Post /wp-admin/post-new.php | 1,558 ▲32 | 23.28 ▲0.17 | 748.41 ▲50.21 | 57.45 ▼0.19 |
Media Library /wp-admin/upload.php | 1,415 ▲12 | 4.16 ▼0.06 | 105.85 ▲6.28 | 72.35 ▲26.10 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function MoDynamics365ObjectSync\\add_action() in wp-content/plugins/integrate-dynamics-365-crm/integrate-dynamics-365-crm.php:43
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% 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 to be fixed:
- Requires php: Version format is invalid
integrate-dynamics-365-crm/integrate-dynamics-365-crm.php Passed 13 tests
The principal PHP file in "Integrate Dynamics 365 CRM" v. 1.0.4 is loaded by WordPress automatically on each request
125 characters long description:
This plugin will allow you to sync CRM Objects like contacts, accounts, leads, etc. between Dynamics 365 Sales and wordpress.
Code Analysis Passed 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 plugin4,823 lines of code in 49 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 34 | 735 | 329 | 3,240 |
CSS | 5 | 162 | 20 | 1,415 |
JavaScript | 2 | 51 | 17 | 117 |
JSON | 2 | 0 | 0 | 31 |
SVG | 6 | 0 | 0 | 20 |
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.33 |
Average class complexity | 15.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 3.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 8 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 27 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 27 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 178 | |
▷ Static methods | 65 | 36.52% |
▷ Public methods | 124 | 69.66% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 54 | 30.34% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.00% |
Constants | 22 | |
▷ Global constants | 3 | 13.64% |
▷ Class constants | 19 | 86.36% |
▷ Public constants | 19 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
9 PNG files occupy 0.11MB with 0.06MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/message.png | 10.04KB | 1.56KB | ▼ 84.43% |
images/checked.png | 14.18KB | 7.62KB | ▼ 46.24% |
images/crown.png | 13.03KB | 6.30KB | ▼ 51.67% |
images/graph.png | 3.44KB | 2.18KB | ▼ 36.74% |
images/insignia.png | 24.30KB | 5.08KB | ▼ 79.08% |