Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.01MB] [CPU: ▼11.73ms] Passed 4 tests
Server-side resources used by Dataverse Integration
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 35.92 ▼7.62 |
Dashboard /wp-admin | 3.31 ▼0.04 | 47.47 ▼14.60 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.26 ▼5.13 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 84.83 ▼19.56 |
Media Library /wp-admin/upload.php | 3.24 ▲0.00 | 34.81 ▼0.82 |
Server storage [IO: ▲31.81MB] [DB: ▲0.00MB] 67% from 3 tests
Filesystem and database footprint
Please try to fix the following items
- Total filesystem usage should be limited to 25MB (currently using 31.81MB)
Filesystem: 2,343 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
icds_version |
widget_recent-posts |
icds_cachePools |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Dataverse Integration
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲69 | 14.54 ▲0.14 | 1.60 ▼0.20 | 37.67 ▼9.06 |
Dashboard /wp-admin | 2,195 ▲21 | 5.62 ▲0.00 | 108.70 ▲13.34 | 45.73 ▲1.08 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.02 ▲0.05 | 39.89 ▼0.64 | 35.83 ▲1.61 |
Add New Post /wp-admin/post-new.php | 1,526 ▼9 | 23.33 ▲0.16 | 685.42 ▲47.46 | 53.43 ▲3.34 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.17 ▼0.05 | 96.11 ▼4.03 | 42.48 ▲0.11 |
Uninstaller [IO: ▲0.03MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin does not fully uninstall, leaving 8 options in the database
- db_upgraded
- icds_version
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- icds_cachePools
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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
The following issues need your attention
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/integration-cds/vendor/symfony/intl/Resources/bin/update-data.php
- 570× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'AlexaCRM\\Xrm\\Metadata\\ConstantsBase' not found in wp-content/plugins/integration-cds/vendor/alexacrm/dynamics-webapi-toolkit/src/Xrm/Metadata/StringFormatName.php:26
- > PHP Fatal error
Uncaught Error: Class 'Symfony\\Component\\Cache\\Adapter\\AbstractAdapter' not found in wp-content/plugins/integration-cds/vendor/symfony/cache/Adapter/FilesystemAdapter.php:17
- > PHP Fatal error
Uncaught Error: Class 'Twig\ode\ode' not found in wp-content/plugins/integration-cds/vendor/twig/twig/src/Node/AutoEscapeNode.php:27
- > PHP Fatal error
Uncaught Error: Class 'AlexaCRM\extgen\\API\\AdministrativeEndpoint' not found in wp-content/plugins/integration-cds/src/API/Endpoints/DeleteCache.php:33
- > PHP Fatal error
Uncaught Error: Class 'AlexaCRM\\Enum\\ChoiceEnum' not found in wp-content/plugins/integration-cds/vendor/alexacrm/dynamics-webapi-toolkit/src/Xrm/Metadata/AssociatedMenuBehavior.php:32
- > PHP Fatal error
Trait 'Symfony\\Component\\Cache\\Traits\\ProxyTrait' not found in wp-content/plugins/integration-cds/vendor/symfony/cache/Traits/PhpArrayTrait.php on line 23
- > PHP Fatal error
Uncaught Error: Class 'Symfony\\Component\\Intl\\Data\\Generator\\AbstractDataGenerator' not found in wp-content/plugins/integration-cds/vendor/symfony/intl/Data/Generator/TimezoneDataGenerator.php:29
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\AbstractProcessingHandler' not found in wp-content/plugins/integration-cds/vendor/monolog/monolog/src/Monolog/Handler/RavenHandler.php:25
- > PHP Fatal error
Uncaught Error: Class 'AlexaCRM\\Xrm\\Metadata\\ConstantsBase' not found in wp-content/plugins/integration-cds/vendor/alexacrm/dynamics-webapi-toolkit/src/Xrm/Metadata/DateTimeBehavior.php:26
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\UriInterface' not found in wp-content/plugins/integration-cds/vendor/guzzlehttp/psr7/src/Uri.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
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
8 plugin tags: power platform, microsoft crm, dynamics crm, common data service, dynamics 365...
integration-cds/integration-cds.php Passed 13 tests
"Dataverse Integration" version 2.55's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
59 characters long description:
Integrate Microsoft Dataverse organizations with WordPress.
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected416,457 lines of code in 2,191 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 1,124 | 0 | 0 | 334,197 |
PHP | 959 | 15,215 | 39,993 | 80,457 |
JavaScript | 95 | 209 | 391 | 1,623 |
XSD | 1 | 12 | 0 | 68 |
SVG | 2 | 0 | 1 | 32 |
XML | 1 | 7 | 0 | 30 |
CSS | 6 | 1 | 5 | 19 |
Markdown | 1 | 2 | 0 | 19 |
Bourne Again Shell | 1 | 2 | 0 | 11 |
HTML | 1 | 0 | 0 | 1 |
PHP code 50% from 2 tests
A short review of cyclomatic complexity and code structure
These items need your attention
- Cyclomatic complexity of methods has to be reduced to less than 100 (currently 309)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 9.58 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 355.00 |
Average method complexity | 2.85 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 309.00 |
Code structure | ||
---|---|---|
Namespaces | 127 | |
Interfaces | 73 | |
Traits | 25 | |
Classes | 813 | |
▷ Abstract classes | 61 | 7.50% |
▷ Concrete classes | 752 | 92.50% |
▷ Final classes | 93 | 12.37% |
Methods | 4,326 | |
▷ Static methods | 494 | 11.42% |
▷ Public methods | 3,453 | 79.82% |
▷ Protected methods | 426 | 9.85% |
▷ Private methods | 447 | 10.33% |
Functions | 498 | |
▷ Named functions | 226 | 45.38% |
▷ Anonymous functions | 272 | 54.62% |
Constants | 901 | |
▷ Global constants | 54 | 5.99% |
▷ Class constants | 847 | 94.01% |
▷ Public constants | 817 | 96.46% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
front/admin/dataverse-icon-20.png | 0.89KB | 1.20KB | 0.00% |